2nd order ODE

1. Sep 14, 2007

kasse

1. The problem statement, all variables and given/known data

y''-2ay'+a^2y=e^ax

Find a general solution

2. The attempt at a solution

I've found the general solution of the homogeneous eq: Ce^ax+Dxe^ax

Next, I must find a particular solution on the form Be^ax (*), right?

The derivative of (*) is Bae^ax and the 2nd derivative is B(a^2)e^ax

so that

y''-2ay'+a^2y=0

e^ax can never be 0, so I must have made a mistake...

2. Sep 14, 2007

EnumaElish

How do you go from the general sol. Ce^ax+Dxe^ax to the particular sol. Be^ax? E.g., why not Bxe^ax?

3. Sep 14, 2007

kasse

Bacause r(x)=e^ax, and my textbook tells me that the particular solution is then on the form Be^ax

4. Sep 14, 2007

proton

how can the particular soln be of the form Be^ax, when Ce^ax satisfied the homogeneous soln?

also, the particular soln cant be of the form Bxe^ax since Dxe^ax also satisfied the homogeneous soln

therefore, the particular soln must be of the form...?

5. Sep 14, 2007

kasse

Ah, use of the modification rule twice?

B(x^2)e^ax?

6. Sep 14, 2007

EnumaElish

I was thinking that Be^ax = Ce^ax + Dxe^ax when B = C and D = 0.

7. Sep 14, 2007

kasse

My book operates with the so-called modification rule. I got the corect solution this time.