86.5.7 problem 7

Internal problem ID [23121]
Book : An introduction to Differential Equations. By Howard Frederick Cleaves. 1969. Oliver and Boyd publisher. ISBN 0050015044
Section : Chapter 5. Linear equations of the second order with constant coefficients. Exercise 5a at page 74
Problem number : 7
Date solved : Thursday, October 02, 2025 at 09:23:06 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }-9 y^{\prime }+18 y&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 17
ode:=diff(diff(y(x),x),x)-9*diff(y(x),x)+18*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \,{\mathrm e}^{3 x}+c_2 \,{\mathrm e}^{6 x} \]
Mathematica. Time used: 0.009 (sec). Leaf size: 22
ode=D[y[x],{x,2}]-9*D[y[x],x]+18*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to e^{3 x} \left (c_2 e^{3 x}+c_1\right ) \end{align*}
Sympy. Time used: 0.092 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(18*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^{3 x}\right ) e^{3 x} \]