Internal problem ID [2037]
Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath.
Boston. 1964
Section: Exercise 12, page 46
Problem number: 5.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
\[ \boxed {-2 y+\left (y-2\right ) y^{\prime }=-x -1} \]
✓ Solution by Maple
Time used: 0.578 (sec). Leaf size: 28
dsolve((x-2*y(x)+1)+(y(x)-2)*diff(y(x),x)=0,y(x), singsol=all)
\[ y = 2+\frac {\left (-3+x \right ) \left (\operatorname {LambertW}\left (-c_{1} \left (-3+x \right )\right )+1\right )}{\operatorname {LambertW}\left (-c_{1} \left (-3+x \right )\right )} \]
✓ Solution by Mathematica
Time used: 0.773 (sec). Leaf size: 135
DSolve[(x-2*y[x]+1)+(y[x]-2)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ \text {Solve}\left [\frac {2^{2/3} \left (x \log \left (\frac {x-3}{y(x)-2}\right )-\log \left (\frac {3 (x-3)}{y(x)-2}\right )-x \log \left (\frac {y(x)-x+1}{y(x)-2}\right )+\log \left (\frac {y(x)-x+1}{y(x)-2}\right )+y(x) \left (-\log \left (\frac {x-3}{y(x)-2}\right )+\log \left (\frac {y(x)-x+1}{y(x)-2}\right )-1\right )+2+\log (3)\right )}{9 (-y(x)+x-1)}=\frac {1}{9} 2^{2/3} \log (x-3)+c_1,y(x)\right ] \]