I would like to know a mathematical proof of the following expression:
$${\sum\limits_{r=0}^n {n\choose{r}} {=} {2^n}}$$
Thank you!
I would like to know a mathematical proof of the following expression:
$${\sum\limits_{r=0}^n {n\choose{r}} {=} {2^n}}$$
Thank you!
There is the Binomial Theorem that says $$ \sum_{k=0}^n\binom{n}{k}x^k=(1+x)^n $$ Plug in $x=1$.
Here's a combinatorial proof (just for fun):
The right hand side counts the number of subsets of an $n$-element set. The left hand side does the same, just in a different way. It counts the number of $r$-element subsets for each $r$, and then sums over $n$.
Since they both count the same number of things, just in different ways, they are equivalent.
Hint:
$$\text{For any pair of real (or complex, if you will) numbers}\;\;a,b\;:$$
$$\;\;\color{red}{(a+b)^n=\sum_{i=0}^n\binom nia^ib^{n-i}}$$