跳到论文正文
W Papers独立论文阅读器 arXiv:2609.38221 论文正文 计算阅读时间 · 0%
引用这篇论文根据当前论文元数据生成,正式投稿前建议核对。

    
  
License: arXiv.org perpetual non-exclusive license
arXiv:2609.38221v1 [math.HO] 27 Sep 2026

Banded Reduction of Integrals for Hyperexponential and Algebraic Functions

Piotr Krasoń and Jan Milewski Address: Department of Mathematics, Ariel University, Ariel 40700, Israel Email address: piotrkras26@gmail.com Address:  Institute of Mathematics
Poznań University of Technology
60-965 Poznań
Poland
Email address: jsmilew@wp.pl
Date: September 27, 2026
Abstract.

We develop a finite-band method for the reduction of families of indefinite integrals. The starting point is the case in which the logarithmic derivative K′​(x)/K​(x)K^{\prime}(x)/K(x) is a rational function. This leads to adapted polynomial and Laurent-type bases and to upper triangular band matrices. The framework includes generalized real Schwarz–Christoffel integrals and more general hyperexponential weights. We then extend the construction to the case in which the logarithmic derivative K′​(x)/K​(x)K^{\prime}(x)/K(x) is algebraic over the field of real rational functions. The associated finite-dimensional differential module gives rise naturally to block-band systems. Finally, we show that functions satisfying linear differential equations with real polynomial coefficients give rise to finite recurrences for their moments. The resulting reduction is effective: for a prescribed target integral it is enough to solve a finite triangular band system, and only the reduction data associated with the target are required. We also discuss arithmetic complexity and give explicit examples illustrating the scalar and block reductions. The algorithms are implemented in the accompanying Mathematica package BandedReduction.

Key words and phrases: 
finite-band reduction, symbolic integration, hyperexponential functions, algebraic functions, recurrence relations, Schwarz–Christoffel integrals, holonomic functions
2020 Mathematics Subject Classification
Primary 68W30; Secondary 33F10, 12H05, 65Q30

1. Introduction

Reduction of integrals by differential relations is a classical theme in symbolic integration and in the algorithmic study of special functions. Classical approaches include Hermite-type reduction for algebraic functions and the symbolic integration of hyperexponential terms; see [3, 4, 19]. A closely related algorithmic viewpoint is provided by holonomic functions and creative telescoping, where differential equations and recurrences are used to control families of functions and definite or parameter-dependent integrals; see [1, 21, 6].

The purpose of this paper is to develop a finite-band approach to the reduction of families of indefinite integrals. Our basic objects are the moments

In​(x)=∫xn​K​(x)​𝑑x,n≥0,I_{n}(x)=\int x^{n}K(x)\,dx,\qquad n\geq 0,

or, more generally, the shifted moments

In,p​(x)=∫(x−p)n​K​(x)​𝑑x.I_{n,p}(x)=\int(x-p)^{n}K(x)\,dx.

When the factor KK satisfies an appropriate differential relation, differentiation of suitable multiples of KK produces linear relations involving only finitely many neighbouring moments. Ordering these relations by the moment index leads to a banded triangular system. A prescribed high-order moment can therefore be reduced to a finite family of basic integrals together with explicit boundary terms.

The reduction mechanism is related to the classical Christoffel-type approach to the reduction of moments. Our purpose is not to replace this underlying principle, but to identify and exploit the finite-band structure that arises for hyperexponential and algebraic integrands. This structure makes it possible to determine explicitly the finite range of indices involved in the reduction and leads to an effective finite-dimensional reduction procedure.

Our first setting is the case in which the logarithmic derivative

K′​(x)K⁡(x)\frac{K^{\prime}(x)}{K(x)}

is a rational function. This is a standard class in symbolic integration and includes, in particular, functions of the form

K⁡(x)=eq⁡(x)​∏j=1spj​(x)αj,K(x)=e^{q(x)}\prod_{j=1}^{s}p_{j}(x)^{\alpha_{j}},

where qq and the pjp_{j} are real polynomials and αj∈ℝ\alpha_{j}\in\mathbb{R}. We work on intervals on which the chosen real branches of the factors pj​(x)αjp_{j}(x)^{\alpha_{j}} are defined and KK is nonzero. Such functions are closely related to the hyperexponential framework of symbolic integration [3, 4]. Relations between hypergeometric functions and integral representations have also been extensively studied; see, for example, [5, 8, 10, 11, 20].

A principal family of examples comes from the Schwarz–Christoffel setting. Schwarz–Christoffel transformations provide a classical and computationally useful method for conformal mapping of polygonal domains; see, for example, [7, 18]. The associated integral representations are closely related to multivariable hypergeometric functions of Lauricella type [14]. The generalized real Schwarz–Christoffel integrals considered in this paper also belong to a broader class of problems related to hyperelliptic integrals; see [12].

The present paper should be viewed as a continuation and substantial generalization of the reduction approach developed in [12]. The earlier work treats a particular class of real hyperelliptic integrals and derives recurrence relations adapted to that setting. Here we identify the differential mechanism underlying those recurrences and formulate it in a more general finite-band framework. The change of viewpoint is structural rather than merely notational: starting from differential relations satisfied by the integrand factor KK, we obtain a unified reduction procedure that applies to rational logarithmic derivatives, algebraic logarithmic derivatives, and, more generally, linear differential equations with polynomial coefficients. The generalized real Schwarz–Christoffel integrals are retained as an important concrete specialization of this broader construction.

The first main part of the paper establishes a finite-band reduction scheme for rational logarithmic derivatives. We construct adapted polynomial and Laurent-type bases, identify the corresponding upper triangular band matrices, and isolate the possible resonant indices. In the nonresonant case this yields a finite family of basic integrals to which the whole family can be reduced.

We next consider the case in which

K′K\frac{K^{\prime}}{K}

is algebraic over ℝ⁡(x)\mathbb{R}(x). Classical symbolic integration of algebraic functions is based on algebraic reduction procedures, including Hermite-type methods; see [19, 15]. Our construction has a different emphasis: the moments are organized into a finite-dimensional differential module, and the scalar band matrices are replaced by block-band matrices.

Finally, we consider arbitrary linear differential equations with real polynomial coefficients,

ar​(x)​K(r)+⋯+a0​(x)​K=0.a_{r}(x)K^{(r)}+\cdots+a_{0}(x)K=0.

This places the preceding constructions in a broader holonomic framework [1, 6, 21]. The essential point is not merely the existence of a recurrence, but its finite-band structure and the resulting effective reduction of a prescribed moment.

The computational aspect of the method is equally important. For a fixed target index one does not need an inverse of an infinite matrix; only a finite triangular truncation is involved, and in particular only the data required for the target reduction need to be computed. Standard backward substitution for triangular linear systems is used at this stage [16, 17]. Explicit formulas for inverses of triangular matrices are also closely related to the computations appearing here [2].

The algorithms developed in the paper are implemented in the accompanying Mathematica package BandedReduction: Banded Reduction of Integrals for Hyperexponential and Algebraic Functions [13], referred to below simply as BandedReduction. The package provides a user-level implementation of the scalar, Schwarz–Christoffel, algebraic block-band, and polynomial-ODE reductions discussed below, together with validation tests and readable reduction reports. The package is archived on Zenodo under DOI 10.5281/zenodo.22980629.

The paper is organized as follows. Section 2 develops the scalar first-order construction. Section 3 applies it to generalized real Schwarz–Christoffel integrals. Section 4 treats algebraic logarithmic derivatives and the resulting block-band systems. Section 5 derives finite moment recurrences from polynomial-coefficient differential equations. Section 6 describes the reduction algorithm, discusses its arithmetic complexity, and presents explicit examples.

Throughout the paper, ℝ⁡[x]\mathbb{R}[x] denotes the ring of real polynomials in the variable xx, and ℝ⁡(x)\mathbb{R}(x) denotes its field of rational functions. For A,B∈ℝ⁡[x]A,B\in\mathbb{R}[x], the condition gcd⁡(A,B)=1\gcd(A,B)=1 means that AA and BB are relatively prime. We write Md​(F)M_{d}(F) for the ring of d×dd\times d matrices over a field FF.

2. A first-order differential reduction scheme

Let J⊂ℝJ\subset\mathbb{R} be an interval and let K:J→ℝ∖{0}K:J\to\mathbb{R}\setminus\{0\} be a differentiable function. We assume throughout this section that

(2.1) K′​(x)K⁡(x)=A⁡(x)B⁡(x),A,B∈ℝ⁡[x],gcd⁡(A,B)=1.\frac{K^{\prime}(x)}{K(x)}=\frac{A(x)}{B(x)},\qquad A,B\in\mathbb{R}[x],\qquad\gcd(A,B)=1.

Thus the logarithmic derivative of KK is rational. This class includes, in particular, functions of the form

K⁡(x)=eq⁡(x)​∏j=1spj​(x)αj,q,pj∈ℝ⁡[x],αj∈ℝ,K(x)=e^{q(x)}\prod_{j=1}^{s}p_{j}(x)^{\alpha_{j}},\qquad q,p_{j}\in\mathbb{R}[x],\quad\alpha_{j}\in\mathbb{R},

on any interval on which the chosen real branches of the factors pj​(x)αjp_{j}(x)^{\alpha_{j}} are defined and KK is nonzero. Such functions belong to the standard hyperexponential framework of symbolic integration; see [3, 4].

Fix p∈ℝp\in\mathbb{R} such that

B⁡(p)≠0B(p)\neq 0

and put

u=x−p.u=x-p.

For n∈ℤn\in\mathbb{Z} define

In,p​(x)=∫un​K​(x)​𝑑x.I_{n,p}(x)=\int u^{n}K(x)\,dx.

Set

W⁡(x)=B′​(x)+A⁡(x).W(x)=B^{\prime}(x)+A(x).
Lemma 2.1.

For every n∈ℤn\in\mathbb{Z},

(2.2) dd​x​(un​B​(x)​K​(x))=[n​un−1​B​(x)+un​W​(x)]​K​(x).\frac{d}{dx}\left(u^{n}B(x)K(x)\right)=\left[nu^{n-1}B(x)+u^{n}W(x)\right]K(x).
Proof.

Since u′=1u^{\prime}=1 and K′/K=A/BK^{\prime}/K=A/B,

dd​x​(un​B​K)\displaystyle\frac{d}{dx}\left(u^{n}BK\right) =n​un−1​B​K+un​(B′​K+B​K′)\displaystyle=nu^{n-1}BK+u^{n}(B^{\prime}K+BK^{\prime})
=[n​un−1​B+un​(B′+A)]​K.\displaystyle=\left[nu^{n-1}B+u^{n}(B^{\prime}+A)\right]K.

