12.5.33 problem 30

Internal problem ID [1657]
Book : Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section : Chapter 2, First order equations. Transformation of Nonlinear Equations into Separable Equations. Section 2.4 Page 68
Problem number : 30
Date solved : Monday, January 27, 2025 at 05:18:29 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

\begin{align*} y^{\prime }&=\frac {y^{3}+2 x y^{2}+x^{2} y+x^{3}}{x \left (x +y\right )^{2}} \end{align*}

Solution by Maple

Time used: 0.010 (sec). Leaf size: 78

dsolve(diff(y(x),x)=(y(x)^3+2*x*y(x)^2+x^2*y(x)+x^3)/(x*(y(x)+x)^2),y(x), singsol=all)
 
\begin{align*} y &= x \left (-1+\left (3 \ln \left (x \right )+3 c_1 \right )^{{1}/{3}}\right ) \\ y &= -\frac {x \left (i \sqrt {3}\, \left (3 \ln \left (x \right )+3 c_1 \right )^{{1}/{3}}+\left (3 \ln \left (x \right )+3 c_1 \right )^{{1}/{3}}+2\right )}{2} \\ y &= \frac {x \left (i \sqrt {3}-1\right ) \left (3 \ln \left (x \right )+3 c_1 \right )^{{1}/{3}}}{2}-x \\ \end{align*}

Solution by Mathematica

Time used: 1.407 (sec). Leaf size: 109

DSolve[D[y[x],x]==(y[x]^3+2*x*y[x]^2+x^2*y[x]+x^3)/(x*(y[x]+x)^2),y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -x+\sqrt [3]{x^3 (3 \log (x)+1+3 c_1)} \\ y(x)\to -x+\frac {1}{2} i \left (\sqrt {3}+i\right ) \sqrt [3]{x^3 (3 \log (x)+1+3 c_1)} \\ y(x)\to -x-\frac {1}{2} \left (1+i \sqrt {3}\right ) \sqrt [3]{x^3 (3 \log (x)+1+3 c_1)} \\ \end{align*}