HOME

TheInfoList



OR:

In mathematics a P-recursive equation is a
linear equation In mathematics, a linear equation is an equation that may be put in the form a_1x_1+\ldots+a_nx_n+b=0, where x_1,\ldots,x_n are the variables (or unknowns), and b,a_1,\ldots,a_n are the coefficients, which are often real numbers. The coeffici ...
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 cal ...
s where the coefficient sequences can be represented as
polynomials In mathematics, a polynomial is a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative int ...
. 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 Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
. The sequences which are solutions of these equations are called holonomic, P-recursive or D-finite. From the late 1980s, the first algorithms were developed to find solutions for these equations. Sergei A. Abramov, Marko Petkovšek and Mark van Hoeij described algorithms to find polynomial, rational, hypergeometric and d'Alembertian solutions.


Definition

Let \mathbb be a field of characteristic zero (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 of the linear recurrence operator: \ker L = \. As a subspace of the space of sequences this kernel has a basis. 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) gave a degree bound for polynomial solutions. This way the problem can simply be solved by considering a
system of linear equations In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables. For example, : \begin 3x+2y-z=1\\ 2x-2y+4z=-2\\ -x+\fracy-z=0 \end is a system of th ...
. 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 ''a_n'' represents the coefficient of the ''n''th term and ''c'' is a co ...
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 reason. 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 ...
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 gave an
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
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 Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
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 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 cal ...
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'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