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