Following the discussion in the Introduction, I will assume that I intuitively know what a set is, and that I can reasonably talk about the relation in the language of sets. I write if the set is element of , or in other words if belongs to .
Basic properties of sets
I denote by the set with no elements. That is, the set satisfying that (recall that represents “for all”)
Definition.
Given two sets and , I say is a subset of , or is contained in , in symbols,
if for all , implies . I say the sets and are equal, in symbols,
if they are subsets of each other. That is, and .
Remark.
The sets and are equal if and only if for all ,
This is a great moment to develop some skills that will serve you in learning math in general. Whenever encountering a definition for the first time, always do the following exercise:
Exercise scheme.
- What is the negation of the definition? In this case, what does it mean for to not be a subset of ? I use the symbol .
- What are examples and non-examples of the situation? In this case, can you list out all subsets of the set ?
- Write down a proof of a set being a subset of another set. Write down a proof of a set not being subset of a given set. What techniques did you use to prove these different statements?
Proposition.
For any sets and ,
- (Reflexivity);
- (Minimum element / Vacuous truth);
- if and , then (Transitivity); and
- if and , then (Anti-symmetry).
Exercise.
Prove the above properties from the definition.
Basic operations on sets
Below, family is just another word for set, to avoid saying “set of sets.”
Definition.
The powerset of a set , denoted by , is the family of all subsets of .
Examples.
- .
- .
In this course, I do not formally define the ordered pair , but all you need to know about it is that if and only if and . So, for instance, even though .
Definition.
Let and be sets. I define the following operations.
- The union . ( represents “or”)
- The intersection . ( represents “and”)
- The Cartesian product .
- The difference .
Exercise.
Show that for any , and ,
Exercise.
Show that the following statements are equivalent for any sets and .
Solution.
Assume that and let us show that . Given any , if , then in particular . Therefore, .
Now assume that and let us decide what is. It is obvious that . Given , my assumption tells us that . Thus, and this proves the other containment. Therefore, .
Finally, assume that . Clearly, . Given , there are two cases. Either , in which case, since , is also an element of ; or . In either case, must be an element of , which proves that .
Reflect.
I sought out to prove three equivalence statements, yet this proof only contains three implications, instead of six. Convince yourself that my proof is indeed complete.
Finite sets (informal discussion)
This definition is informal and this concept will be formalized in a later chapter, but it is good enough to give examples and exercises now.
Definition.
A set is finite if there exist such that .
A set is infinite if it is not finite.
Proposition.
- Subsets of finite sets are finite.
- The union of two finite sets is finite.
The lattice of subsets
Note:
The concept of lattice is not explicitly part of the course, but several important examples are seen in the lectures. These follow informal discussions (and are hence inadequate for these notes) that summarize large portions of theory.