12.15 problem 334

Internal problem ID [3590]

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

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 45

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

\[ y \left (x \right ) = \frac {2 \sqrt {x \left (x -1\right )}-\ln \left (2\right )+\ln \left (-1+2 x +2 \sqrt {x \left (x -1\right )}\right )+4 c_{1}}{4 \sqrt {x \left (x -1\right )}} \]

Solution by Mathematica

Time used: 0.123 (sec). Leaf size: 67

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

\[ y(x)\to \frac {-x^2+x+\sqrt {x-1} \sqrt {x} \log \left (\sqrt {x-1}-\sqrt {x}\right )+2 c_1 \sqrt {-((x-1) x)}}{2 x-2 x^2} \]