A set is an unordered collection of distinct objects, distinguished by its elements. For some element and some set , we can say if it is an element in the set. The empty set is denoted by or .
Basic definitions
We define some fairly common sets:
- , the set of natural numbers, i.e., positive integers including 0
- , the set of integers
- , the set of rational numbers, i.e., numbers that can be represented by fractions, , where
- , the set of real numbers (or scalars)
- , the set of complex numbers
- , notation for either or (from the idea of fields)
Using set builder notation, we sometimes define a set by a given condition.
for some logical predicate that holds true if an element is in the set.
We say that is a subset of if all the elements of are in . In other words, if for every , . We also say that is equal to if and . If , then we say .
Additionally, we define the union and intersection of sets with and , respectively. The union describes the set of all elements belonging to both sets, and the intersection describes the set of all common elements of both sets. See the below for their respective representations:
Both the intersection and union are commutative, associative, and distributive. This generalises to multiple sets. We denote as the union of all sets , and as the intersection of all sets .
We define the relative complement of in as:
This doesn’t require to be a subset of . If , then we define the absolute complement of in as:
The symmetric complement is the set:
Less basic definitions
For a set , an unordered pair is any subset of with two elements. The collection of unordered pairs in is denoted by . For any subset with elements, we denote its collection called the set of unordered k-tuples. An ordered pair of and is the set .
The Cartesian product of and is the set:
i.e., the elements of the product form an ordered tuple. As a more concrete example, is a Cartesian product of .
Disjoint sets are sets with no element in common, i.e.,:
If multiple disjoint sets whose union equals a set , then these sets are a partition of .
The cardinality of a set refers to its size. For a finite set, the cardinality can be quantified with a natural number, which facilitates comparing the cardinalities of different sets.
More definitions
The successor of is the set:
i.e., the successor is a set whose elements are the elements of and an additional element: the set itself. This allows us to rigorously construct the natural numbers.
For a set , the power set refers to the collection of all subsets of . is itself a set whose elements are the different possible subsets of .