4.5.48 \(2 (x+1) y'(x)+(x+1)^4 y(x)^3+2 y(x)=0\)

ODE
\[ 2 (x+1) y'(x)+(x+1)^4 y(x)^3+2 y(x)=0 \] ODE Classification

[[_1st_order, _with_linear_symmetries], _rational, _Bernoulli]

Book solution method
The Bernoulli ODE

Mathematica
cpu = 0.0139986 (sec), leaf count = 64

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

Maple
cpu = 0.007 (sec), leaf count = 23

\[ \left \{ \left ( y \left ( x \right ) \right ) ^{-2}- \left ( {\frac {{x}^{2}}{2}}+x+{\it \_C1} \right ) \left ( 1+x \right ) ^{2}=0 \right \} \] Mathematica raw input

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

Mathematica raw output

{{y[x] -> -(Sqrt[2]/Sqrt[(1 + x)^2*(2*x + x^2 + 2*C[1])])}, {y[x] -> Sqrt[2]/Sqr
t[(1 + x)^2*(2*x + x^2 + 2*C[1])]}}

Maple raw input

dsolve(2*(1+x)*diff(y(x),x)+2*y(x)+(1+x)^4*y(x)^3 = 0, y(x),'implicit')

Maple raw output

1/y(x)^2-(1/2*x^2+x+_C1)*(1+x)^2 = 0