Binomial transform

From HandWiki
Revision as of 15:03, 6 February 2024 by Jworkorg (talk | contribs) (simplify)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Transformation of a mathematical sequence

In combinatorics, the binomial transform is a sequence transformation (i.e., a transform of a sequence) that computes its forward differences. It is closely related to the Euler transform, which is the result of applying the binomial transform to the sequence associated with its ordinary generating function.

Definition

The binomial transform, T, of a sequence, {an}, is the sequence {sn} defined by

[math]\displaystyle{ s_n = \sum_{k=0}^n (-1)^k {n\choose k} a_k. }[/math]

Formally, one may write

[math]\displaystyle{ s_n = (Ta)_n = \sum_{k=0}^n T_{nk} a_k }[/math]

for the transformation, where T is an infinite-dimensional operator with matrix elements Tnk. The transform is an involution, that is,

[math]\displaystyle{ TT = 1 }[/math]

or, using index notation,

[math]\displaystyle{ \sum_{k=0}^\infty T_{nk}T_{km} = \delta_{nm} }[/math]

where [math]\displaystyle{ \delta_{nm} }[/math] is the Kronecker delta. The original series can be regained by

[math]\displaystyle{ a_n=\sum_{k=0}^n (-1)^k {n\choose k} s_k. }[/math]

The binomial transform of a sequence is just the nth forward differences of the sequence, with odd differences carrying a negative sign, namely:

[math]\displaystyle{ \begin{align} s_0 &= a_0 \\ s_1 &= - (\Delta a)_0 = -a_1+a_0 \\ s_2 &= (\Delta^2 a)_0 = -(-a_2+a_1)+(-a_1+a_0) = a_2-2a_1+a_0 \\ &\;\; \vdots \\ s_n &= (-1)^n (\Delta^n a)_0 \end{align} }[/math]

where Δ is the forward difference operator.

Some authors define the binomial transform with an extra sign, so that it is not self-inverse:

[math]\displaystyle{ t_n = \sum_{k=0}^n (-1)^{n-k} {n\choose k} a_k }[/math]

whose inverse is

[math]\displaystyle{ a_n=\sum_{k=0}^n {n\choose k} t_k. }[/math]

In this case the former transform is called the inverse binomial transform, and the latter is just binomial transform. This is standard usage for example in On-Line Encyclopedia of Integer Sequences.

Example

Both versions of the binomial transform appear in difference tables. Consider the following difference table:

0   1   10   63   324   1485
  1   9   53   261   1161
    8   44   208   900
      36   164   692
        128   528
          400

Each line is the difference of the previous line. (The n-th number in the m-th line is am,n = 3n−2(2m+1n2 + 2m(1+6m)n + 2m-19m2), and the difference equation am+1,n = am,n+1 - am,n holds.)

The top line read from left to right is {an} = 0, 1, 10, 63, 324, 1485, ... The diagonal with the same starting point 0 is {tn} = 0, 1, 8, 36, 128, 400, ... {tn} is the noninvolutive binomial transform of {an}.

The top line read from right to left is {bn} = 1485, 324, 63, 10, 1, 0, ... The cross-diagonal with the same starting point 1485 is {sn} = 1485, 1161, 900, 692, 528, 400, ... {sn} is the involutive binomial transform of {bn}.

Ordinary generating function

The transform connects the generating functions associated with the series. For the ordinary generating function, let

[math]\displaystyle{ f(x)=\sum_{n=0}^\infty a_n x^n }[/math]

and

[math]\displaystyle{ g(x)=\sum_{n=0}^\infty s_n x^n }[/math]

then

[math]\displaystyle{ g(x) = (Tf)(x) = \frac{1}{1-x} f\left(\frac{-x}{1-x}\right). }[/math]

Euler transform

The relationship between the ordinary generating functions is sometimes called the Euler transform. It commonly makes its appearance in one of two different ways. In one form, it is used to accelerate the convergence of an alternating series. That is, one has the identity

[math]\displaystyle{ \sum_{n=0}^\infty (-1)^n a_n = \sum_{n=0}^\infty (-1)^n \frac{(\Delta^n a)_0}{2^{n+1}} }[/math]

which is obtained by substituting x = 1/2 into the last formula above. The terms on the right hand side typically become much smaller, much more rapidly, thus allowing rapid numerical summation.

The Euler transform can be generalized (Borisov B. and Shkodrov V., 2007):

