11.15 problem 26

Internal problem ID [233]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 5.5, Nonhomogeneous equations and undetermined coefficients Page 351
Problem number: 26.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }-6 y^{\prime }+13 y=x \,{\mathrm e}^{3 x} \sin \left (2 x \right )} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 45

dsolve(diff(y(x),x$2)-6*diff(y(x),x)+13*y(x)=x*exp(3*x)*sin(2*x),y(x), singsol=all)
 

\[ y \left (x \right ) = {\mathrm e}^{3 x} \sin \left (2 x \right ) c_{2} +{\mathrm e}^{3 x} \cos \left (2 x \right ) c_{1} -\frac {{\mathrm e}^{3 x} x \left (x \cos \left (2 x \right )-\frac {\sin \left (2 x \right )}{2}\right )}{8} \]

Solution by Mathematica

Time used: 0.105 (sec). Leaf size: 43

DSolve[y''[x]-6*y'[x]+13*y[x]==x*Exp[3*x]*Sin[2*x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{64} e^{3 x} \left (\left (-8 x^2+1+64 c_2\right ) \cos (2 x)+4 (x+16 c_1) \sin (2 x)\right ) \]