I am trying to prove that
$\sum_{k=0}^i\binom{i}{k} = 2^i$ by counting in two ways.
i.e. count the subsets of an $i-set$ in two ways.
So far I have that the total number of subsets of an $i-set$ is $\sum_{k=0}^{i}\binom{i}{k}$
now for the second part let $R=\{a_1,a_2,...,a_i\}$ be an $i-set$ and let $A_k \subset R $
so for $a_j, j=1,2,...,i$ either $a_j \in A_k$ or $a_j \notin A_k$
I'm trying to use this to show that this give two choices for $a_j$ in $A_k$ and then use this to show that choosing each element in $A_k \forall \space k = 1,2,...,i$ is equivalent to $2^i$ but my argument is not so clear. Any help would be much appreciated.