Im currently trying to grasp my professors proof for Inclusion-exclusion, and there is one part of his proof that just doesn't make sense to me and I was hoping for some help here.
Theorem:
Let $A_1,A_2, ... , A_n$ be finite sets.
Then $\displaystyle |\cup_{i=1}^n A_i| = \sum_{i=1}^{k} |A_i|- \sum_{i \neq j}|A_i \cap A_j|+ \sum_{i \neq j \neq k}|A_i \cap A_j \cap A_k|-...+(-1)^{n-1}|A_1 \cap ... \cap A_n|$
Proof:
Lemma needed: Let $n \geq 1$, then $\sum_{k=0}^n (-1)^k {n \choose k}= 0$
Proof Lemma: Apply binomial theorem: $(x+y)^n= \sum_{k=0}^n {n \choose k} x^k y^{n-k}$ with $x=-1, y=1$
Proof of the theorem:
Let $x$ be any element of the union. It suffices to show that $x$ is counted exactly once in the sum.
Suppose $x$ belong to $m$ of the $n$ sets $A_i$, for some $1 \leq m \leq n$. Due to symmetry of formula we can assumed WLOG that $x$ belong to $A_1,...,A_m$.
Part where I don't understand below
Then $x$ is counted $(-1)^{k-1}$ times for each $k$-element subset of ${1,2,...,m}$, $1 \leq k \leq m$.
Hence total number of times $x$ is counted is $$\sum_{k=1}^m (-1)^{k-1} {m \choose k} = - \Big( \sum_{k=0}^m (-1)^k {m \choose k} -(-1)^0 {m \choose k} = -(0-1)=1$$
What does he mean that $x$ is counted $(-1)^{k-1}$ times for each k-element subset? I really don't understand where he get that from.