Misplaced Pages

Binomial transform

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Pascal's inversion formula) 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

s n = k = 0 n ( 1 ) k ( n k ) a k . {\displaystyle s_{n}=\sum _{k=0}^{n}(-1)^{k}{n \choose k}a_{k}.}

Formally, one may write

s n = ( T a ) n = k = 0 n T n k a k {\displaystyle s_{n}=(Ta)_{n}=\sum _{k=0}^{n}T_{nk}a_{k}}

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

T T = 1 {\displaystyle TT=1}

or, using index notation,

k = 0 T n k T k m = δ n m {\displaystyle \sum _{k=0}^{\infty }T_{nk}T_{km}=\delta _{nm}}

where δ n m {\displaystyle \delta _{nm}} is the Kronecker delta. The original series can be regained by

a n = k = 0 n ( 1 ) k ( n k ) s k . {\displaystyle a_{n}=\sum _{k=0}^{n}(-1)^{k}{n \choose k}s_{k}.}

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

s 0 = a 0 s 1 = ( Δ a ) 0 = a 1 + a 0 s 2 = ( Δ 2 a ) 0 = ( a 2 + a 1 ) + ( a 1 + a 0 ) = a 2 2 a 1 + a 0 s n = ( 1 ) n ( Δ n a ) 0 {\displaystyle {\begin{aligned}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{aligned}}}

where Δ is the forward difference operator.

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

t n = k = 0 n ( 1 ) n k ( n k ) a k {\displaystyle t_{n}=\sum _{k=0}^{n}(-1)^{n-k}{n \choose k}a_{k}}

whose inverse is

a n = k = 0 n ( n k ) t k . {\displaystyle a_{n}=\sum _{k=0}^{n}{n \choose k}t_{k}.}

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 = 3(2n + 2(1+6m)n + 29m), 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

f ( x ) = n = 0 a n x n {\displaystyle f(x)=\sum _{n=0}^{\infty }a_{n}x^{n}}

and

g ( x ) = n = 0 s n x n {\displaystyle g(x)=\sum _{n=0}^{\infty }s_{n}x^{n}}

then

g ( x ) = ( T f ) ( x ) = 1 1 x f ( x 1 x ) . {\displaystyle g(x)=(Tf)(x)={\frac {1}{1-x}}f\left({\frac {-x}{1-x}}\right).}

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

n = 0 ( 1 ) n a n = n = 0 ( 1 ) n ( Δ n a ) 0 2 n + 1 {\displaystyle \sum _{n=0}^{\infty }(-1)^{n}a_{n}=\sum _{n=0}^{\infty }(-1)^{n}{\frac {(\Delta ^{n}a)_{0}}{2^{n+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):

n = 0 ( 1 ) n ( n + p n ) a n = n = 0 ( 1 ) n ( n + p n ) ( Δ n a ) 0 2 n + p + 1 , {\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}}},}

where p = 0, 1, 2,…

The Euler transform is also frequently applied to the Euler hypergeometric integral 2 F 1 {\displaystyle \,_{2}F_{1}} . Here, the Euler transform takes the form:

2 F 1 ( a , b ; c ; z ) = ( 1 z ) b 2 F 1 ( c a , b ; c ; z z 1 ) . {\displaystyle \,_{2}F_{1}(a,b;c;z)=(1-z)^{-b}\,_{2}F_{1}\left(c-a,b;c;{\frac {z}{z-1}}\right).}

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 {\displaystyle 0<x<1} have the continued fraction representation

x = [ 0 ; a 1 , a 2 , a 3 , ] {\displaystyle x=}

then

x 1 x = [ 0 ; a 1 1 , a 2 , a 3 , ] {\displaystyle {\frac {x}{1-x}}=}

and

x 1 + x = [ 0 ; a 1 + 1 , a 2 , a 3 , ] . {\displaystyle {\frac {x}{1+x}}=.}

Exponential generating function

For the exponential generating function, let

f ¯ ( x ) = n = 0 a n x n n ! {\displaystyle {\overline {f}}(x)=\sum _{n=0}^{\infty }a_{n}{\frac {x^{n}}{n!}}}

and

g ¯ ( x ) = n = 0 s n x n n ! {\displaystyle {\overline {g}}(x)=\sum _{n=0}^{\infty }s_{n}{\frac {x^{n}}{n!}}}

then