[math]\displaystyle{ \sum_{n=0}^\infty (-1)^n {n+p\choose n} a_n = \sum_{n=0}^\infty (-1)^n {n+p\choose n} \frac{(\Delta^n a)_0}{2^{n+p+1}} , }[/math]

where p = 0, 1, 2,…

The Euler transform is also frequently applied to the Euler hypergeometric integral [math]\displaystyle{ \,_2F_1 }[/math]. Here, the Euler transform takes the form:

[math]\displaystyle{ \,_2F_1 (a,b;c;z) = (1-z)^{-b} \,_2F_1 \left(c-a, b; c;\frac{z}{z-1} \right). }[/math]

[See [1] for generalizations to other hypergeometric series.]

The binomial transform, and its variation as the Euler transform, is notable for its connection to the continued fraction representation of a number. Let [math]\displaystyle{ 0 \lt x \lt 1 }[/math] have the continued fraction representation

[math]\displaystyle{ x=[0;a_1, a_2, a_3,\cdots] }[/math]

then

[math]\displaystyle{ \frac{x}{1-x}=[0;a_1-1, a_2, a_3,\cdots] }[/math]

and

[math]\displaystyle{ \frac{x}{1+x}=[0;a_1+1, a_2, a_3,\cdots]. }[/math]

Exponential generating function

For the exponential generating function, let

[math]\displaystyle{ \overline{f}(x)= \sum_{n=0}^\infty a_n \frac{x^n}{n!} }[/math]

and

[math]\displaystyle{ \overline{g}(x)= \sum_{n=0}^\infty s_n \frac{x^n}{n!} }[/math]

then

[math]\displaystyle{ \overline{g}(x) = (T\overline{f})(x) = e^x \overline{f}(-x). }[/math]

The Borel transform will convert the ordinary generating function to the exponential generating function.

Integral representation

When the sequence can be interpolated by a complex analytic function, then the binomial transform of the sequence can be represented by means of a Nörlund–Rice integral on the interpolating function.

Generalizations

Prodinger gives a related, modular-like transformation: letting

[math]\displaystyle{ u_n = \sum_{k=0}^n {n\choose k} a^k (-c)^{n-k} b_k }[/math]

gives

[math]\displaystyle{ U(x) = \frac{1}{cx+1} B\left(\frac{ax}{cx+1}\right) }[/math]

where U and B are the ordinary generating functions associated with the series [math]\displaystyle{ \{u_n\} }[/math] and [math]\displaystyle{ \{b_n\} }[/math], respectively.

The rising k-binomial transform is sometimes defined as

[math]\displaystyle{ \sum_{j=0}^n {n\choose j} j^k a_j. }[/math]

The falling k-binomial transform is

[math]\displaystyle{ \sum_{j=0}^n {n\choose j} j^{n-k} a_j }[/math].

Both are homomorphisms of the kernel of the Hankel transform of a series.

In the case where the binomial transform is defined as

[math]\displaystyle{ \sum_{i=0}^n(-1)^{n-i}\binom{n}{i}a_i=b_n. }[/math]

Let this be equal to the function [math]\displaystyle{ \mathfrak J(a)_n=b_n. }[/math]

If a new forward difference table is made and the first elements from each row of this table are taken to form a new sequence [math]\displaystyle{ \{b_n\} }[/math], then the second binomial transform of the original sequence is,

[math]\displaystyle{ \mathfrak J^2(a)_n=\sum_{i=0}^n(-2)^{n-i}\binom{n}{i}a_i. }[/math]

If the same process is repeated k times, then it follows that,

[math]\displaystyle{ \mathfrak J^k(a)_n=b_n=\sum_{i=0}^n(-k)^{n-i}\binom{n}{i}a_i. }[/math]

Its inverse is,

[math]\displaystyle{ \mathfrak J^{-k}(b)_n=a_n=\sum_{i=0}^nk^{n-i}\binom{n}{i}b_i. }[/math]

This can be generalized as,

[math]\displaystyle{ \mathfrak J^k(a)_n=b_n=(\mathbf E-k)^na_0 }[/math]

where [math]\displaystyle{ \mathbf E }[/math] is the shift operator.

Its inverse is

[math]\displaystyle{ \mathfrak J^{-k}(b)_n=a_n=(\mathbf E+k)^nb_0. }[/math]

See also

References

External links