Article · Wikipedia archive · Last revised Jun 23, 2026

Wilf–Zeilberger pair

In mathematics, specifically combinatorics, a Wilf–Zeilberger pair, or WZ pair, is a pair of functions that can be used to certify certain combinatorial identities. WZ pairs are named after Herbert S. Wilf and Doron Zeilberger, and are instrumental in the evaluation of many sums involving binomial coefficients, factorials, and in general any hypergeometric series. A function's WZ counterpart may be used to find an equivalent and much simpler sum. Although finding WZ pairs by hand is impractical in most cases, Gosper's algorithm provides a method to find a function's WZ counterpart, and can be implemented in a symbolic manipulation program.

Last revised
Jun 23, 2026
Read time
≈ 3 min
Length
776 w
Citations
Source

In mathematics, specifically combinatorics, a Wilf–Zeilberger pair, or WZ pair, is a pair of functions that can be used to certify certain combinatorial identities. WZ pairs are named after Herbert S. Wilf and Doron Zeilberger, and are instrumental in the evaluation of many sums involving binomial coefficients, factorials, and in general any hypergeometric series. A function's WZ counterpart may be used to find an equivalent and much simpler sum. Although finding WZ pairs by hand is impractical in most cases, Gosper's algorithm provides a method to find a function's WZ counterpart, and can be implemented in a symbolic manipulation program.

Definition

Two functions F and G form a WZ pair if and only if the following two conditions hold:

F ( n + 1 , k ) F ( n , k ) = G ( n , k + 1 ) G ( n , k ) , {\displaystyle F(n+1,k)-F(n,k)=G(n,k+1)-G(n,k),}
lim M ± G ( n , M ) = 0. {\displaystyle \lim _{M\to \pm \infty }G(n,M)=0.}

Properties

From the definition it follows that

k = [ F ( n + 1 , k ) F ( n , k ) ] = 0 {\displaystyle \sum _{k=-\infty }^{\infty }[F(n+1,k)-F(n,k)]=0}

because the function G telescopes:

k = [ F ( n + 1 , k ) F ( n , k ) ] = lim M k = M M [ F ( n + 1 , k ) F ( n , k ) ] = lim M k = M M [ G ( n , k + 1 ) G ( n , k ) ] = lim M [ G ( n , M + 1 ) G ( n , M ) ] = 0 0 = 0. {\displaystyle {\begin{aligned}\sum _{k=-\infty }^{\infty }[F(n+1,k)-F(n,k)]&{}=\lim _{M\to \infty }\sum _{k=-M}^{M}[F(n+1,k)-F(n,k)]\\&{}=\lim _{M\to \infty }\sum _{k=-M}^{M}[G(n,k+1)-G(n,k)]\\&{}=\lim _{M\to \infty }[G(n,M+1)-G(n,-M)]\\&{}=0-0\\&{}=0.\end{aligned}}}

Therefore,

k = F ( n + 1 , k ) = k = F ( n , k ) , {\displaystyle \sum _{k=-\infty }^{\infty }F(n+1,k)=\sum _{k=-\infty }^{\infty }F(n,k),}

that is

k = F ( n , k ) = const . {\displaystyle \sum _{k=-\infty }^{\infty }F(n,k)={\text{const}}.}

The constant does not depend on n. Its value can be found by substituting n = n0 for a particular n0.

If F and G form a WZ pair, then they satisfy the relation

G ( n , k ) = R ( n , k ) F ( n , k 1 ) , {\displaystyle G(n,k)=R(n,k)F(n,k-1),}

where R ( n , k ) {\displaystyle R(n,k)} is a rational function of n and k and is called the WZ proof certificate.

Example

A Wilf–Zeilberger pair can be used to verify the identity

k = 0 ( 1 ) k ( n k ) ( 2 k k ) 4 n k = ( 2 n n ) . {\displaystyle \sum _{k=0}^{\infty }(-1)^{k}{n \choose k}{2k \choose k}4^{n-k}={2n \choose n}.}

Divide the identity by its right-hand side:

k = 0 ( 1 ) k ( n k ) ( 2 k k ) 4 n k ( 2 n n ) = 1. {\displaystyle \sum _{k=0}^{\infty }{\frac {(-1)^{k}{n \choose k}{2k \choose k}4^{n-k}}{2n \choose n}}=1.}

Use the proof certificate

R ( n , k ) = 2 k 1 2 n + 1 {\displaystyle R(n,k)={\frac {2k-1}{2n+1}}}

to verify that the left-hand side does not depend on n, where

F ( n , k ) = ( 1 ) k ( n k ) ( 2 k k ) 4 n k ( 2 n n ) , G ( n , k ) = R ( n , k ) F ( n , k 1 ) . {\displaystyle {\begin{aligned}F(n,k)&={\frac {(-1)^{k}{n \choose k}{2k \choose k}4^{n-k}}{2n \choose n}},\\G(n,k)&=R(n,k)F(n,k-1).\end{aligned}}}

Now F and G form a Wilf–Zeilberger pair.

To prove that the constant in the right-hand side of the identity is 1, substitute n = 0, for instance.

References

References

See also

See also

External links