g ¯ ( x ) = ( T f ¯ ) ( x ) = e x f ¯ ( x ) . {\displaystyle {\overline {g}}(x)=(T{\overline {f}})(x)=e^{x}{\overline {f}}(-x).}

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


Binomial convolution

Let { a n } {\displaystyle \{a_{n}\}} and { b n } {\displaystyle \{b_{n}\}} , n = 0 , 1 , 2 , , {\displaystyle n=0,1,2,\ldots ,} be sequences of complex numbers. Their binomial convolution is defined by

( a b ) n = k = 0 n ( n k ) a k b n k ,     n = 0 , 1 , 2 , {\displaystyle (a\circ b)_{n}=\sum _{k=0}^{n}{n \choose k}a_{k}b_{n-k},\ \ n=0,1,2,\ldots }

This convolution can be found in the book by R.L. Graham, D.E. Knuth and O. Patashnik: Concrete Mathematics: A Foundation for Computer Science, Addison-Wesley (1989). It is easy to see that the binomial convolution is associative and commutative, and the sequence { e n } {\displaystyle \{e_{n}\}} defined by e 0 = 1 {\displaystyle e_{0}=1} and e n = 0 {\displaystyle e_{n}=0} for n = 1 , 2 , , {\displaystyle n=1,2,\ldots ,} serves as the identity under the binomial convolution. Further, it is easy to see that the sequences { a n } {\displaystyle \{a_{n}\}} with a 0 0 {\displaystyle a_{0}\neq 0} possess an inverse. Thus the set of sequences { a n } {\displaystyle \{a_{n}\}} with a 0 0 {\displaystyle a_{0}\neq 0} forms an Abelian group under the binomial convolution.

The binomial convolution arises naturally from the product of the exponential generating functions. In fact,

( n = 0 a n x n n ! ) ( n = 0 b n x n n ! ) = n = 0 ( a b ) n x n n ! . {\displaystyle \left(\sum _{n=0}^{\infty }a_{n}{x^{n} \over n!}\right)\left(\sum _{n=0}^{\infty }b_{n}{x^{n} \over n!}\right)=\sum _{n=0}^{\infty }(a\circ b)_{n}{x^{n} \over n!}.}


The binomial transform can be written in terms of binomial convolution. Let λ n = ( 1 ) n {\displaystyle \lambda _{n}=(-1)^{n}} and 1 n = 1 {\displaystyle 1_{n}=1} for all n {\displaystyle n} . Then

( T a ) n = ( λ a 1 ) n . {\displaystyle (Ta)_{n}=(\lambda a\circ 1)_{n}.}

The formula

t n = k = 0 n ( 1 ) n k ( n k ) a k a n = k = 0 n ( n k ) t k {\displaystyle t_{n}=\sum _{k=0}^{n}(-1)^{n-k}{n \choose k}a_{k}\iff a_{n}=\sum _{k=0}^{n}{n \choose k}t_{k}}

can be inerpreted as a Möbius inversion type formula

t n = ( a λ ) n a n = ( t 1 ) n {\displaystyle t_{n}=(a\circ \lambda )_{n}\iff a_{n}=(t\circ 1)_{n}}

since λ n {\displaystyle \lambda _{n}} is the inverse of 1 n {\displaystyle 1_{n}} under the binomial convolution.


There is also another binomial convolution in the mathematical literature. The binomial convolution of arithmetical functions f {\displaystyle f} and g {\displaystyle g} is defined as

( f B g ) ( n ) = d n ( p ( ν p ( n ) ν p ( d ) ) ) f ( d ) g ( n / d ) , {\displaystyle (f\circ _{B}g)(n)=\sum _{d\mid n}\left(\prod _{p}{\binom {\nu _{p}(n)}{\nu _{p}(d)}}\right)f(d)g(n/d),}

where n = p p ν p ( n ) {\displaystyle n=\prod _{p}p^{\nu _{p}(n)}} is the canonical factorization of a positive integer n {\displaystyle n} and ( ν p ( n ) ν p ( d ) ) {\displaystyle {\binom {\nu _{p}(n)}{\nu _{p}(d)}}} is the binomial coefficient. This convolution appears in the book by P. J. McCarthy (1986) and was further studied by L. Toth and P. Haukkanen (2009).

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

u n = k = 0 n ( n k ) a k ( c ) n k b k {\displaystyle u_{n}=\sum _{k=0}^{n}{n \choose k}a^{k}(-c)^{n-k}b_{k}}

gives

