8.4 problem 1.2-3 (d)

Internal problem ID [1976]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-3, page 12
Problem number: 1.2-3 (d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\cot \left (t \right ) y-6 \cos \left (t \right )^{2}=0} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{4}\right ) = 3\right ] \end {align*}

Solution by Maple

Time used: 0.047 (sec). Leaf size: 18

dsolve([diff(y(t),t)=-cot(t)*y(t)+6*cos(t)^2,y(1/4*Pi) = 3],y(t), singsol=all)
 

\[ y \left (t \right ) = -2 \csc \left (t \right ) \left (\cos \left (t \right )^{3}-\sqrt {2}\right ) \]

Solution by Mathematica

Time used: 0.056 (sec). Leaf size: 23

DSolve[{y'[t]==-Cot[t]*y[t]+6*Cos[t]^2,y[Pi/4]==3},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to 2 \sqrt {2} \csc (t)-2 \cos ^2(t) \cot (t) \\ \end{align*}