22.5 problem 611

Internal problem ID [3353]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 22
Problem number: 611.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, [_1st_order, _with_symmetry_[F(x)*G(y),0]]]

Solve \begin {gather*} \boxed {\left (x^{2}+2 y+y^{2}\right ) y^{\prime }+2 x=0} \end {gather*}

Solution by Maple

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

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

\[ {\mathrm e}^{y \relax (x )} x^{2}+y \relax (x )^{2} {\mathrm e}^{y \relax (x )}+c_{1} = 0 \]

Solution by Mathematica

Time used: 0.154 (sec). Leaf size: 24

DSolve[(x^2+2 y[x]+y[x]^2)y'[x]+2 x==0,y[x],x,IncludeSingularSolutions -> True]
 

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