Hockey-stick identity

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Use American English

Pascal's triangle, rows 0 through 7. The hockey stick identity confirms, for example: for n=6, r=2: 1+3+6+10+15=35.

In combinatorics, the hockey-stick identity,[1] Christmas stocking identity,[2] boomerang identity, Fermat's identity or Chu's Theorem,[3] states that if n≥r≥0 are integers, then

(rr)+(r+1r)+(r+2r)+⋯+(nr)=(n+1r+1).

The name stems from the graphical representation of the identity on Pascal's triangle: when the addends represented in the summation and the sum itself are highlighted, the shape revealed is vaguely reminiscent of those objects (see hockey stick, Christmas stocking).

Formulations

Using sigma notation, the identity states

∑i=rn(ir)=(n+1r+1) for n,r∈ℕ,n≥r

or equivalently, the mirror-image by the substitution j→i−r, and by using the identify (nk)=(nn−k):

∑j=0n−r(j+rr)=∑j=0n−r(j+rj)=(n+1n−r) for n,r∈ℕ,n≥r.

Proofs

Inductive and algebraic proofs

The inductive and algebraic proofs both make use of Pascal's identity:

(nk)=(n−1k−1)+(n−1k).

Inductive proof

This identity can be proven by mathematical induction on n.

Base case Let n=r;

∑i=rn(ir)=∑i=rr(ir)=(rr)=1=(r+1r+1)=(n+1r+1).

Inductive step Suppose, for some k∈ℕ,k⩾r,

∑i=rk(ir)=(k+1r+1)

Then

∑i=rk+1(ir)=(∑i=rk(ir))+(k+1r)=(k+1r+1)+(k+1r)=(k+2r+1).

Algebraic proof

We use a telescoping argument to simplify the computation of the sum:

∑t=0n(tk)=∑t=kn(tk)=∑t=kn[(t+1k+1)−(tk+1)]=∑t=kn(t+1k+1)−∑t=kn(tk+1)=∑t=k+1n+1(tk+1)−∑t=kn(tk+1)=(n+1k+1)−(kk+1)⏟0by telescoping=(n+1k+1).

Combinatorial proofs

Proof 1

Imagine that we are distributing n indistinguishable candies to k distinguishable children. By a direct application of the stars and bars method, there are

(n+k−1k−1)

ways to do this. Alternatively, we can first give 0⩽i⩽n candies to the oldest child so that we are essentially giving n−i candies to k−1 kids and again, with stars and bars and double counting, we have

(n+k−1k−1)=∑i=0n(n+k−2−ik−2),

which simplifies to the desired result by taking n′=n+k−2 and r=k−2, and noticing that n′−n=k−2=r:

(n′+1r+1)=∑i=0n(n′−ir)=∑i=rn′(ir).

Proof 2

Count the (k+1)-element subsets of the set {1,2,…,n+1} in two ways.

There are clearly (n+1k+1) such subsets in total.

Alternatively, partition these subsets according to their largest element. If the largest element is r+1, where k≤r≤n, then the remaining k elements must be chosen from {1,2,…,r}, which can be done in (rk) ways.

Therefore, ∑r=kn(rk)=(n+1k+1).

Generating function proof

Let X=1+x. Then, by the partial sum formula for geometric series, we find that

Xr+Xr+1+…+Xn=Xr−Xn+11−X=Xn+1−Xrx.

Further, by the binomial theorem, we also find that

Xr+k=(1+x)r+k=∑i=0r+k(r+ki)xi.

Note that this means the coefficient of xr in Xr+k is given by (r+kr).

Thus, the coefficient of xr in the left hand side of our first equation can be obtained by summing over the coefficients of xr from each term, which gives

∑k=0n−r(r+kr)

Similarly, we find that the coefficient of xr on the right hand side is given by the coefficient of xr+1 in Xn+1−Xr, which is

(n+1r+1)−(rr+1)=(n+1r+1)

Therefore, we can compare the coefficients of xr on each side of the equation to find that

∑k=0n−r(r+kr)=(n+1r+1)

See also


References

Template:Reflist

Template:Factorial and binomial topics

  1. ↑ CH Jones (1996) Generalized Hockey Stick Identities and N-Dimensional Block Walking. Fibonacci Quarterly 34(3), 280-288.
  2. ↑ Template:Cite web
  3. ↑ Template:Cite book