Inhomogeneous Second Order ODE

0131413
Messages
10
Reaction score
0

Homework Statement



What is the value of a such that the solution of the initial-value problem satisfies limx->infinity y(x) = 0?

y''+y'=e^(-x), y(0)=1, y'(0)=a

Homework Equations


The Attempt at a Solution



Not sure what to do with the missing y term...

yp=Ae^(-x), y'p=-A^(-x), y''p=A^(-x)
Ae^(-x)-A^(-x) = 0 so

yp=Axe^(-x), y'p=-Axe^(-x)+Ae^(-x). y''p=Axe^(-x)-Ae^(-x)-Ae^(-x)
Axe^(-x)-Ae^(-x)-Ae^(-x)-Axe^(-x)+Ae^(-x)=e^(-x)
-Ae^(-x)=e^(-x)
A=-1

The general solution is C1e^(0)+C2e^(-x) (?)

y=te^(-x)+C1e^(0)+C2e^(-x)
y'=-te^(-x)+e^(-x)-C2e^(-x)

y(0)=0+C1-C2=1
y'(0)=0+1-C2=a

C2=1-a

I know this is wrong, multiple numbers can fit into a. Thanks!
 
Physics news on Phys.org
0131413 said:

Homework Statement



What is the value of a such that the solution of the initial-value problem satisfies limx->infinity y(x) = 0?

y''+y'=e^(-x), y(0)=1, y'(0)=a

Homework Equations


The Attempt at a Solution



Not sure what to do with the missing y term...

yp=Ae^(-x), y'p=-A^(-x), y''p=A^(-x)
Ae^(-x)-A^(-x) = 0 so

yp=Axe^(-x), y'p=-Axe^(-x)+Ae^(-x). y''p=Axe^(-x)-Ae^(-x)-Ae^(-x)
Axe^(-x)-Ae^(-x)-Ae^(-x)-Axe^(-x)+Ae^(-x)=e^(-x)
-Ae^(-x)=e^(-x)
A=-1

The general solution is C1e^(0)+C2e^(-x) (?)

That's the general solution (complementary solution) of the homogeneous equation, yes. No point in the e0 term; it is just 1:
yc = C1 + C2e-x.

But up above you found the particular solution. Since A = -1, what do you get for yp?

y=te^(-x)+C1e^(0)+C2e^(-x)

There shouldn't be any t in this equation. What is the correct yp?

y'=-te^(-x)+e^(-x)-C2e^(-x)

y(0)=0+C1-C2=1
y'(0)=0+1-C2=a

C2=1-a

I know this is wrong, multiple numbers can fit into a. Thanks!

Yes, it's wrong but that isn't why. Remember, changing a changes the problem so different a gives the answer to a different equation. Fix your y and express your answer in terms of a. And lose the variable t.
 
I'm sorry that t is supposed to be an x. I did forget the negative sign when trying to solve the general solution, ouch.

I thought it would be xe^(-x) since using yp=Ae^(-x) I ended up with Ae^(-x)-Ae^(-x).

Now I have

y=-xe^(-x)+C1+C2e^(-x)
y'=xe^(-x)-e^(-x)-C2e^(-x)

y(0)=C1+C2=1
y'(0)=-1-C2=a

C1=1+1+a=0 (Since C1 needs to be 0 for x->infinity to be 0)

So a is -2?
 
I agree. So what is your final solution to the problem? Once you have it you can plug it into the equation, initial conditions and check the limit and you will know for sure you have no arithmetic mistakes.
 
LCKurtz said:
I agree. So what is your final solution to the problem? Once you have it you can plug it into the equation, initial conditions and check the limit and you will know for sure you have no arithmetic mistakes.

C2=-3

The equation that satisfies the problem is y=-xe^(-x)-3e^(-x)

y'=xe^(-x)-e^(-x)+3e^(-x)
y''=-xe^(-x)+e^(-x)+e^(-x)-3e^(-x)

-xe^(-x)+2e^(-x)-3e^(-x)+xe^(-x)-e^(-x)+3e^(-x)=e^(-x)

Final answer to the question of what value of a satisfies the problem:

a=-2

Thanks a lot. :)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top