23.3.168 problem 170

Internal problem ID [5882]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 3. THE DIFFERENTIAL EQUATION IS LINEAR AND OF SECOND ORDER, page 311
Problem number : 170
Date solved : Friday, October 03, 2025 at 01:45:06 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

\begin{align*} \left (\operatorname {a0} +4 \operatorname {a1} \cosh \left (x \right )^{2}-\operatorname {a2} \operatorname {sech}\left (x \right )^{2}\right ) y+\tanh \left (x \right ) y^{\prime }+y^{\prime \prime }&=0 \end{align*}
Maple. Time used: 0.285 (sec). Leaf size: 71
ode:=(a0+4*a1*cosh(x)^2-a2*sech(x)^2)*y(x)+tanh(x)*diff(y(x),x)+diff(diff(y(x),x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \operatorname {sech}\left (x \right )^{-i \sqrt {\operatorname {a2}}} \operatorname {HeunC}\left (0, i \sqrt {\operatorname {a2}}, -\frac {1}{2}, \operatorname {a1} , \frac {1}{4}+\frac {\operatorname {a0}}{4}-\frac {\operatorname {a2}}{4}, \cosh \left (x \right )^{2}\right )+c_2 \operatorname {sech}\left (x \right )^{i \sqrt {\operatorname {a2}}} \operatorname {HeunC}\left (0, -i \sqrt {\operatorname {a2}}, -\frac {1}{2}, \operatorname {a1} , \frac {1}{4}+\frac {\operatorname {a0}}{4}-\frac {\operatorname {a2}}{4}, \cosh \left (x \right )^{2}\right ) \]
Mathematica
ode=(a0 + 4*a1*Cosh[x]^2 - a2*Sech[x]^2)*y[x] + Tanh[x]*D[y[x],x] + D[y[x],{x,2}] == 0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
a0 = symbols("a0") 
a1 = symbols("a1") 
a2 = symbols("a2") 
y = Function("y") 
ode = Eq((a0 + 4*a1*cosh(x)**2 - a2/cosh(x)**2)*y(x) + tanh(x)*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False