# Prove that $\binom{n}{1}+2\binom{n}{2}+3\binom{n}{3}+...+n\binom{n}{n}=n2^{n-1}$.

Whilst any proof would be nice, I would prefer a combinatorial proof if possible.$n2^{n-1}$ is the number of ways of placing $n-1$ balls (each of which can be red or green) into $n$ bins such that each bin has a maximum of $1$ balls inside, and I wonder whether it's possible to directly show that $\binom{n}{1}+2\binom{n}{2}+3\binom{n}{3}+...+n\binom{n}{n}$ is also that number of ways.

Note by A L
6 years, 1 month ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $ ... $ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

Among $n$ people, choose a team of any number of people and choose a leader among the chosen ones.

LHS: $\binom{n}{i}$ indicates how many ways we can choose a team of $i$ people from $n$ people. We then choose one leader among these $i$ people, so we get $i \binom{n}{i}$. Summing over all $i$ gives the LHS.

RHS: We choose the leader first; there are $n$ ways to do this. After we choose the leader, for every remaining person, we choose whether that person goes into the team or not. There are $2^{n-1}$ ways for this, so multiplying gives the RHS.

This is...err...an intermediate double counting problem. Definitely more advanced than the usual $\binom{n}{0} + \binom{n}{1} + \ldots + \binom{n}{n} = 2^n$, but still pretty well-known to Olympiad students nevertheless.

- 6 years, 1 month ago

Thanks, but it was only the LHS I was having trouble with.

- 6 years, 1 month ago

The problem with double counting is that if you only get one side working, it's still possible that your approach is completely incorrect.

This is the best continuation of your attempt that I get: Instead of putting only $n-1$ balls, we put $n$ balls, at least one of them is green. (Still with each box having at most one ball each.) Fix the number of green balls to be $i$. Now, after putting them all, pick any of the $i$ green balls to be removed. This way, we have $\binom{n}{i}$ ways to put the balls, and $i$ ways to pick the removed ball, for a total of $i\binom{n}{i}$ ways. Sum over all $i$ to get LHS.

- 6 years, 1 month ago

You my have misunderstood me, your method is identical to mine, and I was just saying you could have cut down your answer and saved yourself some time. It's probably my fault for not being clear enough about what I was having trouble with. Thanks again!

- 6 years, 1 month ago

From the binomial theorem, we know that

${n \choose 0} + {n \choose 1}x + {n \choose 2}x^2 + \dots + {n \choose n}x^n = (x+1)^n.$

If we differentiate both sides with respect to $x$, we get

${n \choose 1} + 2{n \choose 2}x + 3{n \choose 3}x^2 + \dots + n{n \choose n}x^{n-1} = n(x+1)^{n-1}.$

Now plug in $x=1$, and we get

${n \choose 1} + 2{n \choose 2} + 3{n \choose 3} + \dots + n{n \choose n} = n2^{n-1}.$

- 6 years, 1 month ago

I've always felt more at home with calculus, thanks for that neat approach.

- 6 years, 1 month ago

here is probably the shortest one: $\displaystyle \sum_{i=1}^n i{n \choose i} = \displaystyle \sum_{i=1}^n n{n-1 \choose i-1} = n\displaystyle \sum_{i=1}^n {n-1 \choose i-1} = n2^{n-1}$

- 6 years ago

Well, I'd say you still need to show $\dbinom{n}{i} = \dfrac{n}{i} \dbinom{n-1}{i-1}$ first (not that obvious even though it's easy), but that doesn't add too much lines.

- 6 years ago

${n \choose i} = \frac{n!}{i!(n - i)!} = \frac{n}{i}\frac{(n - 1)!}{(i - 1)!(n - i)!} = \frac{n}{i}{n-1 \choose i-1}$

- 6 years ago

I quite like this one.

- 6 years ago

In your attempt, are the balls distinguished or undistinguished? Can you explain why you applied the rule of product?

If the balls are indistinguishable, then there are only $n$ ways to color $n-1$ indistinguishable balls red or green.
If the balls are distinguished, then how are you accounting for the multiple of $n$, even with the restriction of only placing 1 ball?

Being clear with what you are counting, can tell you exactly what you are counting.

Staff - 6 years, 1 month ago

"placing $n - 1$ balls (each of which can be red or green) into $n$ bins such that each bin has a maximum of 1 balls inside"

I believe the balls are indistinguishable, but the bins are (so that the answer $n2^{n-1}$ can appear). The $n$ most likely appears from $\binom{n}{n-1}$ on choosing the bins that receive the balls, and the $2^{n-1}$ most likely appears from $2$ colors possible for the ball in each filled bin, raised to the $n-1$-th power because there are $n-1$ filled bins.

- 6 years, 1 month ago

Ivan's interpretation is correct. Again, it was my fault for not being clear enough.

- 6 years, 1 month ago