Solving First Order Differential Equation

Click For Summary
SUMMARY

The discussion focuses on solving the first-order differential equation \(\frac{dy}{dt}-\frac{1}{2}y=2\cos(t)\) using the integrating factor method. The correct integrating factor is \(e^{-\frac{t}{2}}\), leading to the solution \(y = \frac{4\sin(t)-\cos(t)}{3}+ce^{\frac{t}{2}}\). A key error identified in the solution process involves inconsistent application of the integral \(I\), which should be consistently defined throughout the calculations. The book's solution is \(y=\frac{4}{5}(2\sin(t)-\cos(t))+ce^{\frac{t}{2}}\), indicating a discrepancy in the coefficients.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with integrating factors
  • Knowledge of integration by parts
  • Experience with reduction formulas in integration
NEXT STEPS
  • Study the method of integrating factors in differential equations
  • Learn about integration by parts and its applications
  • Explore reduction formulas for solving integrals
  • Review examples of first-order differential equations for practice
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to improve their problem-solving skills in calculus.

jellicorse
Messages
40
Reaction score
0

Homework Statement



I have been trying to solve this equation but keep coming to the same solution, which according to my book is not the correct one. Is anyone able to point out what I am doing wrong?

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




The Attempt at a Solution



To solve, use the integrating factor [tex]e^{\int\frac{1}{2}dt}[/tex]; Integrating factor=[tex]e^{-\frac{t}{2}}[/tex]

[tex]ye^{-\frac{t}{2}} = 2\int e^{-\frac{t}{2}}cos(t)dt[/tex]




Integrating the RHS by parts:

[tex]= 2\left[e^{-\frac{t}{2}}sin(t)+\frac{1}{2}\int sin(t)e^{-\frac{t}{2}}dt\right][/tex]

[tex]= 2\left[e^{-\frac{t}{2}}sin(t)+\frac{1}{2}\left[e^{-\frac{t}{2}}\cdot(-cos(t)-\frac{1}{2}\int cos(t)e^{-\frac{t}{2}}dt\right]\right][/tex]




And using a reduction formula:

[tex]= 2\left[e^{-\frac{t}{2}}sin(t)-\frac{e^{-\frac{t}{2}}cos(t)}{2}-\frac{1}{4}I\right][/tex]

[tex]I =2e^{-\frac{t}{2}}sin(t)-e^{-\frac{t}{2}}cos(t)-\frac{1}{2}I[/tex]

[tex]\frac{3}{2}I=2e^{-\frac{t}{2}}sin(t)-e^{-\frac{t}{2}}cos(t)[/tex]

[tex]I = \frac{2}{3}(2e^{-\frac{t}{2}}sin(t)-e^{-\frac{t}{2}}cos(t))[/tex]

[tex]ye^{-\frac{t}{2}}=\frac{4e^{-\frac{t}{2}}sin(t)-e^{-\frac{t}{2}}cos(t)}{3}[/tex]

[tex]y = \frac{4 sin(t)-cos(t)}{3}+ce^{\frac{t}{2}}[/tex]




After all this, the book gives a solution of [tex]y=\frac{4}{5}(2sin(t)-cos(t))+ce^{\frac{t}{2}}[/tex]
 
Physics news on Phys.org
hi jellicorse! welcome to pf! :smile:

good method, but i think you've used ye-t/2 = 2I in one place and = I in another place :wink:
 
  • Like
Likes   Reactions: 1 person
Ah, thanks tiny-tim... I will look into that!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K