5.1 problem 1

Internal problem ID [4791]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 5. SECOND-ORDER LINEAR EQUATIONSWITH CONSTANT COEFFICIENTS AND ZERO RIGHT-HAND SIDE. page 414
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=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.013 (sec). Leaf size: 20

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

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