Internal problem ID [2529]
Book: Mathematical methods for physics and engineering, Riley, Hobson, Bence, second edition,
2002
Section: Chapter 15, Higher order ordinary differential equations. 15.4 Exercises, page
523
Problem number: Problem 15.35.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {y^{\prime \prime }+4 x y^{\prime }+\left (4 x^{2}+6\right ) y={\mathrm e}^{-x^{2}} \sin \left (2 x \right )} \]
✓ Solution by Maple
Time used: 0.031 (sec). Leaf size: 42
dsolve(diff(y(x),x$2)+4*x*diff(y(x),x)+(4*x^2+6)*y(x)=exp(-x^2)*sin(2*x),y(x), singsol=all)
\[ y \left (x \right ) = {\mathrm e}^{-x^{2}} \cos \left (2 x \right ) c_{2} +{\mathrm e}^{-x^{2}} \sin \left (2 x \right ) c_{1} -\frac {{\mathrm e}^{-x^{2}} x \cos \left (2 x \right )}{4} \]
✓ Solution by Mathematica
Time used: 0.13 (sec). Leaf size: 52
DSolve[y''[x]+4*x*y'[x]+(4*x^2+6)*y[x]==Exp[-x^2]*Sin[2*x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {1}{32} e^{-x (x+2 i)} \left (-4 x-e^{4 i x} (4 x+i+8 i c_2)+i+32 c_1\right ) \]