How Do You Solve a First Order Differential Equation with an Initial Condition?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
DryRun
Gold Member
Messages
837
Reaction score
4
Homework Statement
Solve [tex]\frac{dy(t)}{dt}+2ty(t)=5t<br /> \\y(0)=1[/tex]

The attempt at a solution
Since this is a 1st order ODE, i find the integrating factor,
[tex]μ(t)=e^{\int P(t).dt}<br /> \\P(t)=2t<br /> \\Q(t)=5t<br /> \\μ(t)=e^{t^2}[/tex]
Using formula:
[tex]\frac{dμy}{dt}=μQ[/tex]
Integrating both R.H.S. and L.H.S.:
[tex]μy=\int e^{t^2}.5t\,.dt<br /> \\μy=\frac{5}{2}e^{t^2}+A<br /> \\y=\frac{5}{2}+\frac{A}{e^{t^2}}[/tex]
Using y(0)=1
When t=0, y=1
[itex]1=\frac{5}{2}+A[/itex], so A=1-(5/2)=-3/2

Therefore, the particular solution is: y=(5/2)-(3/2) which gives y=1.

Is this answer correct?
 
Last edited:
Physics news on Phys.org
sharks said:
Is this answer correct?

It looks correct to me.