Register to reply

Solving a linear 2. order non-homogeneous differential equation

Share this thread:
Chem.Stud.
#1
Nov27-12, 04:43 AM
P: 27
This is a case where an object is coupled to a spring, laying on a table. The object is moving, friction less, horizontally on the table. We assume the object is moving in an outer forice field which acts in the same direction as the object's motion. The motion is modeled by

y''(t) + y(t) = e[itex]^{-t}[/itex] (1)

where the right hand side is supposed to reflect the force field. (physics is not my field, so I'm not able to explain this in detail, I'm just a chemistry student with some extra maths).

This is a fairly simple problem, and I understand that the general solution can be written as a sum of the complimentary solution (of the homogeneous case) and one particular solution.

I've done the calculations, and found

y(t) = y[itex]_{C}[/itex](t) + y[itex]_{P}[/itex](t)
......= Acos(t) + Bsin(t) + 0,5e[itex]^{-t}[/itex]

However, I'm not sure if this is what I'm supposed to do.

I'm asked to

a) Find a particular solution y[itex]_{P}[/itex] on the form

y[itex]_{P}[/itex](t) = e[itex]^{-t}[/itex](Acos(t) + A sin(t)).

and

b) Find the general solution of the differential equation (1).

and finally

c) Assume the object from the start (y(0) = 0) is not moving (laying still). Find the objects position as a function of time in this case. What happens when t[itex]\rightarrow[/itex]∞?

What exactly am I supposed to do?
Phys.Org News Partner Science news on Phys.org
Climate change increases risk of crop slowdown in next 20 years
Researcher part of team studying ways to better predict intensity of hurricanes
New molecule puts scientists a step closer to understanding hydrogen storage
HallsofIvy
#2
Nov27-12, 08:31 AM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,327
Quote Quote by Chem.Stud. View Post
This is a case where an object is coupled to a spring, laying on a table. The object is moving, friction less, horizontally on the table. We assume the object is moving in an outer forice field which acts in the same direction as the object's motion. The motion is modeled by

y''(t) + y(t) = e[itex]^{-t}[/itex] (1)

where the right hand side is supposed to reflect the force field. (physics is not my field, so I'm not able to explain this in detail, I'm just a chemistry student with some extra maths).

This is a fairly simple problem, and I understand that the general solution can be written as a sum of the complimentary solution (of the homogeneous case) and one particular solution.

I've done the calculations, and found

y(t) = y[itex]_{C}[/itex](t) + y[itex]_{P}[/itex](t)
......= Acos(t) + Bsin(t) + 0,5e[itex]^{-t}[/itex]
Yes, that is correct.

However, I'm not sure if this is what I'm supposed to do.

I'm asked to

a) Find a particular solution y[itex]_{P}[/itex] on the form

y[itex]_{P}[/itex](t) = e[itex]^{-t}[/itex](Acos(t) + A sin(t)).
(Are the coefficients of sin and cos [b]both[b] "A"?)

I agree with you. I suspect that either you or the text has confused two different problems.

If y were equal to that, then you would have
[tex]dy_p/dt= -e^{-t}(A cos(t)+ A sin(t))+ e^{-t}(-Asin(t)+ A cos(t)[/tex]
[tex]dy_p/dt= -2Ae^{-t}sin(t)[/tex]
If both coefficients are "A"!

[tex]d^2y_p/dt^2= 2Ae^{-t}sin(t)- 2Ae^{-t}cos(t)= e^{-t}(2Asin(t)- 2Acos(t))[/tex]
Now, putting that into the equation,
[tex]d^2y_p/dt^2+ y= e^{-t}(3Asin(t)- Ae^{-t}cos(t)[/tex]
and NO choice of A will make that equal to [itex]e^{-t}[/itex].

If you meant [itex]y= e^{-t}(A cos(t)+ B sin(t))[/itex], the calculations are a little harder:
[tex]dy/dt= -e^{-t}(A cos(t)+ B sin(t))+ e^{-t}(-A sin(t)+ B cos(t))= e^{-t}((B-A)cos(t)- (A+B) sin(t))[/tex]
and so
[tex]d^2y/dt^2= -e^{-t}((B-A)cos(t)- (A+ B) sin(t))+ e^{-t}((A- B)sin(t)-(A+ B)cos(t))[/tex]

So the equation becomes
[tex]d^2y/dt^2+ dy/dt= e^{-t}(Asin(t)- B cos(t))[/tex]
and still, NO choice of A and B will make that equal to [itex]e^{-x}[/itex].

and

b) Find the general solution of the differential equation (1).

and finally

c) Assume the object from the start (y(0) = 0) is not moving (laying still). Find the objects position as a function of time in this case. What happens when t[itex]\rightarrow[/itex]∞?

What exactly am I supposed to do?
Chem.Stud.
#3
Nov28-12, 05:54 AM
P: 27
I got together with some friends, and it seems that I've misread the problem (shoot me now!).

The right hand side of (1) is supposed to be e[itex]^{-t}[/itex]*sin(t)

This makes sense again! I'm taking a basic course in linear algebra and linear differential equations with initial value problems, and so I suppose our lecturer has been "kind" and provided us with the "correctly guessed" y[itex]_{P}[/itex]. All I had to do was to insert it into (1) and find A and B, which respectively is 2/5 and 1/5.

I also understand the rest of the problem. The general solution I already have, as the complimentary solution isn't affected by my misreading the problem's right hand side. I then impose the initial values, and find the unknown constants c1 and c2.

When t approaches ∞, the whole solution will approach
-5/2cos(∞)+1/5sin(∞).

I'm not quite sure how to interpret that. Does this converge to a certain value?

Thank you for taking your time, though!

HallsofIvy
#4
Nov28-12, 07:57 AM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,327
Solving a linear 2. order non-homogeneous differential equation

All that is saying is that the "non-homogeneous part", [itex]e^{-t}sin(t)[/itex], gives a "transient"- a part of the solution that, because of that "[itex]e^{-t}[/itex]", rapidly goes to 0, leaving the "steady state" solution, -(5/2)cos(t)+ (1/5)sin(t) for large t. No, that does not have any limit as t goes to infinity.


Register to reply

Related Discussions
Solving second order linear homogeneous differential equation Calculus & Beyond Homework 1
Solving second order linear homogeneous differential equation Calculus & Beyond Homework 5
Solving second order non homogeneous differential equation Calculus & Beyond Homework 6
Solving second order linear homogeneous differential equation! HELP? Calculus & Beyond Homework 17
Solving non Homogeneous second order differential equation Calculus & Beyond Homework 3