P-recursive equation
   HOME

TheInfoList



OR:

In mathematics a P-recursive equation is a linear equation of
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is calle ...
s where the coefficient sequences can be represented as polynomials. P-recursive equations are linear recurrence equations (or linear recurrence relations or linear difference equations) with polynomial coefficients. These equations play an important role in different areas of mathematics, specifically in combinatorics. The sequences which are solutions of these equations are called holonomic, P-recursive or D-finite. From the late 1980s on the first algorithms were developed to find solutions for these equations. Sergei A. Abramov,
Marko Petkovšek Marko Petkovšek is a Slovenian mathematician, born: 1955, working mainly in symbolic computation. He is a professor of discrete and computational mathematics at the University of Ljubljana. He completed his Ph.D. at Carnegie Mellon University u ...
and Mark van Hoeij described algorithms to find polynomial, rational, hypergeometric and d'Alembertian solutions.


Definition

Let \mathbb be a
field of characteristic zero In mathematics, a field is a set on which addition, subtraction, multiplication, and division are defined and behave as the corresponding operations on rational and real numbers do. A field is thus a fundamental algebraic structure which is wi ...
(for example \mathbb = \mathbb), p_k(n) \in \mathbb /math> polynomials for k = 0,\dots,r,f \in \mathbb^ a sequence and y \in \mathbb^ an unknown sequence. The equation\sum_^r p_k(n) \, y (n+k) = f(n)is called a linear recurrence equation with polynomial coefficients (all recurrence equations in this article are of this form). If p_0 and p_r are both nonzero, then r is called the order of the equation. If f is zero the equation is called homogeneous, otherwise it is called inhomogeneous. This can also be written as L y = f where L=\sum_^r p_k N^k is a linear recurrence operator with polynomial coefficients and N is the shift operator, i.e. N \, y (n) = y (n+1).


Closed form solutions

Let \sum_^r p_k(n) \, y (n+k) = f(n) or equivalently Ly=f be a recurrence equation with polynomial coefficients. There exist several algorithms which compute solutions of this equation. These algorithms can compute polynomial, rational, hypergeometric and d'Alembertian solutions. The solution of a homogeneous equation is given by the
kernel Kernel may refer to: Computing * Kernel (operating system), the central component of most operating systems * Kernel (image processing), a matrix used for image convolution * Compute kernel, in GPGPU programming * Kernel method, in machine learn ...
of the linear recurrence operator: \ker L = \. As a subspace of the space of sequences this kernel has a
basis Basis may refer to: Finance and accounting * Adjusted basis, the net cost of an asset after adjusting for various tax-related items *Basis point, 0.01%, often used in the context of interest rates * Basis trading, a trading strategy consisting ...
. Let \ be a basis of \ker L, then the formal sum c_1 y^ + \dots + c_m y^ for arbitrary constants c_1,\dots,c_m \in \mathbb is called the general solution of the homogeneous problem Ly=0. If \tilde is a particular solution of Ly=f, i.e. L \tilde=f, then c_1 y^ + \dots + c_m y^ + \tilde is also a solution of the inhomogeneous problem and it is called the general solution of the inhomogeneous problem.


Polynomial solutions

In the late 1980s Sergei A. Abramov described an algorithm which finds the general polynomial solution of a recurrence equation, i.e. y (n) \in \mathbb /math>, with a polynomial right-hand sidef(n) \in \mathbb /math>. He (and a few years later
Marko Petkovšek Marko Petkovšek is a Slovenian mathematician, born: 1955, working mainly in symbolic computation. He is a professor of discrete and computational mathematics at the University of Ljubljana. He completed his Ph.D. at Carnegie Mellon University u ...
) gave a degree bound for polynomial solutions. This way the problem can simply be solved by considering a system of linear equations. In 1995 Abramov, Bronstein and Petkovšek showed that the polynomial case can be solved more efficiently by considering
power series In mathematics, a power series (in one variable) is an infinite series of the form \sum_^\infty a_n \left(x - c\right)^n = a_0 + a_1 (x - c) + a_2 (x - c)^2 + \dots where ''an'' represents the coefficient of the ''n''th term and ''c'' is a con ...
solution of the recurrence equation in a specific power basis (i.e. not the ordinary basis (x^n)_). The other algorithms for finding more general solutions (e.g. rational or hypergeometric solutions) also rely on algorithms which compute polynomial solutions.


Rational solutions

In 1989 Sergei A. Abramov showed that a general
rational Rationality is the quality of being guided by or based on reasons. In this regard, a person acts rationally if they have a good reason for what they do or a belief is rational if it is based on strong evidence. This quality can apply to an abi ...
solution, i.e. y(n) \in \mathbb (n), with polynomial right-hand side f(n) \in \mathbb /math>, can be found by using the notion of a universal denominator. A universal denominator is a polynomial u such that the denominator of every rational solution divides u. Abramov showed how this universal denominator can be computed by only using the first and the last coefficient polynomial p_0 and p_r. Substituting this universal denominator for the unknown denominator of y all rational solutions can be found by computing all polynomial solutions of a transformed equation.


