Sets
Definition: Set
A set is a collection of well-defined objects, called elements.
NOTATION
The notation means that is an element of the set .
The notation means that is not an element of the set .
NOTE
- A set can contain pretty much anything - numbers, letters, cars, sentences, people, colours and even other sets.
- A set can contain either finitely many or infinitely many elements.
Definition: Singleton
A singleton is a set with exactly one element.
Definition: Equality
Two set are equal if they contain the same elements.
Axiom: Existence of an Empty Set
Theorem: Uniqueness of the Empty Set
There is only one empty set.
PROOF
Let and be two empty sets. They have no elements and so the statement
is vacuously true. Therefore, .
Theorem: Empty Set as Subset of all Sets
There are three main ways to represent and define sets.
The descriptive form uses words to describe a set. For example, the set is the set of all odd natural numbers which are less than 12.
The set-builder form defines a set by specifying a condition that all of its members satisfies and looks like this:
The placeholder is simply there so you can use it to more easily write the condition. The | character can be read as “such that”. For example, specifying the aforementioned set using set-builder notation will look like the following.
The final way to define a set is simply by listing all of its elements or listing enough of them, so that whoever is reading the definition can easily establish the pattern they follow. For example, the aforementioned set will be written as
Subsets
Definition: Subset
A set is a subset of another set if all elements of are also elements of .
NOTATION
If is a subset of , we write . Some people also write , but this notation can be ambiguous.
If is not a subset of , we write or .
Definition: True Subset
Definition: (Strict) Superset
A set is a (strict) superset of another set if is a (strict) subset of .
NOTATION
Definition: Power Set
Definition: Indicator Function
Operations
Definition: Union
Definition: Intersection
The intersection of two sets and is the set of all elements which are both in and in .
NOTATION
Definition: Disjoint Sets
We say that and are disjoint if their intersection is the empty set.
Definition: Set Difference
The set difference of two sets and is the set which contains exactly the elements in which are not elements of .
NOTATION
Definition: Complement
The complement of in is the difference .
Definition: Symmetric Difference
Definition: Cartesian Product
The Cartesian product of sets and is the set of all ordered pairs such that and .
Theorem: Cardinality of the Set Union
Theorem: Commutativity of the Set Union
Theorem: Commutativity of Set Intersection
Theorem: Associativity of Set Intersection
Theorem: Cardinality of the Cartesian Product
Theorem: Distributive Laws for Set Operations