15.48 problem 22.11 (g)

Internal problem ID [13743]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 22. Method of undetermined coefficients. Additional exercises page 412
Problem number: 22.11 (g).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }-5 y^{\prime }+6 y={\mathrm e}^{3 x} x^{2}} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)-5*diff(y(x),x)+6*y(x)=x^2*exp(3*x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.047 (sec). Leaf size: 40

DSolve[y''[x]-5*y'[x]+6*y[x]==x^2*Exp[3*x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{3} e^{2 x} \left (e^x \left (x^3-3 x^2+6 x-6+3 c_2\right )+3 c_1\right ) \]