What about the sets
and
Clearly
but notice that every element of
is also an element of
Because of this we say that
is a
subset of
or in symbols,
or
Both symbols are read βis a subset of.β The difference is that sometimes we want to say that
is either equal to or is a subset of
in which case we use
This is analogous to the difference between
and
In the example above,
is a subset of
You might wonder what other sets are subsets of
If you collect all these subsets of
into a new set, we get a set of sets. We call the set of all subsets of
the
power set of
and write it
Another way to compare sets is by their
size. Notice that in the example above,
has 6 elements, and
and
all have 3 elements. The size of a set is called the setβs
cardinality. We would write
and so on. For sets that have a finite number of elements, the cardinality of the set is simply the number of elements in the set. Note that the cardinality of
is 3. We do not count repeats (in fact,
is exactly the same set as
). There are sets with infinite cardinality, such as
the set of rational numbers (written
), the set of even natural numbers, and the set of real numbers (
). It is possible to distinguish between different infinite cardinalities, but that is beyond the scope of this text. For us, a set will either be infinite or finite; if it is finite, then we can determine its cardinality by counting elements.