∎

Write

(2.3) B⁡(x)=∑j=0bcj​uj,W⁡(x)=∑j=0wdj​uj,B(x)=\sum_{j=0}^{b}c_{j}u^{j},\qquad W(x)=\sum_{j=0}^{w}d_{j}u^{j},

and put

(2.4) h=max⁡{b,w+1}.h=\max\{b,w+1\}.
Proposition 2.2.

For every n∈ℤn\in\mathbb{Z},

(2.5) ∑j=0bn​cj​In+j−1,p+∑j=0wdj​In+j,p=un​B​(x)​K​(x)+C.\sum_{j=0}^{b}nc_{j}I_{n+j-1,p}+\sum_{j=0}^{w}d_{j}I_{n+j,p}=u^{n}B(x)K(x)+C.

Consequently, the family {In,p}n∈ℤ\{I_{n,p}\}_{n\in\mathbb{Z}} satisfies a finite recurrence in the index nn, with coefficients affine in nn.

Proof.

Substituting (2.3) into (2.2) and integrating gives (2.5). ∎

2.1. The associated band matrix

Set

m=n+h−1.m=n+h-1.

Then (2.5) becomes

(2.6) ∑l=m−hmDl,m​Il,p=um−h+1​B​(x)​K​(x)+C,\sum_{l=m-h}^{m}D_{l,m}I_{l,p}=u^{m-h+1}B(x)K(x)+C,

where

(2.7) Dl,m=(m−h+1)​cl−m+h+dl−m+h−1.D_{l,m}=(m-h+1)c_{l-m+h}+d_{l-m+h-1}.

We understand cj=dj=0c_{j}=d_{j}=0 whenever the index is outside the ranges specified in (2.3). next consider

Proposition 2.3.

The matrix

D=(Dl,m)l,m≥0D=(D_{l,m})_{l,m\geq 0}

is upper triangular and has finite bandwidth. More precisely,

Dl,m=0ifl<m−horl>m.D_{l,m}=0\qquad\text{if}\qquad l<m-h\quad\text{or}\quad l>m.

Its diagonal entries are

(2.8) Dm,m=(m−h+1)​ch+dh−1.D_{m,m}=(m-h+1)c_{h}+d_{h-1}.
Proof.

The asserted vanishing follows immediately from (2.7). Putting l=ml=m gives (2.8). ∎

Definition 2.1.

For m≥h−1m\geq h-1, we call mm admissible. An admissible index is called nonresonant if

Dm,m≠0,D_{m,m}\neq 0,

and resonant otherwise.

Remark 2.2.

The diagonal coefficient

Dm,m=(m−h+1)​ch+dh−1D_{m,m}=(m-h+1)c_{h}+d_{h-1}

is an affine function of mm. Hence, unless it is identically zero, there is at most one resonant admissible index.

2.2. Adapted polynomial basis

For the initial indices

0≤m≤h−1,0\leq m\leq h-1,

put

ϕm​(u)=um.\phi_{m}(u)=u^{m}.

For every m≥hm\geq h, define

(2.9) ϕm​(u)=∑l=m−hmDl,m​ul.\phi_{m}(u)=\sum_{l=m-h}^{m}D_{l,m}u^{l}.

Since m≥hm\geq h, all powers occurring in (2.9) are nonnegative. Thus ϕm\phi_{m} is a polynomial.

By (2.6),

(2.10) ∫ϕm​(u)​K​(x)​𝑑x=um−h+1​B​(x)​K​(x)+C,m≥h.\int\phi_{m}(u)K(x)\,dx=u^{m-h+1}B(x)K(x)+C,\qquad m\geq h.
Lemma 2.4.

Let m≥hm\geq h. If mm is nonresonant, then

deg⁡ϕm=m.\operatorname{deg}\phi_{m}=m.
Proof.

All terms in (2.9) have degree at most mm, and the coefficient of umu^{m} is Dm,mD_{m,m}. If mm is nonresonant, this coefficient is nonzero, and therefore deg⁡ϕm=m\operatorname{deg}\phi_{m}=m. ∎

Proposition 2.5.

Suppose that

Dm,m≠0for all ​m≥h.D_{m,m}\neq 0\qquad\text{for all }m\geq h.

Then the family

{ϕm}m≥0\{\phi_{m}\}_{m\geq 0}

is a basis of ℝ⁡[u]\mathbb{R}[u].

Proof.

For 0≤m≤h−10\leq m\leq h-1 the functions ϕm\phi_{m} are the monomials. For m≥hm\geq h, the preceding lemma gives deg⁡ϕm=m\operatorname{deg}\phi_{m}=m. Hence the transition matrix from the monomial basis

{1,u,u2,…}\{1,u,u^{2},\ldots\}

to {ϕm}m≥0\{\phi_{m}\}_{m\geq 0} is triangular with nonzero diagonal on every finite principal truncation. Therefore it is invertible on every finite degree subspace, and the family is a basis of ℝ⁡[u]\mathbb{R}[u]. ∎

Remark 2.3.

If a resonant index occurs, the corresponding adapted polynomial may have degree smaller than its index. The reduction at that index requires a separate treatment; in particular, one should not divide by the vanishing diagonal coefficient.

2.3. Negative powers

For n≤−2n\leq-2, differentiate

un+1​B​(x)​K​(x).u^{n+1}B(x)K(x).

We obtain

dd​x​(un+1​B​K)=[(n+1)​un​B+un+1​W]​K.\frac{d}{dx}\left(u^{n+1}BK\right)=\left[(n+1)u^{n}B+u^{n+1}W\right]K.

Define

(2.11) ψn​(u)=∑l=nn+h[(n+1)​cl−n+dl−n−1]​ul,n≤−2.\psi_{n}(u)=\sum_{l=n}^{n+h}\left[(n+1)c_{l-n}+d_{l-n-1}\right]u^{l},\qquad n\leq-2.

Then

(2.12) ∫ψn​(u)​K​(x)​𝑑x=un+1​B​(x)​K​(x)+C.\int\psi_{n}(u)K(x)\,dx=u^{n+1}B(x)K(x)+C.
Proposition 2.6.

Assume B⁡(p)≠0B(p)\neq 0. The transition matrix from the standard Laurent monomials to the family {ψn}n≤−2\{\psi_{n}\}_{n\leq-2} is triangular and banded. Its diagonal entry corresponding to nn is

(n+1)​B​(p),(n+1)B(p),

and therefore is nonzero for every n≤−2.n\leq-2.

Proof.

The coefficient of the lowest power unu^{n} in (2.11) is

(n+1)​c0=(n+1)​B​(p).(n+1)c_{0}=(n+1)B(p).

Since n≤−2n\leq-2 and B⁡(p)≠0B(p)\neq 0, this coefficient is nonzero. ∎

2.4. Finite-band reduction theorem

Theorem 2.7 (Finite-band reduction).

Let KK satisfy (2.1), and let p∈ℝp\in\mathbb{R} satisfy B⁡(p)≠0B(p)\neq 0. Suppose that

Dm,m≠0for all ​m≥h.D_{m,m}\neq 0\qquad\text{for all }m\geq h.

Then every integral

In,p=∫(x−p)n​K​(x)​𝑑x,n∈ℤ,I_{n,p}=\int(x-p)^{n}K(x)\,dx,\qquad n\in\mathbb{Z},

can be reduced to the finite family

(2.13) ℬp={I−1,p,I0,…,Ih−1,p}\mathcal{B}_{p}=\left\{I_{-1,p},I_{0},\ldots,I_{h-1,p}\right\}

and explicit boundary terms.

Proof.

For n≤−2n\leq-2, the triangular band system associated with (2.12) has nonzero diagonal and reduces every negative-index integral to I−1,pI_{-1,p} and finitely many nonnegative-index integrals.

For n≥0n\geq 0, the adapted polynomial basis above gives a triangular band system whose diagonal entries are nonzero by assumption. Hence every In,pI_{n,p} with n≥hn\geq h reduces recursively to

I0,…,Ih−1I_{0},\ldots,I_{h-1}

and the boundary terms in (2.10). Combining the two sectors gives the stated reduction. ∎

2.5. Finite computation of reduction coefficients

For a fixed target index MM, let

𝒟[M]=(Dl,m)0≤l,m≤M\mathcal{D}^{[M]}=(D_{l,m})_{0\leq l,m\leq M}

be the finite principal truncation of DD. Since 𝒟[M]\mathcal{D}^{[M]} is upper triangular,

det𝒟[M]=∏m=0MDm,m.\det\mathcal{D}^{[M]}=\prod_{m=0}^{M}D_{m,m}.

Consequently, 𝒟[M]\mathcal{D}^{[M]} is nonsingular if and only if all its diagonal entries are nonzero.

Only the column corresponding to the target integral is required. If v(M)v^{(M)} denotes the corresponding column of

(𝒟[M])−1,\left(\mathcal{D}^{[M]}\right)^{-1},

then

𝒟[M]​v(M)=eM.\mathcal{D}^{[M]}v^{(M)}=e_{M}.

The triangular and banded structure gives

(2.14) vM(M)=1DM,M,v^{(M)}_{M}=\frac{1}{D_{M,M}},

and, proceeding backwards,

(2.15) v(M)i=−1Di,i∑j=i+1min⁡(i+h,M)Di,jv(M)j.v^{(M)}_{i}=-\frac{1}{D_{i,i}}\sum_{j=i+1}^{\min(i+h,M)}D_{i,j}v^{(M)}_{j}.

Thus no inverse of an infinite matrix is required. For fixed bandwidth, the number of arithmetic operations required for one reduction column is linear in the size of the truncation, apart from the cost of arithmetic in the coefficient field.

2.6. Example 1: a hyperexponential weight

Consider

(2.16) K⁡(x)=ex​(x2+1)α,α∈ℝ.K(x)=e^{x}(x^{2}+1)^{\alpha},\qquad\alpha\in\mathbb{R}.

Then

K′​(x)K⁡(x)=1+2​α​xx2+1=x2+2​α​x+1x2+1.\frac{K^{\prime}(x)}{K(x)}=1+\frac{2\alpha x}{x^{2}+1}=\frac{x^{2}+2\alpha x+1}{x^{2}+1}.

Thus

A⁡(x)=x2+2​α​x+1,B⁡(x)=x2+1,A(x)=x^{2}+2\alpha x+1,\qquad B(x)=x^{2}+1,

and

