84.26.1 problem 15.6

Internal problem ID [22268]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 15. Variation of parameteres. Supplementary problems
Problem number : 15.6
Date solved : Thursday, October 02, 2025 at 08:36:55 PM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} y-2 y^{\prime }+y^{\prime \prime }&=\frac {{\mathrm e}^{x}}{x^{5}} \end{align*}
Maple. Time used: 0.004 (sec). Leaf size: 17
ode:=diff(diff(y(x),x),x)-2*diff(y(x),x)+y(x) = exp(x)/x^5; 
dsolve(ode,y(x), singsol=all);
 
\[ y = {\mathrm e}^{x} \left (c_2 +c_1 x +\frac {1}{12 x^{3}}\right ) \]
Mathematica. Time used: 0.013 (sec). Leaf size: 25
ode=D[y[x],{x,2}]-2*D[y[x],{x,1}]+y[x]==Exp[x]/x^5; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {1}{12} e^x \left (\frac {1}{x^3}+12 c_2 x+12 c_1\right ) \end{align*}
Sympy. Time used: 0.151 (sec). Leaf size: 17
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x) - 2*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - exp(x)/x**5,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \left (C_{1} + C_{2} x + \frac {1}{12 x^{3}}\right ) e^{x} \]