1.1 problem 1

Internal problem ID [13725]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 1.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.077 (sec). Leaf size: 39

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

\[ y(x)\to \frac {1}{8} \left (-4 x^3-6 x^2-18 x-15\right )+c_1 e^{-2 x}+c_2 e^x \]