80.5.9 problem B 7

Internal problem ID [21230]
Book : A Textbook on Ordinary Differential Equations by Shair Ahmad and Antonio Ambrosetti. Second edition. ISBN 978-3-319-16407-6. Springer 2015
Section : Chapter 5. Second order equations. Excercise 5.9 at page 119
Problem number : B 7
Date solved : Thursday, October 02, 2025 at 07:27:07 PM
CAS classification : [[_2nd_order, _missing_x]]

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

With initial conditions

\begin{align*} x \left (0\right )&=0 \\ x^{\prime }\left (0\right )&=1 \\ \end{align*}
Maple. Time used: 0.011 (sec). Leaf size: 10
ode:=diff(diff(x(t),t),t)-6*diff(x(t),t)+9*x(t) = 0; 
ic:=[x(0) = 0, D(x)(0) = 1]; 
dsolve([ode,op(ic)],x(t), singsol=all);
 
\[ x = {\mathrm e}^{3 t} t \]
Mathematica. Time used: 0.01 (sec). Leaf size: 12
ode=D[x[t],{t,2}]-6*D[x[t],t]+9*x[t]==0; 
ic={x[0]==0,Derivative[1][x][0] ==1}; 
DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
 
\begin{align*} x(t)&\to e^{3 t} t \end{align*}
Sympy. Time used: 0.097 (sec). Leaf size: 8
from sympy import * 
t = symbols("t") 
x = Function("x") 
ode = Eq(9*x(t) - 6*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) 
ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 1} 
dsolve(ode,func=x(t),ics=ics)
 
\[ x{\left (t \right )} = t e^{3 t} \]