9.22 problem Problem 22

Internal problem ID [2795]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 8, Linear differential equations of order n. Section 8.7, The Variation of Parameters Method. page 556
Problem number: Problem 22.
ODE order: 3.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime \prime }-6 y^{\prime \prime }+9 y^{\prime }=12 \,{\mathrm e}^{3 x}} \]

Solution by Maple

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

dsolve(diff(y(x),x$3)-6*diff(y(x),x$2)+9*diff(y(x),x)=12*exp(3*x),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\left (3 c_{1} x +18 x^{2}-c_{1} +3 c_{2} -12 x +4\right ) {\mathrm e}^{3 x}}{9}+c_{3} \]

Solution by Mathematica

Time used: 0.06 (sec). Leaf size: 39

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

\[ y(x)\to \frac {1}{9} e^{3 x} \left (18 x^2+3 (-4+c_2) x+4+3 c_1-c_2\right )+c_3 \]