Parameter Crosswalks among Common Heun Conventions
A parameter crosswalk is not a dictionary that replaces one tuple by another.
It is a certificate that two differential operators agree after a declared
coordinate change and gauge, together with a rule that transports the
solution normalization. This distinction is essential in the Heun family:
two packages can use the same function name for different equations, and two
identical equations can still define different functions by choosing
different base points or continuation paths.
The house reference on this page is the DLMF equation convention used in the
confluence hierarchy.
The symbols HeunG, HeunC, HeunD, HeunB, and HeunT are reserved for
declared software interfaces. They are not synonyms for the mathematical
equation classes GHE, CHE, DCHE, BHE, and THE.
Layer
Example
What fixes it
Equation class
CHE
Singularity pattern and generic formal ranks
Canonical representative
DLMF 31.12.1
Exact coefficient functions and parameter order
Normalized solution
C0(0)=1
Base point, exponent, leading term, and path
Software interface
Wolfram HeunC[...]
Package equation, argument order, and branch convention
where ΘS and ΘT are the ordered parameter
tuples. The decisive check is an identity
(LTy)(ϕ(x))=m(x)LSu(x),
after the substitution, with m(x)=0 on the working domain. Comparing
solutions numerically is useful only after this symbolic identity has been
established.
Three verbs keep the degree of equivalence visible:
Rename means the variable and all coefficient functions are identical;
only parameter labels or their order change.
Rescale or specialize means a redundant coefficient is fixed by an
affine coordinate change or by restricting a larger parameter family.
Transform means a nontrivial coordinate or gauge is required.
Base points, leading coefficients, branches, and possibly sectors must then
be transported.
The canonical-basis page
defines the book’s normalized objects. DLMF itself names the general-Heun
germ Hℓ but, in §31.12, primarily fixes the four confluent
equations rather than one universal software-style function for each.
Class
DLMF tuple used here
Book object
GHE
(a,q,α,β,γ,δ)
Hℓ at 0
CHE
(q,α,γ,δ,ϵ)
C0 at 0
DCHE
(q,α,γ,δ)
Ordinary-point or sectorial basis
BHE
(q,α,γ,δ)
B0 at 0
THE
(q,α,γ)
(T0,T1) at 0
Here and below a subscript D, W, or M marks a
DLMF, Wolfram, or Maple parameter whenever the same letter could be
ambiguous.
Class
Wolfram relation to DLMF
Maple relation to DLMF
GHE
Direct
Direct
CHE
Direct
Parameter map
DCHE
Scale and moved base point
Coordinate, gauge, and moved base point
BHE
Direct specialization
Square-root rescaling
THE
Direct specialization
Affine and cubic-root normalization
The word “direct” applies to the displayed equation and tuple. Equality of
principal values after analytic continuation still requires compatible
paths and package branch conventions.
For γ∈/Z≤0, the normalized recurrence is
unobstructed and the following three local objects use the same equation,
parameter order, and unit value at the origin:
This is a germ identity near 0. It becomes an identity of continued values
only when the logarithm branches and continuation paths agree. At
γ∈Z≤0, the literal unit-normalized recurrence can be
obstructed or nonunique; a limiting or compatibility prescription must be
declared instead of substituting blindly.
Thus this is a genuine parameter reparameterization of the same normalized
local germ, not merely an equivalence of equation classes. Principal values
away from the disk of the local series still require compatible
continuation conventions.
The base point moved from z=1 to t=ϵW. This is why the
equation crosswalk does not imply equality with a hypothetical DLMF
function normalized at t=1.
At the direct specialization ϵW=1, the DLMF equation is
Wolfram’s equation with
(qW,αW,γW,δW,ϵW)=(qD,αD,δD,γD,1).
Notice the γ–δ swap in the function call. The resulting
ordinary-point solution is useful, but it is not one of the sectorially
normalized endpoint solutions defined by the irregular formal type.
This cannot be translated by moving four entries between slots. There is,
however, an exact coordinate-and-gauge crosswalk.
Choose a square root
k2=δD,k=0,
and set
zy(z(x))=kx−1x+1,=(1+x1−x)(γD−1)/2U(x).
Near x=0, define the power using the logarithm branch
\Log(1+x1−x)x=0=0.
This fixes the gauge to have value 1 at the Maple base point. Another
logarithm lift multiplies both transported initial data below by the same
nonzero constant.
The DLMF equation transforms into Maple’s equation with
The two choices of k are different coordinate-and-gauge charts. The
Maple base point maps as
x=0⟼z=−k.
After transporting the Maple initial data, the DLMF solution satisfies
y(−k)=1,y′(−k)=2kγD−1.
This last derivative is the simplest proof that Maple HeunD is not
Wolfram HeunD with renamed slots: even after the singularities are moved
to 0 and ∞, their defining ordinary-point data are generically
different.
When δD=0, this chart degenerates and the endpoint must be
reclassified before choosing another reduction.
For γD∈/Z≥0, where the analytic
recurrence is unobstructed,
B0(z)=HeunB[qD,αD,−γD,−δD,−1,z].
Indeed Wolfram’s first derivative is
qW/γW, which becomes
−qD/γD as required by
B0(z)=1−γDqDz+O(z2).
The three minus signs are part of the convention.
An arbitrary nondegenerate Wolfram scale also reduces to DLMF. For
ϵW=0, choose a square root
λ2=−ϵW
and set t=λz. The target parameters are
γDδDαDqD=−γW,=−λδW,=λ2αW,=λqW.
The origin is fixed. Where the analytic recurrence is unobstructed, the
unit-leading germ—including its forced first derivative—is preserved under
w(z)=B0(λz). The choice of λ is part of the crosswalk.
When ϵW=0, the generic rank-2 normalization has
degenerated and this scaling does not apply.
Both square roots of 2 are valid; changing c rotates the canonical
coordinate. Because x=0 and z=0 coincide and the scalar gauge is trivial,
the unit-leading germs map directly when
γD∈/Z≥0:
U(x)=B0(cx).
At an obstructed value, the same statement requires a declared compatible
limit or a separately constructed local solution.
The derivative audit reads
U′(0)=cB0′(0)=2(1+AM)DM+(1+AM)BM,
which is exactly the derivative forced by Maple’s equation.
Since Wolfram’s HeunT is normalized by y(0)=1 and y′(0)=0,
T0(z)=HeunT[qD,αD,0,γD,1,z].Advanced: reduce a general Wolfram triconfluent scale
Start from Wolfram’s equation
w′′+(γW+δWz+ϵWz2)w′+(αWz−qW)w=0.
For ϵW=0, choose
λ3=ϵW
and one root h of
h2−λ2δWh+λγW=0.
With
t=λz+h,w(z)=Y(t),
the Wolfram equation becomes the DLMF THE with
γDαDqD=λ2δW−2h,=ϵWαW,=λ2qW+ϵWαWh.
The Wolfram origin maps to t=h, so its named function becomes the DLMF
solution with
Y(h)=1,Y′(h)=0,
not generally T0(t). The cube-root and quadratic-root choices are part of
the coordinate chart. If ϵW=0, this rank-3
normalization is unavailable and the equation must be reclassified before a
different reduction is chosen.
Maple instead uses
U′′−(ΓM+3x2)U′+[AM+(BM−3)x]U=0,
with U(0)=1 and U′(0)=0. In the same variable this is exactly the
Wolfram specialization
qWαWγWδWϵW=−AM,=BM−3,=−ΓM,=0,=−3.
Thus Maple and Wolfram name the same origin-normalized function on that
five-parameter slice.
To map the DLMF reduced form to Maple’s reduced form, choose one cube root
c3=−3
and set
z=cx−2γD,y(z)=U(x).
Coefficient comparison gives
ΓMAMBM=4cγD2,=−c2(qD+2αDγD),=3(1−αD).
The three choices of c are residual rotations of the canonical
coordinate. More importantly,
x=0⟼z=−2γD.
Consequently this equation map does not identify the two functions
normalized at their respective origins. A DLMF solution normalized at
z=0 must first be evaluated, with its derivative, at
z=−γD/2 before it can be expanded in Maple’s
origin-normalized basis. Locally the derivative transforms as
Even if χ(x0)=1, a nonzero χ′(x0) changes the derivative. This
is the ordinary-point version of a general rule:
At a regular singular point, transport the exponent, the branch of the
local power, and the Frobenius leading coefficient.
At an irregular point, transport the ordered sectorial basis, the angular
lift, the asymptotic normalization, and the lateral summation choice.
After analytic continuation, transport the path. Equality of local germs
does not force two package principal values to agree across different
cuts.
For a fundamental row frame
By=(y1,y2),
a scalar coordinate-and-gauge map acts on both columns. A further constant
matrix is generally required if the target software basis uses different
initial data:
By(ϕ(x))=χ(x)Bu(x)N.
The matrix N is fixed by matching initial or asymptotic normalization, not
by the parameter tuple.
The map from physical data to a Heun tuple must retain every part of this
formula. A robust pipeline is
physical parameters↓coefficient functions in r↓(z=ϕ(r),gauge)declared canonical Heun equation↓normalized basis or software call.
For a raw scalar equation
y′′+p(z)y′+r(z)y=0,
the Liouville substitution
y=exp(−21∫zp(s)ds)ψ
gives the convention-resistant normal form
ψ′′+T(z)ψ=0,T=r−21p′−41p2.
Comparing T after aligning coordinates is often the fastest way to detect
a missed scalar gauge. Under
z=ϕ(x),ψ(ϕ(x))=ϕ′(x)u(x),
the projective coefficient becomes
Tx(x)=(ϕ′(x))2T(ϕ(x))+21{ϕ,x},
where
{ϕ,x}=ϕ′ϕ′′′−23(ϕ′ϕ′′)2.
Thus T is gauge-resistant in a fixed coordinate, not coordinate-invariant;
even a Möbius map, whose Schwarzian vanishes, retains the
(ϕ′)2 factor. The normal form also separates invariant exponent
differences and irregular exponential differences from the bookkeeping of
first-derivative coefficients. The
general-Heun page
derives the corresponding standard-to-normal accessory map.
A frequency, energy, or separation constant should not be called “the
accessory parameter” until its explicit relation to canonical q has been
written. That relation may be affine, nonlinear, or gauge dependent.
A matching tuple is not a matching function. The Wolfram-to-DLMF DCHE
rescaling maps the equation but generally moves the base point. Transport
the two initial values before comparing numbers.
A software name is not an equation class. Maple and Wolfram both expose
HeunD, but their canonical variables, parameter counts, singularity
locations, and defining base points differ.
A missed scale changes several slots at once. In the BHE, the single
choice c2=2 changes the constant, linear, and accessory coefficients.
Changing only the quadratic coefficient in y′ cannot be correct.
A direct germ identity is not automatically a principal-value identity.
Wolfram and Maple can continue around cuts by different implicit paths.
Attach a path and branch prescription whenever the argument leaves the
initial series disk.
Exceptional parameters cannot be handled by canceled denominators.
If a displayed first coefficient contains 1/γ, return to the
recurrence at the exceptional value. A compatible logarithmic or limiting
solution may exist, but it requires a separate declaration.
Polynomiality is not invariant under an arbitrary gauge. A polynomial
may become an exponential or power times a polynomial. The next page treats
polynomial, algebraic, and quasi-exact sectors in declared gauges.
A calculation ends with “the solution is
HeunD(q,α,γ,δ,ϵ;z).” List the
additional data needed to make the statement reproducible.
Solution
First declare the software or source, because Maple and Wolfram use
different HeunD equations. Then write the exact ODE and ordered tuple.
State the canonical variable and singularity locations. State the base
point and both initial conditions—or, for a sectorial solution, the sector,
angular lift, and asymptotic normalization. Finally record the continuation
path, branch choices, software version, and parameter exclusions. Only this
complete passport selects a reproducible function.
Let c2=2 and z=cx. Derive the Maple-to-DLMF BHE map and verify both the
exponent difference and the first derivative. Assume
AM∈/{−1,−2,…} so that the unit-leading analytic
recurrence is unobstructed.
Solution
Write U(x)=B(z) with z=cx. Then
U′=cB′,U′′=c2B′′.
Substitution into Maple’s equation, followed by division by x and use of
c2=2, gives the DLMF equation with
to derive (AM,BM,ΓM). Explain why the
map is not an identity between the two origin-normalized functions.
Solution
With y(z)=U(x), multiply the transformed equation by c2. The
first-derivative coefficient becomes
cz(z+γD)=c(c2x2−4γD2)=−3x2−4cγD2.
Thus
ΓM=4cγD2.
The coefficient of U becomes
c2(αDz−qD)=−c2(qD+2αDγD)−3αDx.
Therefore
AMBM=−c2(qD+2αDγD),=3(1−αD).
But x=0 maps to z=−γD/2, not to z=0. The equations
are equivalent while their named origin-normalized solutions are generally
different linear combinations.
Derive the transformation of (y(z0),y′(z0)) under
z=ϕ(x),y(ϕ(x))=χ(x)u(x).
What happens when χ(x0)=1 but χ′(x0)=0?
Solution
At z0=ϕ(x0),
u(x0)=χ(x0)y(z0).
Differentiate the defining relation:
ϕ′(x)y′(ϕ(x))=χ′(x)u(x)+χ(x)u′(x).
Solving for the target derivative gives
u′(x0)=χ(x0)ϕ′(x0)y′(z0)−χ′(x0)u(x0).
If χ(x0)=1 but χ′(x0)=0, the function value is unchanged
while the derivative is shifted by
−χ′(x0)u(x0). A unit gauge value therefore does not imply preserved
initial data.
Wolfram Language official documentation for
HeunG,
HeunC,
HeunD,
HeunB, and
HeunT. These
pages define the five software calls, equations, and normalizations.
Maplesoft official help for
Heun functions,
HeunG,
HeunC,
HeunD,
HeunB,
and
HeunT.
The coefficient maps on this page follow by direct substitution into
these defining equations.
A. Ronveaux, ed., Heun’s Differential Equations, Oxford University
Press, 1995, especially Parts B–E for the four confluent forms and their
canonical solutions.