19.10 problem section 9.3, problem 10

Internal problem ID [1507]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 9 Introduction to Linear Higher Order Equations. Section 9.3. Undetermined Coefficients for Higher Order Equations. Page 495
Problem number: section 9.3, problem 10.
ODE order: 3.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime \prime }-5 y^{\prime \prime }+3 y^{\prime }+9 y=2 \,{\mathrm e}^{3 x} \left (11-24 x \right )} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 55

dsolve(diff(y(x),x$3)-5*diff(y(x),x$2)+3*diff(y(x),x)+9*y(x)=2*exp(3*x)*(11-24*x),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {x^{2} \left (8 x -17\right ) \left (-48 x \,{\mathrm e}^{3 x}+22 \,{\mathrm e}^{3 x}\right )}{192 x -88}+{\mathrm e}^{-x} c_{1} +c_{2} {\mathrm e}^{3 x}+c_{3} {\mathrm e}^{3 x} x \]

Solution by Mathematica

Time used: 0.04 (sec). Leaf size: 46

DSolve[y'''[x]-5*y''[x]+3*y'[x]+9*y[x]==2*Exp[3*x]*(11-24*x),y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{3 x} \left (-2 x^3+\frac {17 x^2}{4}+\left (-\frac {17}{8}+c_3\right ) x+\frac {17}{32}+c_2\right )+c_1 e^{-x} \]