Sets

Definition: Set

A set is a collection of well-defined objects, called elements.

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.

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.

The Empty Set

Axiom: Existence of an Empty Set

There exists a set with no elements.

Theorem: Uniqueness of the Empty Set

There is only one empty set.

Theorem

The empty set is a subset of all Sets.