# Solve differential equation

1. Mar 30, 2012

### sharks

The problem statement, all variables and given/known data
Solve $$\frac{dy(t)}{dt}+2ty(t)=5t \\y(0)=1$$

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

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