Find the general solution to the equation dxdt=tsinat\frac{dx}{dt}=t\sin at, where aa is a constant. Find the particular solution with x(0)=1x(0)=1.
Solution. We integrate both sides to obtain
which is the general solution. For the particular solution, we require x(0)=1x(0)=1 and therefore -0+0+c=1,{-0+0+c=1,} whence