1.4 problem 4

Internal problem ID [3137]

Book: An introduction to the solution and applications of differential equations, J.W. Searl, 1966
Section: Chapter 4, Ex. 4.1
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

\[ \boxed {\cos \left (y\right )-x \sin \left (y\right ) y^{\prime }=\sec \left (x \right )^{2}} \] With initial conditions \begin {align*} [y \left (0\right ) = 0] \end {align*}

Solution by Maple

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

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

\begin{align*} y \left (x \right ) &= \arccos \left (\frac {\tan \left (x \right )}{x}\right ) \\ y \left (x \right ) &= -\arccos \left (\frac {\tan \left (x \right )}{x}\right ) \\ \end{align*}

Solution by Mathematica

Time used: 0.0 (sec). Leaf size: 0

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

{}