50.9.6 problem 1(f)

Internal problem ID [7942]
Book : Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section : Chapter 2. Second-Order Linear Equations. Section 2.1. Linear Equations with Constant Coefficients. Page 62
Problem number : 1(f)
Date solved : Wednesday, March 05, 2025 at 05:19:32 AM
CAS classification : [[_2nd_order, _missing_x]]

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

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