Hypergeometric solution

A sequence y(n) is called hypergeometric if the ratio of two consecutive terms is a rational function in n, i.e. y (n+1) / y(n) \in \mathbb (n). This is the case if and only if the sequence is the solution of a first-order recurrence equation with polynomial coefficients. The set of hypergeometric sequences is not a subspace of the space of sequences as it is not closed under addition. In 1992
Marko Petkovšek Marko Petkovšek is a Slovenian mathematician, born: 1955, working mainly in symbolic computation. He is a professor of discrete and computational mathematics at the University of Ljubljana. He completed his Ph.D. at Carnegie Mellon University u ...
gave an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
to get the general hypergeometric solution of a recurrence equation where the right-hand side f is the sum of hypergeometric sequences. The algorithm makes use of the Gosper-Petkovšek normal-form of a rational function. With this specific representation it is again sufficient to consider polynomial solutions of a transformed equation. A different and more efficient approach is due to Mark van Hoeij. Considering the roots of the first and the last coefficient polynomial p_0 and p_r – called singularities – one can build a solution step by step making use of the fact that every hypergeometric sequence y (n) has a representation of the formy (n) = c \, r(n)\, z^n \, \Gamma(n-\xi_1)^ \Gamma(n-\xi_2)^ \cdots \Gamma(n-\xi_s)^for some c \in \mathbb, z \in \overline, s \in \N, r(n) \in \overline\mathbb(n), \xi_1, \dots, \xi_s \in \overline with \xi_i-\xi_j \notin \Z for i \neq j and e_1, \dots, e_s \in \Z. Here \Gamma (n) denotes the
Gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
and \overline the
algebraic closure In mathematics, particularly abstract algebra, an algebraic closure of a field ''K'' is an algebraic extension of ''K'' that is algebraically closed. It is one of many closures in mathematics. Using Zorn's lemmaMcCarthy (1991) p.21Kaplansky ( ...
of the field \mathbb. Then the \xi_1, \dots, \xi_s have to be singularities of the equation (i.e. roots of p_0 or p_r). Furthermore one can compute bounds for the exponents e_i. For fixed values \xi_1, \dots, \xi_s, e_1, \dots, e_s it is possible to make an ansatz which gives candidates for z. For a specific z one can again make an ansatz to get the rational function r(n) by Abramov's algorithm. Considering all possibilities one gets the general solution of the recurrence equation.


D'Alembertian solutions

A sequence y is called d'Alembertian if y = h_1 \sum h_2 \sum \cdots \sum h_k for some hypergeometric sequences h_1,\dots,h_k and y=\sum x means that \Delta y = x where \Delta denotes the difference operator, i.e. \Delta y = N y - y = y (n+1) - y(n). This is the case if and only if there are first-order linear recurrence operators L_1, \dots, L_k with rational coefficients such that L_k \cdots L_1 y = 0. 1994 Abramov and Petkovšek described an algorithm which computes the general d'Alembertian solution of a recurrence equation. This algorithm computes hypergeometric solutions and reduces the order of the recurrence equation recursively.


Examples


Signed permutation matrices

The number of
signed permutation matrices In mathematics, a generalized permutation matrix (or monomial matrix) is a matrix with the same nonzero pattern as a permutation matrix, i.e. there is exactly one nonzero entry in each row and each column. Unlike a permutation matrix, where the non ...
of size n \times n can be described by the
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is calle ...
y(n) \in \Q^. A signed permutation matrix is a square matrix which has exactly one nonzero entry in every row and in every column. The nonzero entries can be \pm 1. The sequence is determined by the linear recurrence equation with polynomial coefficientsy (n) = 4(n-1)^2 \, y (n-2) + 2 \, y (n-1)and the initial values y(0) = 1, y(1) = 2. Applying an algorithm to find hypergeometric solutions one can find the general hypergeometric solutiony (n) = c \, 2^n n!for some constant c. Also considering the initial values, the sequence y (n) = 2^n n! describes the number of signed permutation matrices.


Involutions

The number of involutions y(n) of a set with n elements is given by the recurrence equationy (n) = (n-1) \, y (n-2) + y (n-1).Applying for example Petkovšek's algorithm it is possible to see that there is no polynomial, rational or hypergeometric solution for this recurrence equation.


Applications

A function F(n,k) is called hypergeometric if F(n,k+1)/F(n,k), F(n+1,k)/F(n,k) \in \mathbb(n,k) where \mathbb{K}(n,k) denotes the rational functions in n and k. A hypergeometric sum is a finite sum of the form f(n)=\sum_k F(n,k) where F(n,k) is hypergeometric.
Zeilberger Zeilberger ( he, ציילברגר) may refer to: * Doron Zeilberger (born 1950), an Israeli mathematician ** Wilf–Zeilberger pair In mathematics, specifically combinatorics, a Wilf–Zeilberger pair, or WZ pair, is&n ...
's creative telescoping algorithm can transform such a hypergeometric sum into a recurrence equation with polynomial coefficients. This equation can then be solved to get for example a linear combination of hypergeometric solutions which is called a closed form solution of f.


References

Polynomials