Holonomic function
In mathematics, and more specifically in analysis, a holonomic function is a smooth function of several variables that is a solution of a system of linear homogeneous differential equations with polynomial coefficients and satisfies a suitable dimension condition in terms of D-modules theory. More precisely, a holonomic function is an element of a holonomic module of smooth functions. Holonomic functions can also be described as differentiably finite functions, also known as D-finite functions. When a power series in the variables is the Taylor expansion of a holonomic function, the sequence of its coefficients, in one or several indices, is also called holonomic. Holonomic sequences are also called P-recursive sequences: they are defined recursively by multivariate recurrences satisfied by the whole sequence and by suitable specializations of it. The situation simplifies in the univariate case: any univariate sequence that satisfies a linear homogeneous recurrence relation with polynomial coefficients, or equivalently a linear homogeneous difference equation with polynomial coefficients, is holonomic.[1]
Holonomic functions and sequences in one variable
Definitions
Let [math]\displaystyle{ \mathbb{K} }[/math] be a field of characteristic 0 (for example, [math]\displaystyle{ \mathbb{K} = \mathbb{Q} }[/math] or [math]\displaystyle{ \mathbb{K} = \mathbb{C} }[/math]).
A function [math]\displaystyle{ f = f(x) }[/math] is called D-finite (or holonomic) if there exist polynomials [math]\displaystyle{ 0 \neq a_r(x), a_{r-1}(x), \ldots, a_0(x) \in \mathbb{K}[x] }[/math] such that
- [math]\displaystyle{ a_r(x) f^{(r)}(x) + a_{r-1}(x) f^{(r-1)}(x) + \cdots + a_1(x) f'(x) + a_0(x) f(x) = 0 }[/math]
holds for all x. This can also be written as [math]\displaystyle{ A f = 0 }[/math] where
- [math]\displaystyle{ A = \sum_{k=0}^r a_k D_x^k }[/math]
and [math]\displaystyle{ D_x }[/math] is the differential operator that maps [math]\displaystyle{ f(x) }[/math] to [math]\displaystyle{ f'(x) }[/math]. [math]\displaystyle{ A }[/math] is called an annihilating operator of f (the annihilating operators of [math]\displaystyle{ f }[/math] form an ideal in the ring [math]\displaystyle{ \mathbb{K}[x][D_x] }[/math], called the annihilator of [math]\displaystyle{ f }[/math]). The quantity r is called the order of the annihilating operator. By extension, the holonomic function f is said to be of order r when an annihilating operator of such order exists.
A sequence [math]\displaystyle{ c = c_0, c_1, \ldots }[/math] is called P-recursive (or holonomic) if there exist polynomials [math]\displaystyle{ a_r(n), a_{r-1}(n), \ldots, a_0(n) \in \mathbb{K}[n] }[/math] such that
- [math]\displaystyle{ a_r(n) c_{n+r} + a_{r-1}(n) c_{n+r-1} + \cdots + a_0(n) c_n = 0 }[/math]
holds for all n. This can also be written as [math]\displaystyle{ A c = 0 }[/math] where
- [math]\displaystyle{ A = \sum_{k=0}^r a_k S_n }[/math]
and [math]\displaystyle{ S_n }[/math] the shift operator that maps [math]\displaystyle{ c_0, c_1, \ldots }[/math] to [math]\displaystyle{ c_1, c_2, \ldots }[/math]. [math]\displaystyle{ A }[/math] is called an annihilating operator of c (the annihilating operators of [math]\displaystyle{ c }[/math] form an ideal in the ring [math]\displaystyle{ \mathbb{K}[n][S_n] }[/math], called the annihilator of [math]\displaystyle{ c }[/math]). The quantity r is called the order of the annihilating operator. By extension, the holonomic sequence c is said to be of order r when an annihilating operator of such order exists.
Holonomic functions are precisely the generating functions of holonomic sequences: if [math]\displaystyle{ f(x) }[/math] is holonomic, then the coefficients [math]\displaystyle{ c_n }[/math] in the power series expansion
- [math]\displaystyle{ f(x) = \sum_{n=0}^{\infty} c_n x^n }[/math]
form a holonomic sequence. Conversely, for a given holonomic sequence [math]\displaystyle{ c_n }[/math], the function defined by the above sum is holonomic (this is true in the sense of formal power series, even if the sum has a zero radius of convergence).
Closure properties
Holonomic functions (or sequences) satisfy several closure properties. In particular, holonomic functions (or sequences) form a ring. They are not closed under division, however, and therefore do not form a field.
If [math]\displaystyle{ f(x) = \sum_{n=0}^{\infty} f_n x^n }[/math] and [math]\displaystyle{ g(x) = \sum_{n=0}^{\infty} g_n x^n }[/math] are holonomic functions, then the following functions are also holonomic:
- [math]\displaystyle{ h(x) = \alpha f(x) + \beta g(x) }[/math], where [math]\displaystyle{ \alpha }[/math] and [math]\displaystyle{ \beta }[/math] are constants
- [math]\displaystyle{ h(x) = f(x) g(x) }[/math] (the Cauchy product of the sequences)
- [math]\displaystyle{ h(x) = \sum_{n=0}^{\infty} f_n g_n x^n }[/math] (the Hadamard product of the sequences)
- [math]\displaystyle{ h(x) = \int_0^x f(t) dt }[/math]
- [math]\displaystyle{ h(x) = \sum_{n=0}^{\infty} (\sum_{k=0}^n f_k) x^n }[/math]
- [math]\displaystyle{ h(x) = f(a(x)) }[/math], where [math]\displaystyle{ a(x) }[/math] is any algebraic function. However, [math]\displaystyle{ a(f(x)) }[/math] is generally not holonomic.
A crucial property of holonomic functions is that the closure properties are effective: given annihilating operators for [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math], an annihilating operator for [math]\displaystyle{ h }[/math] as defined using any of the above operations can be computed explicitly.
Examples of holonomic functions and sequences
Examples of holonomic functions include:
- all algebraic functions, including polynomials and rational functions
- the sine and cosine functions (but not tangent, cotangent, secant, or cosecant)
- the hyperbolic sine and cosine functions (but not hyperbolic tangent, cotangent, secant, or cosecant)
- exponential functions and logarithms (to any base)
- the generalized hypergeometric function [math]\displaystyle{ {}_pF_q(a_1,\ldots,a_p, b_1, \ldots, b_q, x) }[/math], considered as a function of [math]\displaystyle{ x }[/math] with all the parameters [math]\displaystyle{ a_i }[/math], [math]\displaystyle{ b_i }[/math] held fixed
- the error function [math]\displaystyle{ \operatorname{erf}(x) }[/math]
- the Bessel functions [math]\displaystyle{ J_n(x) }[/math], [math]\displaystyle{ Y_n(x) }[/math], [math]\displaystyle{ I_n(x) }[/math], [math]\displaystyle{ K_n(x) }[/math]
- the Airy functions [math]\displaystyle{ \operatorname{Ai}(x) }[/math], [math]\displaystyle{ \operatorname{Bi}(x) }[/math]
The class of holonomic functions is a strict superset of the class of hypergeometric functions. Examples of special functions that are holonomic but not hypergeometric include the Heun functions.
Examples of holonomic sequences include:
- the sequence of Fibonacci numbers [math]\displaystyle{ F_n }[/math], and more generally, all constant-recursive sequences
- the sequence of factorials [math]\displaystyle{ n! }[/math]
- the sequence of binomial coefficients [math]\displaystyle{ {n \choose k} }[/math] (as functions of either n or k)
- the sequence of harmonic numbers [math]\displaystyle{ H_n = \sum_{k=1}^n \frac{1}{k} }[/math], and more generally [math]\displaystyle{ H_{n,m} = \sum_{k=1}^n \frac{1}{k^m} }[/math] for any integer m
- the sequence of Catalan numbers
- the sequence of Motzkin numbers.
- the sequence of derangements.
Hypergeometric functions, Bessel functions, and classical orthogonal polynomials, in addition to being holonomic functions of their variable, are also holonomic sequences with respect to their parameters. For example, the Bessel functions [math]\displaystyle{ J_n }[/math] and [math]\displaystyle{ Y_n }[/math] satisfy the second-order linear recurrence [math]\displaystyle{ x (f_{n+1} + f_{n-1}) = 2 n f_n }[/math].
Examples of nonholonomic functions and sequences
Examples of nonholonomic functions include:
- the function [math]\displaystyle{ \frac{x}{e^x-1} }[/math][2]
- the function tan(x) + sec(x)[3]
- the quotient of two holonomic functions is generally not holonomic.
Examples of nonholonomic sequences include:
- the Bernoulli numbers
- the numbers of alternating permutations[4]
- the numbers of integer partitions[3]
- the numbers [math]\displaystyle{ \log(n) }[/math][3]
- the numbers [math]\displaystyle{ n^{\alpha} }[/math] where [math]\displaystyle{ \alpha \not\in \mathbb{Z} }[/math][3]
- the prime numbers[3]
- the enumerations of irreducible and connected permutations.[5]
Algorithms and software
Holonomic functions are a powerful tool in computer algebra. A holonomic function or sequence can be represented by a finite amount of data, namely an annihilating operator and a finite set of initial values, and the closure properties allow carrying out operations such as equality testing, summation and integration in an algorithmic fashion. In recent years, these techniques have allowed giving automated proofs of a large number of special function and combinatorial identities.
Moreover, there exist fast algorithms for evaluating holonomic functions to arbitrary precision at any point in the complex plane, and for numerically computing any entry in a holonomic sequence.
Software for working with holonomic functions includes:
- The HolonomicFunctions [1] package for Mathematica, developed by Christoph Koutschan, which supports computing closure properties and proving identities for univariate and multivariate holonomic functions
- The algolib [2] library for Maple, which includes the following packages:
See also
Dynamic Dictionary of Mathematical functions, an online software, based on holonomic functions for automatically studying many classical and special functions (evaluation at a point, Taylor series and asymptotic expansion to any user-given precision, differential equation, recurrence for the coefficients of the Taylor series, derivative, indefinite integral, plotting, ...)
Notes
- ↑ See Zeilberger 1990 and Kauers & Paule 2011.
- ↑ This follows from the fact that the function [math]\displaystyle{ \frac{x}{e^x-1} }[/math] has infinitely many (complex) singularities, whereas functions that satisfy a linear differential equation with polynomial coefficients necessarily have only finitely many singular points.
- ↑ 3.0 3.1 3.2 3.3 3.4 See Flajolet, Gerhold & Salvy 2005.
- ↑ This follows from the fact that the function tan(x) + sec(x) is a nonholonomic function. See Flajolet, Gerhold & Salvy 2005.
- ↑ See Klazar 2003.
References
- Flajolet, Philippe; Gerhold, Stefan; Salvy, Bruno (2005), "On the non-holonomic character of logarithms, powers, and the n-th prime function", Electronic Journal of Combinatorics 11 (2), doi:10.37236/1894, http://www.combinatorics.org/Volume_11/Abstracts/v11i2a2.html.
- Flajolet, Philippe; Sedgewick, Robert (2009). Analytic Combinatorics. Cambridge University Press. ISBN 978-0521898065.
- Kauers, Manuel; Paule, Peter (2011). The Concrete Tetrahedron: Symbolic Sums, Recurrence Equations, Generating Functions, Asymptotic Estimates. Text and Monographs in Symbolic Computation. Springer. ISBN 978-3-7091-0444-6.
- Klazar, Martin (2003). Irreducible and connected permutations. http://kam.mff.cuni.cz/~klazar/irre.pdf. (ITI Series preprint)
- Mallinger, Christian (1996). Algorithmic Manipulations and Transformations of Univariate Holonomic Functions and Sequences (PDF) (Thesis). Retrieved 4 June 2013.
- Stanley, Richard P. (1999). Enumerative Combinatorics. 2. Cambridge University Press. ISBN 978-0-521-56069-6.
- Zeilberger, Doron (1990). "A holonomic systems approach to special functions identities". Journal of Computational and Applied Mathematics 32 (3): 321–368. doi:10.1016/0377-0427(90)90042-X. ISSN 0377-0427.
- Kauers, Manuel (2023). D-Finite Functions. Algorithms and Computation in Mathematics. Springer. doi:10.1007/978-3-031-34652-1. ISBN 978-3-031-34652-1. https://link.springer.com/book/10.1007/978-3-031-34652-1.
Original source: https://en.wikipedia.org/wiki/Holonomic function.
Read more |