3.2 problem 2

Internal problem ID [1924]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 7, page 28
Problem number: 2.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class C`], _dAlembert]

\[ \boxed {\left (x -2 y+2\right ) y^{\prime }=-x} \]

Solution by Maple

Time used: 0.39 (sec). Leaf size: 174

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

\[ y = 1-\frac {\frac {\left (-\frac {1}{2}+\frac {i \sqrt {3}}{2}\right )^{6} {\left (-2 \left (2 c_{1} x^{3}+2 \sqrt {-2 c_{1}^{3} x^{9}+c_{1}^{2} x^{6}}\right )^{\frac {1}{3}}-\frac {4 x^{3} c_{1}}{\left (2 c_{1} x^{3}+2 \sqrt {-2 c_{1}^{3} x^{9}+c_{1}^{2} x^{6}}\right )^{\frac {1}{3}}}+4 i \sqrt {3}\, \left (\frac {\left (2 c_{1} x^{3}+2 \sqrt {-2 c_{1}^{3} x^{9}+c_{1}^{2} x^{6}}\right )^{\frac {1}{3}}}{2}-\frac {x^{3} c_{1}}{\left (2 c_{1} x^{3}+2 \sqrt {-2 c_{1}^{3} x^{9}+c_{1}^{2} x^{6}}\right )^{\frac {1}{3}}}\right )\right )}^{2}}{64 c_{1}}-x^{3}}{x^{2}} \]

Solution by Mathematica

Time used: 60.036 (sec). Leaf size: 445

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

\begin{align*} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,1\right ]} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,2\right ]} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,3\right ]} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,4\right ]} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,5\right ]} y(x)\to \frac {x+2}{2}-\frac {1}{2 \text {Root}\left [\text {$\#$1}^6 \left (16 x^6+16 e^{12 c_1}\right )-24 \text {$\#$1}^4 x^4+8 \text {$\#$1}^3 x^3+9 \text {$\#$1}^2 x^2-6 \text {$\#$1} x+1\&,6\right ]} \end{align*}