11.24 problem 315

Internal problem ID [3571]

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

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {12 c_{1} x^{4}+4 a x -3 a}{12 \left (x -1\right )^{2}} \]

Solution by Mathematica

Time used: 0.042 (sec). Leaf size: 29

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

\[ y(x)\to \frac {a (4 x-3)+12 c_1 x^4}{12 (x-1)^2} \]