W⁡(x)=B′​(x)+A⁡(x)=x2+2​(α+1)​x+1.W(x)=B^{\prime}(x)+A(x)=x^{2}+2(\alpha+1)x+1.

For p=0p=0 the fundamental identity gives

dd​x​(xn​(x2+1)​K​(x))=[n​xn−1+xn+(n+2​α+2)​xn+1+xn+2]​K​(x).\frac{d}{dx}\left(x^{n}(x^{2}+1)K(x)\right)=\left[nx^{n-1}+x^{n}+(n+2\alpha+2)x^{n+1}+x^{n+2}\right]K(x).

Hence

(2.17) n​In−1+In+(n+2​α+2)​In+1+In+2=xn​(x2+1)​K​(x)+C.nI_{n-1}+I_{n}+(n+2\alpha+2)I_{n+1}+I_{n+2}=x^{n}(x^{2}+1)K(x)+C.

Here h=3h=3 and the diagonal coefficient is

Dm,m=1.D_{m,m}=1.

Thus the positive-index sector is nonresonant and every moment reduces to the basic family

I−1,I0,I1,I2.I_{-1},\ I_{0},\ I_{1},\ I_{2}.
Remark 2.4.

This example illustrates an important feature of the reduction procedure. The recurrence expresses an infinite family of integrals in terms of a finite set of basic integrals and explicit boundary terms. The basic integrals need not themselves be elementary. If they are elementary, then the recurrence produces elementary antiderivatives for the whole family. If some of them are non-elementary, the same recurrence still reduces every integral in the family to a fixed finite collection of non-elementary basic integrals. Thus finite-dimensional reduction and elementary integrability are separate issues: the former may hold even when the latter fails.

2.7. Example 2: a shorter recurrence

Consider

(2.18) K⁡(x)=e−x2​(x2+1)α,α∈ℝ.K(x)=e^{-x^{2}}(x^{2}+1)^{\alpha},\qquad\alpha\in\mathbb{R}.

Then

K′​(x)K⁡(x)=−2​x3+2​(α−1)​xx2+1,\frac{K^{\prime}(x)}{K(x)}=\frac{-2x^{3}+2(\alpha-1)x}{x^{2}+1},

so that

A⁡(x)=−2​x3+2​(α−1)​x,B⁡(x)=x2+1,A(x)=-2x^{3}+2(\alpha-1)x,\qquad B(x)=x^{2}+1,

and

W⁡(x)=−2​x3+2​α​x.W(x)=-2x^{3}+2\alpha x.

Consequently,

(2.19) n​In−1+(n+2​α)​In+1−2​In+3=xn​(x2+1)​K​(x)+C.nI_{n-1}+(n+2\alpha)I_{n+1}-2I_{n+3}=x^{n}(x^{2}+1)K(x)+C.

Only one parity class occurs in each recurrence. This illustrates that the actual recurrence may possess additional structure beyond the formal band bound of the general construction.

3. Generalized real Schwarz–Christoffel integrals

We now apply the first-order reduction scheme of Section 2 to a class of generalized real Schwarz–Christoffel integrals. This provides an explicit and important specialization of the general construction.

Let

(3.1) K⁡(x)=∏i=1N1(x−xi)αi​∏i=N1+1N(1−xi​x)βi,αi,βi∈ℝ,|αi|<1,|βi|<1,K(x)=\prod_{i=1}^{N_{1}}(x-x_{i})^{\alpha_{i}}\prod_{i=N_{1}+1}^{N}(1-x_{i}x)^{\beta_{i}},\qquad\alpha_{i},\beta_{i}\in\mathbb{R},\qquad|\alpha_{i}|<1,\quad|\beta_{i}|<1,

and let the interval under consideration be chosen so that KK is real and nonzero. We consider integrals

(3.2) ∫R⁡(x)​K​(x)​𝑑x,\int R(x)K(x)\,dx,

where R⁡(x)R(x) is rational. By polynomial division and partial fraction decomposition, it is enough to consider the positive-index family

(3.3) In​(x)=∫xn​K​(x)​𝑑x,n≥0,I_{n}(x)=\int x^{n}K(x)\,dx,\qquad n\geq 0,

and the negative-index families

(3.4) In,p​(x)=∫(x−p)n​K​(x)​𝑑x,n<0,I_{n,p}(x)=\int(x-p)^{n}K(x)\,dx,\qquad n<0,

where pp is chosen away from the zeros of the polynomial factor introduced below.

The connection with the classical Schwarz–Christoffel and Lauricella settings is described in [7, 18, 14].

3.1. The polynomial factor

Set

(3.5) P⁡(x)=∏i=1N1(x−xi)​∏i=N1+1N(1−xi​x).P(x)=\prod_{i=1}^{N_{1}}(x-x_{i})\prod_{i=N_{1}+1}^{N}(1-x_{i}x).

Then

K1​(x)=P⁡(x)​K​(x)K_{1}(x)=P(x)K(x)

and, provided

λ:=(−1)N−N1​∏i=N1+1Nxi≠0,\lambda:=(-1)^{N-N_{1}}\prod_{i=N_{1}+1}^{N}x_{i}\neq 0,

we have

deg⁡P=N.\operatorname{deg}P=N.

Moreover,

(3.6) K′​(x)K⁡(x)=∑i=1N1αix−xi−∑i=N1+1Nβi​xi1−xi​x.\frac{K^{\prime}(x)}{K(x)}=\sum_{i=1}^{N_{1}}\frac{\alpha_{i}}{x-x_{i}}-\sum_{i=N_{1}+1}^{N}\frac{\beta_{i}x_{i}}{1-x_{i}x}.

Thus, in the notation of Section 2, we may take

(3.7) B⁡(x)=P⁡(x),A⁡(x)=P⁡(x)​K′​(x)K⁡(x).B(x)=P(x),\qquad A(x)=P(x)\frac{K^{\prime}(x)}{K(x)}.

Explicitly,

(3.8) A⁡(x)=∑i=1N1αi​P⁡(x)x−xi−∑i=N1+1Nβi​xi​P⁡(x)1−xi​x.A(x)=\sum_{i=1}^{N_{1}}\alpha_{i}\frac{P(x)}{x-x_{i}}-\sum_{i=N_{1}+1}^{N}\beta_{i}x_{i}\frac{P(x)}{1-x_{i}x}.

Hence A⁡(x)A(x) is a polynomial.

The polynomial occurring in the differential identity is

(3.9) W⁡(x)=B′​(x)+A⁡(x)=P′​(x)+P⁡(x)​K′​(x)K⁡(x).W(x)=B^{\prime}(x)+A(x)=P^{\prime}(x)+P(x)\frac{K^{\prime}(x)}{K(x)}.

Equivalently,

(3.10) W⁡(x)=[∑i=1N1αi+1x−xi−∑i=N1+1Nxi​(βi+1)1−xi​x]​P​(x),W(x)=\left[\sum_{i=1}^{N_{1}}\frac{\alpha_{i}+1}{x-x_{i}}-\sum_{i=N_{1}+1}^{N}\frac{x_{i}(\beta_{i}+1)}{1-x_{i}x}\right]P(x),

and therefore W⁡(x)W(x) is a polynomial of degree at most N−1N-1.

Put

λ=(−1)N−N1​∏i=N1+1Nxi,\lambda=(-1)^{N-N_{1}}\prod_{i=N_{1}+1}^{N}x_{i},

which is the leading coefficient lc⁡(P)\operatorname{lc}(P) of PP. Then

(3.11) lc⁡(W)=λ⁡(N+∑i=1N1αi+∑i=N1+1Nβi).\operatorname{lc}(W)=\lambda\left(N+\sum_{i=1}^{N_{1}}\alpha_{i}+\sum_{i=N_{1}+1}^{N}\beta_{i}\right).

3.2. The fundamental identity

Fix p∈ℝp\in\mathbb{R} such that

P⁡(p)≠0P(p)\neq 0

and put

u=x−p.u=x-p.

The fundamental identity of Section 2 becomes

(3.12) dd​x​(un​P​(x)​K​(x))=[n​un−1​P​(x)+un​W​(x)]​K​(x).\frac{d}{dx}\left(u^{n}P(x)K(x)\right)=\left[nu^{n-1}P(x)+u^{n}W(x)\right]K(x).

Write

P⁡(x)=∑j=0Naj​uj,W⁡(x)=∑j=0N−1bj​uj.P(x)=\sum_{j=0}^{N}a_{j}u^{j},\qquad W(x)=\sum_{j=0}^{N-1}b_{j}u^{j}.

Then

aN=λ,bN−1=λ⁡(N+∑i=1N1αi+∑i=N1+1Nβi).a_{N}=\lambda,\qquad b_{N-1}=\lambda\left(N+\sum_{i=1}^{N_{1}}\alpha_{i}+\sum_{i=N_{1}+1}^{N}\beta_{i}\right).

Consequently, in the notation of Section 2,

h=N.h=N.

3.3. Positive powers

For the positive-index sector we put p=0p=0, so that u=xu=x, and write

In=∫xn​K​(x)​𝑑x.I_{n}=\int x^{n}K(x)\,dx.

For every m≥Nm\geq N, define

(3.13) ϕm​(x)=∑l=m−Nm[(m−N+1)​al−m+N+bl−m+N−1]​xl.\phi_{m}(x)=\sum_{l=m-N}^{m}\left[(m-N+1)a_{l-m+N}+b_{l-m+N-1}\right]x^{l}.

For the initial indices

0≤m≤N−1,0\leq m\leq N-1,

put

ϕm​(x)=xm.\phi_{m}(x)=x^{m}.

By the differential identity,

(3.14) ∫ϕm​(x)​K​(x)​𝑑x=xm−N+1​P​(x)​K​(x)+C,m≥N.\int\phi_{m}(x)K(x)\,dx=x^{m-N+1}P(x)K(x)+C,\qquad m\geq N.

The coefficient of xmx^{m} in ϕm\phi_{m} is

(3.15) δm=(m−N+1)​aN+bN−1.\delta_{m}=(m-N+1)a_{N}+b_{N-1}.

Using (3.2), this becomes

(3.16) δm=λ⁡[m+1+∑i=1N1αi+∑i=N1+1Nβi].\delta_{m}=\lambda\left[m+1+\sum_{i=1}^{N_{1}}\alpha_{i}+\sum_{i=N_{1}+1}^{N}\beta_{i}\right].

Thus an index m≥Nm\geq N is nonresonant whenever

