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.
The binomial transform, T, of a sequence,, is the sequence defined by
sn=
n | |
\sum | |
k=0 |
(-1)k{n\choosek}ak.
Formally, one may write
sn=(Ta)n=
n | |
\sum | |
k=0 |
Tnkak
for the transformation, where T is an infinite-dimensional operator with matrix elements Tnk.The transform is an involution, that is,
TT=1
or, using index notation,
infty | |
\sum | |
k=0 |
TnkTkm=\deltanm
where
\deltanm
an=\sum
n | |
k=0 |
(-1)k{n\choosek}sk.
The binomial transform of a sequence is just the nth forward differences of the sequence, with odd differences carrying a negative sign, namely:
\begin{align} s0&=a0\\ s1&=-(\Deltaa)0=-a1+a0\\ s2&=(\Delta2a)0=-(-a2+a1)+(-a1+a0)=a2-2a1+a0\\ & \vdots\\ sn&=(-1)n(\Deltana)0 \end{align}
where Δ is the forward difference operator.
Some authors define the binomial transform with an extra sign, so that it is not self-inverse:
tn=
n | |
\sum | |
k=0 |
(-1)n-k{n\choosek}ak
whose inverse is
an=\sum
n | |
k=0 |
{n\choosek}tk.
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.
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 = 0, 1, 10, 63, 324, 1485, ... The diagonal with the same starting point 0 is = 0, 1, 8, 36, 128, 400, ... is the noninvolutive binomial transform of .
The top line read from right to left is = 1485, 324, 63, 10, 1, 0, ... The cross-diagonal with the same starting point 1485 is = 1485, 1161, 900, 692, 528, 400, ... is the involutive binomial transform of .
The transform connects the generating functions associated with the series. For the ordinary generating function, let
infty | |
f(x)=\sum | |
n=0 |
anxn
and
infty | |
g(x)=\sum | |
n=0 |
snxn
then
g(x)=(Tf)(x)=
1 | f\left( | |
1-x |
-x | |
1-x |
\right).
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
infty | |
\sum | |
n=0 |
(-1)nan=
infty | |
\sum | |
n=0 |
(-1)n
(\Deltana)0 | |
2n+1 |
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):
infty | |
\sum | |
n=0 |
(-1)n{n+p\choosen}an=
infty | |
\sum | |
n=0 |
(-1)n{n+p\choosen}
(\Deltana)0 | |
2n+p+1 |
,
where p = 0, 1, 2,…
2F1
2F1(a,b;c;z)=(1-z)-b2F1\left(c-a,b;c;
z | |
z-1 |
\right).
[See <ref>{{cite journal|first1=Allen R.|last1=Miller|first2=R. B.|last2=Paris|title=Euler-type transformations for the generalized hypergeometric function|journal= Z. Angew. Math. Phys.|doi=10.1007/s00033-010-0085-0|year=2010|volume=62|number=1|pages=31–45|s2cid=30484300 |url=https://rke.abertay.ac.uk/en/publications/30e4ad50-271e-40a7-bfb3-dc6515871b50 }}</ref> 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
0<x<1
x=[0;a1,a2,a3, … ]
then
x | |
1-x |
=[0;a1-1,a2,a3, … ]
and
x | |
1+x |
=[0;a1+1,a2,a3, … ].
For the exponential generating function, let
\overline{f}(x)=
infty | |
\sum | |
n=0 |
an
xn | |
n! |
and
\overline{g}(x)=
infty | |
\sum | |
n=0 |
sn
xn | |
n! |
then
\overline{g}(x)=(T\overline{f})(x)=ex\overline{f}(-x).
The Borel transform will convert the ordinary generating function to the exponential generating function.
Let
\{an\}
\{bn\}
n=0,1,2,\ldots,
(a\circb)n=\sum
n{n | |
k=0 |
\choosek}akbn-k, n=0,1,2,\ldots
\{en\}
e0=1
en=0
n=1,2,\ldots,
\{an\}
a0\ne0
\{an\}
a0\ne0
The binomial convolution arises naturally from the product of the exponential generating functions. In fact,
\left(
infty | |
\sum | |
n=0 |
an{xn\overn!}\right) \left(
infty | |
\sum | |
n=0 |
bn{xn\overn!}\right)
infty | |
= \sum | |
n=0 |
(a\circb)n{xn\overn!}.
The binomial transform can be written in terms of binomial convolution. Let
n | |
λ | |
n=(-1) |
1n=1
n
(Ta)n=(λa\circ1)n.
tn=
n | |
\sum | |
k=0 |
(-1)n-k{n\choosek}ak \iffan=\sum
n | |
k=0 |
{n\choosek}tk
tn=(a\circλ)n \iffan=(t\circ1)n
λn
1n
There is also another binomial convolution in the mathematical literature. The binomial convolution of arithmetical functions
f
g
(f\circBg)(n)=\sumd\mid\left(\prodp \binom{\nup(n)}{\nup(d)}\right)f(d)g(n/d),
n=\prodp
\nup(n) | |
p |
n
\binom{\nup(n)}{\nup(d)}
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.
Prodinger gives a related, modular-like transformation: letting
un=
n | |
\sum | |
k=0 |
{n\choosek}ak(-c)n-kbk
gives
U(x)=
1 | B\left( | |
cx+1 |
ax | |
cx+1 |
\right)
where U and B are the ordinary generating functions associated with the series
\{un\}
\{bn\}
The rising k-binomial transform is sometimes defined as
n | |
\sum | |
j=0 |
{n\choosej}jkaj.
The falling k-binomial transform is
n | |
\sum | |
j=0 |
{n\choosej}jn-kaj
Both are homomorphisms of the kernel of the Hankel transform of a series.
In the case where the binomial transform is defined as
n(-1) | |
\sum | |
i=0 |
n-i\binom{n}{i}ai=bn.
Let this be equal to the function
akJ(a)n=bn.
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
\{bn\}
2(a) | |
akJ | |
n=\sum |
n(-2) | |
i=0 |
n-i\binom{n}{i}ai.
If the same process is repeated k times, then it follows that,
k(a) | |
akJ | |
n=b |
n=\sum
n(-k) | |
i=0 |
n-i\binom{n}{i}ai.
Its inverse is,
akJ-k(b)n=an=\sum
nk | |
i=0 |
n-i\binom{n}{i}bi.
This can be generalized as,
k(a) | |
akJ | |
n=b |
na | |
0 |
where
E
Its inverse is
akJ-k(b)n=a
nb | |
0. |