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.
Specifying 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
Equality
Definition: Equality
Two sets are equal iff they contain the same elements.
Subsets
Definition: Subset