19.51 problem section 9.3, problem 51

Internal problem ID [1548]

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

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

\[ \boxed {y^{\prime \prime \prime }-4 y^{\prime \prime }+9 y^{\prime }-10 y=10 \,{\mathrm e}^{2 x}+20 \sin \left (2 x \right ) {\mathrm e}^{x}-10} \]

Solution by Maple

Time used: 0.015 (sec). Leaf size: 91

dsolve(1*diff(y(x),x$3)-4*diff(y(x),x$2)+9*diff(y(x),x)-10*y(x)=10*exp(2*x)+20*exp(x)*sin(2*x)-10,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {{\mathrm e}^{-2 x} {\mathrm e}^{3 x} \left (5 x -8\right ) \cos \left (2 x \right )}{5}-\frac {{\mathrm e}^{-2 x} {\mathrm e}^{3 x} \left (20 x +13\right ) \sin \left (2 x \right )}{10}+\frac {{\mathrm e}^{-2 x} \left (10 \,{\mathrm e}^{4 x} x +5 \,{\mathrm e}^{2 x}-4 \,{\mathrm e}^{4 x}\right )}{5}+c_{1} {\mathrm e}^{2 x}+c_{2} {\mathrm e}^{x} \cos \left (2 x \right )+c_{3} {\mathrm e}^{x} \sin \left (2 x \right ) \]

Solution by Mathematica

Time used: 0.992 (sec). Leaf size: 72

DSolve[1*y'''[x]-4*y''[x]+9*y'[x]-10*y[x]==10*Exp[2*x]+20*Exp[x]*Sin[2*x]-10,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 2 e^{2 x} x-\frac {4 e^{2 x}}{5}+c_3 e^{2 x}+\frac {1}{10} e^x (10 x-11+10 c_2) \cos (2 x)-\frac {1}{20} e^x (40 x+21-20 c_1) \sin (2 x)+1 \]