Let and be sets.
, the union of and , is .
, the intersection of and , is .
, the set difference of and , is .
If is a subset of a set then , the complement of in , is .
We can express complements using set differences. If is a subset of then its complement in is equal to .
Suppose .
If then would be .
The set is called the natural numbers. Some people exclude 0 from but in MATH0005 the natural numbers include 0.
It’s typical to draw Venn diagrams to represent set operations. We draw a circle, or a blob, for each set. The elements of the set are represented by the area inside the circle labelled . Here are some examples:
The size or cardinality of a set , written , is the number of distinct elements it has.
A set is finite if it has 0, or 1, or 2, or any other natural number of elements. A set that is not finite is called infinite.
and are infinite sets while the sets in Example 2.2.2 are all finite.