Sets
A set is a well-defined collection of distinct objects, considered as a single whole. Sets are the foundational language of modern mathematics: nearly every mathematical object — numbers, functions, relations, spaces — is defined in terms of sets. Developed rigorously by Georg Cantor in the 1870s–1880s, set theory underlies all of contemporary mathematics, computer science, logic, and probability.
A set is determined entirely by what belongs to it — nothing else. There is no notion of "first element," no concept of an element appearing "twice," and no internal structure beyond membership. This radical simplicity is exactly what makes sets powerful: from the single relation " belongs to " we can build the entire edifice of mathematics.
Formal Statement
A set is a collection of distinct objects. If an object is a member of a set , we write
Derivation hint: This is the primitive (undefined) relation of set theory; "" is read "is an element of." If is not a member, we write . A set may be specified by listing (roster notation), as in , or by a defining property (set-builder notation):
Derivation hint: Read "the set of all such that is true"; the vertical bar means "such that."
Two sets and are equal if and only if they have exactly the same elements:
Derivation hint: Equality depends only on membership — not on how the set is described, ordered, or written. A consequence: , since repetition and order do not affect membership.
is a subset of , written , if every element of is also an element of :
Derivation hint: Universally quantify the implication "member of ⟹ member of ." The power set is the set of all subsets of . For a finite set with elements,
Derivation hint: Each element is either in or out of a subset — two choices per element, multiplied over elements.
For sets and within a universe :
Derivation hint: The union collects everything in either set; "or" is inclusive.
Derivation hint: The intersection keeps only the common elements.
Derivation hint: Set difference removes from everything that lies in .
Derivation hint: The complement is everything in the universe not in .
For any sets in a universe :
Derivation hint: Negating "in or " gives "not in and not in "; negating "and" gives "or."
Why It Holds / Derivation
We show using the Axiom of Extensionality — i.e. by proving both sets have the same elements.
Step 1. Take any . By definition of complement, .
Step 2. By definition of union, means it is not the case that ( or ).
Step 3. By the logical equivalence , this means and .
Step 4. Therefore and , so . This shows .
Step 5. Every step above is an if and only if, so reading them in reverse gives .
Step 6. Mutual inclusion plus Extensionality (Equation 3) gives equality.
∎Step 1. Let . A subset is fully determined by deciding, for each element , whether .
Step 2. Each of these decisions has exactly 2 outcomes (in or out), and they are made independently.
Step 3. By the multiplication principle of counting, the total number of distinct subsets is
Step 4. Hence .
∎Georg Cantor, a German mathematician, single-handedly created set theory in a series of papers beginning in 1874. His most revolutionary contribution was the rigorous treatment of infinite sets and the discovery, via his famous diagonal argument, that infinities come in different sizes — the real numbers cannot be put in one-to-one correspondence with the natural numbers. His ideas were fiercely resisted by contemporaries such as Leopold Kronecker, who called them "humbug." Cantor suffered from depression, partly aggravated by this hostility, yet his work was ultimately embraced; David Hilbert declared, "No one shall expel us from the paradise that Cantor has created."
Building Intuition
Think of a set as a bag with a strict doorman. The doorman only ever answers one question: "Is this thing inside?" — yes or no. He does not care which item arrived first (no order), and he never lets the same item enter twice (no duplicates). Two bags are "the same bag" precisely when the doorman would give identical answers for every possible item. Venn diagrams make operations concrete: overlapping circles represent two sets, the overlap is , the whole shaded region is , and the region outside both circles (inside the rectangle) is . The empty set is the bag the doorman always says "no" to — and there is only one such bag, which is why we say "the" empty set.
Worked Examples
Given: and , with universe .
Step 1 — Union (Eq. 6): combine all members:
Step 2 — Intersection (Eq. 7): keep common members:
Step 3 — Difference (Eq. 8): members of not in :
Step 4 — Complement (Eq. 9): members of not in :
Step 5 — Power set size (Eq. 5): since ,
Boxed answers:
Given: , , . Verify Equation 11: .
Step 1 — Left side. , so
Step 2 — Right side, complements. and .
Step 3 — Right side, union.
Step 4 — Compare. Both sides equal .
Boxed answer:
Common Misconceptions
An element is not the same as the singleton set containing it. The number and the set are different objects: , but . Likewise, (the empty set, containing nothing) differs from (a set containing one element, namely the empty set) — so but .
Do not confuse with . "" is true (subset), but "" is false, since the element is not one of the members or .
One might think , , and are three different sets. By the Axiom of Extensionality (Equation 3), they are all the same set, because every is a member of one iff it is a member of the others. If you need order to matter, you need an ordered tuple , not a set; if you need repetition to matter, you need a multiset — neither of which is a set.
It is tempting to believe any property defines a set. Consider , "the set of all sets that are not members of themselves." Ask: is ? If , then by its own definition — contradiction. If , then satisfies the defining property, so — contradiction. No such set can exist. This is Russell's Paradox, and it shows unrestricted set-building is logically inconsistent, motivating the careful axioms of modern set theory.
Connections
Sets are the connective tissue of mathematics. A <span class="wiki-link-missing">Function</span> is formally a special set of ordered pairs (a relation with at most one output per input). The number systems — the <span class="wiki-link-missing">Natural Numbers</span>, integers, rationals, and <a class="wiki-link" href="/wiki/ncert-10-maths-real-numbers">Real Numbers</a> — are all constructed as sets. <span class="wiki-link-missing">Logic</span> mirrors set operations exactly: "and"/"or"/"not" correspond to intersection/union/complement, which is why De Morgan's Laws appear in both. <a class="wiki-link" href="/wiki/ndli-isc-11-mathematics-probability">Probability</a> defines events as subsets of a sample space, so and inherit the set algebra directly. <span class="wiki-link-missing">Cardinality</span> generalizes "counting" to compare sizes of infinite sets.
Real-World Applications
Historical Development
Subtleties & Limits
The Continuum Hypothesis (CH) asks whether there exists a set whose size is strictly between that of the natural numbers and that of the real numbers . Cantor conjectured "no," but the question turned out to be undecidable: Gödel (1940) showed CH cannot be disproved from the standard ZFC axioms, and Cohen (1963) showed it cannot be proved either. CH is therefore independent of ZFC — both it and its negation can be consistently added. This raises a profound philosophical puzzle: are there genuine mathematical truths beyond what any axiom system can capture, and how do we choose which set-theoretic universe to inhabit? Active research in large cardinals and forcing continues to probe these foundations.
See Also
Functions · Relations · Cardinality · Logic · Probability · Real Numbers · Boolean Algebra · Russell's Paradox