Solving a linear 2. order non-homogeneous differential equation

Click For Summary

Discussion Overview

The discussion revolves around solving a linear second-order non-homogeneous differential equation, specifically in the context of a physics problem involving an object coupled to a spring on a frictionless table. Participants explore the formulation of the equation, potential solutions, and the implications of initial conditions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the differential equation y''(t) + y(t) = e^{-t} and discusses the general solution as a sum of the complementary and particular solutions.
  • Another participant questions the form of the particular solution and suggests that the coefficients for sin and cos should be different, indicating a potential misunderstanding of the problem setup.
  • A later reply clarifies that the right-hand side of the equation should be e^{-t}sin(t) instead of e^{-t}, leading to a reevaluation of the particular solution and the constants involved.
  • Participants discuss the behavior of the solution as t approaches infinity, with one noting that the transient part of the solution approaches zero while the steady-state solution does not converge to a limit.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the correct form of the particular solution and the implications of the initial conditions. There is no consensus on the interpretation of the solution's behavior as t approaches infinity.

Contextual Notes

Participants highlight the importance of accurately interpreting the right-hand side of the differential equation and the potential confusion arising from misreading the problem. The discussion reflects varying levels of understanding of the mathematical concepts involved.

Who May Find This Useful

Readers interested in differential equations, particularly in the context of physics applications, may find this discussion relevant. It may also benefit those studying linear algebra and initial value problems.

Chem.Stud.
Messages
27
Reaction score
2
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?
 
Physics news on Phys.org
Chem.Stud. said:
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 both "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?
 
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!
 
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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K