Banded Reduction of Integrals for Hyperexponential and Algebraic Functions
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 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 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 functions2020 Mathematics Subject Classification
Primary 68W30; Secondary 33F10, 12H05, 65Q301. 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
or, more generally, the shifted moments
When the factor satisfies an appropriate differential relation, differentiation of suitable multiples of 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
is a rational function. This is a standard class in symbolic integration and includes, in particular, functions of the form
where and the are real polynomials and . We work on intervals on which the chosen real branches of the factors are defined and 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 , 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
is algebraic over . 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,
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, denotes the ring of real polynomials in the variable , and denotes its field of rational functions. For , the condition means that and are relatively prime. We write for the ring of matrices over a field .
2. A first-order differential reduction scheme
Let be an interval and let be a differentiable function. We assume throughout this section that
| (2.1) |
Thus the logarithmic derivative of is rational. This class includes, in particular, functions of the form
on any interval on which the chosen real branches of the factors are defined and is nonzero. Such functions belong to the standard hyperexponential framework of symbolic integration; see [3, 4].
Fix such that
and put
For define
Set
Lemma 2.1.
For every ,
| (2.2) |
Proof.
Since and ,
∎
Write
| (2.3) |
and put
| (2.4) |
Proposition 2.2.
For every ,
| (2.5) |
Consequently, the family satisfies a finite recurrence in the index , with coefficients affine in .
2.1. The associated band matrix
Set
Then (2.5) becomes
| (2.6) |
where
| (2.7) |
We understand whenever the index is outside the ranges specified in (2.3). next consider
Proposition 2.3.
The matrix
is upper triangular and has finite bandwidth. More precisely,
Its diagonal entries are
| (2.8) |
Definition 2.1.
For , we call admissible. An admissible index is called nonresonant if
and resonant otherwise.
Remark 2.2.
The diagonal coefficient
is an affine function of . Hence, unless it is identically zero, there is at most one resonant admissible index.
2.2. Adapted polynomial basis
For the initial indices
put
For every , define
| (2.9) |
Since , all powers occurring in (2.9) are nonnegative. Thus is a polynomial.
By (2.6),
| (2.10) |
Lemma 2.4.
Let . If is nonresonant, then
Proof.
All terms in (2.9) have degree at most , and the coefficient of is . If is nonresonant, this coefficient is nonzero, and therefore . ∎
Proposition 2.5.
Suppose that
Then the family
is a basis of .
Proof.
For the functions are the monomials. For , the preceding lemma gives . Hence the transition matrix from the monomial basis
to 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 . ∎
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 , differentiate
We obtain
Define
| (2.11) |
Then
| (2.12) |
Proposition 2.6.
Assume . The transition matrix from the standard Laurent monomials to the family is triangular and banded. Its diagonal entry corresponding to is
and therefore is nonzero for every
Proof.
2.4. Finite-band reduction theorem
Theorem 2.7 (Finite-band reduction).
Let satisfy (2.1), and let satisfy . Suppose that
Then every integral
can be reduced to the finite family
| (2.13) |
and explicit boundary terms.
Proof.
For , the triangular band system associated with (2.12) has nonzero diagonal and reduces every negative-index integral to and finitely many nonnegative-index integrals.
For , the adapted polynomial basis above gives a triangular band system whose diagonal entries are nonzero by assumption. Hence every with reduces recursively to
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 , let
be the finite principal truncation of . Since is upper triangular,
Consequently, is nonsingular if and only if all its diagonal entries are nonzero.
Only the column corresponding to the target integral is required. If denotes the corresponding column of
then
The triangular and banded structure gives
| (2.14) |
and, proceeding backwards,
| (2.15) |
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) |
Then
Thus
and
For the fundamental identity gives
Hence
| (2.17) |
Here and the diagonal coefficient is
Thus the positive-index sector is nonresonant and every moment reduces to the basic family
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) |
Then
so that
and
Consequently,
| (2.19) |
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) |
and let the interval under consideration be chosen so that is real and nonzero. We consider integrals
| (3.2) |
where is rational. By polynomial division and partial fraction decomposition, it is enough to consider the positive-index family
| (3.3) |
and the negative-index families
| (3.4) |
where 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) |
Then
and, provided
we have
Moreover,
| (3.6) |
Thus, in the notation of Section 2, we may take
| (3.7) |
Explicitly,
| (3.8) |
Hence is a polynomial.
The polynomial occurring in the differential identity is
| (3.9) |
Equivalently,
| (3.10) |
and therefore is a polynomial of degree at most .
Put
which is the leading coefficient of . Then
| (3.11) |
3.2. The fundamental identity
Fix such that
and put
The fundamental identity of Section 2 becomes
| (3.12) |
Write
Then
Consequently, in the notation of Section 2,
3.3. Positive powers
For the positive-index sector we put , so that , and write
For every , define
| (3.13) |
For the initial indices
put
By the differential identity,
| (3.14) |
Thus an index is nonresonant whenever
| (3.17) |
Since the left-hand side is affine in , there is at most one resonant index.
Proposition 3.1.
Assume that (3.17) holds for every . Then
is a basis of , and every positive-index integral , , is reducible to
and explicit boundary terms.
3.4. The transition matrix
Let
denote the infinite transition matrix from the monomial basis
to the adapted basis
Then
| (3.18) |
Thus is upper triangular and banded.
For a fixed , let
be its finite principal truncation. Since is upper triangular,
Consequently,
For , the finite truncation has the block form
where is upper triangular and banded. Hence
| (3.19) |
For the reduction of a fixed target integral, only the corresponding column of is required.
3.5. Negative powers
Let satisfy
For , define
| (3.20) |
Then
| (3.21) |
The coefficient of the lowest power is
and is therefore nonzero for every . Hence the corresponding transition matrix is triangular and banded with nonzero diagonal.
Consequently, all negative-index integrals reduce to
and finitely many nonnegative-index integrals. In the nonresonant case, the natural basic family is
| (3.22) |
3.6. Explicit example
Consider
| (3.23) |
Then and
For the construction gives
| (3.24) |
For ,
| (3.25) |
For the negative-index sector, choose . Then
| (3.26) |
After expanding
and collecting terms, we obtain
| (3.27) |
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 is algebraic over . The point of passing to an algebraic extension is that an algebraic logarithmic derivative can be represented in a finite-dimensional vector space over . The scalar moment relations are then replaced naturally by vector relations and block-band matrices.
Let
be a finite algebraic extension of degree
and assume that is a nonzero differentiable function on an interval such that
| (4.1) |
Choose a basis
of over and put
Since the derivation on extends uniquely to the finite algebraic extension , we have
Consequently, for the chosen basis of over , there exists a matrix
such that
| (4.2) |
Multiplication by is an -linear endomorphism of . Hence there exists a matrix
such that
| (4.3) |
Therefore
| (4.4) |
Choose a nonzero polynomial
which clears the denominators of the entries of , and set
Proposition 4.1.
For every ,
| (4.5) |
Proof.
The identity follows immediately from the product rule and (4.4). ∎
Write
where , and define
Theorem 4.2 (Block-band reduction).
Under the assumptions above, the vector moments satisfy the finite block recurrence
| (4.6) |
Consequently, after ordering the relations according to their largest moment index, one obtains a finite block-band system with blocks of size .
Proof.
Let denote the diagonal block corresponding to the highest-index vector in the triangularly ordered system.
Proposition 4.3.
Suppose that
is not identically zero as a polynomial in . Then only finitely many indices are resonant, and for every nonresonant index the corresponding relation can be solved for .
Proof.
The determinant is a nonzero polynomial in 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 can be written in the form
| (4.7) |
where contains only lower-index vector moments and explicit boundary terms.
Assume that
Row reduction of separates the columns into a set of pivot columns and a set of free columns . The components of corresponding to can then be expressed in terms of and the components corresponding to . Thus a singular diagonal block leaves only the free components unresolved at that stage.
Proposition 4.4.
Let be a singular diagonal block of rank . The block row (4.7) leaves at most independent components of 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 pivot columns and 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 ; 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 block need not contribute all components, and neighbouring relations may reduce the number of additional basic integrals below .
4.2. The algebraic family
We now consider the particularly transparent family
| (4.8) |
where and the extension generated by has degree over . 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 gives
| (4.9) |
Hence
is stable under differentiation.
Define
For ,
| (4.10) |
After multiplication by , all coefficients are polynomial. For , the relation closes using
Thus the families
satisfy a finite block-band recurrence.
4.3. The model case
Consider
| (4.11) |
Then
For
we obtain, for ,
| (4.12) |
while
| (4.13) |
These relations form a finite cyclic block system.
Example 4.1.
Consider the quadratic extension
and choose
On we may take
Define
Then
| (4.14) | ||||
| (4.15) |
Using (4.14) with replaced by , we obtain
Substitution into (4.15) gives
| (4.16) |
Thus the auxiliary family 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
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 to be rational. We now assume that 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) |
where
Write
| (5.2) |
For , define
We first record the repeated integration-by-parts identity used below.
Lemma 5.1.
For and ,
| (5.3) |
where
Proof.
The identity follows by repeated integration by parts. For ,
The general case follows by induction on . ∎
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 satisfy a finite recurrence
| (5.4) |
where and is an explicit linear combination of
More precisely,
| (5.5) |
Only finitely many coefficients are nonzero. Their possible shifts satisfy
| (5.6) |
Proof.
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
The number
is called the recurrence width. We also define the a priori recurrence width by
Proposition 5.2.
The recurrence width satisfies
| (5.7) |
The inequality may be strict because of cancellations between different contributions to the coefficients .
Proof.
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
Let
Then is finite. For every ,
| (5.8) |
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.
Remark 5.3.
The elements of 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 , only finitely many rows and columns are required. Let
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 are nonzero, then
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 and
Thus
The resulting recurrence is equivalent to
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
where is the Bessel function of the first kind. It satisfies the second-order differential equation
Thus, in the notation of (5.1),
For
the general construction gives a finite recurrence. Indeed,
while
Substitution into the differential equation yields
Equivalently,
| (5.9) |
Thus the moments split into two finite reduction chains according to parity. For example, repeated application of (5.9) gives
Hence
Using
the same reduction may also be written as
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) |
where
and let
be a chosen finite set of basic moments.
For a fixed target index , we assume that
for all indices used in the reduction. The reduction is given by the following algorithm.
Proposition 6.1.
Proof.
At every nonresonant step, equation (6.1) can be solved for the highest-index moment:
All moments on the right-hand side have index strictly smaller than . 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 is finite, only finitely many steps are required. The representation is uniquely determined at each step because . ∎
6.2. Finite matrix realization
The direct recurrence algorithm has an equivalent matrix interpretation. For a fixed target index , let
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 are nonzero, then
Consequently, is nonsingular. If denotes the reduction column, then
The entries of this column are computed by backward substitution:
| (6.2) |
and
| (6.3) |
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 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
and define
Multiplication of the differential equation by and one integration by parts give
| (6.4) |
There are no resonant indices, and taking as the basic moment, successive reduction gives
and hence, for the target index ,
| (6.5) |
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 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 be the target index and let
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
arithmetic operations and
storage.
In particular, for fixed recurrence width, the arithmetic complexity is linear in the target index .
Proof.
There are backward-substitution steps, and at each step at most terms contribute to the sum in (6.3). Hence the total number of arithmetic operations is . Storing one reduction column requires 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 blocks. Let denote the block bandwidth. If ordinary matrix multiplication is used, multiplication of two matrices requires 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 can be computed in
arithmetic operations and
storage.
Proof.
There are block rows and at most relevant blocks per row. Each block operation has cost in the standard matrix multiplication model. Hence the total cost is . The reduction column contains blocks of size , requiring 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 . 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
For each value of , the reported running time is the median of five repetitions. The results are shown in Table 1.
| Median time (s) | Time/ (s) | ||
|---|---|---|---|
| 1000 | 4000 | 0.006129 | |
| 2000 | 8000 | 0.009194 | |
| 4000 | 16000 | ||
| 8000 | 32000 | ||
| 16000 | 64000 |
The quotient remains approximately constant over this range. Moreover, a least-squares power-law fit of the form
gives
Thus, within the tested range, the observed running time is essentially linear in the target index . This numerical behaviour is consistent with the theoretical arithmetic complexity 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.
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 , we record the profile
where is the recurrence width, is the number of basic integrals, is the number of nonzero reduction coefficients, is the running time, and measures the size of the symbolic representation.
This comparison does not require the basic integrals to be elementary. The resulting representation
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 -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.