## Sums with Binomial Coefficients

2017 July 30

Find formulas for each of the following partial sums:

Before we begin, recall these three useful identities regarding the binomial coefficients: The proofs of these identities are trivial. Also, remember that the formula for the binomail coefficient is

Furthermore, one more thing that should be mentioned is that the binomial coefficient is considered, by convention, to be equal to $0$ whenever $b\lt 0$ or $b\gt a$, and since the binomial coefficient is symmetric,

To begin this post, I would like to include a proof of the binomial theorem, which can sometimes help with sums involving binomial coefficients. The binomial theorem states that or, because of the symmetry of the binomial coefficient, and it can be proven rather easily using induction. It is true (trivially) for $n=0$, so we can jump right into the induction step. Suppose that the theorem holds for some $n$ - that is, We want to show that its truth for that $n$ implies its truth for $n+1$. This can be done easily be multiplying both sides of the equation by $a+b$: Now consider some term in the polynomial expansion of $(a+b)^{n+1}$ containing the term $a^kb^{n-k+1}$. This term can only result from the sum of two such terms after $(a+b)$ is distributed; namely, the sum of the terms and and so the value of their sum is And, by one of our identities, this is equal to and since each term of the sum follows this form, the entire expansion is equal to Thus proving the binomial theorem by induction. Now we can begin with our summation problems.

The first two problems are almost trivial if you know the binomial theorem. The first problem can be rewritten as and so, by the binomial theorem, it is equal to

The second sum can be rewritten as Which, by the binomail theorem, is equal to

The first two sums were very easy, but they only get harder from there.

Next up is the sum which can be done by expanding the binomial coefficient into its form involving factorials: and then cancelling the $x$ with the $x$ on the denominator of the binomial coefficient and then factoring $n$ out of the sum to get And since the last term of this sum will be the sum can be "shortened" to And since we know that, from our first sum, we can convert our sum to and so

The next sum is a little bit trickier: To solve this sum, you need to recognize that and so, using the answer to the last problem, And now we can use the same trick as we did last time and expand the binomial, this time cancelling both $x$ and $x-1$ and extracting $n$ and $n-1$ from the sum: and this time we can shorten the sum by the last two terms (because they are both equal to 0) to get Which simplifies to

The fifth sum takes this even further. Again, notice that this sum is equal to Which, by our previous two formulas, is equal to And using the same trick as before, we can expand the binomial coefficient inside of the sum to get And after a bit of algebra, this simplifies to

Now we have another sum that uses the same method as the previous three, but in reverse: First expand the binomial to get and then we can proceed to use a very similar trick:

Now for the two most difficult sums - I saved the best for last. First we have the sum I encourage you to try this sum yourself.

It may be tempting to immediately whip out Euler's identity, but first you should stop and think about what the sum represents. When I first attempted this problem, I headed straight into the realm of complex numbers without even thinking about the sum, and when I finally discovered the result, I felt quite foolish.

Consider the case of the sum for which $n$ is odd. Then the sum contains an even number of terms (sine it starts at $x=0$). Consider some term of the sum for $x=a$. Now consider the term for $x=n-a$: and since $cos(\theta-\pi)=-\cos\theta$, It is the opposite of the term for $x=a$! So since, for each $a$ term, the sum also contains a different term for $n-a$, all of the terms cancel out and the sum is equal to zero. The same can be shown for odd $n$ as well, because the middlemost term of the sum would be equal to zero. And so we have

The last sum, however, is non-trivial and has a rather beautiful solution, given that the binomial coefficients do not seem like they would create a sum that condenses to any closed form when multiplied by a trigonometric function. And this time, we will lead our attempt with Euler's identity. Using Euler's identity, this sum can be converted into and using our old friend the binomial theorem, we have Here's where the tricky part occurs. To continue from here, you need to use the fact that and then use the double-angle formulas, like this: Then use the fact that $1-\sin^2\theta=\cos^2\theta$ to change this to Then factor out $2\cos\frac{\pi}{2n}$ from the whole thing to get Perhaps the hardest part of all in evaluating this sum is knowing the identity known as "De Moivre's Formula": I will omit the proof, as it can be done easily using induction. Using it, we have And there you have it - a very beautiful formula linking the binomial coefficients to the trigonometric functions.

That's all the summation I'm going to do in this post!