A tricky 2nd Oder ODE Problem,nonhomo delta=0 case

  • Thread starter whatababy
  • Start date
  • Tags
    Ode
In summary, to solve the initial value problem y''+8.4y'+17.64y=e^{-4.2x}, with y(0)=1 and y'(0)=1, we first solve the corresponding homogeneous equation to get yc=c_1e^{-4.2x}+c_2xe^{-4.2x}. Then, we assume a particular solution yp=Axe^{-4.2x} and differentiate it to get yp'=2Ae^{-4.2x}-4.2Axe^{-4.2x} and yp''=2Ae^{-4.2x}-16.8Axe^{-4.2x}+17.64Axe^{-4.2
  • #1
5
0
solve the initial value problem:
y''+8.4y'+17.64y=e-4.2x
y(0)=1, y'(0)=1

y(x)=?

The way I tried to achieve is to solve the corresponding homo equation first:
y''+8.4y'+17.64y=0, which gives yc;
yc=c1e-4.2x+c2e-4.2xx

Then try to find yp, generally I would assume a yp=Ae-4.2x, but from the yc got above, clearly yp=Ae-4.2x or yp=Ae-4.2xx is not good. If I add one more 'x' in yp assumption,in which it seems A has to be 0, which is not right either...

Any idea? Or I made some mistake?

Meric.
 
Physics news on Phys.org
  • #2
Because both [itex]e^{-4.2x}[/itex] and [itex]xe^{-4.2x}[/itex] satisfy the homogeneous equation, you need "go up" one more x: try
[tex]y_p= x^2e^{-4.2x}[/tex]

Was that what you meant by "add one more 'x' in yp assumption"?

If
[tex]y_p= Ax^2e^{-4.2x}[/tex]
then
[tex]y_p'= 2Axe^{-4.2x}- 4.2Ax^2e^{-4.2x}[/tex]
and
[tex]y_p"= 2Ae^{-4.2x}- 16.8Axe^{-4.2x}+ 17.64Ax^2e^{-4.2x}[/tex]
Putting that into the differential equation, all the terms involving [itex]xe^{-4.2x}[/itex] or [itex]x^2e^{-4.2x}[/itex] will cancel leaving only [itex]2Ae^{-4.2}= e^{-4.2x}[/itex] so A is NOT 0.
 
Last edited by a moderator:
  • #3
Oh I made a silly mistake in differentiate the Yp...

Yeah, you are right, I got the right answer now. Thanks
 

Suggested for: A tricky 2nd Oder ODE Problem,nonhomo delta=0 case

Replies
3
Views
846
Replies
2
Views
680
Replies
1
Views
1K
Replies
4
Views
1K
Replies
28
Views
2K
Replies
3
Views
1K
Back
Top