15.6 problem 6

Internal problem ID [2239]

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: 6.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {2 y^{\prime \prime }+3 y^{\prime }-2 y={\mathrm e}^{x} x^{2}} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 31

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

\[ y = c_{2} {\mathrm e}^{\frac {x}{2}}+c_{1} {\mathrm e}^{-2 x}+\frac {\left (9 x^{2}-42 x +86\right ) {\mathrm e}^{x}}{27} \]

Solution by Mathematica

Time used: 0.018 (sec). Leaf size: 41

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

\[ y(x)\to \frac {1}{27} e^x \left (9 x^2-42 x+86\right )+c_1 e^{x/2}+c_2 e^{-2 x} \]