We'll start our discussion, again, with some basic concepts of set theory. Much of the material here will be familiar to you if you've read some of my readings on the gentle introduction to the art of mathematics. But it is a common practice in each mathematics to start with set theory discussion. But here, we will just review some elementary set theory (and do it in our notation). In this particular section, we'll not get involve with rigor for the mean time - serious works starts at chapter 2.
Baby set Theory
Informally, a set is just a collection of things (called its members or elements), the collection being regarded as a single object. We write "
Consider the following set
Another example of set is the following: let
If you are an industrious reader you can verify that,
So it turns out that the set
Principle of Extensionality
If two sets have exactly the same members then they are equal.
Now, let's express this utilizing some basic notations. Also we abbreviate the phrase "if and only if" using "iff". The restatement would be:
If
then
We write
and (
- This means that the expression "
" on the left of the equality symbol names the same object as does the expression ( ) on the right. - anything that is true on the object
is also true of the object ( )
On the other hand, we write
Null Set/Empty Set
A small set would be a set
In the future we'll utilize the power of null set or empty set, from this set using various set-theoretic operations surprising array of sets can be constructed.
Note the following set having a member of x and y only:
We can form a set whose member is only the empty set
Note that,
This fact is better reflected as,
a man with an empty container is better off than a man with nothing - at least he has the container.
Union and Intersection
- The union of set A and B is the set
- example:
- example:
- The intersection of A and B is the set
- example:
- A and B are said to be disjoint when
- example:
The usual Venn diagram depicting these operations:
Subset and Inclusion
A set A is said to be a subset of a set B iff all (including the subset of A if it has) members of A are also a member of the set B.
- the empty set
is a subset of all set - we say that A is included in B or that B includes A if A is a subset of $B$ or
but , since has a member, namely that is not a member of .- Given a set
= "set of all people in the US", = "set of all countries belonging to the United Nations", then , but note that (he is not a country), and hence .
Power Set
Any set A can have one or more subsets and we can gather these subsets into a collection - forming what is known as the power set P. For instance, the power set of A is given as P(A).
Consider the following example,
Method of Abstraction
Method of abstraction is a very flexible way of naming a set, as we include in the expression the restrictions and conditions (entrance requirement) that the element has to follow. The notation used for the set of all objects x such that the condition
Examples:
Power set abstraction:
Union of sets abstraction:
Even Prime number set abstraction:
Null set abstraction:
Dangers Inherent in Abstraction
Consider the following set,
This paradox is avoided by introducing two distinct mathematical objects - sets and classes.
- any collection of sets will be a class
- some collection of sets will be a set
- some oversize collections will be called a proper classes
Disclaimer: this is a summary of section 1.1 from the book "Elements of Set Theory" by Herbert B. Enderton, the content apart from rephrasing is identical, most of the equations are from the book and the same examples are treated. All of the equation images were screenshot from generated latex form.