Set
A well-defined collection of distinct objects, considered as an object in its own right. The fundamental concept of set theory.
Basic Set Operations
The fundamental operations on sets are: union (A ∪ B), intersection (A ∩ B), difference (A \ B), and complement (Aᶜ). De Morgan's laws relate these: (A ∪ B)ᶜ = Aᶜ ∩ Bᶜ and (A ∩ B)ᶜ = Aᶜ ∪ Bᶜ. The power set P(A) is the set of all subsets of A; if |A| = n then |P(A)| = 2ⁿ.
Relations and Functions
A relation on a set A is a subset of A × A. An equivalence relation is reflexive, symmetric, and transitive; it partitions A into equivalence classes. A function f: A → B assigns exactly one element of B to each element of A. Functions can be injective (one-to-one), surjective (onto), or bijective (both).
Cardinality
Two sets have the same cardinality if there exists a bijection between them. Countably infinite sets (like ℕ and ℤ) have cardinality ℵ₀. Cantor's diagonal argument proves that ℝ is uncountable — its cardinality (the continuum) is strictly greater than ℵ₀. This shows there are different "sizes" of infinity.
Zermelo-Fraenkel Axioms
Modern set theory is built on the Zermelo-Fraenkel axioms (ZF), often supplemented by the Axiom of Choice (ZFC). These axioms provide a rigorous foundation for all of mathematics, defining what sets exist and how they can be constructed. The Axiom of Choice, while controversial, is equivalent to many important theorems including Zorn's Lemma and the Well-Ordering Theorem.