1.6 problem 6

Internal problem ID [2548]

Book: Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section: Chapter 11.3, page 316
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-3 \left (\cos ^{2}\relax (y)\right )=0} \end {gather*}

Solution by Maple

Time used: 0.008 (sec). Leaf size: 12

dsolve(diff(y(x),x)=3*cos(y(x))^2,y(x), singsol=all)
 

\[ y \relax (x ) = \arctan \left (3 x +3 c_{1}\right ) \]

Solution by Mathematica

Time used: 0.366 (sec). Leaf size: 32

DSolve[y'[x]==3*Cos[y[x]]^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \text {ArcTan}(3 x+2 c_1) \\ y(x)\to -\frac {\pi }{2} \\ y(x)\to \frac {\pi }{2} \\ \end{align*}