(3.17) m+1+∑i=1N1αi+∑i=N1+1Nβi≠0.m+1+\sum_{i=1}^{N_{1}}\alpha_{i}+\sum_{i=N_{1}+1}^{N}\beta_{i}\neq 0.

Since the left-hand side is affine in mm, there is at most one resonant index.

Proposition 3.1.

Assume that (3.17) holds for every m≥Nm\geq N. Then

{ϕm}m≥0\{\phi_{m}\}_{m\geq 0}

is a basis of ℝ⁡[x]\mathbb{R}[x], and every positive-index integral ImI_{m}, m≥Nm\geq N, is reducible to

I0,…,IN−1I_{0},\ldots,I_{N-1}

and explicit boundary terms.

Proof.

For 0≤m≤N−10\leq m\leq N-1, the functions ϕm\phi_{m} are the monomials. For m≥Nm\geq N, condition (3.17) gives

deg⁡ϕm=m.\operatorname{deg}\phi_{m}=m.

Hence the transition matrix from the monomial basis to the adapted basis is triangular with nonzero diagonal on every finite principal truncation. The reduction follows from (3.14). ∎

3.4. The transition matrix

Let

𝒜=(𝒜l,m)l,m≥0\mathcal{A}=(\mathcal{A}_{l,m})_{l,m\geq 0}

denote the infinite transition matrix from the monomial basis

γm​(x)=xm\gamma_{m}(x)=x^{m}

to the adapted basis

{ϕm​(x)}m≥0.\{\phi_{m}(x)\}_{m\geq 0}.

Then

