1.15 problem 15

Internal problem ID [1884]

Book: Differential Equations, Nelson, Folley, Coral, 3rd ed, 1964
Section: Exercis 5, page 21
Problem number: 15.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {\sec \left (x \right ) \cos \left (y\right )^{2}-\cos \left (x \right ) \sin \left (y\right ) y^{\prime }=0} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 11

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

\[ y \left (x \right ) = \arccos \left (\frac {1}{\tan \left (x \right )+c_{1}}\right ) \]

Solution by Mathematica

Time used: 0.788 (sec). Leaf size: 45

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

\begin{align*} y(x)\to -\sec ^{-1}(\tan (x)+2 c_1) \\ y(x)\to \sec ^{-1}(\tan (x)+2 c_1) \\ y(x)\to -\frac {\pi }{2} \\ y(x)\to \frac {\pi }{2} \\ \end{align*}