74.18.13 problem 19

Internal problem ID [16499]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 4. Higher Order Equations. Chapter 4 review exercises, page 219
Problem number : 19
Date solved : Monday, March 31, 2025 at 02:54:51 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Maple. Time used: 0.003 (sec). Leaf size: 17
ode:=20*diff(diff(y(x),x),x)+diff(y(x),x)-y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{-\frac {x}{4}}+c_2 \,{\mathrm e}^{\frac {x}{5}} \]
Mathematica. Time used: 0.013 (sec). Leaf size: 26
ode=20*D[y[x],{x,2}]+D[y[x],x]-y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 e^{x/5}+c_2 e^{-x/4} \]
Sympy. Time used: 0.127 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-y(x) + Derivative(y(x), x) + 20*Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{- \frac {x}{4}} + C_{2} e^{\frac {x}{5}} \]