1st order linear diff eq. problem

  • Thread starter Thread starter Abraham
  • Start date Start date
  • Tags Tags
    Diff eq Linear
Click For Summary
SUMMARY

The discussion focuses on solving the first-order linear differential equation given by \(\frac{dy}{dt} = 2y + \sin(2t)\). The general solution consists of the particular solution \(y_{p}(t)\) and the homogeneous solution \(y_{h}(t)\). The user initially guessed a particular solution of the form \(y_{p} = a \sin(2t) + b \cos(2t)\) but encountered issues with the resulting simultaneous equations. A correction was provided, indicating a sign error in the differentiation process, which is critical for obtaining the correct coefficients.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of homogeneous and nonhomogeneous solutions
  • Basic calculus, specifically differentiation and solving simultaneous equations
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn about integrating factors for solving linear differential equations
  • Practice solving first-order linear differential equations with various nonhomogeneous terms
  • Explore the theory behind homogeneous solutions and their applications
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to deepen their understanding of first-order linear differential equations and solution methods.

Abraham
Messages
68
Reaction score
0

Homework Statement



Find the general solution of

[tex]\frac{dy}{dt}[/tex] = 2y +sin(2t)

Homework Equations



The general solution of a nonhomogeneous ode is the particular solution of the nonhomo plus the solution of the homogeneous ode.: y(t)= y[tex]_{p}[/tex](t)+y[tex]_{h}[/tex](t)

The Attempt at a Solution



[tex]\frac{dy}{dt}[/tex] - 2y = sin(2t)


Initial guess, is that y[tex]_{p}[/tex] = a*Sin(2t)+b*Cos(2t), where a and b are unknown constants later to be found

Then, the d.e. becomes:

[tex]\frac{d}{dt}[/tex] ( a*Sin(2t)+b*Cos(2t) ) - 2( a*Sin(2t)+b*Cos(2t) ) = Sin2t

=2aCos(2t)-2bSin(2t) - 2aSin(2t)+2bCos(2t) = Sin2t

=(2a+2b)*Cos(2t) + (-2b-2a)*Sin(2t) = Sin2t

Using the fact that polynomial coefficients must be equal:

2a+2b=0
-2b-2a=1

And here is my issue. These simultaneous equations are false, and thus I cannot possibly solve the d.e.

Can someone tell me where I messed up? Thanks

PS. I know this can also be found using integrating factors, but i need help on the section with "guessing" the solution
 
Physics news on Phys.org
You got a sign wrong when you went from this line

[tex]\frac{d}{dt} (a \sin 2t + b \cos 2t ) - 2(a \sin 2t + b \cos 2t ) = \sin 2t[/tex]

to your next one. You should have gotten

[tex]2a\cos 2t - 2b \sin 2t - 2a \sin 2t - 2b \cos 2t = \sin 2t[/tex]
 
Hey thanks. You homework helpers save my life.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K