Method of undetermined coefficients

Click For Summary
SUMMARY

The discussion centers on solving the ordinary differential equation (ODE) y" + 0.5y' + y = 1 - cos(t) using the method of undetermined coefficients. The particular solution derived is Y(t) = -2sin(t) + 1, while the homogeneous solution is expressed as y_h = c1*exp(-1/4*t)cos(sqrt(15)/4*t) + c2*exp(-1/4*t)sin(sqrt(15)/4*t). The user initially miscalculated the constants c1 and c2, which should not be zero after applying the initial conditions. The correct general solution is y(t) = c1*exp(-1/4*t)cos(sqrt(15)/4*t) + c2*exp(-1/4*t)sin(sqrt(15)/4*t) - 2sin(t) + 1.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with the method of undetermined coefficients
  • Knowledge of characteristic equations and complex roots
  • Ability to apply initial conditions to ODE solutions
NEXT STEPS
  • Study the method of undetermined coefficients in-depth
  • Learn about solving characteristic equations for ODEs
  • Explore the application of initial conditions in differential equations
  • Investigate the implications of complex roots in ODE solutions
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators teaching ODE concepts and methods.

cloud18
Messages
6
Reaction score
0
y" + 0.5y' + y = 1-cos(t); y(0) = y'(0) = 0

I used method of undetermined coefficients to get particular solution:

Y(t) = -2sin(t) + 1

To get homogeneous solution, I solved characteristic equation to get complex roots:

r_1,2 = -1/4 +- i*sqrt(15)/4

so homogeneous solution is:

y = c1*exp(-1/4*t)cos(sqrt(15)/4*t) + c2*exp(-1/4*t)sin(sqrt(15)/4*t)

But when I use the initial conditions, I get c1 = c2 = 0.
Is this right, or did I make a mistake?

I simplified the original problem with an easier forcing function to try first, so it is possible the ODE doesn't
make sense?
 
Physics news on Phys.org
Yes, you made a mistake! You didn't add the particular solution to the solution to the associated homogeneous equation!
The general solution to the entire equation is y(t)= c1*exp(-1/4*t)cos(sqrt(15)/4*t) + c2*exp(-1/4*t)sin(sqrt(15)/4*t)-2sin(t) + 1

Put x= 0 into that and its derivative.
y(0)= c1+ 1= 0 so c1= -1.

You do the derivative.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
2K