4.5.8 \(x y'(x)-y(x)+x \sec \left (\frac {y(x)}{x}\right )=0\)

ODE
\[ x y'(x)-y(x)+x \sec \left (\frac {y(x)}{x}\right )=0 \] ODE Classification

[[_homogeneous, `class A`], _dAlembert]

Book solution method
Homogeneous equation

Mathematica
cpu = 0.293908 (sec), leaf count = 15

\[\left \{\left \{y(x)\to x \sin ^{-1}(-\log (x)+c_1)\right \}\right \}\]

Maple
cpu = 0.025 (sec), leaf count = 12

\[[y \left (x \right ) = -\arcsin \left (\ln \left (x \right )+\textit {\_C1} \right ) x]\] Mathematica raw input

DSolve[x*Sec[y[x]/x] - y[x] + x*y'[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> x*ArcSin[C[1] - Log[x]]}}

Maple raw input

dsolve(x*diff(y(x),x)-y(x)+x*sec(y(x)/x) = 0, y(x))

Maple raw output

[y(x) = -arcsin(ln(x)+_C1)*x]