Particular solution to linear nonhomogeneous equation

spacetimedude
Messages
87
Reaction score
1

Homework Statement


I started learning about solving non homogeneous linear differential equations in class and I am a bit clueless on how to solve them since I've never had a prior experience with much of differential equation.

I am trying to find the particular solutions to the equation L''+w^2L=cn^2sin(nt)+w^2b where w,c,n are constants.

Homework Equations

The Attempt at a Solution


First, I split the equation into two:
Lp1=> L''+w^2L=w^2b
Lp2=>L''+w^2L=cn^2sin(nt)

Not quite sure how to solve for the particular solution for the first one.

Lp2:
We guess that L=Acos(nt)+Bsin(nt).
Then we have
L'=-nAsin(nt)+nBcos(nt)
L''=-n^2Acos(nt)-n^2Bsin(nt)=-n^2(Acos(nt)+Bcos(nt))

Plugging back into the equation =>
(-n^2(Acos(nt)+Bcos(nt)))+w^2(Acos(nt)+Bsin(nt))=cn^2sin(nt)

What do we do from here?
Any help will be appreciated.

EDIT:
For the second particular solution, do we just solve for Acos(nt)+Bsin(nt) because we supposed that is L?
In that case, I get Lp2=(cn^2sin(nt))/(w^2-n^2).

Also, for the first solution, do we guess that Lp1 is a constant, so when we take the second derivative, L'' becomes 0, so it just becomes w^2L=w^2b, hence L=b?
 
Last edited:
on Phys.org
Last edited:
spacetimedude said:

Homework Statement


I started learning about solving non homogeneous linear differential equations in class and I am a bit clueless on how to solve them since I've never had a prior experience with much of differential equation.

I am trying to find the particular solutions to the equation L''+w^2L=cn^2sin(nt)+w^2b where w,c,n are constants.

Homework Equations

The Attempt at a Solution


First, I split the equation into two:
Lp1=> L''+w^2L=w^2b
Lp2=>L''+w^2L=cn^2sin(nt)

Not quite sure how to solve for the particular solution for the first one.

Lp2:
We guess that L=Acos(nt)+Bsin(nt).
Then we have
L'=-nAsin(nt)+nBcos(nt)
L''=-n^2Acos(nt)-n^2Bsin(nt)=-n^2(Acos(nt)+Bcos(nt))

Plugging back into the equation =>
(-n^2(Acos(nt)+Bcos(nt)))+w^2(Acos(nt)+Bsin(nt))=cn^2sin(nt)

What do we do from here?
Any help will be appreciated.

EDIT:
For the second particular solution, do we just solve for Acos(nt)+Bsin(nt) because we supposed that is L?
In that case, I get Lp2=(cn^2sin(nt))/(w^2-n^2).

Also, for the first solution, do we guess that Lp1 is a constant, so when we take the second derivative, L'' becomes 0, so it just becomes w^2L=w^2b, hence L=b?

It may be easiest to eliminate the constant on the right, by writing the DE for ##M = L + \text{constant}## and figuring out what the appropriate constant would be in order to have the simpler right-hand-side ##cn^2 \sin(nt)##.
 

Similar threads

Replies
15
Views
3K
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
6
Views
4K