Internal problem ID [3254]
Book: Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section: Chapter 4. Linear Differential Equations. Page 183
Problem number: 13.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }+6 y^{\prime }+10 y=3 x \,{\mathrm e}^{-3 x}-2 \cos \left (x \right ) {\mathrm e}^{3 x}} \]
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 35
dsolve(diff(y(x),x$2)+6*diff(y(x),x)+10*y(x)=3*x*exp(-3*x)-2*exp(3*x)*cos(x),y(x), singsol=all)
\[ y \left (x \right ) = \left (\cos \left (x \right ) c_{1} +\sin \left (x \right ) c_{2} +3 x \right ) {\mathrm e}^{-3 x}-\frac {{\mathrm e}^{3 x} \left (\cos \left (x \right )+\frac {\sin \left (x \right )}{3}\right )}{20} \]
✓ Solution by Mathematica
Time used: 0.426 (sec). Leaf size: 46
DSolve[y''[x]+6*y'[x]+10*y[x]==3*x*Exp[-3*x]-2*Exp[3*x]*Cos[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {1}{60} e^{-3 x} \left (180 x-3 \left (e^{6 x}-20 c_2\right ) \cos (x)-\left (e^{6 x}-60 c_1\right ) \sin (x)\right ) \]