3.1 problem 1

Internal problem ID [5136]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 25. Second order differential equations. Test Excercise 25. page 1093
Problem number: 1.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }-y^{\prime }-2 y=8} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)-diff(y(x),x)-2*y(x)=8,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.014 (sec). Leaf size: 23

DSolve[y''[x]-y'[x]-2*y[x]==8,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to c_1 e^{-x}+c_2 e^{2 x}-4 \]