32.7.5 problem Exercise 20.6, page 220

Internal problem ID [5920]
Book : Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section : Chapter 4. Higher order linear differential equations. Lesson 20. Constant coefficients
Problem number : Exercise 20.6, page 220
Date solved : Monday, January 27, 2025 at 01:27:32 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }+2 y^{\prime }-y&=0 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x$2)+2*diff(y(x),x)-y(x)=0,y(x), singsol=all)
 
\[ y \left (x \right ) = c_{1} {\mathrm e}^{\left (\sqrt {2}-1\right ) x}+c_{2} {\mathrm e}^{-\left (1+\sqrt {2}\right ) x} \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 34

DSolve[D[y[x],{x,2}]+2*D[y[x],x]-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to e^{-\left (\left (1+\sqrt {2}\right ) x\right )} \left (c_2 e^{2 \sqrt {2} x}+c_1\right ) \]