4(a)

The equation is linear. An integrating factor is

\begin{displaymath}\mu(x) = \exp\left( -\int \tan x\, dx\right) = \exp(\ln \cos x) = \cos x\end{displaymath}

The general solution is

\begin{displaymath}y = \frac{1}{\cos x} \left(\int -2 \cos x \sin x\, dx + C\right)
= \cos x + C/\cos x\end{displaymath}

For the initial condition we have C=0, so $y = \cos x$.



Robert Israel
2002-02-07