General Solution for ODE: y'' + 6y' + 9y = x*exp(-3x)3x

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
itsjared
Messages
2
Reaction score
0
Im having trouble with this question. can anyone explain please?

Homework Statement


y'' + 6y' + 9y = x*exp(-3x)3x


Homework Equations



Find the general solution.
 
Physics news on Phys.org
Well, the general solution is the sum of the homogeneous solution and a particular solution.

The homogeneous solution (gotten from putting the right hand side = 0) is obtained using the characteristic equation.

To find a particular solution, one can make a clever guess how the solution must look like. Since the right hand side has a part [tex]e^{-3x}[/tex] one can safely assume that also [tex]y[/tex] must have this part. To deal with the [tex]x[/tex] one can guess that the solution must contain a polynomial of some degree. Thus, a clever guess would be [tex]y=p(x)e^{-3x}[/tex]. All that is left is to see which [tex]p(x)[/tex] that will satisfy the solution.
 
Sir Beaver said:
Well, the general solution is the sum of the homogeneous solution and a particular solution.

The homogeneous solution (gotten from putting the right hand side = 0) is obtained using the characteristic equation.

To find a particular solution, one can make a clever guess how the solution must look like. Since the right hand side has a part [tex]e^{-3x}[/tex] one can safely assume that also [tex]y[/tex] must have this part. To deal with the [tex]x[/tex] one can guess that the solution must contain a polynomial of some degree. Thus, a clever guess would be [tex]y=p(x)e^{-3x}[/tex]. All that is left is to see which [tex]p(x)[/tex] that will satisfy the solution.

thanks for the reply.

im working through this question. I am not to sure I am doing it right though.

K^2+6K+9 = 0
therefore K= -3
and y= A*exp(-3x) + Bx*exp(-3x)
y'=-3A*exp(-3x) - 3Bx*exp(-3x) + B*exp(-3x)

y(p)= Ax*exp(-3x)
y'(p)= A*exp(-3x) - 3Ax*exp(-3x)


am i on the right track?
 
The homogeneous solution looks correct, although you do not have to differentiate it. You merely have to add the solutions together in the end, [tex]y=y_H+y_{P}[/tex], so you are done with [tex]y_H[/tex].

In the particular solution you have assumed that the polynomial is [tex]p(x)=Ax[/tex], which is not the general case. In fact, a polynomial of larger order is needed. I think it is easier if you treat [tex]p(x)[/tex] as a general polynomial, and then you will get an expression for the polynomial in the end, when you have put in [tex]y=p(x)e^{-3x}[/tex] in the differential equation.