U ( x ) = 1 c x + 1 B ( a x c x + 1 ) {\displaystyle U(x)={\frac {1}{cx+1}}B\left({\frac {ax}{cx+1}}\right)}

where U and B are the ordinary generating functions associated with the series { u n } {\displaystyle \{u_{n}\}} and { b n } {\displaystyle \{b_{n}\}} , respectively.

The rising k-binomial transform is sometimes defined as

j = 0 n ( n j ) j k a j . {\displaystyle \sum _{j=0}^{n}{n \choose j}j^{k}a_{j}.}

The falling k-binomial transform is

j = 0 n ( n j ) j n k a j {\displaystyle \sum _{j=0}^{n}{n \choose j}j^{n-k}a_{j}} .

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

In the case where the binomial transform is defined as

i = 0 n ( 1 ) n i ( n i ) a i = b n . {\displaystyle \sum _{i=0}^{n}(-1)^{n-i}{\binom {n}{i}}a_{i}=b_{n}.}

Let this be equal to the function J ( a ) n = b n . {\displaystyle {\mathfrak {J}}(a)_{n}=b_{n}.}

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 { b n } {\displaystyle \{b_{n}\}} , then the second binomial transform of the original sequence is,

J 2 ( a ) n = i = 0 n ( 2 ) n i ( n i ) a i . {\displaystyle {\mathfrak {J}}^{2}(a)_{n}=\sum _{i=0}^{n}(-2)^{n-i}{\binom {n}{i}}a_{i}.}

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

J k ( a ) n = b n = i = 0 n ( k ) n i ( n i ) a i . {\displaystyle {\mathfrak {J}}^{k}(a)_{n}=b_{n}=\sum _{i=0}^{n}(-k)^{n-i}{\binom {n}{i}}a_{i}.}

Its inverse is,

J k ( b ) n = a n = i = 0 n k n i ( n i ) b i . {\displaystyle {\mathfrak {J}}^{-k}(b)_{n}=a_{n}=\sum _{i=0}^{n}k^{n-i}{\binom {n}{i}}b_{i}.}

This can be generalized as,

J k ( a ) n = b n = ( E k ) n a 0 {\displaystyle {\mathfrak {J}}^{k}(a)_{n}=b_{n}=(\mathbf {E} -k)^{n}a_{0}}

where E {\displaystyle \mathbf {E} } is the shift operator.

Its inverse is

J k ( b ) n = a n = ( E + k ) n b 0 . {\displaystyle {\mathfrak {J}}^{-k}(b)_{n}=a_{n}=(\mathbf {E} +k)^{n}b_{0}.}

See also

References

  1. Miller, Allen R.; Paris, R. B. (2010). "Euler-type transformations for the generalized hypergeometric function". Z. Angew. Math. Phys. 62 (1): 31–45. doi:10.1007/s00033-010-0085-0. S2CID 30484300.
  • John H. Conway and Richard K. Guy, 1996, The Book of Numbers
  • Donald E. Knuth, The Art of Computer Programming Vol. 3, (1973) Addison-Wesley, Reading, MA.
  • Helmut Prodinger, 1992, Some information about the Binomial transform Archived 2007-03-12 at the Wayback Machine
  • Spivey, Michael Z.; Steil, Laura L. (2006). "The k-Binomial Transforms and the Hankel Transform". Journal of Integer Sequences. 9: 06.1.1. Bibcode:2006JIntS...9...11S.
  • Borisov, B.; Shkodrov, V. (2007). "Divergent Series in the Generalized Binomial Transform". Adv. Stud. Cont. Math. 14 (1): 77–82.
  • Khristo N. Boyadzhiev, Notes on the Binomial Transform, Theory and Table, with Appendix on the Stirling Transform (2018), World Scientific.
  • R.L. Graham, D.E. Knuth and O. Patashnik: Concrete Mathematics: A Foundation for Computer Science, Addison-Wesley (1989).
  • P. J. McCarthy, Introduction to Arithmetical Functions, Springer-Verlag, 1986.
  • P. Haukkanen, On a binomial convolution of arithmetical functions, Nieuw Arch. Wisk. (IV) 14 (1996), no. 2, 209--216.
  • L. Toth and P. Haukkanen, On the binomial convolution of arithmetical functions, J. Combinatorics and Number Theory 1(2009), 31-48.
  • P. Haukkanen, Some binomial inversions in terms of ordinary generating functions. Publ. Math. Debr. 47, No. 1-2, 181-191 (1995).

External links

Categories: