Solve ODE: y' = -y + sin(t) | Mike

  • Context: Undergrad 
  • Thread starter Thread starter bsodmike
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary

Discussion Overview

The discussion revolves around solving the ordinary differential equation (ODE) y' = -y + sin(t). Participants explore methods for solving the equation, share their understanding of ODEs, and discuss the context in which the problem is presented.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • Mike presents the ODE and suggests a specific solution, referencing its appearance in an advanced numerical methods context.
  • One participant emphasizes that they cannot solve the problem directly for Mike, suggesting he recognize the form of the ODE.
  • Mike expresses uncertainty about recognizing the form of the ODE and compares it to another example he understands.
  • Another participant encourages Mike to manipulate the ODE and check resources for further understanding.
  • A participant mentions that the ODE can be solved using an integrating factor.
  • One participant suggests a general method for solving ODEs, which includes guessing a solution and verifying it.
  • Mike later indicates that he successfully solved the ODE with assistance from another participant.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the solution process, as there are multiple approaches discussed and varying levels of understanding among them. The discussion remains open-ended with no definitive resolution presented.

Contextual Notes

Participants reference different methods for solving ODEs, including integrating factors and numerical methods, but do not clarify the specific assumptions or steps involved in their approaches.

Who May Find This Useful

Individuals interested in ordinary differential equations, numerical methods, and those seeking to understand various solution techniques may find this discussion beneficial.

bsodmike
Messages
82
Reaction score
0
Can someone please solve this:

y' = -y + sin(t)

The solution should be [tex]y(t)= \dfrac{3}{2}e^{-t}+\dfrac{1}{2}\left({sin(t)-cos(t)}\right)[/tex]

Thanks
Mike

P.S. this is not a homework question (i.e. I no longer go to school/uni in the first place) but this is stated in 'Adv. Numerical Methods and Analysis'. They simply state that the solution is such and such as obtained from any undergrad ODE course.
 
Last edited:
Physics news on Phys.org
No, we're still not allowed to solve it for you even if it's not homework. To start you off here, bring over the -y to the left side. Do you recognise the form of the ODE?
 
Not really. I know for examples like,

[tex]\dfrac{dx}{dt}=tx[/tex]

Can be analytically solved by going,

[tex]\dfrac{dx}{x}=tdt[/tex]

And integrating both sides, to yield (for example), [tex]x = e^{\dfrac{t^2}{2}}[/tex]. Thanks for your help, I guess I'm going to remain stuck on this :(
 
Can you give me an idea on how to manipulate this form of Ode. I'll check stroud when I get home and see if I can figure it out. Cheers

Ps this is in my adv numerical book as the analytical solution to an example of euler's method. Would be great if I can figure of out.
 
Sorry I forgot about this thread. This DE is of the form which is solvable by multiplying it with an integrating factor.
 
You can always plug the solution back into the DE to demonstrate it is, in fact, a solution.

The general method would be
1) Think hard/do numerics
2) Guess solution
3) Check that it works

(-:
 
Actually, I managed to solve it here with Dick's help.

It was great practice, thanks :)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K