P-recursive equation: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>OAbot
m Open access bot: doi updated in citation with #oabot.
 
(No difference)

Latest revision as of 02:05, 3 December 2023

Template:Short description Template:Expert needed Template:Further

In mathematics a P-recursive equation is a linear equation of sequences 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, 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 𝕂 be a field of characteristic zero (for example 𝕂=), pk(n)𝕂[n] polynomials for k=0,,r,f𝕂 a sequence and y𝕂 an unknown sequence. The equationk=0rpk(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 p0 and pr 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 Ly=f where L=k=0rpkNk is a linear recurrence operator with polynomial coefficients and N is the shift operator, i.e. Ny(n)=y(n+1).

Closed form solutions

Let k=0rpk(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: kerL={y𝕂:Ly=0}. As a subspace of the space of sequences this kernel has a basis.[1] Let {y(1),y(2),,y(m)} be a basis of kerL, then the formal sum c1y(1)++cmy(m) for arbitrary constants c1,,cm𝕂 is called the general solution of the homogeneous problem Ly=0. If y~ is a particular solution of Ly=f, i.e. Ly~=f, then c1y(1)++cmy(m)+y~ is also a solution of the inhomogeneous problem and it is called the general solution of the inhomogeneous problem.

Polynomial solutions

Template:MainIn the late 1980s Sergei A. Abramov described an algorithm which finds the general polynomial solution of a recurrence equation, i.e. y(n)𝕂[n], with a polynomial right-hand sidef(n)𝕂[n]. 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.[2][3][4] In 1995 Abramov, Bronstein and Petkovšek showed that the polynomial case can be solved more efficiently by considering power series solution of the recurrence equation in a specific power basis (i.e. not the ordinary basis (xn)n).[5]

The other algorithms for finding more general solutions (e.g. rational or hypergeometric solutions) also rely on algorithms which compute polynomial solutions.

Rational solutions

Template:MainIn 1989 Sergei A. Abramov showed that a general rational solution, i.e. y(n)𝕂(n), with polynomial right-hand side f(n)𝕂[n], 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 p0 and pr. 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.[6]

Hypergeometric solution

Template:MainA 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)𝕂(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 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.[3]

A different and more efficient approach is due to Mark van Hoeij. Considering the roots of the first and the last coefficient polynomial p0 and pr – 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)=cr(n)znΓ(nξ1)e1Γ(nξ2)e2Γ(nξs)esfor some c𝕂,z𝕂,s,r(n)𝕂(n),ξ1,,ξs𝕂 with ξiξj for ij and e1,,es. Here Γ(n) denotes the Gamma function and 𝕂 the algebraic closure of the field 𝕂. Then the ξ1,,ξs have to be singularities of the equation (i.e. roots of p0 or pr). Furthermore one can compute bounds for the exponents ei. For fixed values ξ1,,ξs,e1,,es 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.[7][8]

D'Alembertian solutions

A sequence y is called d'Alembertian if y=h1h2hk for some hypergeometric sequences h1,,hk and y=x means that Δy=x where Δ denotes the difference operator, i.e. Δy=Nyy=y(n+1)y(n). This is the case if and only if there are first-order linear recurrence operators L1,,Lk with rational coefficients such that LkL1y=0.[4]

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.[9]

Examples

Signed permutation matrices

The number of signed permutation matrices of size n×n can be described by the sequence y(n). 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 ±1. The sequence is determined by the linear recurrence equation with polynomial coefficientsy(n)=4(n1)2y(n2)+2y(n1)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)=c2nn!for some constant c. Also considering the initial values, the sequence y(n)=2nn! describes the number of signed permutation matrices.[10]

Involutions

The number of involutions y(n) of a set with n elements is given by the recurrence equationy(n)=(n1)y(n2)+y(n1).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.[4]

Applications

A function F(n,k) is called hypergeometric if F(n,k+1)/F(n,k),F(n+1,k)/F(n,k)𝕂(n,k) where 𝕂(n,k) denotes the rational functions in n and k. A hypergeometric sum is a finite sum of the form f(n)=kF(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.[4]

References

  1. If sequences are considered equal if they are equal in almost all terms, then this basis is finite. More on this can be found in the book A=B by Petkovšek, Wilf and Zeilberger.
  2. Template:Cite journal
  3. 3.0 3.1 Template:Cite journal
  4. 4.0 4.1 4.2 4.3 Template:Cite book
  5. Template:Cite book
  6. Template:Cite journal
  7. Template:Cite journal
  8. Template:Cite journal
  9. Template:Cite book
  10. Template:Cite web