Subsets
Once sets have been defined, the next important topic is the relationship between sets. For example, the set of even integers is contained in the set of integers, and the set of months with \(31\) days is contained in the set of all months of the year. In such cases, every element belonging to one set also belongs to the other set.
The concept that expresses the relation in which one set is contained in another is that of a subset. Subsets are among the most basic concepts in set theory. In this section, we first define subsets and then learn how to express and prove subset relations for sets defined intensionally.
If every element of a set \(A\) is also an element of a set \(B\), that is, if the universal proposition \begin{equation}
\forall x\in A:x\in B\quad \cdots (1)\end{equation}is true, then \(A\) is said to be a subset of \(B\), and we write \[
A\subset B.
\]
Conversely, saying that \(A\) is not a subset of \(B\) means that the following existential proposition, which is the negation of \(\left( 1\right) \), is true: \[
\exists x\in A:x\not \in B.
\]In other words, there exists an element that belongs to \(A\) but does not belong to \(B\). We write \[
A\not \subset B.
\]
Some authors use the symbol \(\subseteq\) for the subset relation. In this text, however, we use the symbol \(\subset\).
\begin{align*}
A & =\left\{ 1,3,5\right\} \\
B & =\left\{ 1,2,3,4,5\right\} .
\end{align*}Since every element of \(A\) is also an element of \(B\), \[
A\subset B
\]holds. On the other hand, since \(2\in B\) and \(2\not \in A\), \(B\subset A\) does not hold. Therefore, \[
B\not \subset A
\]holds.
\begin{align*}
A & =\{\text{January},\text{February},\text{March},\text{April},\text{May},\text{June},\text{July},\\
& \text{August},\text{September},\text{October},\text{November},\text{December}\}
\end{align*}be the set of all months of the year, and let
\[
B=\{\text{January},\text{March},\text{May},\text{July},\text{August},\text{October},\text{December}\}
\]be the set of all months having \(31\) days. Since every month having \(31\) days is a month of the year, \[
B\subset A
\]holds. On the other hand, there are months that do not have \(31\) days, so \(A\subset B\) does not hold. Therefore, \[
A\not \subset B
\]holds.
Intensional Representation of Subsets
Suppose that the sets \(A,B\) are defined intensionally by propositional functions \(P\left( x\right) ,Q\left( x\right) \) as \begin{align*}
A & =\left\{ x\in X\ |\ P\left( x\right) \right\} \\
B & =\left\{ x\in X\ |\ Q\left( x\right) \right\} ,
\end{align*}where \(X\) is the domain of the variable \(x\). That is, the sets \(A,B\) are defined so that, for every \(x\in X\), \begin{align*}
x & \in A\Leftrightarrow P\left( x\right) \\
x & \in B\Leftrightarrow Q\left( x\right) .
\end{align*}We defined \(A\) to be a subset of \(B\) when \[
\forall x\in A:x\in B
\]holds. This condition can also be expressed in the following form.
A & =\left\{ x\in X\ |\ P\left( x\right) \right\} \\
B & =\left\{ x\in X\ |\ Q\left( x\right) \right\} .
\end{align*}Then the following three propositions are equivalent:
\begin{align*}
& \left( a\right) \ A\subset B\\
& \left( b\right) \ \forall x\in X:\left( x\in A\Rightarrow x\in B\right)
\\
& \left( c\right) \ \forall x\in X:\left[ P\left( x\right) \Rightarrow Q\left( x\right) \right] .
\end{align*}
If the sets \(A,B\) are defined by propositional functions as \begin{align*}
A & =\left\{ x\in X\ |\ P\left( x\right) \right\} \\
B & =\left\{ x\in X\ |\ Q\left( x\right) \right\} ,
\end{align*}then the statement that \(A\) is a subset of \(B\) means that \begin{equation}
\forall x\in X:\left[ P\left( x\right) \Rightarrow Q\left( x\right)
\right] \quad \cdots (1)\end{equation}is true. Therefore, to prove that \(A\) is a subset of \(B\), it is sufficient to show that \(Q\left( x\right) \) holds for every \(x\in X\) satisfying \(P\left( x\right) \).
Conversely, the statement that \(A\) is not a subset of \(B\) means that the following proposition, which is the negation of \(\left( 1\right) \), is true: \[
\exists x\in X:\left[ P\left( x\right) \wedge\lnot Q\left( x\right)
\right] .
\]Therefore, to prove that \(A\) is not a subset of \(B\), it is sufficient to show that there exists a value \(x\in X\) satisfying \(P\left( x\right) \) but not satisfying \(Q\left( x\right) \).
A & =\left\{ x\in\mathbb{R} \ |\ x>0\right\} \\
B & =\left\{ x\in\mathbb{R} \ |\ x\geq0\right\} .
\end{align*}Here, \(\mathbb{R} \) is the set of all real numbers. We first show that \[
A\subset B.
\]By the preceding proposition, this is equivalent to showing that
\begin{equation}
\forall x\in\mathbb{R} :\left( x>0\Rightarrow x\geq0\right) \quad \cdots (1)\end{equation}is true. In fact, if we choose arbitrarily a real number \(x\in\mathbb{R} \) satisfying \(x>0\), then \(x\geq0\) clearly holds. Thus \(\left( 1\right) \) is true, and the proof that \(A\subset B\) is complete.
Next, we show that
\[
B\not \subset A.
\]By the preceding proposition, this means that
\[
\forall x\in\mathbb{R} :\left( x\geq0\Rightarrow x>0\right)
\]is false, or equivalently, that its negation
\begin{equation}
\exists x\in\mathbb{R} :\left[ x\geq0\wedge\lnot\left( x>0\right) \right] \quad \cdots (2)\end{equation}is true. Indeed, for \(0\in\mathbb{R} \), both \(0\geq0\) and \(\lnot\left( 0>0\right) \) hold. Thus \(\left( 2\right) \) is true, and the proof that \(B\not \subset A\) is complete.
A & =\left\{ x\in\mathbb{Z} \ |\ x\text{ is divisible by }4\right\} \\
B & =\left\{ x\in\mathbb{Z} \ |\ x\text{ is even}\right\} .
\end{align*}Here, \(\mathbb{Z} \) is the set of all integers. We first show that \[
A\subset B.
\]By the preceding proposition, it is enough to show that
\begin{equation}
\forall x\in\mathbb{Z} :\left( x\text{ is divisible by }4\Rightarrow x\text{ is even}\right) \quad \cdots (1)\end{equation}is true. Choose arbitrarily an integer \(x\in\mathbb{Z} \) divisible by \(4\). Then there exists an integer \(k\in\mathbb{Z} \) such that \[
x=4k.
\]Hence,
\[
x=2\left( 2k\right) .
\]Thus \(x\) is even. Therefore, \(\left( 1\right) \) is true, and the proof that \(A\subset B\) is complete.
Next, we show that
\[
B\not \subset A.
\]By the preceding proposition, this means that
\[
\forall x\in\mathbb{Z} :\left( x\text{ is even}\Rightarrow x\text{ is divisible by }4\right)
\]is false, or equivalently, that
\begin{equation}
\exists x\in\mathbb{Z} :\left( x\text{ is even}\wedge x\text{ is not divisible by }4\right) \quad \cdots (2)\end{equation}is true. For \(2\in\mathbb{Z} \), \(2\) is even but is not divisible by \(4\). Thus \(\left( 2\right) \) is true, and the proof that \(B\not \subset A\) is complete.
Membership and Inclusion Are Different
The symbol \(\in\), which expresses membership in a set, and the symbol \(\subset\), which expresses inclusion between sets, represent different concepts and must be distinguished.
1\in\left\{ 1,2\right\}
\]holds. On the other hand, since \(1\) is not a set, \[
1\subset\left\{ 1,2\right\}
\]does not hold. In contrast, \(\left\{ 1\right\} \) is a set, and its only element \(1\) is also an element of \(\left\{ 1,2\right\} \). Therefore, \[
\left\{ 1\right\} \subset\left\{ 1,2\right\}
\]holds.
Exercises
\begin{align*}
A & =\left\{ 3,5,7,9,11\right\} \\
B & =\left\{ 9,11,13\right\} \\
C & =\left\{ 3,5,9\right\} \\
D & =\left\{ 11,13\right\} .
\end{align*}Determine whether each of the following statements is true or false and give a reason.
- \(C\subset A\)
- \(B\subset A\)
- \(A\not \subset B\)
- \(D\not \subset B\)
\[
A=\{1,2,\{3\},4,5\}.
\]Determine whether each of the following statements is true or false and give a reason.
- \(\{3\}\subset A\)
- \(\{1,2\}\subset A\)
- \(\{1\}\in A\)
- \(\{3\}\in A\)
- \(\{1,2,3\}\subset A\)
- \(\{1\}\subset A\)
\begin{align*}
A & =\left\{ x\in\mathbb{Z} \ |\ x\text{ is divisible by }18\right\} \\
B & =\left\{ x\in\mathbb{Z} \ |\ x\text{ is divisible by }6\right\} .
\end{align*}Prove that \(A\subset B\). Here, \(\mathbb{Z} \) denotes the set of all integers.
\begin{align*}
A & =\left\{ 2,3,4,5\right\} \\
B & =\left\{ x\in\mathbb{Z} \ |\ x\text{ is even}\right\} .
\end{align*}Show that \(A\) is not a subset of \(B\). Here, \(\mathbb{Z} \) denotes the set of all integers.
\begin{align*}
A & =\left\{ 2,4,6\right\} \\
B & =\left\{ 1,2,3,4,5,6\right\} \\
C & =\left\{ 2,6\right\} .
\end{align*}Determine whether each of the following statements is true or false and justify your answer.
- \(A\subset B\)
- \(C\subset A\)
- \(B\subset A\)
- \(A\not \subset C\)
\begin{align*}
A & =\left\{ x\in\mathbb{R} \ |\ x^{2}\leq1\right\} \\
B & =\left\{ x\in\mathbb{R} \ |\ -2\leq x\leq2\right\} .
\end{align*}Prove that \(A\subset B\).
\begin{align*}
A & =\left\{ x\in\mathbb{Z} \ |\ x^{2}\leq9\right\} \\
B & =\left\{ x\in\mathbb{Z} \ |\ x\geq0\right\} .
\end{align*}Show that \(A\not \subset B\).
