1.298 problem 301

Internal problem ID [7032]

Book: Collection of Kovacic problems
Section: section 1
Problem number: 301.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.006 (sec). Leaf size: 32

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

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

Solution by Mathematica

Time used: 0.011 (sec). Leaf size: 31

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

\begin{align*} y(x)\to \frac {-x (c_2 x+c_1)+2 c_2 x \log (x)+c_2}{x-1} \\ \end{align*}