4.13.14 \(\left (x^2+y(x)^2+2 y(x)\right ) y'(x)+2 x=0\)

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

[_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]

Book solution method
Exact equation, integrating factor

Mathematica
cpu = 0.422175 (sec), leaf count = 19

\[\text {Solve}\left [e^{y(x)} \left (x^2+y(x)^2\right )=c_1,y(x)\right ]\]

Maple
cpu = 0.052 (sec), leaf count = 20

\[[{\mathrm e}^{y \left (x \right )} x^{2}+{\mathrm e}^{y \left (x \right )} y \left (x \right )^{2}+\textit {\_C1} = 0]\] Mathematica raw input

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

Mathematica raw output

Solve[E^y[x]*(x^2 + y[x]^2) == C[1], y[x]]

Maple raw input

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

Maple raw output

[exp(y(x))*x^2+exp(y(x))*y(x)^2+_C1 = 0]