1.9 problem 9

Internal problem ID [3154]

Book: Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section: Chapter 2. First-Order and Simple Higher-Order Differential Equations. Page 78
Problem number: 9.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _dAlembert]

\[ \boxed {x y^{\prime }-y-x \cot \left (\frac {y}{x}\right )=0} \]

Solution by Maple

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

dsolve(x*diff(y(x),x)-y(x)=x*cot(y(x)/x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 25.917 (sec). Leaf size: 56

DSolve[x*y'[x]-y[x]==x*Cot[y[x]/x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -x \arccos \left (\frac {e^{-c_1}}{x}\right ) y(x)\to x \arccos \left (\frac {e^{-c_1}}{x}\right ) y(x)\to -\frac {\pi x}{2} y(x)\to \frac {\pi x}{2} \end{align*}