67.2.57 problem Problem 20(d)

Internal problem ID [14014]
Book : APPLIED DIFFERENTIAL EQUATIONS The Primary Course by Vladimir A. Dobrushkin. CRC Press 2015
Section : Chapter 4, Second and Higher Order Linear Differential Equations. Problems page 221
Problem number : Problem 20(d)
Date solved : Tuesday, January 28, 2025 at 06:12:39 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.007 (sec). Leaf size: 24

dsolve((x^2-x)*diff(y(x),x$2)+(2*x^2+4*x-3)*diff(y(x),x)+8*x*y(x)=0,y(x), singsol=all)
 
\[ y = \frac {c_{2} {\mathrm e}^{-2 x} x^{2}+c_{1}}{x^{2} \left (x -1\right )^{2}} \]

Solution by Mathematica

Time used: 0.347 (sec). Leaf size: 112

DSolve[(x^2-x)*D[y[x],{x,2}]+(2*x^2+4*x-3)*D[y[x],x]+8*x*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \exp \left (\int _1^x\left (-\frac {1}{2 K[1]}+1+\frac {1}{2-2 K[1]}\right )dK[1]-\frac {1}{2} \int _1^x\left (\frac {3}{K[2]}+2+\frac {3}{K[2]-1}\right )dK[2]\right ) \left (c_2 \int _1^x\exp \left (-2 \int _1^{K[3]}\frac {2 K[1]^2-4 K[1]+1}{2 (K[1]-1) K[1]}dK[1]\right )dK[3]+c_1\right ) \]