Internal problem ID [2770]
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.4, Complex-Valued Trial
Solutions. page 529
Problem number: Problem 8.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }-4 y=100 \,{\mathrm e}^{x} x \sin \left (x \right )} \]
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 51
dsolve(diff(y(x),x$2)-4*y(x)=100*x*exp(x)*sin(x),y(x), singsol=all)
\[ y \left (x \right ) = \left (-10 x \cos \left (x \right ) {\mathrm e}^{3 x}+{\mathrm e}^{4 x} c_{1} -20 x \sin \left (x \right ) {\mathrm e}^{3 x}-14 \cos \left (x \right ) {\mathrm e}^{3 x}+2 \,{\mathrm e}^{3 x} \sin \left (x \right )+c_{2} \right ) {\mathrm e}^{-2 x} \]
✓ Solution by Mathematica
Time used: 0.029 (sec). Leaf size: 44
DSolve[y''[x]-4*y[x]==100*x*Exp[x]*Sin[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to c_1 e^{2 x}+c_2 e^{-2 x}-2 e^x ((10 x-1) \sin (x)+(5 x+7) \cos (x)) \]