Solving 2nd Order ODE with x(0)=0, x'(0)=0

Click For Summary
SUMMARY

The discussion focuses on solving the second-order ordinary differential equation (ODE) given by (d²x)/(dt²) + (ω²)x = Fsin(ωt) with initial conditions x(0) = 0 and x'(0) = 0. The correct approach to find the particular solution involves recognizing that the forcing function sin(ωt) resembles the homogeneous solution. Therefore, the appropriate guess for the particular solution is x_p(t) = Ctcos(ωt) + Dtsin(ωt), which ensures independence from the homogeneous solution. The final solution incorporates both the homogeneous and particular solutions, yielding x(t) = A*cos(ωt) + B*sin(ωt) + (F/2ω²)sin(ωt) - (F/2ω)tcos(ωt).

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with homogeneous and particular solutions
  • Knowledge of the method of undetermined coefficients
  • Basic concepts of initial value problems in differential equations
NEXT STEPS
  • Study the method of undetermined coefficients for solving ODEs
  • Learn about the variation of parameters technique for particular solutions
  • Explore the concept of resonance in differential equations
  • Practice solving ODEs with different forcing functions and initial conditions
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are dealing with second-order ordinary differential equations and require a solid understanding of solution techniques.

S_Flaherty
Messages
75
Reaction score
0
I'm not sure exactly how to solve this ODE. (dx^2)/(dt^2) + (w^2)x = Fsinwt, where x(0) = 0 and X'(0) = 0.
What I've got so far is:
x'' + w^2x = Fsinwt --> x(homogenous) = Acoswt + Bsinwt

I know I have to find a particular solution but I keep getting zero as a result which I know won't solve the ODE.

Also, I know that the answer is (F/2w^2)sinwt - (F/2w)tcoswt
 
Physics news on Phys.org
Show us how you solved for the particular solution.
 
For the particular solution I set x = Ccoswt + Dsinwt where C and D are arbitrary constants, so x' = -wCsinwt + wDcoswt, x'' = -w^2Ccoswt - w^2Dsinwt. so for the original equation
x'' + w^2x = Fsinwt, I have (-w^2Ccoswt - w^2Dsinwt) + w^2(Ccoswt + Dsinwt) = Fsinwt
but that reduces to 0 = Fsinwt which doesn't tell me anything about the particular solution because I have no values for C and D. I tried making x = tCcoswt + tDsinwt among others and even when I find some value for the particular solution, once I combine it with the homogeneous and try to solve for A and B I run into the same problem.
 
Oh, okay. Your problem is in your guess for the particular solution. You should note that it's the same as the homogeneous solution, so of course when you plug it into the differential equation, you get 0.

The problem is that the forcing function looks like the homogeneous solution. That is, both contain the term ##\sin \omega t##. When this happens, you need to multiply your guess for the particular solution by t to get solutions to the differential equation independent of the homogeneous solution. So try ##x_p(t) = Ct\cos \omega t + Dt\sin \omega t##.
 
I did that before and still did not end up with the correct answer, but I just tried it again right now and now I have the right answer, so I guess I just made a mistake before. Thank you for answering.
 

Similar threads

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