In mathematics a
P-recursive equation can be solved for polynomial solutions. Sergei A. Abramov in 1989 and
Marko Petkovšek
Marko Petkovšek (1955 – 24 March 2023) was a Slovenian mathematician working mainly in symbolic computation.
He was a professor of discrete and computational mathematics at the University of Ljubljana. He is best known for Petkovšek's algorit ...
in 1992 described 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 ...
which finds all
polynomial
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
solutions of those recurrence equations with polynomial coefficients.
The algorithm computes a ''degree bound'' for the solution in a first step. In a second step an
ansatz
In physics and mathematics, an ansatz (; , meaning: "initial placement of a tool at a work piece", plural ansatzes or, from German, ansätze ; ) is an educated guess or an additional assumption made to help solve a problem, and which may later be ...
for a polynomial of this degree is used and the unknown coefficients are computed by 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 ...
. This article describes this algorithm.
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
).
Other algorithms which compute
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 ...
or
hypergeometric solutions of a linear recurrence equation with polynomial coefficients also use algorithms which compute polynomial solutions.
Degree bound
Let
be a
field of characteristic zero and
a
recurrence equation of order
with polynomial coefficients