The following sum came up in a combinatorial argument. I know what it equals thanks to Wolfram Alpha, but I'm not sure how to show it
$$\sum_{i=0}^n {n\choose i}2^{i}=3^{n}$$
The following sum came up in a combinatorial argument. I know what it equals thanks to Wolfram Alpha, but I'm not sure how to show it
$$\sum_{i=0}^n {n\choose i}2^{i}=3^{n}$$
Hint:$ $ $ $ $ $
$$3^n = (2+1)^n$$
For the record, the proof 5xum alludes to goes as follows:
The Binomial Theorem states that $$(a+b)^n=\sum_{I=0}^n{n \choose i} a^ib^{n-i}$$ For $a=2,b=1$, we notice that our sum is of the above form.
As a combinatorial proof, both sides of the equality count the number of partitions of $\{1,2,\ldots,n\}$ into three ordered parts $(A,B,C)$.
Method 1: For each element, we add it to $A$, $B$, or $C$, giving $3^n$ possibilities.
Method 2: We choose $i \in \{0,1,\ldots,n\}$ elements to be added to $B \cup C$, and the rest go into $A$. Of those $i$ elements, we add them to $B$ or $C$ one by one, giving $2^i$ possibilities. This totals $\sum_{i=0}^n \binom{n}{i} 2^i$.