Hockey-stick identity

From testwiki
Revision as of 20:29, 21 February 2025 by imported>Magister Mathematicae (let's not put the most technical one first, but rather let's start with the elementary counting ones (moving generating functions to below))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 nr0 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,nr

or equivalently, the mirror-image by the substitution jir, and by using the identify (nk)=(nnk):

j=0nr(j+rr)=j=0nr(j+rj)=(n+1nr) for n,r,nr.

Proofs

Inductive and algebraic proofs

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

(nk)=(n1k1)+(n1k).

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,kr,

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+k1k1)

ways to do this. Alternatively, we can first give 0in candies to the oldest child so that we are essentially giving ni candies to k1 kids and again, with stars and bars and double counting, we have

(n+k1k1)=i=0n(n+k2ik2),

which simplifies to the desired result by taking n=n+k2 and r=k2, and noticing that nn=k2=r:

(n+1r+1)=i=0n(nir)=i=rn(ir).

Proof 2

We can form a committee of size k+1 from a group of n+1 people in

(n+1k+1)

ways. Now we hand out the numbers 1,2,3,,nk+1 to nk+1 of the n+1 people. We can then divide our committee-forming process into nk+1 exhaustive and disjoint cases based on the committee member with the lowest number, x. Note that there are only k people without numbers, meaning we must choose at least one person with a number in order to form a committee of k+1 people. In general, in case x, person x is on the committee and persons 1,2,3,,x1 are not on the committee. The rest of the committee can then be chosen in

(nx+1k)

ways. Now we can sum the values of these nk+1 disjoint cases, and using double counting, we obtain

(n+1k+1)=(nk)+(n1k)+(n2k)++(k+1k)+(kk).


Generating function proof

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

Xr+Xr+1++Xn=XrXn+11X=Xn+1Xrx.

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=0nr(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+1Xr, 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=0nr(r+kr)=(n+1r+1)

See also


References

Template:Reflist

  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