12.10.5 problem 5

Internal problem ID [1809]
Book : Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section : Chapter 5 linear second order equations. Section 5.7 Variation of Parameters. Page 262
Problem number : 5
Date solved : Monday, January 27, 2025 at 05:35:42 AM
CAS classification : [[_2nd_order, _linear, _nonhomogeneous]]

\begin{align*} y^{\prime \prime }-2 y^{\prime }+y&=14 x^{{3}/{2}} {\mathrm e}^{x} \end{align*}

Solution by Maple

Time used: 0.010 (sec). Leaf size: 17

dsolve(diff(y(x),x$2)-2*diff(y(x),x)+y(x)=14*x^(3/2)*exp(x),y(x), singsol=all)
 
\[ y = {\mathrm e}^{x} \left (c_2 +c_1 x +\frac {8 x^{{7}/{2}}}{5}\right ) \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 29

DSolve[D[y[x],{x,2}]-2*D[y[x],x]+y[x]==14*x^(3/2)*Exp[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {1}{5} e^x \left (8 x^{7/2}+5 c_2 x+5 c_1\right ) \]