(3.18) 𝒜l,m={δl,m,0≤m≤N−1,0,l>m​or​l<m−N,(m−N+1)​al−m+N+bl−m+N−1,m≥N.\mathcal{A}_{l,m}=\begin{cases}\delta_{l,m},&0\leq m\leq N-1,\\[2.84526pt] 0,&l>m\ \text{or}\ l<m-N,\\[2.84526pt] (m-N+1)a_{l-m+N}+b_{l-m+N-1},&m\geq N.\end{cases}

Thus 𝒜\mathcal{A} is upper triangular and banded.

For a fixed M≥0M\geq 0, let

𝒜[M]=(𝒜l,m)0≤l,m≤M\mathcal{A}^{[M]}=(\mathcal{A}_{l,m})_{0\leq l,m\leq M}

be its finite principal truncation. Since 𝒜[M]\mathcal{A}^{[M]} is upper triangular,

det𝒜[M]=∏m=0M𝒜m,m.\det\mathcal{A}^{[M]}=\prod_{m=0}^{M}\mathcal{A}_{m,m}.

Consequently,

𝒜[M]​ is nonsingular⇔𝒜m,m≠0for all ​0≤m≤M.\mathcal{A}^{[M]}\text{ is nonsingular}\iff\mathcal{A}_{m,m}\neq 0\quad\text{for all }0\leq m\leq M.

For M≥NM\geq N, the finite truncation has the block form

𝒜[M]=(IE[M]0D[M]),\mathcal{A}^{[M]}=\left(\begin{array}[]{cc}I&E^{[M]}\\[5.69054pt] 0&D^{[M]}\end{array}\right),

where D[M]D^{[M]} is upper triangular and banded. Hence

(3.19) (𝒜[M])−1=(I−E[M]​(D[M])−10(D[M])−1).\left(\mathcal{A}^{[M]}\right)^{-1}=\left(\begin{array}[]{cc}I&-\,E^{[M]}\left(D^{[M]}\right)^{-1}\\[5.69054pt] 0&\left(D^{[M]}\right)^{-1}\end{array}\right).

For the reduction of a fixed target integral, only the corresponding column of (𝒜[M])−1\left(\mathcal{A}^{[M]}\right)^{-1} is required.

3.5. Negative powers

Let p∈ℝp\in\mathbb{R} satisfy

P⁡(p)≠0.P(p)\neq 0.

For n≤−2n\leq-2, define

(3.20) ψn​(u)=∑l=nn+N[(n+1)​al−n+bl−n−1]​ul.\psi_{n}(u)=\sum_{l=n}^{n+N}\left[(n+1)a_{l-n}+b_{l-n-1}\right]u^{l}.

Then

(3.21) ∫ψn​(u)​K​(x)​𝑑x=un+1​P​(x)​K​(x)+C.\int\psi_{n}(u)K(x)\,dx=u^{n+1}P(x)K(x)+C.

The coefficient of the lowest power unu^{n} is

(n+1)​a0=(n+1)​P​(p),(n+1)a_{0}=(n+1)P(p),

and is therefore nonzero for every n≤−2n\leq-2. Hence the corresponding transition matrix is triangular and banded with nonzero diagonal.

Consequently, all negative-index integrals reduce to

I−1,pI_{-1,p}

and finitely many nonnegative-index integrals. In the nonresonant case, the natural basic family is

(3.22) ℬp={I−1,p,I0,…,IN−1,p}.\mathcal{B}_{p}=\left\{I_{-1,p},I_{0},\ldots,I_{N-1,p}\right\}.

3.6. Explicit example

Consider

(3.23) K(x)=(x−1)−1/3(x+1)−2/3(x−2)−2/5(x+3)−3/4(x−4)−1/3.K(x)=(x-1)^{-1/3}(x+1)^{-2/3}(x-2)^{-2/5}(x+3)^{-3/4}(x-4)^{-1/3}.

Then N=5N=5 and

K1​(x)=(x−1)2/3​(x+1)1/3​(x−2)3/5​(x+3)1/4​(x−4)2/3.K_{1}(x)=(x-1)^{2/3}(x+1)^{1/3}(x-2)^{3/5}(x+3)^{1/4}(x-4)^{2/3}.

For n=4n=4 the construction gives

∫x4​K​(x)​𝑑x=\displaystyle\int x^{4}K(x)\,dx={} −1032151∫K(x)dx−1326151∫xK(x)dx+1303151∫x2K(x)dx\displaystyle-\frac{1032}{151}\int K(x)\,dx-\frac{1326}{151}\int xK(x)\,dx+\frac{1303}{151}\int x^{2}K(x)\,dx
(3.24) +246151∫x3K(x)dx+60151K1(x)+C.\displaystyle+\frac{246}{151}\int x^{3}K(x)\,dx+\frac{60}{151}K_{1}(x)+C.

For n=5n=5,

∫x5​K​(x)​𝑑x=\displaystyle\int x^{5}K(x)\,dx={} −22219231861∫K(x)dx−81130831861∫xK(x)dx+11023231861∫x2K(x)dx\displaystyle-\frac{222192}{31861}\int K(x)\,dx-\frac{811308}{31861}\int xK(x)\,dx+\frac{110232}{31861}\int x^{2}K(x)\,dx
(3.25) +40120931861∫x3K(x)dx+2556031861K1(x)+60211xK1(x)+C.\displaystyle+\frac{401209}{31861}\int x^{3}K(x)\,dx+\frac{25560}{31861}K_{1}(x)+\frac{60}{211}xK_{1}(x)+C.

For the negative-index sector, choose p=−2p=-2. Then

∫(x+2)−2​K​(x)​𝑑x=\displaystyle\int(x+2)^{-2}K(x)\,dx={} 914320​∫(x+2)3​K​(x)​𝑑x−3372160​∫(x+2)2​K​(x)​𝑑x\displaystyle\frac{91}{4320}\int(x+2)^{3}K(x)\,dx-\frac{337}{2160}\int(x+2)^{2}K(x)\,dx
+6174320∫(x+2)K(x)dx+11472160∫K(x)dx\displaystyle+\frac{617}{4320}\int(x+2)K(x)\,dx+\frac{1147}{2160}\int K(x)\,dx
(3.26) +1160∫(x+2)−1K(x)dx−172(x+2)−2K1(x)+C.\displaystyle+\frac{11}{60}\int(x+2)^{-1}K(x)\,dx-\frac{1}{72}(x+2)^{-2}K_{1}(x)+C.

After expanding

(x+2)3=x3+6​x2+12​x+8,(x+2)2=x2+4​x+4,(x+2)^{3}=x^{3}+6x^{2}+12x+8,\qquad(x+2)^{2}=x^{2}+4x+4,

and collecting terms, we obtain

∫(x+2)−2​K​(x)​𝑑x=\displaystyle\int(x+2)^{-2}K(x)\,dx={} 914320​∫x3​K​(x)​𝑑x−4135​∫x2​K​(x)​𝑑x−3291440​∫x​K​(x)​𝑑x\displaystyle\frac{91}{4320}\int x^{3}K(x)\,dx-\frac{4}{135}\int x^{2}K(x)\,dx-\frac{329}{1440}\int xK(x)\,dx
(3.27) +1336∫K(x)dx+1160∫(x+2)−1K(x)dx−172(x+2)−2K1(x)+C.\displaystyle+\frac{13}{36}\int K(x)\,dx+\frac{11}{60}\int(x+2)^{-1}K(x)\,dx-\frac{1}{72}(x+2)^{-2}K_{1}(x)+C.

4. Algebraic logarithmic derivatives

We now extend the scalar reduction scheme of Section 2 to the case in which the logarithmic derivative of the function KK is algebraic over ℝ⁡(x)\mathbb{R}(x). The point of passing to an algebraic extension is that an algebraic logarithmic derivative can be represented in a finite-dimensional vector space over ℝ⁡(x)\mathbb{R}(x). The scalar moment relations are then replaced naturally by vector relations and block-band matrices.

Let

L/ℝ⁡(x)L/\mathbb{R}(x)

be a finite algebraic extension of degree

d=[L:ℝ(x)]<∞,d=[L:\mathbb{R}(x)]<\infty,

and assume that KK is a nonzero differentiable function on an interval J⊂ℝJ\subset\mathbb{R} such that

(4.1) ρ⁡(x):=K′​(x)K⁡(x)∈L.\rho(x):=\frac{K^{\prime}(x)}{K(x)}\in L.

Choose a basis

v1,…,vdv_{1},\ldots,v_{d}

of LL over ℝ⁡(x)\mathbb{R}(x) and put

𝐯⁡(x)=(v1​(x)⋮vd​(x)).\mathbf{v}(x)=\left(\begin{array}[]{c}v_{1}(x)\\ \vdots\\ v_{d}(x)\end{array}\right).

Since the derivation d/d​xd/dx on ℝ⁡(x)\mathbb{R}(x) extends uniquely to the finite algebraic extension LL, we have

dd​x​L⊆L.\frac{d}{dx}L\subseteq L.

Consequently, for the chosen basis v1,…,vdv_{1},\ldots,v_{d} of LL over ℝ⁡(x)\mathbb{R}(x), there exists a matrix

M⁡(x)∈Md​(ℝ⁡(x))M(x)\in M_{d}(\mathbb{R}(x))

such that

(4.2) 𝐯′​(x)=M⁡(x)​𝐯​(x).\mathbf{v}^{\prime}(x)=M(x)\mathbf{v}(x).

Multiplication by ρ\rho is an ℝ⁡(x)\mathbb{R}(x)-linear endomorphism of LL. Hence there exists a matrix

R⁡(x)∈Md​(ℝ⁡(x))R(x)\in M_{d}(\mathbb{R}(x))

such that

(4.3) ρ⁡(x)​𝐯​(x)=R⁡(x)​𝐯​(x).\rho(x)\mathbf{v}(x)=R(x)\mathbf{v}(x).

Therefore

(4.4) dd​x​(𝐯⁡(x)​K​(x))=H⁡(x)​𝐯​(x)​K​(x),H⁡(x)=M⁡(x)+R⁡(x).\frac{d}{dx}\bigl(\mathbf{v}(x)K(x)\bigr)=H(x)\mathbf{v}(x)K(x),\qquad H(x)=M(x)+R(x).

Choose a nonzero polynomial

q⁡(x)∈ℝ⁡[x]q(x)\in\mathbb{R}[x]

which clears the denominators of the entries of H⁡(x)H(x), and set

G⁡(x)=q⁡(x)​H​(x)∈Md​(ℝ⁡[x]),Q⁡(x)=q′​(x)​Id+G⁡(x).G(x)=q(x)H(x)\in M_{d}(\mathbb{R}[x]),\qquad Q(x)=q^{\prime}(x)I_{d}+G(x).
Proposition 4.1.

For every n≥0n\geq 0,

(4.5) dd​x​(xn​q​(x)​𝐯​(x)​K​(x))=[n​xn−1​q​(x)​Id+xn​Q​(x)]​𝐯​(x)​K​(x).\frac{d}{dx}\left(x^{n}q(x)\mathbf{v}(x)K(x)\right)=\left[nx^{n-1}q(x)I_{d}+x^{n}Q(x)\right]\mathbf{v}(x)K(x).
Proof.

The identity follows immediately from the product rule and (4.4). ∎

Write

q⁡(x)=∑j=0bqj​xj,Q⁡(x)=∑j=0wQj​xj,q(x)=\sum_{j=0}^{b}q_{j}x^{j},\qquad Q(x)=\sum_{j=0}^{w}Q_{j}x^{j},

where Qj∈Md​(ℝ)Q_{j}\in M_{d}(\mathbb{R}), and define

𝐈n​(x)=∫xn​𝐯​(x)​K​(x)​𝑑x.\mathbf{I}_{n}(x)=\int x^{n}\mathbf{v}(x)K(x)\,dx.
Theorem 4.2 (Block-band reduction).

Under the assumptions above, the vector moments satisfy the finite block recurrence

(4.6) ∑j=0bn​qj​𝐈n+j−1+∑j=0wQj​𝐈n+j=xn​q​(x)​𝐯​(x)​K​(x)+𝐂.\sum_{j=0}^{b}nq_{j}\mathbf{I}_{n+j-1}+\sum_{j=0}^{w}Q_{j}\mathbf{I}_{n+j}=x^{n}q(x)\mathbf{v}(x)K(x)+\mathbf{C}.

Consequently, after ordering the relations according to their largest moment index, one obtains a finite block-band system with blocks of size d×dd\times d.

Proof.

Expanding (4.5) and integrating with respect to xx gives (4.6). Only finitely many shifts occur, so the resulting system is block-banded. The dependence on nn is affine. ∎

Let 𝒟m\mathcal{D}_{m} denote the diagonal block corresponding to the highest-index vector 𝐈m\mathbf{I}_{m} in the triangularly ordered system.

Proposition 4.3.

Suppose that

det𝒟m\det\mathcal{D}_{m}

is not identically zero as a polynomial in mm. Then only finitely many indices are resonant, and for every nonresonant index the corresponding relation can be solved for 𝐈m\mathbf{I}_{m}.

Proof.

The determinant det𝒟m\det\mathcal{D}_{m} is a nonzero polynomial in mm and therefore has only finitely many zeros. At every nonresonant index the diagonal block is invertible, which allows the recurrence to be solved for the highest-index vector moment. ∎

4.1. Resonant blocks and partial elimination

At a resonant index the diagonal block need not be invertible, but this does not mean that the whole vector moment has to be added to the basic family. After the lower-index moments have already been reduced, the block row at index mm can be written in the form

(4.7) 𝒟m​𝐈m=𝐑m,\mathcal{D}_{m}\mathbf{I}_{m}=\mathbf{R}_{m},

where 𝐑m\mathbf{R}_{m} contains only lower-index vector moments and explicit boundary terms.

Assume that

rank⁡𝒟m=r<d.\operatorname{rank}\mathcal{D}_{m}=r<d.

Row reduction of 𝒟m\mathcal{D}_{m} separates the columns into a set of pivot columns PmP_{m} and a set of free columns FmF_{m}. The components of 𝐈m\mathbf{I}_{m} corresponding to PmP_{m} can then be expressed in terms of 𝐑m\mathbf{R}_{m} and the components corresponding to FmF_{m}. Thus a singular diagonal block leaves only the free components unresolved at that stage.

Proposition 4.4.

Let 𝒟m\mathcal{D}_{m} be a singular diagonal block of rank rr. The block row (4.7) leaves at most d−rd-r independent components of 𝐈m\mathbf{I}_{m} undetermined. Equivalently, after row reduction, all pivot components can be eliminated in favour of lower-index moments, explicit boundary terms, and the free components.

Proof.

Apply elementary row operations to (4.7). Since row operations preserve the solution set, the reduced system has rr pivot columns and d−rd-r free columns. Each pivot variable is determined by one pivot equation in terms of the right-hand side and the free variables. Hence only the components indexed by the free columns may remain undetermined. ∎

The block-band structure provides additional information that is not visible in the single row (4.7). A free component may occur with nonzero coefficient in one of the neighbouring block rows. We therefore use the following elimination rule at a resonant index: first determine the pivot and free columns of 𝒟m\mathcal{D}_{m}; next eliminate all pivot components; then inspect the finitely many neighbouring block relations and use them, whenever possible, to eliminate the remaining free components. Only those independent free components which cannot be removed by this neighbouring elimination are retained as additional basic integrals.

This procedure is the block analogue of retaining a resonant scalar moment in the basic family, but it can be strictly more economical: a singular d×dd\times d block need not contribute all dd components, and neighbouring relations may reduce the number of additional basic integrals below d−rd-r.

4.2. The algebraic family yd=q⁡(x)y^{d}=q(x)

We now consider the particularly transparent family

(4.8) yd=q⁡(x),K′​(x)K⁡(x)=y,y^{d}=q(x),\qquad\frac{K^{\prime}(x)}{K(x)}=y,

where q⁡(x)∈ℝ⁡[x]q(x)\in\mathbb{R}[x] and the extension generated by yy has degree dd over ℝ⁡(x)\mathbb{R}(x). Symbolic integration of algebraic functions is classically based on Hermite-type and related reduction procedures; see [19, 4, 15]. Our approach differs in that we organize the corresponding moments into a finite block-band system.

Differentiating yd=q⁡(x)y^{d}=q(x) gives

(4.9) y′=q′​(x)d​q​(x)​y.y^{\prime}=\frac{q^{\prime}(x)}{d\,q(x)}\,y.

Hence

V=spanℝ⁡(x)⁡{1,y,…,yd−1}V=\operatorname{span}_{\mathbb{R}(x)}\{1,y,\ldots,y^{d-1}\}

is stable under differentiation.

Define

In(j)=∫xn​yj​K​(x)​𝑑x,0≤j≤d−1.I_{n}^{(j)}=\int x^{n}y^{j}K(x)\,dx,\qquad 0\leq j\leq d-1.

For 0≤j≤d−20\leq j\leq d-2,

(4.10) dd​x​(xn​yj​K​(x))=(n​xn−1​yj+jd​xn​yj​q′​(x)q⁡(x)+xn​yj+1)​K​(x).\frac{d}{dx}\left(x^{n}y^{j}K(x)\right)=\left(nx^{n-1}y^{j}+\frac{j}{d}x^{n}y^{j}\frac{q^{\prime}(x)}{q(x)}+x^{n}y^{j+1}\right)K(x).

After multiplication by q⁡(x)q(x), all coefficients are polynomial. For j=d−1j=d-1, the relation closes using

yd=q⁡(x).y^{d}=q(x).

Thus the families

{In(j)}n≥0,0≤j≤d−1,\{I_{n}^{(j)}\}_{n\geq 0},\qquad 0\leq j\leq d-1,

satisfy a finite block-band recurrence.

4.3. The model case yd=xy^{d}=x

Consider

(4.11) yd=x,K′​(x)K⁡(x)=y.y^{d}=x,\qquad\frac{K^{\prime}(x)}{K(x)}=y.

Then

y′=1d​x​y.y^{\prime}=\frac{1}{dx}y.

For

In(j)=∫xn​yj​K​(x)​𝑑xI_{n}^{(j)}=\int x^{n}y^{j}K(x)\,dx

we obtain, for 0≤j≤d−20\leq j\leq d-2,

(4.12) (n+jd)​In−1(j)+In(j+1)=xn​yj​K​(x)+C,\left(n+\frac{j}{d}\right)I_{n-1}^{(j)}+I_{n}^{(j+1)}=x^{n}y^{j}K(x)+C,

while

(4.13) (n+d−1d)​In−1(d−1)+In+1(0)=xn​yd−1​K​(x)+C.\left(n+\frac{d-1}{d}\right)I_{n-1}^{(d-1)}+I_{n+1}^{(0)}=x^{n}y^{d-1}K(x)+C.

These relations form a finite cyclic block system.

Example 4.1.

Consider the quadratic extension

y2=xy^{2}=x

and choose

K′​(x)K⁡(x)=y=x.\frac{K^{\prime}(x)}{K(x)}=y=\sqrt{x}.

On x>0x>0 we may take

K⁡(x)=exp⁡(23​x3/2).K(x)=\exp\left(\frac{2}{3}x^{3/2}\right).

Define

In=∫xn​K​(x)​𝑑x,Jn=∫xn​y​K​(x)​𝑑x.I_{n}=\int x^{n}K(x)\,dx,\qquad J_{n}=\int x^{n}yK(x)\,dx.

Then

(4.14) n​In−1+Jn\displaystyle nI_{n-1}+J_{n} =xn​K​(x)+C,\displaystyle=x^{n}K(x)+C,
(4.15) (n+12)​Jn−1+In+1\displaystyle\left(n+\frac{1}{2}\right)J_{n-1}+I_{n+1} =xn​y​K​(x)+C.\displaystyle=x^{n}yK(x)+C.

Using (4.14) with nn replaced by n−1n-1, we obtain

Jn−1=xn−1​K​(x)−(n−1)​In−2.J_{n-1}=x^{n-1}K(x)-(n-1)I_{n-2}.

Substitution into (4.15) gives

(4.16) In+1=(n+12)​(n−1)​In−2+xn​y​K​(x)−(n+12)​xn−1​K​(x)+C.I_{n+1}=\left(n+\frac{1}{2}\right)(n-1)I_{n-2}+x^{n}yK(x)-\left(n+\frac{1}{2}\right)x^{n-1}K(x)+C.

Thus the auxiliary family {Jn}\{J_{n}\} can be eliminated and the scalar moments satisfy a finite-band recurrence. This is an explicit instance of the neighbouring elimination described above: although the natural block formulation is singular, a component not determined by one block row is eliminated using the adjacent relation. In particular, the moments are recursively determined by the initial integrals

I0,I1,I2.I_{0},\qquad I_{1},\qquad I_{2}.

5. Reduction from polynomial-coefficient differential equations

The first-order construction of Section 2 admits a broader formulation which does not require the logarithmic derivative of KK to be rational. We now assume that KK satisfies a linear differential equation with polynomial coefficients. This places the reduction procedure in the standard holonomic framework; see, for example, [1, 6, 21].

Suppose that

(5.1) ar​(x)​K(r)​(x)+ar−1​(x)​K(r−1)​(x)+⋯+a1​(x)​K′​(x)+a0​(x)​K​(x)=0,a_{r}(x)K^{(r)}(x)+a_{r-1}(x)K^{(r-1)}(x)+\cdots+a_{1}(x)K^{\prime}(x)+a_{0}(x)K(x)=0,

where

aj​(x)∈ℝ⁡[x],ar​(x)≢0.a_{j}(x)\in\mathbb{R}[x],\qquad a_{r}(x)\not\equiv 0.

Write

(5.2) aj​(x)=∑s=0djaj,s​xs,dj=deg⁡aj.a_{j}(x)=\sum_{s=0}^{d_{j}}a_{j,s}x^{s},\qquad d_{j}=\operatorname{deg}a_{j}.

For n≥0n\geq 0, define

In​(x)=∫xn​K​(x)​𝑑x.I_{n}(x)=\int x^{n}K(x)\,dx.

We first record the repeated integration-by-parts identity used below.

Lemma 5.1.

For j≥1j\geq 1 and s≥0s\geq 0,

∫xn+s​K(j)​(x)​𝑑x=\displaystyle\int x^{n+s}K^{(j)}(x)\,dx={} ∑t=0j−1(−1)t​(n+s)t¯​xn+s−t​K(j−1−t)​(x)\displaystyle\sum_{t=0}^{j-1}(-1)^{t}(n+s)_{\underline{t}}x^{n+s-t}K^{(j-1-t)}(x)
(5.3) +(−1)j​(n+s)j¯​In+s−j​(x),\displaystyle+(-1)^{j}(n+s)_{\underline{j}}I_{n+s-j}(x),

where

(t)j¯=t(t−1)⋯(t−j+1),(t)0¯=1.(t)_{\underline{j}}=t(t-1)\cdots(t-j+1),\qquad(t)_{\underline{0}}=1.
Proof.

The identity follows by repeated integration by parts. For j=1j=1,

∫xn+s​K′​(x)​𝑑x=xn+s​K​(x)−(n+s)​In+s−1​(x).\int x^{n+s}K^{\prime}(x)\,dx=x^{n+s}K(x)-(n+s)I_{n+s-1}(x).

The general case follows by induction on jj. ∎

5.1. Moment recurrence

The passage from linear differential equations to recurrences for integral families is related to the holonomic approach to symbolic summation and integration; see, for example, [6]. Our construction emphasizes the resulting finite-band structure and its use for the reduction of moments to a finite basic family.

Theorem 5.1 (Moment recurrence).

Under the assumptions (5.1), the moments InI_{n} satisfy a finite recurrence

(5.4) ∑kCk​(n)​In+k​(x)=En​(x),\sum_{k}C_{k}(n)I_{n+k}(x)=E_{n}(x),

where Ck​(n)∈ℝ​[n]C_{k}(n)\in\mathbb{R}[n] and En​(x)E_{n}(x) is an explicit linear combination of

xm​K​(x),xm​K′​(x),…,xm​K(r−1)​(x).x^{m}K(x),\,x^{m}K^{\prime}(x),\,\ldots,\,x^{m}K^{(r-1)}(x).

More precisely,

(5.5) Ck​(n)=∑0≤j≤r0≤s≤djs−j=k(−1)j​aj,s​(n+s)j¯.C_{k}(n)=\sum_{\begin{subarray}{c}0\leq j\leq r\\ 0\leq s\leq d_{j}\\ s-j=k\end{subarray}}(-1)^{j}a_{j,s}(n+s)_{\underline{j}}.

Only finitely many coefficients CkC_{k} are nonzero. Their possible shifts satisfy

(5.6) −r≤k≤max0≤j≤r⁡(dj−j).-r\leq k\leq\max_{0\leq j\leq r}(d_{j}-j).
Proof.

Multiply (5.1) by xnx^{n} and integrate. For each term aj,s​xn+s​K(j)​(x)a_{j,s}x^{n+s}K^{(j)}(x) with j≥1j\geq 1, apply Lemma 5.1. The terms containing derivatives of KK of order at most r−1r-1 form the explicit boundary expression En​(x)E_{n}(x). The remaining integral term is

(−1)j​aj,s​(n+s)j¯​In+s−j​(x).(-1)^{j}a_{j,s}(n+s)_{\underline{j}}I_{n+s-j}(x).

Grouping terms with the same shift

k=s−jk=s-j

gives (5.4) and (5.5). Since

0≤j≤r,0≤s≤dj,0\leq j\leq r,\qquad 0\leq s\leq d_{j},

the possible shifts satisfy (5.6). ∎

5.2. Recurrence width

The interval in (5.6) gives only an a priori bound, since different contributions to the same coefficient may cancel. We therefore distinguish the actual recurrence from this formal bound.

Definition 5.2.

Let

ℓ=min⁡{k:Ck≢0},u=max⁡{k:Ck≢0}.\ell=\min\{k:C_{k}\not\equiv 0\},\qquad u=\max\{k:C_{k}\not\equiv 0\}.

The number

ω=u−ℓ\omega=u-\ell

is called the recurrence width. We also define the a priori recurrence width by

ωap=r+max0≤j≤r⁡(dj−j).\omega_{\mathrm{ap}}=r+\max_{0\leq j\leq r}(d_{j}-j).
Proposition 5.2.

The recurrence width satisfies

(5.7) ω≤ωap.\omega\leq\omega_{\mathrm{ap}}.

The inequality may be strict because of cancellations between different contributions to the coefficients Ck​(n)C_{k}(n).

Proof.

By (5.6),

ℓ≥−r,u≤max0≤j≤r⁡(dj−j).\ell\geq-r,\qquad u\leq\max_{0\leq j\leq r}(d_{j}-j).

Hence

ω=u−ℓ≤r+max0≤j≤r⁡(dj−j).\omega=u-\ell\leq r+\max_{0\leq j\leq r}(d_{j}-j).

∎

5.3. Finite reduction

The finite recurrence leads to an effective reduction whenever its highest-shift coefficient does not vanish.

Theorem 5.3 (Finite reduction).

Assume that

Cu​(n)≢0.C_{u}(n)\not\equiv 0.

Let

ℰ={n∈ℤ≥0:Cu​(n)=0}.\mathcal{E}=\{n\in\mathbb{Z}_{\geq 0}:C_{u}(n)=0\}.

Then ℰ\mathcal{E} is finite. For every n∉ℰn\notin\mathcal{E},

(5.8) In+u(x)=−1Cu​(n)∑k=ℓu−1Ck(n)In+k(x)+En​(x)Cu​(n).I_{n+u}(x)=-\frac{1}{C_{u}(n)}\sum_{k=\ell}^{u-1}C_{k}(n)I_{n+k}(x)+\frac{E_{n}(x)}{C_{u}(n)}.

Consequently, after excluding the finitely many resonant indices, all sufficiently large moments can be reduced recursively to a finite set of initial moments and explicit boundary terms.

Proof.

Since Cu​(n)C_{u}(n) is a nonzero polynomial in nn, it has only finitely many integer zeros. For n∉ℰn\notin\mathcal{E}, equation (5.4) can be solved for In+uI_{n+u}, which gives (5.8). All moments on the right-hand side have smaller index than n+un+u. Repeated application therefore gives the asserted finite reduction. ∎

Remark 5.3.

The elements of ℰ\mathcal{E} will be called resonant indices. The recurrence itself remains valid at such indices, but the displayed form (5.8) cannot be used there. A resonant moment may be retained as an additional basic integral.

5.4. A matrix formulation

The recurrence (5.4) can be represented by a triangular band system after the moments are ordered by increasing index. For a fixed target index MM, only finitely many rows and columns are required. Let

ℳ[M]\mathcal{M}^{[M]}

denote the corresponding finite truncation.

The resulting finite linear systems are triangular band systems for which backward substitution is standard; see, for example, [16, 17].

If all diagonal entries of ℳ[M]\mathcal{M}^{[M]} are nonzero, then

detℳ[M]=∏iℳi,i[M]≠0.\det\mathcal{M}^{[M]}=\prod_{i}\mathcal{M}^{[M]}_{i,i}\neq 0.

Hence the truncation is nonsingular. The reduction coefficients for the target moment are obtained from the corresponding column by backward substitution. Thus, as in Section 2, no inverse of an infinite matrix is required.

5.5. Relation with the first-order case

The first-order construction of Section 2 is recovered by taking r=1r=1 and

B⁡(x)​K′​(x)−A⁡(x)​K​(x)=0.B(x)K^{\prime}(x)-A(x)K(x)=0.

Thus

a1​(x)=B⁡(x),a0​(x)=−A⁡(x).a_{1}(x)=B(x),\qquad a_{0}(x)=-A(x).

The resulting recurrence is equivalent to

dd​x​(xn​B​(x)​K​(x))=[n​xn−1​B​(x)+xn​(B′​(x)+A⁡(x))]​K​(x).\frac{d}{dx}\left(x^{n}B(x)K(x)\right)=\left[nx^{n-1}B(x)+x^{n}(B^{\prime}(x)+A(x))\right]K(x).

Hence the finite-band construction of Section 2 is the first-order case of the present differential-equation formulation.

5.6. A Bessel-function example

Consider

K​(x)=J2​(x),K(x)=J_{2}(x),

where J2J_{2} is the Bessel function of the first kind. It satisfies the second-order differential equation

x2​K′′​(x)+x​K′​(x)+(x2−4)​K​(x)=0.x^{2}K^{\prime\prime}(x)+xK^{\prime}(x)+(x^{2}-4)K(x)=0.

Thus, in the notation of (5.1),

a2​(x)=x2,a1​(x)=x,a0​(x)=x2−4.a_{2}(x)=x^{2},\qquad a_{1}(x)=x,\qquad a_{0}(x)=x^{2}-4.

For

In​(x)=∫xn​J2​(x)​𝑑x,I_{n}(x)=\int x^{n}J_{2}(x)\,dx,

the general construction gives a finite recurrence. Indeed,

∫xn+2​K′′​(x)​𝑑x=xn+2​K′​(x)−(n+2)​xn+1​K​(x)+(n+2)​(n+1)​In​(x),\int x^{n+2}K^{\prime\prime}(x)\,dx=x^{n+2}K^{\prime}(x)-(n+2)x^{n+1}K(x)+(n+2)(n+1)I_{n}(x),

while

∫xn+1​K′​(x)​𝑑x=xn+1​K​(x)−(n+1)​In​(x).\int x^{n+1}K^{\prime}(x)\,dx=x^{n+1}K(x)-(n+1)I_{n}(x).

Substitution into the differential equation yields

In+2​(x)+((n+1)2−4)​In​(x)=(n+1)​xn+1​K​(x)−xn+2​K′​(x)+C.I_{n+2}(x)+\bigl((n+1)^{2}-4\bigr)I_{n}(x)=(n+1)x^{n+1}K(x)-x^{n+2}K^{\prime}(x)+C.

Equivalently,

(5.9) In+2​(x)=(n+1)​xn+1​J2​(x)−xn+2​J2′​(x)+(4−(n+1)2)​In​(x)+C.I_{n+2}(x)=(n+1)x^{n+1}J_{2}(x)-x^{n+2}J_{2}^{\prime}(x)+\bigl(4-(n+1)^{2}\bigr)I_{n}(x)+C.

Thus the moments split into two finite reduction chains according to parity. For example, repeated application of (5.9) gives

I6​(x)=\displaystyle I_{6}(x)={} (5​x5−63​x3+105​x)​J2​(x)\displaystyle\left(5x^{5}-63x^{3}+105x\right)J_{2}(x)
+(−x6+21​x4−105​x2)​J2′​(x)+315​I0​(x)+C.\displaystyle+\left(-x^{6}+21x^{4}-105x^{2}\right)J_{2}^{\prime}(x)+315I_{0}(x)+C.

Hence

∫x6​J2​(x)​𝑑x=\displaystyle\int x^{6}J_{2}(x)\,dx={} (5​x5−63​x3+105​x)​J2​(x)\displaystyle\left(5x^{5}-63x^{3}+105x\right)J_{2}(x)
+(−x6+21​x4−105​x2)​J2′​(x)+315​∫J2​(x)​dx+C.\displaystyle+\left(-x^{6}+21x^{4}-105x^{2}\right)J_{2}^{\prime}(x)+315\int J_{2}(x)\,dx+C.

Using

J2′​(x)=J1​(x)−J3​(x)2,J_{2}^{\prime}(x)=\frac{J_{1}(x)-J_{3}(x)}{2},

the same reduction may also be written as

∫x6​J2​(x)​𝑑x=\displaystyle\int x^{6}J_{2}(x)\,dx={} 315​∫J2​(x)​𝑑x\displaystyle 315\int J_{2}(x)\,dx
−12​x2​(x4−21​x2+105)​(J1​(x)−J3​(x))\displaystyle-\frac{1}{2}x^{2}\left(x^{4}-21x^{2}+105\right)\left(J_{1}(x)-J_{3}(x)\right)
+x⁡(5​x4−63​x2+105)​J2​(x)+C.\displaystyle+x\left(5x^{4}-63x^{2}+105\right)J_{2}(x)+C.

This example illustrates that the finite-band reduction is not confined to first-order hyperexponential factors. A second-order polynomial-coefficient differential equation for a classical special function produces an explicit finite recurrence and reduces a high-order moment to a finite basic family.

6. Algorithmic reduction and complexity

The finite-band structure developed above leads to an effective algorithm for reducing a prescribed moment. The computation can be performed directly from the recurrence relation. Equivalently, it can be interpreted as backward substitution in a finite triangular band system.

6.1. Scalar reduction algorithm

Consider a recurrence

(6.1) ∑k=ℓuCk​(n)​In+k​(x)=En​(x),\sum_{k=\ell}^{u}C_{k}(n)I_{n+k}(x)=E_{n}(x),

where

Cu​(n)≢0,C_{u}(n)\not\equiv 0,

and let

ℬ={Im1,…,Ims}\mathcal{B}=\{I_{m_{1}},\ldots,I_{m_{s}}\}

be a chosen finite set of basic moments.

For a fixed target index MM, we assume that

Cu​(n)≠0C_{u}(n)\neq 0

for all indices used in the reduction. The reduction is given by the following algorithm.

Algorithm 1 Direct scalar finite-band reduction
1: Recurrence coefficients Ck​(n)C_{k}(n), boundary terms En​(x)E_{n}(x), target index MM, and a basic family ℬ={Im1,…,Ims}\mathcal{B}=\{I_{m_{1}},\ldots,I_{m_{s}}\}.
2: A representation
IM=∑j=1srM,j​Imj+FM​(x).I_{M}=\sum_{j=1}^{s}r_{M,j}I_{m_{j}}+F_{M}(x).
3: Initialize the representation of each basic moment ImjI_{m_{j}} by the corresponding unit vector in ℝs\mathbb{R}^{s}.
4: for each non-basic index mm required to reach MM, in increasing order do
5:   Set n=m−un=m-u.
6:   if Cu​(n)=0C_{u}(n)=0 then
7:    Declare mm resonant and retain ImI_{m} as an additional basic moment.
8:   else
9:    Compute
Im=−1Cu​(n)∑k=ℓu−1Ck(n)In+k+En​(x)Cu​(n).I_{m}=-\frac{1}{C_{u}(n)}\sum_{k=\ell}^{u-1}C_{k}(n)I_{n+k}+\frac{E_{n}(x)}{C_{u}(n)}.
10:    Replace the moments on the right-hand side by their previously computed representations.   
11: Collect the coefficients of the basic moments and the explicit boundary terms.
Proposition 6.1.

Assume that no resonance is encountered in Algorithm 1. Then the algorithm terminates after finitely many steps and produces the unique representation of IMI_{M} obtained from the recurrence (6.1) and the prescribed basic family.

Proof.

At every nonresonant step, equation (6.1) can be solved for the highest-index moment:

Im=−1Cu​(n)∑k=ℓu−1Ck(n)In+k+En​(x)Cu​(n),n=m−u.I_{m}=-\frac{1}{C_{u}(n)}\sum_{k=\ell}^{u-1}C_{k}(n)I_{n+k}+\frac{E_{n}(x)}{C_{u}(n)},\qquad n=m-u.

All moments on the right-hand side have index strictly smaller than mm. Hence, when the moments are processed in increasing order, their representations have already been computed or belong to the prescribed basic family. Since the target index MM is finite, only finitely many steps are required. The representation is uniquely determined at each step because Cu​(n)≠0C_{u}(n)\neq 0. ∎

6.2. Finite matrix realization

The direct recurrence algorithm has an equivalent matrix interpretation. For a fixed target index MM, let

ℳ[M]\mathcal{M}^{[M]}

denote the finite triangular band matrix obtained from the recurrence by ordering the relations according to their largest moment index. The resulting finite linear systems are triangular band systems for which backward substitution is standard; see, for example, [16, 17].

If all diagonal entries of ℳ[M]\mathcal{M}^{[M]} are nonzero, then

detℳ[M]=∏iℳi,i[M]≠0.\det\mathcal{M}^{[M]}=\prod_{i}\mathcal{M}^{[M]}_{i,i}\neq 0.

Consequently, ℳ[M]\mathcal{M}^{[M]} is nonsingular. If v(M)v^{(M)} denotes the reduction column, then

ℳ[M]​v(M)=eM.\mathcal{M}^{[M]}v^{(M)}=e_{M}.

The entries of this column are computed by backward substitution:

(6.2) vM(M)=1ℳM,M[M],v^{(M)}_{M}=\frac{1}{\mathcal{M}^{[M]}_{M,M}},

and

(6.3) v(M)i=−1ℳi,i[M]∑j=i+1min⁡(i+h,M)ℳ[M]i,jv(M)j.v^{(M)}_{i}=-\frac{1}{\mathcal{M}^{[M]}_{i,i}}\sum_{j=i+1}^{\min(i+h,M)}\mathcal{M}^{[M]}_{i,j}v^{(M)}_{j}.

Thus the algorithm requires only a finite truncation. In particular, the inverse of the infinite recurrence matrix is never needed.

A vanishing diagonal entry of ℳ[M]\mathcal{M}^{[M]} is precisely the matrix manifestation of a resonant index. In this case the corresponding moment has to be retained as an additional basic moment.

6.3. Computational reduction example

We illustrate the two equivalent implementations of the reduction procedure on a simple case for which the result can also be checked by hand. Let

K′​(x)−K⁡(x)=0,so thatK⁡(x)=c​ex,K^{\prime}(x)-K(x)=0,\qquad\text{so that}\qquad K(x)=ce^{x},

and define

In​(x)=∫xn​K​(x)​𝑑x.I_{n}(x)=\int x^{n}K(x)\,dx.

Multiplication of the differential equation by xnx^{n} and one integration by parts give

(6.4) In=xn​K​(x)−n​In−1.I_{n}=x^{n}K(x)-nI_{n-1}.

There are no resonant indices, and taking I0I_{0} as the basic moment, successive reduction gives

I1=x​K−I0,I_{1}=xK-I_{0},
I2=(x2−2​x)​K+2​I0,I_{2}=(x^{2}-2x)K+2I_{0},
I3=(x3−3​x2+6​x)​K−6​I0,I_{3}=(x^{3}-3x^{2}+6x)K-6I_{0},

and hence, for the target index M=4M=4,

(6.5) I4=(x4−4​x3+12​x2−24​x)​K​(x)+24​I0.I_{4}=\left(x^{4}-4x^{3}+12x^{2}-24x\right)K(x)+24I_{0}.

The accompanying implementation computes this reduction in two ways: by direct recurrence substitution and by solving the corresponding finite triangular band system. For the target I4I_{4} both procedures return exactly the expression in (6.5); their symbolic difference simplifies to zero. This provides a small reproducible check that the direct and finite-matrix realizations of the algorithm agree on the same reduction problem.

6.4. Arithmetic complexity

We use the arithmetic operation model in which one addition, subtraction, multiplication, or division in the coefficient field has unit cost.

Theorem 6.2 (Scalar complexity).

Let MM be the target index and let

ω=u−ℓ\omega=u-\ell

be the recurrence width. Assume that the required recurrence coefficients and diagonal inverses are available at unit cost. Then one reduction column can be computed in

O⁡(ω​M)O(\omega M)

arithmetic operations and

O⁡(M)O(M)

storage.

In particular, for fixed recurrence width, the arithmetic complexity is linear in the target index MM.

Proof.

There are O⁡(M)O(M) backward-substitution steps, and at each step at most ω\omega terms contribute to the sum in (6.3). Hence the total number of arithmetic operations is O⁡(ω​M)O(\omega M). Storing one reduction column requires O⁡(M)O(M) coefficients. ∎

The estimate concerns a single target moment. Computing an entire inverse matrix is a different problem and is not required by the reduction procedure.

6.5. Block-band complexity

In the algebraic setting of Section 4, scalar recurrence coefficients are replaced by d×dd\times d blocks. Let hh denote the block bandwidth. If ordinary matrix multiplication is used, multiplication of two d×dd\times d matrices requires O⁡(d3)O(d^{3}) arithmetic operations.

Theorem 6.3 (Block complexity).

Assume that the diagonal blocks are invertible. Then one reduction column of a block-band triangular system with target index MM can be computed in

O⁡(h​M​d3)O(hMd^{3})

arithmetic operations and

O⁡(M​d2)O(Md^{2})

storage.

Proof.

There are O⁡(M)O(M) block rows and at most hh relevant blocks per row. Each block operation has cost O⁡(d3)O(d^{3}) in the standard matrix multiplication model. Hence the total cost is O⁡(h​M​d3)O(hMd^{3}). The reduction column contains O⁡(M)O(M) blocks of size d×dd\times d, requiring O⁡(M​d2)O(Md^{2}) storage. ∎

6.6. Computational experiment

To complement the arithmetic complexity estimate, we performed a simple timing experiment for the scalar finite-band reduction with fixed bandwidth ω=4\omega=4. The benchmark measures the arithmetic recurrence/back-substitution core of the reduction; symbolic simplification routines such as FullSimplify are not included, so that the experiment reflects the arithmetic-operation model used in the preceding complexity theorem.

We considered target indices

M=1000, 2000, 4000, 8000, 16000.M=1000,\ 2000,\ 4000,\ 8000,\ 16000.

For each value of MM, the reported running time is the median of five repetitions. The results are shown in Table 1.

MM ω​M\omega M Median time (s) Time/MM (s)
1000 4000 0.006129 6.129×10−66.129\times 10^{-6}
2000 8000 0.009194 4.597×10−64.597\times 10^{-6}
4000 16000 0.0186270.018627 4.65675×10−64.65675\times 10^{-6}
8000 32000 0.0405270.040527 5.065875×10−65.065875\times 10^{-6}
16000 64000 0.0844550.084455 5.2784375×10−65.2784375\times 10^{-6}
Table 1. Scalar finite-band benchmark for fixed bandwidth ω=4\omega=4. Each reported time is the median of five repetitions.

The quotient T⁡(M)/MT(M)/M remains approximately constant over this range. Moreover, a least-squares power-law fit of the form

T⁡(M)∼c​MγT(M)\sim cM^{\gamma}

gives

γ≈0.97.\gamma\approx 0.97.

Thus, within the tested range, the observed running time is essentially linear in the target index MM. This numerical behaviour is consistent with the theoretical arithmetic complexity O⁡(ω​M)O(\omega M) for fixed bandwidth. The experiment is intended as a validation of the scaling predicted by the arithmetic model, rather than as a machine-independent performance estimate.

Figure 1. Measured median running time for the scalar finite-band benchmark with fixed bandwidth ω=4\omega=4, together with a power-law fit T⁡(M)∼c​M0.97T(M)\sim cM^{0.97}.

6.7. Bit complexity and coefficient growth

The arithmetic estimates above treat operations in the coefficient field as unit-cost operations. In symbolic applications, however, the degrees and heights of the coefficients may grow with the target index. A complete bit-complexity analysis would therefore require independent bounds on coefficient growth.

We do not pursue such bounds here. The complexity results above describe the structural cost of the finite-band reduction itself.

6.8. Comparison of reduction representations

The aim of the proposed method is reduction rather than the construction of an elementary antiderivative. In particular, the basic integrals need not be elementary. A meaningful computational comparison should therefore be made at the level of the resulting reduction representation.

For a target IMI_{M}, we record the profile

𝒞K​(M)=(ω,Nbasic,Nnz,T,S),\mathcal{C}_{K}(M)=\bigl(\omega,\,N_{\mathrm{basic}},\,N_{\mathrm{nz}},\,T,\,S\bigr),

where ω\omega is the recurrence width, NbasicN_{\mathrm{basic}} is the number of basic integrals, NnzN_{\mathrm{nz}} is the number of nonzero reduction coefficients, TT is the running time, and SS measures the size of the symbolic representation.

This comparison does not require the basic integrals to be elementary. The resulting representation

IM=∑jrM,j​Imj+FM​(x)I_{M}=\sum_{j}r_{M,j}I_{m_{j}}+F_{M}(x)

is useful precisely because it separates the explicitly computable part from the finite set of basic integrals.

6.9. Structured acceleration

The entries of the finite-band matrices are generated by polynomial coefficient sequences and have a prescribed dependence on the moment index. This suggests investigating whether additional Toeplitz-like, displacement-rank, or related structure can be exploited for faster reduction of families of target integrals. We leave this question for future work.

7. Conclusion

We have developed a finite-band framework for the reduction of families of integrals arising from differential relations. The construction covers rational logarithmic derivatives, generalized real Schwarz–Christoffel integrals, algebraic logarithmic derivatives, and more general linear differential equations with polynomial coefficients. For a prescribed target integral, the reduction requires only finite data and does not depend on an explicit evaluation of the basic integrals, which may be non-elementary.

Software availability

The reduction algorithms described in this paper are implemented in the Mathematica package BandedReduction: Banded Reduction of Integrals for Hyperexponential and Algebraic Functions [13], referred to as BandedReduction. The package includes routines for the scalar first-order reduction, the generalized Schwarz–Christoffel specialization, algebraic block-band reduction, and reduction derived from linear differential equations with polynomial coefficients. It also contains regression tests and a compact user-facing report for the resulting reductions. The software is archived on Zenodo under DOI 10.5281/zenodo.22980629.

References

  • [1] G. Almkvist, D. Zeilberger The method of differentiating under the integral sign, Journal of Symbolic Computation 10, (1990), 571–591.
  • [2] P. Baliarsingh, S. Dutta On an explicit formula for inverse of triangular matrices, Journal of Egyptian Mathematical Society 23, no. 2, (2015), 297–302.
  • [3] M. Bronstein Integration of elementary functions, Journal of Symbolic Computation 9, (1990), 117–173.
  • [4] M. Bronstein Symbolic Integration I: Transcendental Functions, Springer, Berlin, (1997).
  • [5] Y. A. Brychkov Handbook of Special Functions: Derivatives, Integrals, Series and Other Formulas, CRC Press, Boca Raton, (2008).
  • [6] F. Chyzak An extension of Zeilberger’s fast algorithm to general holonomic functions, Discrete Mathematics 217, (2000), 115–134.
  • [7] T. A. Driscoll, L. N. Trefethen Schwarz–Christoffel Mapping, Cambridge University Press, Cambridge, (2002).
  • [8] H. Exton qq-Hypergeometric Functions and Applications, Ellis Horwood Ltd., Chichester, (1983).
  • [9] G. A. Korn, M. T. Korn Mathematical Handbook for Scientists and Engineers, Dover Publications, Mineola, (2010).
  • [10] B. A. Kniehl, O. V. Tarasov Finding new relationships between hypergeometric functions by evaluating Feynman integrals, Nuclear Physics B 854, (2012), 841–852.
  • [11] C. Krattenthaler, R. K. Srinivasa Automatic generation of hypergeometric identities by the beta integral method, Journal of Computational and Applied Mathematics 160, (2003), 159–173.
  • [12] P. Krasoń, J. Milewski New approach to certain real hyper-elliptic integrals, Integral Transforms and Special Functions, (2020), doi:10.1080/10652469.2019.1703703.
  • [13] P. Krasoń, J. Milewski BandedReduction: Banded Reduction of Integrals for Hyperexponential and Algebraic Functions, Mathematica software, version 1.0.0, Zenodo (2026), doi:10.5281/zenodo.22980629.
  • [14] G. Lauricella Sulle funzioni ipergeometriche a più variabili, Rendiconti del Circolo Matematico di Palermo 7, (1893), 111–158.
  • [15] M. D. Malykh, L. A. Sevastianov, Y. Yu On symbolic integration of algebraic functions, Journal of Symbolic Computation 104, (2021), 563–579.
  • [16] A. Quarteroni, R. Sacco, F. Saleri Numerical Mathematics, Texts in Applied Mathematics 37, Springer, New York, (2000).
  • [17] J. Stoer, R. Bulirsch Introduction to Numerical Analysis, Texts in Applied Mathematics 12, Springer, New York, (1993).
  • [18] L. N. Trefethen Numerical computation of the Schwarz–Christoffel transformation, SIAM Journal on Scientific and Statistical Computing 1, (1980), 82–102.
  • [19] B. M. Trager Integration of Algebraic Functions, Ph.D. thesis, Massachusetts Institute of Technology, Cambridge, MA, (1984).
  • [20] R. Vidunas Contiguous relations of hypergeometric series, Journal of Computational and Applied Mathematics 153, (2003), 507–519.
  • [21] D. Zeilberger The method of creative telescoping, Journal of Symbolic Computation 11, (1991), 195–204.