3.2 problem 10.4.8 (b)

Internal problem ID [5065]

Book: Basic Training in Mathematics. By R. Shankar. Plenum Press. NY. 1995
Section: Chapter 10, Differential equations. Section 10.4, ODEs with variable Coefficients. Second order and Homogeneous. page 318
Problem number: 10.4.8 (b).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _exact, _linear, _homogeneous]]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.035 (sec). Leaf size: 22

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

\[ y(x)\to \frac {c_2 x+c_1}{x-x^2} \]