9.32 problem 14.5 (b)

Internal problem ID [13557]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 14. Higher order equations and the reduction of order method. Additional exercises page 277
Problem number: 14.5 (b).
ODE order: 3.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime \prime }-9 y^{\prime \prime }+27 y^{\prime }-27 y={\mathrm e}^{3 x} \sin \left (x \right )} \]

Solution by Maple

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

dsolve([diff(y(x),x$3)-9*diff(y(x),x$2)+27*diff(y(x),x)-27*y(x)=exp(3*x)*sin(x),exp(3*x)],singsol=all)
 

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

Solution by Mathematica

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

DSolve[y'''[x]-9*y''[x]+27*y'[x]-27*y[x]==Exp[3*x]*Sin[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{3 x} (\cos (x)+x (c_3 x+c_2)+c_1) \]