2nd Order nonhomogeneous ODE using Undetermined Coefficients

Ramacher
Messages
5
Reaction score
0

Homework Statement



Find General Solution:
y"+6y'+9y=e-3x-27x2

Homework Equations





The Attempt at a Solution



I know you have yh which is the general solution to the left side of the equation set to 0 and then fine the particular solution.

When i try to find yp1 I get yp1=Ae-3x, y'p1=-3Ae-3x, and y"p1=9Ae-3x

Substituting that into the left side we get
9Ae-3x+6(-3Ae-3x)+9(Ae-3x)=Ae-3x
Canceling out Ae-3x we get
9A-18A+9A=1
0A=1

SO does this mean when I'm finding the general solution y=yh+yp1+yp2 that yp1 is going to be 0?

I Know this is a very simple question but my mind is running in circles!
 
Physics news on Phys.org
roots of the characteristic polynomial are -3 and -2, so your PI for the e-3x is not Ae-3x but Axe-3x, the PI for -27x2 is Bx2+Cx+D, so combining those two, your PI would be

y_{PI} = Axe^{-3x}(Bx^2+Cx+D)
 
rock.freak667 said:
roots of the characteristic polynomial are -3 and -2

The characteristic polynomial being the left side of the equation?

Isn't it a double root -3? (y+3)2?
 
rock.freak667 said:
roots of the characteristic polynomial are -3 and -2,
No, -2 is not a root of the characteristic equation. The only root is -3, and this is a double root.
rock.freak667 said:
so your PI for the e-3x is not Ae-3x but Axe-3x, the PI for -27x2 is Bx2+Cx+D, so combining those two, your PI would be

y_{PI} = Axe^{-3x}(Bx^2+Cx+D)
 
Ramacher said:
The characteristic polynomial being the left side of the equation?

Isn't it a double root -3? (y+3)2?

oh right it is, I did that wrong in my head...in that case, Axe-3x would be Ax2e-3x
 
Ramacher said:
The characteristic polynomial being the left side of the equation?

Isn't it a double root -3? (y+3)2?
Yes.

Your solution to the homogeneous equation is yh = Ae-3x + Bxe-3x.

The particular solution to the nonhomogeneous problem is yp = Cx2e-3x + D + Ex + Fx2.

The general solution is y = yh + yp.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top