Inhomogeneous Second Order ODE

Click For Summary

Homework Help Overview

The discussion revolves around finding the value of 'a' in the initial-value problem defined by the second-order ordinary differential equation (ODE) y'' + y' = e^(-x), with initial conditions y(0) = 1 and y'(0) = a. The goal is to determine the conditions under which the solution approaches zero as x approaches infinity.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the form of the particular solution and the complementary solution, questioning the correctness of terms and the presence of variables. There is discussion about the implications of different values of 'a' on the solution's behavior as x approaches infinity.

Discussion Status

The conversation includes attempts to clarify the general solution and the particular solution, with some participants suggesting corrections to earlier mistakes. There is acknowledgment of the need to express the solution in terms of 'a' and to verify the limit condition. Multiple interpretations of the problem are being explored, but no consensus has been reached on the final solution.

Contextual Notes

Participants note the importance of ensuring that the solution satisfies the limit condition as x approaches infinity, and there is an emphasis on the arithmetic involved in determining the correct value of 'a'.

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. :)
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K