Internal problem ID [2154]
Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath.
Boston. 1964
Section: Exercise 19, page 86
Problem number: 15.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }+y^{\prime }+y={\mathrm e}^{x} \sin \left (3 x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 48
dsolve(diff(y(x),x$2)+diff(y(x),x)+y(x)=exp(x)*sin(3*x),y(x), singsol=all)
\[ y = {\mathrm e}^{-\frac {x}{2}} \sin \left (\frac {\sqrt {3}\, x}{2}\right ) c_{2} +{\mathrm e}^{-\frac {x}{2}} \cos \left (\frac {\sqrt {3}\, x}{2}\right ) c_{1} -\frac {{\mathrm e}^{x} \left (2 \sin \left (3 x \right )+3 \cos \left (3 x \right )\right )}{39} \]
✓ Solution by Mathematica
Time used: 1.715 (sec). Leaf size: 70
DSolve[y''[x]+y'[x]+y[x]==Exp[x]*Sin[3*x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\frac {2}{39} e^x \sin (3 x)-\frac {1}{13} e^x \cos (3 x)+c_2 e^{-x/2} \cos \left (\frac {\sqrt {3} x}{2}\right )+c_1 e^{-x/2} \sin \left (\frac {\sqrt {3} x}{2}\right ) \]