Set theory is the branch of mathematics concerned with sets: collections of distinct objects considered as single mathematical entities. It studies membership, operations on collections, and the structure and size of infinite sets. In its foundational role, set theory supplies a framework in which numbers, functions, and other mathematical objects can be represented and their properties derived from explicit assumptions. Pure set theory treats every object under consideration as a set, including the elements of sets themselves. (plato.stanford.edu)
Historical development
The subject emerged from Georg Cantor’s investigations of infinity in the nineteenth century. In 1873, Cantor discovered that the real numbers cannot be placed in one-to-one correspondence with the natural numbers, establishing that infinite collections can have different sizes. His subsequent work developed systematic ways of comparing those sizes. (plato.stanford.edu)
Early informal approaches encountered contradictions when they allowed every describable collection to constitute a set. These problems encouraged axiomatization. Ernst Zermelo introduced axioms in 1908; subsequent contributions by Abraham Fraenkel, Thoralf Skolem, and John von Neumann helped produce the framework now called Zermelo–Fraenkel set theory with choice, or ZFC. (plato.stanford.edu)
Membership and elementary operations
The notation means that is an element of . A set is determined entirely by its elements, so order and repeated listing do not matter: . The empty set, written , has no elements. A subset is a set whose elements all belong to . Membership and inclusion are different: concerns an element, whereas concerns two sets. (plato.stanford.edu)
The principal operations are:
- Union, : elements belonging to either set or both.
- Intersection, : elements belonging to both sets.
- Difference, : elements of absent from .
- Complement, : elements outside , relative to a specified set .
Thus, if and , their union is , their intersection is , and . Complements require a specified ambient set; they are not absolute collections of everything excluded from . (courses.maths.ox.ac.uk)
The power set consists of all subsets of , including and . A set with elements has subsets, because each element can independently be included or excluded. The Cartesian product consists of ordered pairs , with and . Unlike elements listed in a set, the coordinates of an ordered pair have a specified order. (people.csail.mit.edu)
Relations, functions, and infinite size
A binary relation from to can be represented as a subset of . A function is a relation assigning exactly one value in to each element of . A bijection is both one-to-one and onto, pairing the elements of two sets without omissions or duplications. (plato.stanford.edu)
Two sets have the same cardinality when a bijection exists between them. A countable set is finite or can be enumerated by the natural numbers. The integers and rational numbers are countable, whereas the real numbers are uncountable. Consequently, “infinite” does not identify a single mathematical size. (plato.stanford.edu)
Cantor’s theorem states that a power set always has strictly greater cardinality than its original set. Repeatedly taking power sets therefore produces progressively larger infinities. (plato.stanford.edu)
Ordinal numbers describe positions and order types in well-ordered sets rather than size alone. The first infinite ordinal, , represents the usual ordering of the natural numbers. The ordinals and have different order types but the same cardinality: adding a final element changes the ordering without increasing its infinite size. (plato.stanford.edu)
Axioms and paradoxes
Russell’s paradox exposes the failure of unrestricted set formation. If were a set, then would hold exactly when , a contradiction. ZFC avoids this construction by restricting comprehension to elements of an already existing set. (plato.stanford.edu)
Zermelo–Fraenkel set theory is formulated in first-order logic. Its axioms specify equality through membership and authorize constructions such as pairing, unions, and power sets. Infinity ensures an infinite set exists; separation selects elements from an existing set; replacement forms images under definable functional rules. Foundation constrains membership chains. The axiom of choice adds that every set-indexed family of nonempty sets admits a function selecting one member from each, producing ZFC. (plato.stanford.edu)
Independence and mathematical foundations
The continuum hypothesis asserts that no cardinality lies strictly between that of the natural numbers and that of the real numbers. Kurt Gödel established its relative consistency in 1938, and Paul Cohen established the relative consistency of its negation in 1963. Together these results show that, if ZFC is consistent, its axioms neither prove nor refute the hypothesis. Independence concerns what follows from a specified axiom system, not a contradiction within that system. (plato.stanford.edu)
Cohen’s method, forcing, constructs extensions of models of set theory with controlled properties. Further research investigates additional axioms, including large-cardinal principles, and their consequences for infinite structures and definable sets. (plato.stanford.edu)
Set-theoretic representations also organize ordinary mathematics. Numbers can be constructed from sets, and functions and relations from ordered pairs. In probability, events are subsets of a sample space, with operations such as union, intersection, and complement expressing combinations of events. These applications connect foundational constructions with concrete mathematical reasoning. (plato.stanford.edu)