In this section, we will quickly review the first chapter of Algebra: Chapter 0.1 As explicitly stated there, this will not be a proper treatment; in fact, we will even further simplify (and make it even somewhat less rigorous) what is contained in that chapter.
A set is a collection of objects, and its elements determine what the set is. What an element is a deep question that we will avoid, but clearly not everything can be an element. For instance, not all sets can be elements for other sets; if they could, then we would construct a set of “all sets that do not contain themselves”. Clearly such a set has to contain itself, which leads to a contradiction: infamous Russell’s paradox! The resolution is that is not a set to begin with: indeed, we will consider category of sets, but not set of sets in general.
The reader should be familiar with the following basics, but for the sake of completeness, let us spell them out:
Ordered sets are denoted with round brackets: . In fact, an ordered set can be constructed via the standard sets as well, e.g.
Despite being mostly obvious, the inferred pattern is inherently ambiguous. A more rigorous way is to use a predicate in the set comprehension2; there are two ways to do this:
Or, we can write down , which means
For example, the first way to denote odd integers (instead of ) would be , whereas the second one is .
In the last item above, we used two well-known mathematical objects: common set notation (i.e. for integers) and quantifiers (i.e. for there exists...). For completeness, we will need to know
denote there exists …, for all …, and there exists a unique … respectively.
It is no coincidence that I put the dots to the right of the expressions for the quantifiers; one should read them as in a sentence, hence their order matters. For instance
Obviously, the first expression is correct whereas the second one is false; but more importantly, they are different expressions!
There will be 6 important operations on sets that we need to know:
The Cartesian product denoted by , e.g.
The product of a set with itself is often denoted as if it is a regular number, i.e. , , etc.
A relation on a set is the subset . We say that and are related by and write if .
For instance, take
We then say , , and . Usually, the relations are denoted by a specific symbol; in this example, we would use , hence and so on.
A relation may (or may not) have following properties:
Examples:
1See https://books.google.com.tr/books?id=h4dNEAAAQBAJ.
2Set comprehension, or set abstraction means the way to build a set. See https://en.wikipedia.org/wiki/Set-builder_notation.
3This differs from the notation and explanation of Algebra: Chapter 0 (see page 3), but we will stick to this notation instead.