1.165 problem 166

Internal problem ID [7746]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 166.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, _Riccati]

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

Solution by Maple

Time used: 0.189 (sec). Leaf size: 97

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

\[ y \relax (x ) = \frac {x \left (\LegendreQ \left (-\frac {1}{2}, 1, \frac {2-x}{x}\right ) c_{1}-\LegendreQ \left (\frac {1}{2}, 1, \frac {2-x}{x}\right ) c_{1}+\LegendreP \left (-\frac {1}{2}, 1, \frac {2-x}{x}\right )-\LegendreP \left (\frac {1}{2}, 1, \frac {2-x}{x}\right )\right )}{2 \left (\LegendreQ \left (-\frac {1}{2}, 1, \frac {2-x}{x}\right ) c_{1}+\LegendreP \left (-\frac {1}{2}, 1, \frac {2-x}{x}\right )\right ) \left (x -1\right )} \]

Solution by Mathematica

Time used: 8.728 (sec). Leaf size: 77

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

\begin{align*} y(x)\to -\frac {2 \left (\pi G_{2,2}^{2,0}\left (x\left | {c} \frac {1}{2},\frac {3}{2} \\ 0,1 \\ \\ \right .\right )+c_1 (K(x)-E(x))\right )}{\pi G_{2,2}^{2,0}\left (x\left | {c} \frac {1}{2},\frac {3}{2} \\ 0,0 \\ \\ \right .\right )+2 c_1 E(x)} \\ y(x)\to 1-\frac {K(x)}{E(x)} \\ \end{align*}