A second order non homo differential equation

Click For Summary

Homework Help Overview

The discussion revolves around a second-order non-homogeneous differential equation of the form y'' + 4y = 2cos(x) + 3xsin(x), with initial conditions provided. Participants are exploring the appropriate form of the particular solution given the presence of the 3x term multiplying sin(x).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants suggest various forms for the particular solution, including terms involving sin(x) and cos(x) multiplied by x. There is discussion about how the presence of specific terms in the forcing function influences the choice of the particular solution.

Discussion Status

Some participants have provided guidance on the form of the particular solution based on the characteristics of the differential equation and the forcing function. There is an ongoing exploration of how to derive the appropriate solution form, with no explicit consensus reached yet.

Contextual Notes

Participants are considering the implications of the initial conditions and the relationship between the homogeneous and non-homogeneous parts of the equation. There is also mention of potential variations in the approach if a solution were already provided.

James889
Messages
190
Reaction score
1
Hi,

i have the following non-homo differential equation.

[tex]y^{\prime\prime}+4y = 2~cos~x + 3x~sin~x[/tex]

[tex]\begin{cases} y(0) = 1 \\<br /> y^{\prime}(0) = 2 \end{cases}[/tex]

Since there is a 3x term in front of sin x.
What is the form of the solution for this problem?

if it hadn't been there it probably would have been [tex]Asin~x + Bcos~x[/tex]

//James
 
Physics news on Phys.org
For your particular solution, try yp = Asinx + Bcosx + Cxsinx + Dxcosx. The Asinx + Bcosx that you were going to try would work if the right side had been just 2cosx.

Presumably you already know the solutions to the related homogeneous equation...
 
Mark44 said:
For your particular solution, try yp = Asinx + Bcosx + Cxsinx + Dxcosx. The Asinx + Bcosx that you were going to try would work if the right side had been just 2cosx.

Presumably you already know the solutions to the related homogeneous equation...

Yes, the homo equation isn't a problem. Hm how did you know that the correct form was Asinx + Bcosx + Cxsinx + Dxcosx. ?
 
It's kind of a long story, so I'll try to make it a little shorter.

Right side Particular soln
constant A
kx A + Bx
kx^2 A + Bx + Cx^2
etc.

m*sin x Asinx + Bcosx
n*cos x ditto
m*sinx + n*cosx ditto

m*xsin x Asinx + Bcosx + Cxsinx + Dxcosx
n*xcos x ditto
m*xsinx + n*xcosx ditto

m*x^2*sin x Asinx + Bcosx + Cxsinx + Dxcosx + Ex^2*sinx + Fx^2*cosx
n*x^2*cos x ditto
m*x^2*sinx + n*x^2*cosx ditto
etc.

e^x Ae^x
xe^x Ae^x + Bxe^x
x^2*e^x Ae^x + Bxe^x + Cx^2*e^x
etc.

All of the above assume that the particular solution is NOT also a solution of the homogeneous problem.

There are a few more, but this should get you started.
Mark
 
Would the case be different if i were given a solution?
 
James889 said:
Hm, how did you know that the correct form was Asinx + Bcosx + Cxsinx + Dxcosx?

Consider the form of the differential equation the forcing function would satisfy. The term [itex]\cos x[/itex] satisfies [itex]y''+y=(D^2+1)y=0[/itex], where [itex]D[/itex] is the differentiation operator. The [itex]x[/itex] in front of the [itex]\sin x[/itex] indicates you have a double root, which suggests that term is a solution to [itex](D^2+1)^2y=0[/itex] (which [itex]\cos x[/itex] is also a solution of). You can use this to convert the inhomogeneous equation

[tex](D^2+4)y=y''+4y=2\cos x+3x\sin x[/tex]

into a homogeneous one by applying [itex](D^2+1)^2[/itex] to both sides to get

[tex](D^2+1)^2(D^2+4)y = (D^2+1)^2(2\cos x+3x\sin x)[/tex]
[tex](D^2+1)^2(D^2+4)y = 0[/tex]

The general solution to this homogeneous equation is

[tex]y=A\sin x+B\cos x+Cx\sin x+Dx\cos x+E\sin 2x+F\cos 2x[/tex]

The last two terms are the ones you found when you solved the original homogeneous equation. The remaining terms are what you try as your particular solution.

In practice, there's a pattern to what kinds of terms appear in the particular solution based on the terms in the forcing function, so you can just write down what the solution should look like without going through this operator mess.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K