86.5.15 problem 15

Internal problem ID [23129]
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 : 15
Date solved : Thursday, October 02, 2025 at 09:23:10 PM
CAS classification : [[_2nd_order, _missing_x]]

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

With initial conditions

\begin{align*} y \left (0\right )&=1 \\ y^{\prime }\left (0\right )&=0 \\ \end{align*}
Maple. Time used: 0.035 (sec). Leaf size: 10
ode:=diff(diff(y(x),x),x)-3*y(x) = 0; 
ic:=[y(0) = 1, D(y)(0) = 0]; 
dsolve([ode,op(ic)],y(x), singsol=all);
 
\[ y = \cosh \left (\sqrt {3}\, x \right ) \]
Mathematica. Time used: 0.011 (sec). Leaf size: 31
ode=D[y[x],{x,2}]-3*y[x]==0; 
ic={y[0]==1,Derivative[1][y][0] ==0}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {1}{2} e^{-\sqrt {3} x} \left (e^{2 \sqrt {3} x}+1\right ) \end{align*}
Sympy. Time used: 0.061 (sec). Leaf size: 24
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-3*y(x) + Derivative(y(x), (x, 2)),0) 
ics = {y(0): 1, Subs(Derivative(y(x), x), x, 0): 0} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {e^{\sqrt {3} x}}{2} + \frac {e^{- \sqrt {3} x}}{2} \]