Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    A separated wave equation can have the same local exponents for every value of a spectral parameter and still admit a regular global solution only at isolated values. Local powers do not determine how solutions at different endpoints connect. The Heun equation makes this missing information explicit: its accessory parameter changes the connection problem while leaving the exponents fixed.

    We reduce a four-singularity wave equation to Heun form, construct a connection matrix with specified endpoint normalizations, and distinguish two different limits: removing a singularity to recover the Gauss equation, and sending a singularity to infinity to produce a confluent equation.

    Preparation: regular singular points, connection matrices, and hypergeometric connection problems.

    Four regular singularities and one accessory parameter

    With a∉{0,1}a\notin\{0,1\}, the general Heun equation is

    y′′+P(z)y′+Q(z)y=0,y''+P(z)y'+Q(z)y=0,

    where

    P(z)=γz+δz−1+ϵz−a,Q(z)=αβz−qz(z−1)(z−a),P(z)=\frac\gamma z+\frac\delta{z-1}+\frac\epsilon{z-a}, \qquad Q(z)=\frac{\alpha\beta z-q}{z(z-1)(z-a)},

    and

    ϵ=α+β+1−γ−δ.\epsilon=\alpha+\beta+1-\gamma-\delta.

    Its singularities and exponents are

    PointExponents
    0000, 1−γ1-\gamma
    1100, 1−δ1-\delta
    aa00, 1−ϵ1-\epsilon
    ∞\inftyα\alpha, β\beta

    At infinity the local coordinate is 1/z1/z, so the corresponding leading behaviors in zz are z−αz^{-\alpha} and z−βz^{-\beta}. The relation defining ϵ\epsilon is the Fuchs relation. The parameter qq does not enter any of these exponent pairs. It is an accessory parameter, controlling global data not fixed by the singularity locations and local exponents. This is the normalization in DLMF §31.2(i).

    Integer exponent differences require a separate Frobenius analysis. A logarithmic solution may appear, but resonance alone does not prove its coefficient is nonzero. Likewise, a singularity can become apparent or removable at special parameters. The displayed equation identifies a class of problems; its name does not select a physical solution.

    A wave equation with a tunable accessory term

    A scalar wave equation without a first derivative has the form

    u′′+V(z)u=0.u''+\mathcal V(z)u=0.

    Given PP and QQ, set

    u=e12∫P dzy.u=e^{\frac12\int P\,\mathrm dz}y.

    Direct differentiation gives

    V=Q−12P′−14P2.\mathcal V=Q-\frac12P'-\frac14P^2.

    This is a change of dependent variable, with branches fixed on the region of interest. It also shows which potential term carries the accessory parameter.

    For an explicit family take

    a=2,α=13,β=14+η,γ=23,δ=1112,a=2,\qquad \alpha=\frac13,\qquad \beta=\frac14+\eta,\qquad \gamma=\frac23,\qquad\delta=\frac{11}{12},

    and choose

    ϵ=η,q=2αβ+λ.\epsilon=\eta,\qquad q=2\alpha\beta+\lambda.

    Then

    Q=αβz(z−1)−λz(z−1)(z−2).Q=\frac{\alpha\beta}{z(z-1)} -\frac\lambda{z(z-1)(z-2)}.

    On the real interval 0<z<10<z<1, use positive real powers in

    u=zγ/2(1−z)δ/2(2−z)η/2y.u=z^{\gamma/2}(1-z)^{\delta/2}(2-z)^{\eta/2}y.

    Although the factors are positive here, their logarithmic derivative is P/2P/2, including the signs at 11 and 22. At η=1/2\eta=1/2 the wave coefficient is explicitly

    V(z)=29z2+143576(z−1)2+316(z−2)2−118z(z−1)−16z(z−2)−1148(z−1)(z−2)−λz(z−1)(z−2).\begin{aligned} \mathcal V(z)={}&\frac{2}{9z^2} +\frac{143}{576(z-1)^2} +\frac{3}{16(z-2)^2}\\ &-\frac{1}{18z(z-1)} -\frac{1}{6z(z-2)} -\frac{11}{48(z-1)(z-2)}\\ &-\frac\lambda{z(z-1)(z-2)}. \end{aligned}

    Thus this rational wave equation is reduced to Heun form by the inverse of the displayed factor. Varying λ\lambda changes a simple-pole combination while preserving the double-pole coefficients and hence the local wave exponents. The resulting connection coefficients depend on λ\lambda.

    A spectral interpretation still needs an operator, interval and boundary conditions. In particular, boundedness and analyticity at a singular endpoint can select different subspaces. We will state the endpoint normalizations before computing a connection.

    Normalized local bases and their connection

    Assume for now that γ\gamma and δ\delta are nonintegers and no Frobenius denominator below vanishes. Near zero choose

    f0(z)=1+O(z),f1(z)=z1−γ[1+O(z)].f_0(z)=1+O(z),\qquad f_1(z)=z^{1-\gamma}[1+O(z)].

    Near one choose

    g0(z)=1+O(1−z),g1(z)=(1−z)1−δ[1+O(1−z)].g_0(z)=1+O(1-z),\qquad g_1(z)=(1-z)^{1-\delta}[1+O(1-z)].

    Continue both bases to 0<z<10<z<1 with positive real powers. These conditions fix the leading coefficients, the order of the columns and the branch. Let

    F=(f0f1f0′f1′),G=(g0g1g0′g1′).F=\begin{pmatrix}f_0&f_1\\ f_0'&f_1'\end{pmatrix}, \qquad G=\begin{pmatrix}g_0&g_1\\ g_0'&g_1'\end{pmatrix}.

    The connection matrix is defined by

    F(z)=G(z)C,C=G(z∗)−1F(z∗).F(z)=G(z)C,\qquad C=G(z_*)^{-1}F(z_*).

    It is independent of the ordinary matching point z∗z_*. Differentiating G−1FG^{-1}F proves this because both matrices satisfy the same first-order system. A numerical dependence on z∗z_* measures truncation or integration error, rather than an additional parameter of the equation.

    For the analytic solution f0=∑j≥0cjzjf_0=\sum_{j\geq0}c_jz^j, substitution into the polynomial form of the equation gives

    Rjcj+1−(Qj+q)cj+Pjcj−1=0,R_jc_{j+1}-(Q_j+q)c_j+P_jc_{j-1}=0,

    with c−1=0c_{-1}=0, c0=1c_0=1, and

    Rj=a(j+1)(j+γ),Qj=j[(j−1+γ)(1+a)+aδ+ϵ],Pj=(j−1+α)(j−1+β).\begin{aligned} R_j&=a(j+1)(j+\gamma),\\ Q_j&=j\big[(j-1+\gamma)(1+a)+a\delta+\epsilon\big],\\ P_j&=(j-1+\alpha)(j-1+\beta). \end{aligned}

    In particular c1=q/(aγ)c_1=q/(a\gamma). The second series follows by substituting z1−γ∑cjzjz^{1-\gamma}\sum c_jz^j. At the other endpoint use t=1−zt=1-z: the parameters become a↦1−aa\mapsto1-a, γ↔δ\gamma\leftrightarrow\delta, and q↦αβ−qq\mapsto\alpha\beta-q. Derivatives in the second row of GG are still with respect to zz, so they acquire a minus sign relative to derivatives in tt. These local series agree with DLMF §31.3(i)–(ii).

    For the wave family with η=1/2\eta=1/2 and λ=1/7\lambda=1/7, matching these bases gives

    C≃(12.2722585514.89266416−12.10192396−15.14690574).C\simeq \begin{pmatrix} 12.27225855&14.89266416\\ -12.10192396&-15.14690574 \end{pmatrix}.

    The first column says exactly which mixture at 11 results from the analytic solution at 00. Analyticity at both endpoints would require C21=0C_{21}=0 in this nonresonant normalization; the displayed example does not meet that condition. Since 1−δ=1/12>01-\delta=1/12>0, g1g_1 is also bounded, so boundedness alone would not impose the same condition.

    Abel's identity provides a useful normalization check. On this interval,

    W(z) zγ(1−z)δ(a−z)ϵ=constant.W(z)\,z^\gamma(1-z)^\delta(a-z)^\epsilon =\text{constant}.

    The leading terms of f1f_1 and g1g_1 therefore give

    det⁡C=−1−γ1−δ(aa−1)ϵ=−42.\det C=-\frac{1-\gamma}{1-\delta} \left(\frac a{a-1}\right)^\epsilon=-4\sqrt2.

    The minus sign comes from differentiating 1−z1-z. Omitting it would change the connection normalization even if the local values looked plausible.

    The same matrix translates local monodromy. A counterclockwise loop around 11 multiplies the gg basis by

    D1=diag⁡(1,e2πi(1−δ)).D_1=\operatorname{diag}\big(1,e^{2\pi i(1-\delta)}\big).

    In the ff basis, the corresponding matrix is C−1D1CC^{-1}D_1C, with the connecting path already fixed. Local eigenvalues determine its conjugacy class; the connection matrix determines its position relative to the basis at zero.

    Removing a singularity is different from confluence

    In the wave family, put η=λ=0\eta=\lambda=0. Both the first-derivative pole and the accessory pole at 22 disappear. The equation becomes

    z(1−z)y′′+[γ−(α+β+1)z]y′−αβy=0,z(1-z)y''+ \big[\gamma-(\alpha+\beta+1)z\big]y' -\alpha\beta y=0,

    with α=1/3\alpha=1/3, β=1/4\beta=1/4 and γ=2/3\gamma=2/3. It is the Gauss hypergeometric equation. Its normalized connection matrix is the gamma-function matrix derived in hypergeometric connection problems. This is an exact removable degeneration: no singularities have collided.

    For genuine confluence, instead let a→+∞a\to+\infty while fixing η≠0\eta\ne0, AA, QQ, γ\gamma and δ\delta, and set

    αa=−aη,βa=Aη,qa=−aQ,\alpha_a=-a\eta,\qquad \beta_a=\frac A\eta,\qquad q_a=-aQ,

    so that

    ϵa=−aη+Aη−γ−δ+1.\epsilon_a=-a\eta+\frac A\eta-\gamma-\delta+1.

    On compact sets avoiding 00 and 11,

    ϵaz−a⟶η,αaβaz−qaz(z−1)(z−a)⟶Az−Qz(z−1).\frac{\epsilon_a}{z-a}\longrightarrow\eta, \qquad \frac{\alpha_a\beta_a z-q_a}{z(z-1)(z-a)} \longrightarrow\frac{Az-Q}{z(z-1)}.

    The limiting equation is

    y′′+(γz+δz−1+η)y′+Az−Qz(z−1)y=0.y''+\left(\frac\gamma z+\frac\delta{z-1}+\eta\right)y' +\frac{Az-Q}{z(z-1)}y=0.

    This is confluent Heun form, with regular singularities at 00 and 11 and, for η≠0\eta\ne0, a rank-one irregular singularity at infinity. It matches DLMF Eq. (31.12.1) after renaming its parameters. The singularity at aa has merged with infinity, and exponentials now enter the formal large-zz behavior.

    For fixed initial data on a fixed compact path avoiding the singularities, the coefficient convergence gives convergence of the fundamental matrices. Indeed, the first-order coefficient difference is O(1/a)O(1/a) there; the integral equation and a Grönwall bound give an O(1/a)O(1/a) solution difference on that path. This argument does not control paths growing with aa, or extract all Stokes multipliers at infinity. Sectorial normalization is additional data in the confluent problem.

    The companion uses η=0.7\eta=0.7, A=0.4A=0.4, Q=0.2Q=0.2, γ=0.6\gamma=0.6 and δ=0.8\delta=0.8, with the identity state matrix at z=0.3z=0.3. On 0.3≤z≤0.70.3\leq z\leq0.7, the maximum sampled entrywise difference from the limiting matrix is

    aaMatrix difference
    20202.9860×10−32.9860\times10^{-3}
    40401.4740×10−31.4740\times10^{-3}
    80807.3231×10−47.3231\times10^{-4}
    1601603.6500×10−43.6500\times10^{-4}

    Doubling aa approximately halves the error, as the compact-path estimate predicts. These values support that specified limit; they are not an error estimate for a global confluent connection formula.

    An accessory parameter selected by endpoint conditions

    A mode calculation must also specify what the two endpoint bases mean physically. For a horizon problem compare the ingoing and boundary conditions in a numerical frequency calculation. A retarded response further requires the source, the response channel and a nonzero residue.

    A particularly transparent example has

    a=2,γ=δ=ϵ=1,α=−1,β=3.a=2,\qquad\gamma=\delta=\epsilon=1, \qquad\alpha=-1,\quad\beta=3.

    Define D(z)=z(z−1)(z−2)D(z)=z(z-1)(z-2), which is positive on 0<z<10<z<1. The equation is

    (Dy′)′+(−3z−q)y=0.(Dy')'+(-3z-q)y=0.

    Equivalently,

    Hy=Λy,H=−ddzDddz+3z,Λ=−q.Hy=\Lambda y,\qquad H=-\frac{\mathrm d}{\mathrm dz}D\frac{\mathrm d}{\mathrm dz}+3z, \qquad\Lambda=-q.

    At either endpoint the two exponents coincide. One local branch is regular, while the other generically contains a logarithm. The latter has infinite quadratic-form energy: since DD vanishes linearly, a derivative proportional to 1/z1/z gives a divergent integral of D∣y′∣2D|y'|^2. Regular solutions instead have vanishing endpoint flux Dy′Dy'. This specifies the endpoint behavior used here.

    Try a linear polynomial y=1+qz/2y=1+qz/2. Substitution gives

    (Dy′)′+(−3z−q)y=−z2(q2+6q+6).(Dy')'+(-3z-q)y =-\frac z2\big(q^2+6q+6\big).

    Consequently two exact regular states occur at

    q±=−3±3,Λ±=3∓3.q_\pm=-3\pm\sqrt3,\qquad \Lambda_\pm=3\mp\sqrt3.

    Their local exponents are identical, but their accessory values differ. The polynomial solutions obey both endpoint conditions and are orthogonal in L2(0,1)L^2(0,1). Their squared norms are 1/21/2, so multiplication by 2\sqrt2 normalizes them.

    Summary

    Heun form separates local exponent data from an accessory parameter. A usable connection coefficient additionally requires normalized endpoint bases, branches and a path. The worked wave family exhibits all of these ingredients, recovers Gauss functions when the fourth singularity becomes removable, and admits a separate scaling limit to a genuinely confluent equation. Boundary conditions act on this global connection data and can select discrete accessory values.

    The reproducible calculation in examples/mathematical-methods/special-functions/heun.py checks the wave reduction, the polynomial states, series matching and Abel determinant, direct ODE transport, the Gauss degeneration and finite-path confluence. It reuses the earlier generic Gauss basis constructor. Series and ODE calculations agree after refinement; no general closed formula for the Heun connection matrix is assumed.

    Exercises

    1. Recover the first two coefficients. Derive c1c_1 and c2c_2 for the analytic solution at zero. Identify a parameter value at which this normalization needs reconsideration.
    Solution

    The j=0j=0 equation gives aγc1=qa\gamma c_1=q. At j=1j=1,

    2a(1+γ)c2=[γ(1+a)+aδ+ϵ+q]c1−αβ.2a(1+\gamma)c_2= \big[\gamma(1+a)+a\delta+\epsilon+q\big]c_1-\alpha\beta.

    Thus

    c2=q[γ(1+a)+aδ+ϵ+q]−aγαβ2a2γ(1+γ).c_2= \frac{q[\gamma(1+a)+a\delta+\epsilon+q]-a\gamma\alpha\beta} {2a^2\gamma(1+\gamma)}.

    At γ=0\gamma=0 or γ=−1\gamma=-1 these formulas cannot simply be divided by their denominators. The Frobenius recursion must be revisited, allowing compatibility conditions or logarithmic terms. A pole in this normalization is not by itself a proof that every solution diverges.

    1. Change the normalization. Replace the basis matrices by F~=FS\widetilde F=FS and G~=GT\widetilde G=GT, where SS and TT are constant invertible matrices. Find the new connection matrix and explain what remains invariant.
    Solution

    Substitution into F=GCF=GC gives

    C~=T−1CS.\widetilde C=T^{-1}CS.

    An individual connection entry is therefore normalization dependent. A physical endpoint condition selects a subspace, and whether the transported subspaces intersect is unchanged when their coordinates are transformed consistently. Monodromy matrices in a single basis change by conjugation, so their eigenvalues and traces are unchanged.

    1. Check the polynomial states. Verify the orthogonality and norms in the accessory example, and determine which polynomial has an interior node.
    Solution

    Using q++q−=−6q_++q_-=-6 and q+q−=6q_+q_-=6,

    ∫01(1+q+z2)(1+q−z2)dz=1+q++q−4+q+q−12=0.\int_0^1\left(1+\frac{q_+z}{2}\right) \left(1+\frac{q_-z}{2}\right)\mathrm dz =1+\frac{q_++q_-}{4}+\frac{q_+q_-}{12}=0.

    For either root, q2=−6q−6q^2=-6q-6, and hence

    ∫01(1+qz2)2dz=1+q2+q212=12.\int_0^1\left(1+\frac{qz}{2}\right)^2\mathrm dz =1+\frac q2+\frac{q^2}{12}=\frac12.

    The zero is at z=−2/qz=-2/q. For q+=−3+3q_+=-3+\sqrt3, it lies beyond 11; the lower eigenvalue has no interior node. For q−=−3−3q_-=-3-\sqrt3, it lies in (0,1)(0,1). The endpoint flux vanishes because each derivative is finite and DD vanishes at both endpoints.

    1. Find the confluent exponential scales. In the limiting equation, determine the powers multiplying the two leading formal behaviors at large zz.
    Solution

    At large zz, the coefficients are

    P=η+γ+δz+O(z−2),Q=Az+O(z−2).P=\eta+\frac{\gamma+\delta}{z}+O(z^{-2}), \qquad Q=\frac A z+O(z^{-2}).

    For y∼zsy\sim z^s, the leading 1/z1/z term gives ηs+A=0\eta s+A=0. For y∼e−ηzzty\sim e^{-\eta z}z^t, the constant terms cancel and the next term gives

    −ηt−η(γ+δ)+A=0.-\eta t-\eta(\gamma+\delta)+A=0.

    The formal behaviors are therefore

    z−A/η,e−ηzzA/η−γ−δ.z^{-A/\eta},\qquad e^{-\eta z}z^{A/\eta-\gamma-\delta}.

    They require sectorial interpretation and a branch of log⁡z\log z. Their relative dominance changes with the sign of Re⁡(ηz)\operatorname{Re}(\eta z); a compact-path confluence limit alone does not determine the connection across those sectors.

    References

    • NIST Digital Library of Mathematical Functions. §31.2(i)–(ii) defines general Heun form, its exponents and accessory parameter, and dependent-variable normal forms. §31.3(i)–(ii), especially Eqs. (31.3.1)–(31.3.6), specifies normalized local solutions and recurrences. §31.12, especially Eq. (31.12.1), gives confluent Heun form and its singularity structure.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.