Sum of Squares of Binomial Coefficients
Contents |
Theorem
- $\displaystyle \sum_{i=0}^n \binom n i^2 = \binom {2 n} n$
where $\displaystyle \binom n i$ is a binomial coefficient.
Combinatorial Proof
Consider the number of paths in the integer lattice from $(0,0)$ to $(n,n)$ using only single steps to the right and single steps up.
This process takes $2n$ steps, of which $n$ are steps to the right.
Thus the total number of paths through the graph is equal to $\displaystyle \binom {2 n} n$.
Now let us count the paths through the grid by first counting the paths from $(0,0)$ to $(k,n-k)$, and then the paths from $(k,n-k)$ to $(n,n)$.
Note that each of these paths is of length $n$.
Since each path is $n$ steps long, every endpoint will be of the form $(k,n-k)$, representing $k$ steps right and $n-k$ steps up.
Note that the number of paths through $(k,n-k)$ is equal to $\displaystyle \binom n k$, since we are free to choose the k steps right in any order.
We can also count the number of $n$-step paths from the point $(k,n-k)$ to $(n,n)$.
These paths will be composed of $n-k$ steps to the right and $k$ steps up.
Therefore the number of these paths is equal to $\displaystyle \binom n {n-k} = \displaystyle \binom n k$.
Thus the total number of paths from $(0,0)$ to $(n,n)$ that pass through $(k,n-k)$ is equal to:
- the product of the number of possible paths from $(0,0)$ to $(k,n-k) = \displaystyle \binom n k$
and:
- the number of possible paths from $(k,n-k)$ to $(n,n) = \displaystyle \binom n k$.
So the total number of paths through $(k,n-k)$ is equal to $\displaystyle \binom n k^2$.
Summing over all possible values of $k \in 0, \ldots, n$ gives the total number of paths.
Thus we get:
- $\displaystyle \sum_{k=0}^n \binom n k^2 = \binom {2 n} n$
$\blacksquare$
Inductive Proof
For all $n \in \N$, let $P \left({n}\right)$ be the proposition:
- $\displaystyle \sum_{i=0}^n \binom n i^2 = \binom {2 n} n$
$P(0)$ is true, as this just says $\displaystyle \binom 0 0^2 = 1 = \binom {2 \times 0} 0$. This holds by definition.
Basis for the Induction
$P(1)$ is true, as this just says $\displaystyle \binom 1 0^2 + \binom 1 1^2 = 1^2 + 1^2 = 2 = \binom 2 1$. This also holds by definition.
This is our basis for the induction.
Induction Hypothesis
Now we need to show that, if $P \left({k}\right)$ is true, where $k \ge 1$, then it logically follows that $P \left({k+1}\right)$ is true.
So this is our induction hypothesis:
- $\displaystyle \sum_{i=0}^k \binom k i^2 = \binom {2 k} k$
Then we need to show:
- $\displaystyle \sum_{i=0}^{k+1} \binom {k+1} {i}^2 = \binom {2 \left({k+1}\right)} {k+1}$
Induction Step
This is our induction step:
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \sum_{i=0}^{k+1} \binom {k+1} i^2\) | \(=\) | \(\displaystyle \binom {k+1} 0^2 + \sum_{i=1}^k \binom {k+1} i^2 + \binom {k+1} {k+1}^2\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle 1 + \sum_{i=1}^k \left({\binom k {i-1} + \binom k i}\right)^2 + 1\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | from Pascal's Rule | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle 1 + \sum_{i=1}^k \left({\binom k {i-1}^2 + \binom k i^2 + 2 \binom k {i-1} \binom k i}\right) + 1\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \left({\sum_{i=0}^{k-1} \binom k i^2 + 1}\right) + \left({1 + \sum_{i=1}^k \binom k i^2}\right) + 2 \sum_{i=1}^k \left({\binom k {i-1} \binom k i}\right)\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | Permutation of Indices | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \left({\sum_{i=0}^{k-1} \binom k i^2 + \binom k k^2}\right) + \left({\binom k 0^2 + \sum_{i=1}^k \binom k i^2}\right) + 2 \sum_{i=1}^k \left({\binom k {i-1} \binom k i}\right)\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \sum_{i=0}^k \binom k i^2 + \sum_{i=0}^k \binom k i^2 + 2 \sum_{i=1}^k \left({\binom k {i-1} \binom k i}\right)\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \binom {2 k} k + \binom {2 k} k + 2 \sum_{i=1}^k \left({\binom k {i-1} \binom k i}\right)\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | by the induction hypothesis |
Now we look at $\displaystyle 2 \sum_{i=1}^k \left({\binom k {i-1} \binom k i}\right)$.
Using the Chu-Vandermonde Identity:
- $\displaystyle \sum_i \binom r i \binom s {n-i} = \binom {r+s} n$
From the Symmetry Rule for Binomial Coefficients, this can be written:
- $\displaystyle \sum_i \binom r i \binom s {s - n + i} = \binom {r+s} n$
Putting $r = k, s = k, s - n = -1$ from whence $n = k + 1$:
- $\displaystyle \sum_i \binom k i \binom k {i - 1} = \binom {2 k} {k+1}$
So:
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \sum_{i=0}^{k+1} \binom {k+1} i^2\) | \(=\) | \(\displaystyle 2 \binom {2 k} k + 2 \sum_i \left({\binom k {i-1} \binom k i}\right)\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | when $i \le 0$ and $i > k$ we have $\displaystyle \binom k {i-1} \binom k i = 0$ | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle 2 \binom {2 k} k + 2 \binom {2 k} {k+1}\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle 2 \binom {2 k + 1} {k+1}\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | Pascal's Rule | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \binom {2 k + 1} k + \binom {2 k + 1} {k+1}\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | Symmetry Rule for Binomial Coefficients | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \binom {2 k + 2} {k+1}\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | Pascal's Rule | ||
| \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \binom {2 \left({k + 1}\right)} {k+1}\) | \(\displaystyle \) | \(\displaystyle \) | \(\displaystyle \) |
So $P \left({k}\right) \implies P \left({k+1}\right)$ and the result follows by the Principle of Mathematical Induction.
Therefore:
- $\displaystyle \forall n \in \N: \sum_{i=0}^n \binom n i^2 = \binom {2 n} n$
$\blacksquare$