19.52 problem section 9.3, problem 52

Internal problem ID [1549]

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 52.
ODE order: 3.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime \prime }+3 y^{\prime \prime }+3 y^{\prime }+y=12 \,{\mathrm e}^{-x}+9 \cos \left (2 x \right )-13 \sin \left (2 x \right )} \]

Solution by Maple

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

dsolve(1*diff(y(x),x$3)+3*diff(y(x),x$2)+3*diff(y(x),x)+y(x)=12*exp(-x)+9*cos(2*x)-13*sin(2*x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[1*y'''[x]+3*y''[x]+3*y'[x]+1*y[x]==12*Exp[-x]+9*Cos[2*x]-13*Sin[2*x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{-x} \left (2 x^3+c_3 x^2+e^x \sin (2 x)-e^x \cos (2 x)+c_2 x+c_1\right ) \]