19.21 problem section 9.3, problem 21

Internal problem ID [1518]

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 21.
ODE order: 4.
ODE degree: 1.

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

\[ \boxed {2 y^{\prime \prime \prime \prime }+y^{\prime \prime \prime }-2 y^{\prime }-y=3 \,{\mathrm e}^{-\frac {x}{2}} \left (1-6 x \right )} \]

Solution by Maple

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

dsolve(2*diff(y(x),x$4)+1*diff(y(x),x$3)-0*diff(y(x),x$2)-2*diff(y(x),x)-1*y(x)=3*exp(-x/2)*(1-6*x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.635 (sec). Leaf size: 63

DSolve[2*y''''[x]+1*y'''[x]-0*y''[x]-2*y'[x]-1*y[x]==3*Exp[-x/2]*(1-6*x),y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{-x/2} \left (4 x^2+4 x+c_4 e^{3 x/2}+c_2 \cos \left (\frac {\sqrt {3} x}{2}\right )+c_1 \sin \left (\frac {\sqrt {3} x}{2}\right )-8+c_3\right ) \]