7.7 problem Problem 31

Internal problem ID [2242]

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.3, The Method of Undetermined Coefficients. page 525
Problem number: Problem 31.
ODE order: 3.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime \prime }-y^{\prime \prime }+y^{\prime }-y-9 \,{\mathrm e}^{-x}=0} \end {gather*}

Solution by Maple

Time used: 0.007 (sec). Leaf size: 23

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

\[ y \relax (x ) = -\frac {9 \,{\mathrm e}^{-x}}{4}+\cos \relax (x ) c_{1}+c_{2} {\mathrm e}^{x}+c_{3} \sin \relax (x ) \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 31

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

\begin{align*} y(x)\to -\frac {9 e^{-x}}{4}+c_3 e^x+c_1 \cos (x)+c_2 \sin (x) \\ \end{align*}