1.6 problem 6

Internal problem ID [4572]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Test excercise 24. page 1067
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {x \cos \relax (y) y^{\prime }-\sin \relax (y)=0} \end {gather*}

Solution by Maple

Time used: 0.005 (sec). Leaf size: 8

dsolve(x*cos(y(x))*diff(y(x),x)-sin(y(x))=0,y(x), singsol=all)
 

\[ y \relax (x ) = \arcsin \left (c_{1} x \right ) \]

Solution by Mathematica

Time used: 0.684 (sec). Leaf size: 17

DSolve[x*Cos[y[x]]*y'[x]-Sin[y[x]]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \text {ArcSin}\left (e^{c_1} x\right ) \\ y(x)\to 0 \\ \end{align*}