I started learning set theory, but as for the begin firstly I'm having problems with some notations. From the lectures we learned about this principle which is as following:
1.$$ |A \cup B|= |A|+|B|$$ The problem with this one is that I don't know where to use it?
EDIT: This part till here has been understood!
Second, from the inclusion and exclusion principle I'm trying to solve these two examples which are:
- Given: $$ |A \cup B \cup C|=45 \\ |A \cap C|=5 \\ |A \cap B|=4 \\ |B \cap C|=6 \\ |A \setminus (B \cup C)|=10 \\ |B \setminus (A \cup C)|=12 \\ |C \setminus (B \cup A)|=12 $$
Find $|A \cap B \cap C|=?$
- Given: $$|A \cap B \cap C|=3 \\ |C|=12 \\ |A \setminus (B \cup C)|=10 \\ |B \setminus C|=17 \\ |A|=21 \\ |U|=49 \\ |B \cap C|=5 \\ |A \cap C|=5 \\ $$
a) Find: $$|C \setminus (A \cup B)|=?$$ b) Find: $$|A \cup (B \cup C)|=?$$
Where $|U| $is the universal set.
I tried using Venn Diagram but it isn't bringing me far, just the first step of organizing the sets.
P.S I have other examples that I must solve but I think knowing how these work may help me with the others.
We partition the set $A\cup B\cup C$ into $7$ pairwise disjoint sets
\begin{align*} A\cup B\cup C&=\left(A\setminus (B\cup C)\right) \cup \left(B\setminus (C\cup A)\right) \cup \left(C\setminus (A\cup B)\right) \\ &\qquad\cup \left((A\cap B)\setminus C\right) \cup \left((B\cap C)\setminus A\right) \cup \left((C\cap A)\setminus B\right) \\ &\qquad\cup (A\cap B\cap C) \end{align*}
The strategy is to derive relations consisting solely of one or more of these $7$ atomic subsets and obtain this way the results.
We have \begin{align*} |A\cup B\cup C|&=|A\setminus (B\cup C)| + |B\setminus (C\cup A)| + |C\setminus (A\cup B)| \\ &\qquad+ |(A\cap B)\setminus C| + |(B\cap C)\setminus A| + |(C\cap A)\setminus B|\tag{1} \\ &\qquad+ |A\cap B\cap C| \end{align*}