Lecture 4 - Exercises
Part A - Subsets and Power
Sets
- Let \(A = \{a, \varnothing\}\).
True or false:
- \(a \in A\)
- \(\{a\} \in A\)
- \(a \subseteq A\)
- \(\{a\} \subseteq A\)
- \(\varnothing \subseteq A\)
- \(\{\varnothing\} \subseteq
A\)
- \(\{\varnothing\} \in A\)
- Compute the power set of each of the following sets:
- \(\{1, 2\}\)
- \(\{1\}\)
- \(\varnothing\)
- \(\{1, \{2\}\}\)
- \(\{\varnothing\}\)
- [Challenge Question] If \(|S| =
n\), what is \(|\mathcal{P}(S)|\)?
Part B - Cartesian Product
Let \[
\begin{align*}
A &= \{a, b\}\\
B &= \{1, 2, 3\}\\
C &= \{4\}\\
D &= \varnothing
\end{align*}
\]
- What is \(C \times A\)?
- What is \(D \times B\)?
- What is \(|A \times B|\) in terms
of \(|A|\) and \(|B|\)?
- What is \(B \times C \times
D\)?
Part C - Union,
Intersection, Difference
Let \(U\) = \(\{x : x \in \mathbb{N} \text{ and } x \le
20\}\)
Let \(A = \{x : x \in U \text{ and } x
\text{ is odd}\}\)
Let \(B = \{x : x \in U \text{ and } x >
10\}\)
- List the elements of \(A \cap
B\).
- List the elements of \(B - A\)
Part D - Complement, Venn
diagrams
Using the sets defined in Part C and pictured in the Venn diagram
above, list the contents of each of the following, and draw a picture of
a Venn diagram with the area corresponding to that set shaded (no need
to list the set elements in your pictures).
- \(A \cup B\)
- \(A - B\)
- \(\overline{B}\)
- \(\overline{(A \cup B) - (A \cap
B)}\)