4.19.16 \(x^2 y'(x)^2+(2 x-y(x)) y(x) y'(x)+y(x)^2=0\)

ODE
\[ x^2 y'(x)^2+(2 x-y(x)) y(x) y'(x)+y(x)^2=0 \] ODE Classification

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

Book solution method
No Missing Variables ODE, Solve for \(x\)

Mathematica
cpu = 0.587209 (sec), leaf count = 73

\[\left \{\left \{y(x)\to \frac {\sinh (2 c_1)-\cosh (2 c_1)}{x \cosh (2 c_1)+x \sinh (2 c_1)-1}\right \},\left \{y(x)\to \frac {\sinh (2 c_1)-\cosh (2 c_1)}{x \cosh (2 c_1)+x \sinh (2 c_1)+1}\right \}\right \}\]

Maple
cpu = 6.838 (sec), leaf count = 121

\[\left [y \left (x \right ) = 4 x, y \left (x \right ) = -\frac {2 \textit {\_C1}^{2} \left (\sqrt {2}\, \textit {\_C1} -x \right )}{2 \textit {\_C1}^{2}-x^{2}}, y \left (x \right ) = \frac {2 \textit {\_C1}^{2} \left (\sqrt {2}\, \textit {\_C1} +x \right )}{2 \textit {\_C1}^{2}-x^{2}}, y \left (x \right ) = -\frac {\textit {\_C1}^{2} \left (\sqrt {2}\, \textit {\_C1} -2 x \right )}{2 \left (\textit {\_C1}^{2}-2 x^{2}\right )}, y \left (x \right ) = \frac {\textit {\_C1}^{2} \left (\sqrt {2}\, \textit {\_C1} +2 x \right )}{2 \textit {\_C1}^{2}-4 x^{2}}\right ]\] Mathematica raw input

DSolve[y[x]^2 + (2*x - y[x])*y[x]*y'[x] + x^2*y'[x]^2 == 0,y[x],x]

Mathematica raw output

{{y[x] -> (-Cosh[2*C[1]] + Sinh[2*C[1]])/(-1 + x*Cosh[2*C[1]] + x*Sinh[2*C[1]])}
, {y[x] -> (-Cosh[2*C[1]] + Sinh[2*C[1]])/(1 + x*Cosh[2*C[1]] + x*Sinh[2*C[1]])}
}

Maple raw input

dsolve(x^2*diff(y(x),x)^2+(2*x-y(x))*y(x)*diff(y(x),x)+y(x)^2 = 0, y(x))

Maple raw output

[y(x) = 4*x, y(x) = -2*_C1^2*(2^(1/2)*_C1-x)/(2*_C1^2-x^2), y(x) = 2*_C1^2*(2^(1
/2)*_C1+x)/(2*_C1^2-x^2), y(x) = -1/2*_C1^2*(2^(1/2)*_C1-2*x)/(_C1^2-2*x^2), y(x
) = 1/2*_C1^2*(2^(1/2)*_C1+2*x)/(_C1^2-2*x^2)]