68.2.5 problem Problem 3.7(e)

Internal problem ID [14071]
Book : Differential Equations, Linear, Nonlinear, Ordinary, Partial. A.C. King, J.Billingham, S.R.Otto. Cambridge Univ. Press 2003
Section : Chapter 3 Bessel functions. Problems page 89
Problem number : Problem 3.7(e)
Date solved : Wednesday, March 05, 2025 at 10:28:11 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Maple. Time used: 0.002 (sec). Leaf size: 18
ode:=diff(diff(y(x),x),x)-alpha^2*y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_{1} {\mathrm e}^{-\alpha x}+c_{2} {\mathrm e}^{\alpha x} \]
Mathematica. Time used: 0.015 (sec). Leaf size: 23
ode=D[y[x],{x,2}]-a^2*y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to c_1 e^{a x}+c_2 e^{-a x} \]
Sympy. Time used: 0.074 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
Alpha = symbols("Alpha") 
y = Function("y") 
ode = Eq(-Alpha**2*y(x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{- \mathrm {A} x} + C_{2} e^{\mathrm {A} x} \]