Solve 1st Order Linear ODE Initial Value Problem

  • Thread starter Thread starter Punchlinegirl
  • Start date Start date
  • Tags Tags
    Linear Ode
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 · 6K views
Punchlinegirl
Messages
221
Reaction score
0
Find the solution of the given initial value problem
y'-y=2te^2t y(0)=1

so p(t)=-1
then [tex]\mu (t)= e^/int -1 dt= e^-t[/tex]
e^-t y'-e^-t y=2te^2te^-t
d/dt [e^-t y]=2te^t dt
e^-t =[tex]\int 2te^t dt[/tex]
e^-t y= 2te^t-2e^t
y=-2(t-1)+ce^-t
plugging in the initial conditon gives me
y(t)=-2(t-1)-e^-t

Am I doing this right? If not, can someone help?
 
Physics news on Phys.org
[tex]I = e^{-\int t} = e^{-t dt}[/tex].

So you get [tex]ye^{-t} = 2\int te^{t} dt = 2te^{t} - 2e^{t} + C[/tex]

[tex]y = \frac{2te^{t} - 2e^{t} + C}{e^{-t}}[/tex]

[tex]y = \frac{2te^{t} - 2e^{t} + 2}{e^{-t}}[/tex]

[tex]y = 2te^{2t} - 2e^{2t} + 2e^{t}[/tex]