I have difficult reading this notation
$\left| \bigcup_{i=1}^{n} A_{i} \right|=\sum_{k=1}^{n}(-1)^{k-1}\sum_{I\in\binom{{1,2,3,...n}}{k}} \left|\bigcap_{i=I}A_{i} \right|$
could anyone work out an expansion up to n=3 for me?
I have difficult reading this notation
$\left| \bigcup_{i=1}^{n} A_{i} \right|=\sum_{k=1}^{n}(-1)^{k-1}\sum_{I\in\binom{{1,2,3,...n}}{k}} \left|\bigcap_{i=I}A_{i} \right|$
could anyone work out an expansion up to n=3 for me?
It is a little bit odd the way you wrote it, i would write it like $$\left| \bigcup_{i=1}^{n} A_{i} \right|=\sum_{k=1}^{n}(-1)^{k-1}\sum_{I\in\binom{\color{red}{\{1,2,3,...n\}}}{k}} \left|\bigcap_{i\color{red}{\in} I}A_{i} \right|,$$ being that said, remember that $$I\in \binom{\{1,\cdots , n\}}{k},$$ means that $I\subseteq [n]$ and $|I|=k.$ So take $n=3,k=2$ then the possible sets are $I=\{1,2\},\{1,3\},\{2,3\}$ so $$|\bigcap _{i\in I} A_i|=|A_1\cap A_2|,|A_1\cap A_3|,|A_2\cap A_3|$$ respectively. I will let you write it for $n=3$. For $n=2$ then is as follows $$\left| \bigcup_{i=1}^{2} A_{i} \right|=\sum_{k=1}^{2}(-1)^{k-1}\sum_{I\in\binom{\color{red}{\{1,2\}}}{k}} \left|\bigcap_{i\color{red}{\in} I}A_{i} \right|=(-1)^{1-1}(\underbrace{|A_1|}_{\text{relative to $\{1\}$}}+\underbrace{|A_2|}_{\text{relative to $\{2\}$}})+(-1)^{2-1}\underbrace{|A_1 \cap A_2|}_{\text{relative to $\{1,2\}$}}.$$
$$\left| \bigcup_{i=1}^{3} A_{i} \right|=\sum_{k=1}^{2}(-1)^{k-1}\sum_{I\in\binom{\color{red}{\{1,2\}}}{k}} \left|\bigcap_{i\color{red}{\in} I}A_{i} \right| =(-1)^{1-1} (\underbrace{|A_1|}_{\text{relative to $\{1\}$}} +\underbrace{|A_2|}_{\text{relative to $\{2\}$}} + \underbrace{|A_{3}|}_{\text{relative to {3}}}) +(-1)^{2-1} (\underbrace{|A_1 \cap A_2|}_{\text{relative to $\{1,2\}$}}+ \underbrace{|A_1 \cap A_2|}_{\text{relative to $\{2,3\}$}}+ \underbrace{|A_1 \cap A_2|}_{\text{relative to $\{1,3\}$}})+ (-1)^{3-1}(\underbrace{|A_1 \cap A_2 \cap A_3|}_{\text{relative to $\{1,2,3\}$}}).$$