12

I know that the expansion of $\sum \limits_{k = 0}^{n} (-1)^{k} \binom{n}{k}$ equals to zero. But why is $\sum \limits_{k = 0}^{n} (-1)^{k} k\binom{n}{k}$ also equal to zero for $n \geq 2$?

I've been using the first to derive the second, but it ended with no clue at all. Anyone know about how to derive this formula?

$$\displaystyle \sum_{k = 0}^{n} (-1)^{k} k\binom{n}{k} = 0 .$$

Mas Adit
  • 363

5 Answers5

16

Note that $(1-x)^n = \sum_{k=0}^n (-1)^k x^k \binom{n}{k}$. Thus the sum you are interested in is $\left. \frac{\mathrm{d}}{\mathrm{d} x} (1-x)^n \right|_{x=1} = \left. -n (1-x)^{n-1} \right|_{x=1} = -n (1-1)^{n-1}$. Thus it is zero for $n > 1$.

Indeed for $n=1$ is the sum is $-1$, which can be explicitly checked.

Sasha
  • 71,686
13

I would like to give another different proof of the problem the OP proposed. My solution is based on the identity

$$k\binom{n}{k}=n\binom{n-1}{k-1}.$$

Let us first prove this identity: suppose we are given a class of $n$ children and suppose we want to form a team of $k$ people from the class, and moreover we want to elect a captain for our team. We can count the possibilities of doing so in two ways:

First select $k$ people from the class and then elect the captain. Then we have $k$ possibilities for any previously chosen team, so in total $$k\binom{n}{k}$$ ways of proceeding along this path.

But we may also elect first the captain, which can be done in $n$ ways, then form the team, for which we need other $k-1$ children out of $n-1$ remaining. In this other way we count $$n\binom{n-1}{k-1}$$ ways to fulfill our task.

This proves in a combinatorical way the identity which can be however verified by algebraic means.

But then our formula reduces to $$ n \sum_{k=0}^{n} (-1)^k\binom{n-1}{k-1}=n\sum_{k=1}^n(-1)^k\binom{n-1}{k-1}=0.$$

uforoboa
  • 7,294
  • 2
    The first part of your proof can even be shorter. Remember the definition of the binomial by factorials: $\small k \binom{n}{k} = k { n! \over k! (n-k)! } = {n! \over (k-1)! (n-k)! } = n { (n-1)! \over (k-1)! ((n-1)-(k-1))! } = n \binom{n-1}{k-1} $ – Gottfried Helms Oct 25 '11 at 16:15
  • @Gottfried: I know.. However i'm in deep love with combinatorical double counting proofs so that's why i've chosen this one. However if you see i mentioned the fact that the identity may be proven algebraically. – uforoboa Oct 25 '11 at 16:24
8

The identity you ask about has a direct algebraic proof using the identity you already know. Let $g(n) = \sum_{k = 0}^{n} (-1)^{k} k\binom{n}{k}$, and let $f(n) = \sum_{k = 0}^{n} (-1)^{k} \binom{n}{k}$. We will show that $g(n+1) = - f(n)$, and thus the fact that $f(n) = [n=0]$ implies $g(n) = -[n=1]$. (Here, [statement] evaluates to $1$ if statement is true and $0$ if statement is false. It's called the Iverson bracket.)

We have $$g(n+1) - g(n) = \sum_k (-1)^{k} k\left(\binom{n+1}{k} - \binom{n}{k}\right) = \sum_k (-1)^{k} k\binom{n}{k-1}$$ $$ = \sum_k (-1)^{k+1} (k+1)\binom{n}{k} = -g(n) - f(n).$$ Thus $g(n+1) = -f(n) \Longrightarrow g(n) = - f(n-1) = - [n-1=0] = -[n=1]$.


Generalization. If $g(n) = \sum_{k = 0}^{n} (-1)^{k} \binom{n}{k} b_k$, and $f(n) = \sum_{k = 0}^{n} (-1)^{k} \binom{n}{k} \Delta b_k$ (where $\Delta b_k = b_{k+1} - b_k$), then $g(n) = -f(n-1) + b_0[n=0]$. This relationship can be applied iteratively, starting with the problem above, to show that

$$\sum_{k=0}^n \binom{n}{k} (-1)^k k^{\underline{m}} = (-1)^m m![n=m],$$ and from there to $$\sum_{k=0}^n \binom{n}{k}(-1)^k k^m = \left\{ m \atop n \right\}(-1)^n n!,$$ where $\left\{ m \atop n \right\}$ is a Stirling number of the second kind.

(See, for example, Section 3 of my paper "Combinatorial Sums and Finite Differences," Discrete Mathematics, 307 (24): 3130-3146, 2007.)

Mike Spivey
  • 56,818
7

Here's a purely combinatorial proof that doesn't reduce the sum to the known identity $\sum \limits_{k = 0}^{n} (-1)^{k} \binom{n}{k} = 0$.

The quantity $\binom{n}{k}k$ counts the number of ways to partition people numbered $\{1, 2, \ldots, n\}$ into a chaired committee $A$ of size $k$ and an unchaired committee $B$ of size $n-k$. Given a particular commmittee pair $(A,B)$, let $x$ be the highest-numbered person in either committee who is not the chair of $A$. Move $x$ to the other committee. This mapping is defined for all pairs of committees when $n >1$, is its own inverse (and so is one-to-one), and changes the parity on committee pairs. Thus, for $n > 1$, there are as many committee pairs with even parity as there are with odd parity. In other words, $$\sum_{k = 0}^{n} (-1)^{k} \binom{n}{k} k = 0$$ when $n > 1$.

Mike Spivey
  • 56,818
1

The identity is clearly related to the number of surjections as seen in @MikeSpivey's answer. Here is another (standard) approach.

Begin by counting non-surjections $[k]\to [n]$. A function is not surjective if it misses some element $i\in [n]$, so let $A_i$ be the set of functions missing $i\in [n]$. Now, $|A_i|$ is just the number of functions $[k]\to [n]\setminus \{i\}$, so $|A_i| = (n-1)^k$. With similar reasoning, $|\bigcap_{i\in I} A_i |= (n-|I|)^k $ for any $I\subseteq [n]$.

The set of all non-surjective functions is given by the union of the $A_i$'s over all $i\in [n]$, so by the inclusion-exclusion formula, $$\text{NotSurj} (k,n)= \left|\bigcup_{i\in [n]} A_i \right| = \sum_{\substack{I\subseteq [n]\\ I\ne \varnothing}}(-1)^{|I|+1} (n-|I|)^k,$$ and since there are $n^k$ functions $[k]\to[n]$, it follows that, $${\rm Surj}(k,n) = n^ k - \sum_{\substack{I\subseteq [n]\\I\ne \varnothing}}(-1)^{|I|+1}(n-|I|)^ k =\sum_{I\subseteq [n]} (-1)^{|I|}(n-|I|)^k.$$ Now we can sort the sum by grouping terms with the same $|I|=m$. There are $\binom{n}{m}$ ways to pick this $I$ with size $m$, so, $${\rm Surj}(k,n) = \sum_{m=0}^n \binom{n}{m}(-1)^ m (n-m)^k= (-1)^n\sum_{j=0}^n\binom{n}{j}(-1)^jj^k$$ where the second equality is by $\binom{n}{m} = \binom{n}{n-m}$ and re-indexing via $j=n-m$. Take $k=1$ and $n>1$ to obtain the desired identity, ${\rm Surj}(1,n) = 0$.

bob
  • 3,079