5.5 problem 5

Internal problem ID [7298]

Book: Own collection of miscellaneous problems
Section: section 5.0
Problem number: 5.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {4 x^{2} y^{\prime \prime }+\left (-8 x^{2}+4 x \right ) y^{\prime }+\left (4 x^{2}-4 x -1\right ) y=4 \sqrt {x}\, {\mathrm e}^{x}} \]

Solution by Maple

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

dsolve(4*x^2*diff(diff(y(x),x),x)+(-8*x^2+4*x)*diff(y(x),x)+(4*x^2-4*x-1)*y(x) = 4*x^(1/2)*exp(x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.055 (sec). Leaf size: 27

DSolve[4*x^2*y''[x]+(-8*x^2+4*x)*y'[x]+(4*x^2-4*x-1)*y[x] == 4*x^(1/2)*Exp[x],y[x],x,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\[ y(x)\to \frac {e^x (x \log (x)+(-1+c_2) x+c_1)}{\sqrt {x}} \]