PDA

View Full Version : Differential equation problem


Gunni
Apr11-04, 01:18 PM
The last example on my homework assignment this week is this: Solve the following differential equation.

y'' + 2y' + y = e^{-x}

I started by solving it like it was y'' + 2y' +y = 0 (Instert y = e^ax and so on) and got the following equation and solution:

e^{ax}(a^2 + 2a + 1) = 0 => a = -1

y'' + 2y' + y = 0, y = e^{-x}(k_1x + k_2)

Since the right side of the original equation is of the form Me^hx, and h is a solution to the equation above (a = -1), I tried inserting f(x) = Axe^(-x).

From that I got that f'(x) = Ae^(-x) - Axe^(-x) and f''(x) = Axe^(-x) -2Ae^(-x).

But when I insert that into the original equation everything cancels out and I'm left with e^(-x) = 0. Since that never applies I'm inclined to think that there are no solutions to the equation. What do you think?

arildno
Apr11-04, 01:49 PM
You might try a particular solution of the form f(x)=Ax^(2)e^(-x)

Gunni
Apr11-04, 02:27 PM
That doesn't seem to work, I get that A should equal both 0 and 1/2. I've also tried Ae^-x, which didn't work either.

arildno
Apr11-04, 04:37 PM
f(x)=Ax^(2)e^(-x)
f'(x)=2Axe^(-x)-Ax^(2)e^(-x)
f''(x)=Ax^(2)e^(-x)-4Axe^(-x)+2Ae^(-x)
f''+2f'+f=2Ae^(-x)-->A=1/2

Gunni
Apr11-04, 06:29 PM
Hmm... I must have made some mistake. Well, thanks a lot for the help.