Polynomial solutions of P-recursive equations

From testwiki
Revision as of 16:35, 8 August 2023 by imported>Citation bot (Alter: title. Add: s2cid, chapter, authors 1-1. Removed parameters. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox3 | #UCB_webform_linked 1566/2306)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In mathematics a P-recursive equation can be solved for polynomial solutions. Sergei A. Abramov in 1989 and Marko Petkovšek in 1992 described an algorithm which finds all polynomial solutions of those recurrence equations with polynomial coefficients.[1][2] The algorithm computes a degree bound for the solution in a first step. In a second step an ansatz for a polynomial of this degree is used and the unknown coefficients are computed by a system of linear equations. 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 solution of the recurrence equation in a specific power basis (i.e. not the ordinary basis (xn)n).[3]

Other algorithms which compute rational 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 k=0rpk(n)y(n+k)=f(n) a recurrence equation of order r with polynomial coefficients pk𝕂[n], polynomial right-hand side f𝕂[n] and unknown polynomial sequence y(n)𝕂[n]. Furthermore deg(p) denotes the degree of a polynomial p𝕂[n] (with deg(0)= for the zero polynomial) and lc(p) denotes the leading coefficient of the polynomial. Moreover letqi=k=ir(ki)pk,b=maxi=0,,r(deg(qi)i),α(n)=i=0,,rdeg(qi)i=blc(qi)ni_,dα=max{n:α(n)=0}{}for i=0,,r where ni_=n(n1)(ni+1) denotes the falling factorial and the set of nonnegative integers. Then deg(y)max{deg(f)b,b1,dα}. This is called a degree bound for the polynomial solution y. This bound was shown by Abramov and Petkovšek.[1][2][3][4]

Algorithm

The algorithm consists of two steps. In a first step the degree bound is computed. In a second step an ansatz with a polynomial y of that degree with arbitrary coefficients in 𝕂 is made and plugged into the recurrence equation. Then the different powers are compared and a system of linear equations for the coefficients of y is set up and solved. This is called the method undetermined coefficients.[5] The algorithm returns the general polynomial solution of a recurrence equation.

algorithm polynomial_solutions is
    input: Linear recurrence equation k=0rpk(n)y(n+k)=f(n),pk,f𝕂[n],p0,pr0.
    output: The general polynomial solution y if there are any solutions, otherwise false.

    for i=0,,r do
        qi=k=ir(ki)pk
    repeat
    b=maxi=0,,r(deg(qi)i)
    α(n)=i=0,,rdeg(qi)i=blc(qi)ni_
    dα=max{n:α(n)=0}{}
    d=max{deg(f)b,b1,dα}
    y(n)=j=0dyjnj with unknown coefficients yj𝕂 for j=0,,d
    Compare coefficients of polynomials k=0rpk(n)y(n+k) and f(n) to get possible values for yj,j=0,,d
    if there are possible values for yj then
        return general solution y
    else
        return false
    end if

Example

Applying the formula for the degree bound on the recurrence equation(n22)y(n)+(n2+2n)y(n+1)=2n,over yields deg(y)2. Hence one can use an ansatz with a quadratic polynomial y(n)=y2n2+y1n+y0 with y0,y1,y2. Plugging this ansatz into the original recurrence equation leads to2n=(n22)y(n)+(n2+2n)y(n+1)=(y1+y2)n2+(2y0+2y2)n2y0.This is equivalent to the following system of linear equations(011202200)(y0y1y2)=(020)with the solution y0=0,y1=1,y2=1. Therefore the only polynomial solution is y(n)=n2n.

References