29.11.20 problem 311

Internal problem ID [4911]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 11
Problem number : 311
Date solved : Monday, January 27, 2025 at 09:50:22 AM
CAS classification : [_linear]

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

Solution by Maple

Time used: 0.003 (sec). Leaf size: 19

dsolve(x*(1-x)*diff(y(x),x) = 2+2*x*y(x),y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {-2 x +2 \ln \left (x \right )+c_{1}}{\left (x -1\right )^{2}} \]

Solution by Mathematica

Time used: 0.033 (sec). Leaf size: 21

DSolve[x(1-x)D[y[x],x]==2(1+x y[x]),y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {-2 x+2 \log (x)+c_1}{(x-1)^2} \]