79.2.4 problem 5 (i)

Internal problem ID [18438]
Book : Elementary Differential Equations. By R.L.E. Schwarzenberger. Chapman and Hall. London. First Edition (1969)
Section : Chapter 4. Autonomous systems. Exercises at page 69
Problem number : 5 (i)
Date solved : Thursday, March 13, 2025 at 11:57:08 AM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} x^{\prime \prime }-5 x^{\prime }+6 x&=0 \end{align*}

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