7.1 Sets: Notation, Subsets and Operations
We begin with an introduction to sets. (Despite conventional wisdom, I will not start with the Peano axioms.)
Sets and their elements
Definition 7.1.1. A set is a collection of objects, its elements (or members).
Sets can be of names, dogs, cats, numbers, curves, geometric figures, and more. When nothing special is assumed about a set, it is known as an abstract set. Abstract set theory is a subfield of set theory.
Example 7.1.2.
Notation
Sets are commonly denoted by capital letters:
- “
” means “ belongs to ”. - “
” means “ does not belong to ”.
Example 7.1.3. The set of all positive even integers less than
Listing out the elements/members of a set within braces is referred to as roster notation.
Example 7.1.4.
Subsets
The set
Note that
If
Set-builder notation
The main or fixed set we are concerned with at any given time is known as the universal set.
Sometimes the universal set is understood by implication, and then
Special sets
Note. The cardinality or size of a set is written
The empty set
At times, a set will contain no elements. This set is a special set known as the empty set, denoted by
If a set is a box, then the empty set
Note that
Unions, intersections and differences
: the union. : the intersection. : and are disjoint.
If
The set of elements of
Unions and intersections are similar to addition and multiplication in that they are both commutative and associative:
Classes of sets
A collection of sets is known as a class. Cursive capital letters
The union of all the sets in the class
(Okay, what if we said
Remark (Correction). The class
The exact same type of “summation” works for intersections:
Exercises
Exercise 7.1.5. Use roster notation for the sets
Show solution
: , so . : , so . : , so . : . Either , or , i.e. . So . : , so . : . The quadratic formula on gives , i.e. and . Then , , so and , and . (F, circled.)
Remark (Correction). The set
Exercise 7.1.6. List the inclusion relations among the sets of the previous exercise.
Show solution
Remark (Correction). With the corrected
Exercise 7.1.7. Let
Show solution
| Statement | Reason | ||
|---|---|---|---|
| (a) | ✓ | ||
| (b) | ✓ | ||
| (c) | ✗ | ||
| (d) | ✓ | ||
| (e) | is |
✗ | |
| (f) | ✗ |
Exercise 7.1.8. Let
Show solution
| Statement | Reason | ||
|---|---|---|---|
| (a) | ✓ | ||
| (b) | ✓ | ||
| (c) | ✓ | ||
| (d) | ✓ | ||
| (e) | ✗ | ||
| (f) | ✗ |
Remark (Correction). The answers are right, but the reasons given for (a) and (b) belong to (c). For (b), every element of
Exercise 7.1.9. List all subsets of
Show solution
Remark (Correction). This list repeats itself and includes sets that are not subsets of
Exercise 7.1.10. Let
Show solution
| Statement | Reason | ||
|---|---|---|---|
| (a) | ✗ | ||
| (b) | ✗ | ||
| (c) | ✗ | ||
| (d) | ✓ | ||
| (e) | ✗ | ||
| (f) | ✓ |
Remark (Correction). The ✗ in (e) is correct, but the reason shown writes
Exercise 7.1.11. Prove that (a)
Show solution
(a)
(b)
(c)
Exercise 7.1.12. Commutative laws:
Exercise 7.1.13. Associative laws:
Exercise 7.1.14. Distributive laws:
Exercise 7.1.15. If