Why are there $2^n-1$ terms in the inclusion-exclusion formula of $n$ sets?
An example of what I mean by inclusion-exclusion formula is this:
There are three sets (i.e. $n$ $=$ $3$): $A, B,$ and $C$.
$A \cup B \cup C = |A| +|B|+|C|-|A\cap B| - |A\cap C| - |B \cap C| +|A \cap B \cap C| $
There are $2^3-1 =7$ terms in the right hand side of the equation.
This seems to be true in general, but I'm not sure why. It's probably something obvious I'm missing, can anyone give me a hint?
The amount of terms can be calculated as $\Sigma_{i = 1}^n \binom{n}{i}$. Using the binomial theorem we get: $$\Sigma_{i = 1}^n \binom{n}{i} = \Sigma_{i=0}^n \binom{n}{i}1^i1^{n - i} - 1 = (1 + 1)^n - 1 = 2^n - 1$$