13.18 problem 17

Internal problem ID [5611]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 2. Section 2.7. HIGHER ORDER LINEAR EQUATIONS, COUPLED HARMONIC OSCILLATORS Page 98
Problem number: 17.
ODE order: 3.
ODE degree: 1.

CAS Maple gives this as type [[_3rd_order, _missing_y]]

\[ \boxed {y^{\prime \prime \prime }-3 y^{\prime \prime }+2 y^{\prime }-10-42 \,{\mathrm e}^{3 x}=0} \]

Solution by Maple

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

dsolve(diff(y(x),x$3)-3*diff(y(x),x$2)+2*diff(y(x),x)=10+42*exp(3*x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.035 (sec). Leaf size: 35

DSolve[y'''[x]-3*y''[x]+2*y'[x]==10+42*Exp[3*x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 5 x+7 e^{3 x}+c_1 e^x+\frac {1}{2} c_2 e^{2 x}+c_3 \\ \end{align*}