1.3 problem 1(c)

Internal problem ID [10554]

Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section: Chapter 1, Differential equations and their solutions. Exercises page 13
Problem number: 1(c).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }-3 y^{\prime }+2 y-4 x^{2}=0} \]

Solution by Maple

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

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

\[ y \left (x \right ) = {\mathrm e}^{2 x} c_{1} +c_{2} {\mathrm e}^{x}+2 x^{2}+6 x +7 \]

Solution by Mathematica

Time used: 0.007 (sec). Leaf size: 26

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

\begin{align*} y(x)\to 2 x (x+3)+e^x \left (c_2 e^x+c_1\right )+7 \\ \end{align*}