Zorn's Lemma
Can every vector space, even an infinite-dimensional one, be given a basis? Can every commutative ring with identity be shown to have a maximal ideal? Can every connected graph, however large, contain a spanning tree? Each of these questions asks for the existence of some maximal or complete object. In each case, the object cannot be built by an explicit finite or even countable construction. Zorn's Lemma is the tool that lets us assert such objects exist anyway. It works by trading an infinite construction for a single verification about chains. The idea is deceptively simple. Suppose a partially ordered set has this property: every totally ordered subset sits below some element of the set. Then the set itself must contain an element above which nothing sits — a maximal element. This statement, purely combinatorial in flavor, turns out to be logically equivalent to the Axiom of Choice. This is one of the most consequential facts in the foundations of mathematics. Zorn's Lemma is usually easier to apply directly than the Axiom of Choice itself. It converts an existence problem into a single hypothesis to check: does every chain have an upper bound? The big picture is this. Ordinary induction lets us build objects step by step through the natural numbers. We verify a property survives from to . Many algebraic and set-theoretic constructions, however, do not terminate after countably many steps. Some do not naturally index by at all. Zorn's Lemma is the version of induction adapted to arbitrary partial orders. Instead of checking a single successor step, one checks something else. Chains — totally ordered subsets, which play the role of "everything built so far" — must always have somewhere to go. This single check, applied to a suitably designed poset, is the standard machinery. It underlies almost every "every X has a maximal Y" theorem in algebra and analysis. This article gives the precise definitions of partial order, chain, upper bound, and maximal element. It states Zorn's Lemma with full hypotheses. It proves the lemma from the Axiom of Choice using transfinite recursion. It works through two genuinely different applications — the existence of a basis for an arbitrary vector space, and the existence of a maximal ideal in a nonzero commutative ring with identity. It closes by examining what fails when the chain-upper-bound hypothesis is dropped. Finally, it places Zorn's Lemma in its historical and mathematical context, as one vertex of the equivalence triangle with Choice and well-ordering.
- A partial order on a set is a reflexive, antisymmetric, transitive relation ; a chain is a subset totally ordered by .
- Zorn's Lemma: if every chain in a nonempty poset has an upper bound in , then has a maximal element.
- Zorn's Lemma is logically equivalent to the Axiom of Choice (assuming the other axioms of ZF).
- The standard proof builds an ever-increasing chain by transfinite recursion, using a choice function, until no strictly larger element can be added.
- Applications convert "does a maximal/complete object exist?" into "does every chain of partial objects have an upper bound?" — used to build bases, maximal ideals, and maximal filters.
- Key idea: an upper bound for every chain forces a ceiling on the whole poset, and that ceiling must be attained at a maximal point.
Where this lives today
Zorn's Lemma is the standard existence engine wherever an infinite maximal or complete structure is asserted without an explicit algorithm to build it. In algebra, it produces bases of arbitrary vector spaces, maximal ideals in commutative rings (feeding directly into the definition of the spectrum in algebraic geometry), algebraic closures of fields, and transcendence bases of field extensions. In functional analysis, it underlies the Hahn–Banach theorem (extending a bounded linear functional while preserving a norm bound, via a maximal extension argument) and the existence of maximal orthonormal sets (Hilbert space bases) in infinite-dimensional Hilbert spaces. In topology, it is used to prove Tychonoff's theorem — that an arbitrary product of compact spaces is compact — via maximal filters or ultrafilters, and to show every filter extends to an ultrafilter. In order theory and logic itself, it gives the existence of maximal consistent extensions of theories (used in completeness proofs for first-order logic, via Lindenbaum's lemma) and maximal antichains in combinatorics of infinite posets. In graph theory, an infinite connected graph has a spanning tree by a Zorn's Lemma argument on the poset of forests ordered by inclusion of edge sets. Across all of these, the pattern is identical to the two worked examples above: define a poset of "partial approximations" ordered by extension, show unions along chains stay inside the class of approximations, and read off a maximal approximation as the desired complete object.
Ask the tutor: How does the proof that Zorn's Lemma implies the Axiom of Choice work in full detail, and what does the poset of "partial choice functions" look like?
Let be a set.
Partial order. A relation on is a partial order if for all : 1. (Reflexivity) . 2. (Antisymmetry) If and , then . 3. (Transitivity) If and , then . The pair is a partially ordered set, or poset.
Chain. A subset is a chain (or totally ordered subset) if for all , either or . The empty set is (vacuously) a chain.
Upper bound. Let . An element is an upper bound for if for every . (Note need not belong to , but it must belong to .)
Maximal element. An element is maximal if there is no with and ; equivalently, for all , implies . (A maximal element need not be an upper bound for all of , and may have several maximal elements, or none.)
Zorn's Lemma. Let be a nonempty partially ordered set. Suppose that every chain has an upper bound in . Then has a maximal element.
Intuition
Picture a poset as a landscape of dirt paths climbing a hillside, where means "you can walk from up to ." A chain is a single connected trail: any two points on it are comparable, so you can always tell which is further along. The hypothesis of Zorn's Lemma says that no matter how far you walk along any such trail — even one with no last step, climbing forever through infinitely many stages — there is always some point in the landscape sitting at or above the entire trail. Intuitively, no trail can escape to infinity without a ceiling somewhere above it. The conclusion says that under this hypothesis, the whole landscape has a peak: a point from which no further step is possible. This is not obvious, because the landscape may be infinite, may have no least element, and may not be well-ordered in any natural way. The proof strategy is to attempt to climb as high as possible, choosing at each stage a strictly higher point using the Axiom of Choice, and to show this climbing process must stop — not because we run out of steps in , but because it would otherwise produce a chain whose upper bound could be climbed past, contradicting that the bound already dominates the whole chain. A key subtlety: the hypothesis must give an upper bound for every chain, including the empty chain (which forces ) and chains with no largest element (like inside , whose upper bound need not be in the chain itself). The figure below shows a finite poset satisfying the hypothesis trivially (every chain is finite, hence has a maximum, which is an upper bound) and identifies its maximal elements, alongside a genuinely infinite example where the upper bound of an infinite chain is a new element not equal to any chain member.
Let be a nonempty partially ordered set such that every chain has an upper bound in . Then has at least one maximal element. Assumed background: the Zermelo–Fraenkel axioms (ZF) together with the Axiom of Choice (together, ZFC).
By the Axiom of Choice, for any nonempty set there exists a function
such that for every nonempty .
This is the Axiom of Choice applied to the indexed family of nonempty sets: Choice guarantees a function selecting one element from each set in the family, which is exactly .
∎We prove Zorn's Lemma from ZF plus the Axiom of Choice, using transfinite recursion to build a chain that cannot be strictly extended, and deriving the maximal element from its upper bound. This is the standard proof, due in essentials to Zermelo's well-ordering arguments and formalized by Kuratowski, Bochner, and Zorn.
Setup. Let be a nonempty poset in which every chain has an upper bound in . Fix, by the Lemma above, a choice function on nonempty subsets of . For , write for the set of strict upper-bound candidates above — informally, the possible "next steps." Suppose, for contradiction, that has no maximal element. Then for every , (if were empty, would be maximal). Define
so is a specific element of that is strictly greater than . The function is our "successor" step: given any point, it names a point strictly above it.
Transfinite recursion. By transfinite recursion (justified within ZF once an ordinal-indexed recursion scheme is available), define a function from the class of ordinals into by:
for limit ordinals , where "an upper bound" is again selected via applied to the (nonempty, by hypothesis) set of upper bounds of the chain in . We must check by transfinite induction that is defined and that is always a chain, strictly increasing in the sense and . Base case. is trivially a chain. Successor step. If is a chain with for all , then satisfies (strictly, since ), and by transitivity (with since otherwise would force , impossible by antisymmetry unless , already handled). So is a chain, strictly increasing. Limit step. If is a limit ordinal and is a chain (by the inductive hypothesis applied to all , any two elements with lie in some common initial chain and so are comparable), then by hypothesis on this chain has a nonempty set of upper bounds in , and is defined, with for all . Adjoining to the chain keeps it a chain (every earlier element is , and is comparable to itself), completing the induction. So is a well-defined, strictly increasing function from the entire proper class of ordinals into the set : .
Deriving a contradiction (size). Strict increase means is injective on ordinals. But the ordinals form a proper class (by the Burali-Forti paradox, there is no set containing all ordinals), while is a set. An injective function from a proper class into a set is impossible: restricting to ordinals below (the successor cardinal of , whose existence uses only ZF) already gives an injection of an ordinal of cardinality into , contradicting . This contradiction arose from the assumption that has no maximal element. Hence must have a maximal element.
Remark on rigor. The one substantive use of Choice is the existence of ; every other step (defining , the recursion, the cardinality contradiction) is pure ZF. This matches the fact — provable, though beyond the scope of a single proof here — that Zorn's Lemma, the Axiom of Choice, and the Well-Ordering Theorem are all mutually derivable from one another over ZF; this equivalence is developed further in Equivalents and Consequences of Choice.
∎Worked examples
Example 1: Every vector space has a basis (over an arbitrary field, arbitrary dimension). Let be a vector space over a field , possibly infinite-dimensional and with no distinguished countable spanning set. We show has a basis, i.e., a linearly independent spanning subset. If , the empty set is a basis; assume . Let
partially ordered by inclusion . This is a genuine partial order (inclusion is reflexive, antisymmetric, transitive). : since , pick any nonzero ; then is linearly independent, so .
Checking the chain hypothesis. Let be a chain (a collection of linearly independent subsets of , totally ordered by inclusion). Let
We claim , i.e., is linearly independent, and is clearly an upper bound for (each ). To check independence: suppose are distinct and with . Each lies in some . Since is a chain and there are finitely many , one of them — say — contains all the others (a finite chain under inclusion has a maximum, provable by induction on : among finitely many totally ordered sets, compare pairwise and keep the larger). So , and since is linearly independent, . Hence is linearly independent, , and is an upper bound for in . (If , its upper bound is any element of , e.g. above, or vacuously any element works since there is nothing to bound — take , which is independent.)
Applying Zorn's Lemma. Every chain in has an upper bound in , and , so by Zorn's Lemma has a maximal element .
is a basis. is linearly independent by construction (). Suppose does not span ; pick . Then is linearly independent (a standard fact: if and is independent, then is independent — else some nontrivial combination with would force , since otherwise itself would be dependent, giving , a contradiction). So and , contradicting maximality of . Hence spans , and is a basis. Note the asymmetry deliberately built into this argument: is arbitrary, possibly with dimension larger than any cardinal one could enumerate, and no assumption of a spanning set or countability is used anywhere — the entire existence proof runs through the abstract chain/upper-bound check.
Example 2: Every nonzero commutative ring with identity has a maximal ideal. Let be a commutative ring with multiplicative identity . (The hypothesis rules out the zero ring, which has no proper ideals at all.) Recall an ideal is proper if , equivalently . Let
ordered by inclusion. because is a proper ideal (as , ).
Checking the chain hypothesis. Let be a nonempty chain of proper ideals, totally ordered by inclusion. (If , take as its upper bound.) Let
is an ideal. Let and . Then , for some ; since is a chain, one contains the other, say , so . Then and (using that is an ideal). Also since for any (nonempty by assumption). So is an ideal. is proper. Suppose . Then , so for some . But then contains , forcing (for any , since ideals absorb multiplication), contradicting that is proper. So , i.e., , so is proper. Thus , and clearly for every , so is an upper bound for in .
Applying Zorn's Lemma. Every chain in has an upper bound in , , so by Zorn's Lemma, has a maximal element .
is a maximal ideal. By construction is a proper ideal, and maximality in under inclusion means: no proper ideal strictly contains . This is exactly the definition of a maximal ideal of . This example is structurally parallel to Example 1 (union along a chain gives the upper bound) but the "closure" property being preserved is different — proper-ness of an ideal versus linear independence — illustrating that the same Zorn's Lemma machinery adapts to entirely different closure properties, so long as arbitrary unions of chains preserve them.
The hypothesis of Zorn's Lemma requires an upper bound for every chain, not just every countable one, and not just every finite one. Weakening the hypothesis to countable chains breaks the conclusion. Let denote the first uncountable ordinal, and consider
with its usual ordinal order , which is a partial order (indeed a total order). Every countable chain in has an upper bound in . Let be countable (in particular any countable chain qualifies). A standard fact about is that the supremum of a countable set of countable ordinals is again a countable ordinal, hence : this is because is, by definition, the least ordinal that is not the order type of any countable well-ordering, and a countable union of countable sets is countable (using Axiom of Choice for countable choice among the witnessing bijections). So , giving , which is an upper bound for in (indeed is the least upper bound). But has no maximal element. For any , its successor satisfies (since is a limit ordinal — no countable ordinal is the largest one, as is still countable if is), so and . Hence no element of is maximal: every element has a strictly larger element in . What fails is precisely the full chain-upper-bound hypothesis: itself (viewed as a chain of order type , i.e., the entire chain ) has no upper bound in , since — the only candidate upper bound is excluded from the set exactly because was defined to be the first ordinal not reachable this way. Every countable subchain is bounded, but the full poset is not, and correspondingly there is no maximal element. This shows the hypothesis "upper bound for every chain" cannot be relaxed to countable chains — the conclusion of Zorn's Lemma genuinely needs the uncountable case too.
Scope, edge cases & common traps
| Situation | What to check | Common error |
|---|---|---|
| Zorn's Lemma requires explicitly | Forgetting to verify is nonempty (e.g. forgetting or is a valid starting element) | |
| Chain includes | The empty chain needs an upper bound too — any element of works, but must be nonempty for one to exist | Treating "every chain has an upper bound" as vacuous for the empty chain without checking |
| Infinite but not well-orderable chains | Upper bound must be verified for chains of arbitrary order type, not just -chains | Only checking countable increasing sequences (see the counterexample above) |
| Constructing the union along a chain | Must verify the union stays inside the desired property (independence, properness, etc.) | Assuming closure under arbitrary unions without proof — this is exactly where the real mathematical content of an application lives |
| Concluding uniqueness | Zorn's Lemma gives a maximal element, not the largest element | Confusing "maximal" (nothing above it) with "maximum" (above everything) — a poset can have many maximal elements |
The mathematician behind it
Origins · 1 minMax August Zorn and how this was discovered
Max Zorn worked primarily in algebra — alternative algebras, Moufang loops, and the structure theory that would later feed into nonassociative ring theory — but his lasting fame rests on a maximum principle he isolated in 1935 as a convenient substitute for transfinite induction in algebraic proofs. Zorn observed that many existence theorems in algebra (bases, maximal ideals, algebraic closures) shared an identical logical skeleton, and proposed extracting that skeleton as a single reusable maximum principle, sparing algebraists the need to re-run a transfinite recursion argument by hand in every proof. He explicitly noted the principle's equivalence to the Axiom of Choice and to Zermelo's well-ordering theorem, though the name "Zorn's Lemma" and its wide popularization came later, notably through Bourbaki and subsequent textbook treatments.
Is Zorn's Lemma actually equivalent to the Axiom of Choice, or just implied by it?
It is a full logical equivalence, provable within ZF (Zermelo–Fraenkel set theory without Choice). This article proves the direction "Axiom of Choice implies Zorn's Lemma." The converse, "Zorn's Lemma implies the Axiom of Choice," is also provable: given any family of nonempty sets, one constructs a poset of partial choice functions ordered by extension, checks every chain of partial choice functions has an upper bound (their union), and applies Zorn's Lemma to get a maximal partial choice function, which must in fact be defined on the whole index set — otherwise it could be extended, contradicting maximality. Both directions are standard and the full equivalence circle is developed under Equivalents and Consequences of Choice.
Why do we need the Axiom of Choice at all — can't we just pick the next element by hand?
For finite or countable posets, one often can construct maximal elements without invoking Choice, using ordinary induction. The trouble is that in general applications (arbitrary vector spaces, arbitrary rings) the poset of "partial approximations" can be enormous, with no canonical rule for selecting the next approximation among many equally valid candidates at each of uncountably many stages. The Axiom of Choice is precisely the assumption that such a selection can be made simultaneously for every nonempty subset, with no constructive rule required. Without it, one can consistently have vector spaces with no basis at all, so the invocation of Choice is not a technicality — it carries genuine, unavoidable content.
Does Zorn's Lemma tell us how to find the maximal element?
No. The proof is a pure existence argument: it shows that assuming no maximal element exists leads to a contradiction of cardinality, but it gives no algorithm, formula, or explicit description of any maximal element. This is characteristic of most Choice-equivalent existence proofs. In the vector space example, Zorn's Lemma proves every vector space has a basis but gives no way to write down a basis for, say, as a -vector space (a Hamel basis) — no explicit such basis is known, and none can be exhibited by a formula in ZFC.
What is the difference between a maximal element and a greatest (maximum) element?
A greatest element satisfies for all — it is comparable to and above everything. A maximal element only requires that nothing be strictly above ; it need not be comparable to every other element. In a totally ordered set the two notions coincide, but in a general poset there can be several distinct maximal elements, none of which dominate the others (compare the finite poset in the Intuition figure, which has two incomparable maximal elements). Zorn's Lemma promises a maximal element, never a greatest one, and applications must not conflate the two.
Can Zorn's Lemma be applied to prove a minimal element exists instead?
Yes, by a routine order-reversal. If is a nonempty poset in which every chain has a lower bound in , apply Zorn's Lemma to the reversed order defined by ; chains of are exactly chains of , and upper bounds under are lower bounds under . A maximal element under is precisely a minimal element under . This "downward Zorn's Lemma" is used, for instance, to produce minimal prime ideals containing a given ideal in commutative algebra.
Is the hypothesis "every chain has an upper bound" the same as " has an upper bound for the whole set "?
No, and conflating them is a common error. The hypothesis requires an upper bound for each chain separately; different chains may have different, incomparable upper bounds, and there need be no single element bounding all of at once. Indeed if itself had one global upper bound dominating everything, would automatically be the (unique) maximal — indeed maximum — element, making the theorem trivial. The genuine content of Zorn's Lemma is that bounding only chains (a much weaker, more checkable hypothesis) still suffices to guarantee a maximal element exists somewhere.
Why does the proof need transfinite recursion instead of ordinary induction on ?
Ordinary induction only reaches countably many stages, indexed by , but a poset built from an arbitrary infinite set (such as all subsets of an uncountable vector space) may require uncountably many "next steps" before any potential maximal element is approached. Transfinite recursion generalizes the successor step of ordinary induction to all ordinals, including limit ordinals, where the construction must consult an upper bound for an entire preceding chain rather than a single predecessor. This is exactly the extra machinery Zorn's Lemma packages up so that users of the lemma never have to run the recursion by hand.