2.1 problem Example 3.17

Internal problem ID [5096]

Book: THEORY OF DIFFERENTIAL EQUATIONS IN ENGINEERING AND MECHANICS. K.T. CHAU, CRC Press. Boca Raton, FL. 2018
Section: Chapter 3. Ordinary Differential Equations. Section 3.3 SECOND ORDER ODE. Page 147
Problem number: Example 3.17.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-2 y^{\prime }-3 y=0} \end {gather*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 17

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

\[ y \relax (x ) = {\mathrm e}^{-x} c_{1}+c_{2} {\mathrm e}^{3 x} \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 22

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

\begin{align*} y(x)\to e^{-x} \left (c_2 e^{4 x}+c_1\right ) \\ \end{align*}