Map a binary sequence to the rational partial sums . They are nondecreasing and bounded above by . A first different digit makes the corresponding partial sums different at that index, so the map is injective. Cantor's diagonal argument then makes this family uncountable despite every individual term being rational.
// Target: special-relativity.bigb
Cantor's theorem Created 2026-10-14 Updated 2026-10-31
There is no surjection from a set onto its power set . Consequently has strictly greater cardinality than .
For any candidate function , form . This is a subset of by set comprehension. If , then holds exactly when , a contradiction. Thus is missing from the image of . On the other hand, is an injection from into its power set, establishing the strict comparison of cardinalities. For , the omitted selection is the subset version of Cantor's diagonal argument.
Foundations of mathematics Created 2026-09-24 Updated 2026-10-13
Foundations of mathematics asks what our objects mean, what we assume about them, and why an argument establishes its conclusion. Set theory gives a common language for collections and functions; mathematical logic makes the structure of statements and deductions precise. A mathematical definition fixes a meaning, an axiom supplies an assumption, and a mathematical proof explains what follows. Separating these roles makes results reusable: once the group axioms are enough for a conclusion, that conclusion applies to every group, regardless of how its members are represented.
The assumptions can change the answer to a familiar calculation. Over the real numbers, factors as , so is zero or one. The same reasoning holds in any integral domain, because a product can be zero only when a factor is zero. In the ring of integers modulo six, however, and : there are four solutions, represented by . The extra solutions are idempotents, and the failed step involves zero divisors. Writing the domain is part of explaining the answer.
This precision also reveals surprising possibilities. A two-dimensional grid of natural numbers is a countable set, while all infinite binary sequences form an uncountable set. The Cantor pairing function supplies a complete enumeration of the first; Cantor's diagonal argument defeats every proposed enumeration of the second. Both arguments are short, yet distinguish two sizes of infinity. The subject's appeal is this ability to turn a vague question into one whose assumptions, construction, and limits can all be inspected.
Past exam of the mathematics course of the University of Cambridge 2009 ia Paper 4 8E Solution Created 2026-09-24 Updated 2026-10-14
Suppose all infinite binary sequences could be listed as , where . Define another binary sequence by . It differs from the th listed sequence at its th entry, so it is absent from the list. This contradiction is Cantor's diagonal argument, proving thatTo transfer this result to , map a binary sequence toThis lies in because . If two sequences first differ at index , with and , thenThus is an injection, avoiding the ambiguous expansions that would arise from unrestricted binary digits in base two. An injection from an uncountable set into proves that .
For , a nondecreasing sequence bounded above can take only finitely many integer values, all lying between its first term and an integer upper bound. Every strict increase raises its value by at least one, so only finitely many strict increases occur. It is therefore eventually constant. Every such sequence has the formfor some finite list of integers. The set of finite integer lists is a countable set: at stage , list the tuples of length at most whose entries have absolute value at most , omitting earlier duplicates. Each stage is finite and every finite tuple occurs at some stage. Constant sequences give an injection of into the collection, soThis is the discrete-order phenomenon that bounded nondecreasing integer sequences are eventually constant.
For , use a different encoding, into rational partial sums:Each is a rational number, the sequence is nondecreasing, and . If two binary inputs first differ at , their th partial sums differ by , so their output sequences differ. This defines an injection of the uncountable binary-sequence set into . Thus bounded nondecreasing rational sequences are uncountable. Finally, every such rational sequence is also an admissible real sequence, so inclusion into is injective. ConsequentlyBoundedness and monotonicity force eventual constancy for integer values, but not for rational or real values; countability of the set of possible individual terms does not imply countability of all infinite sequences of those terms.
Past exam of the mathematics course of the University of Cambridge 2014 ia Paper 4 7E i Solution Created 2026-09-24 Updated 2026-10-06
A set is a countable set if it admits an injective function into the natural numbers; this includes finite sets and countably infinite sets. A countably infinite set can be listed by a bijection from .
Let be the set of infinite binary sequences. Suppose it were countable and list all its members as , writing for the th entry of row . A finite listing could be repeated to make such a list as well. Define the binary sequence by . It differs from the th row in coordinate , for every . Thus it belongs to but is missing from the list, a contradiction. The set is uncountable, by Cantor's diagonal argument.
Past exam of the mathematics course of the University of Cambridge 2021 ia Paper 4 8E b i Solution Created 2026-09-24 Updated 2026-09-25
Suppose all functions could be listed as . DefineThen differs from at for every , so it is absent from the list. This Cantor's diagonal argument proves that is an uncountable set.
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 4 8F c Solution Created 2026-09-24 Updated 2026-09-25
Suppose first that for every . Then an element of is determined by its first coordinates, so is in bijection withA finite Cartesian product of countable sets is countable by repeated application of the diagonal enumeration in part (b)(i). Hence is countable.
Conversely, suppose infinitely many factors contain at least two elements. Choose increasing indices and distinct elementsFix one element in every remaining factor. Each binary sequence then defines an element of by placing in coordinate and the fixed element elsewhere. This map is injective.
The set is uncountable by Cantor's diagonal argument: from any proposed list of binary sequences, form a new sequence whose th digit differs from the th digit of the th listed sequence. It is absent from the list. Thus contains an uncountable subset and cannot be countable.
Therefore
Take the middle-thirds Cantor set . Its th stage is the union of closed intervals of length , and contains . Their total length is ; slightly enlarging them to open intervals gives covers of arbitrarily small total length. Therefore is null.
For uncountability map every binary sequence to . If two sequences first differ at index , their image difference in absolute value is at least . Thus the map is injective. The set of binary sequences is uncountable by Cantor's diagonal argument, so is uncountable.
Set theory Created 2026-09-24 Updated 2026-10-18
Set theory studies sets, their set elements, and the constructions and sizes possible for them. It supplies a shared vocabulary for mathematics: a function connects two sets, a binary relation specifies which pairs of objects are related, and a probability space starts with a set of possible outcomes. Giving these objects a common language lets a construction from one subject be used in another without repeating its underlying bookkeeping.
A particularly beautiful question is how to compare sizes without first assigning a number. Two sets have the same cardinality when a bijection pairs every member of one with exactly one member of the other. For finite sets, this agrees with ordinary counting. For infinite sets, it produces surprises: bijects the natural numbers with the nonnegative even integers, and the Cantor pairing function bijects the Cartesian product with . A proper subset can have the same cardinality as its containing set.
This does not make all infinite sets equally large. Cantor's diagonal argument shows that all infinite binary sequences cannot be listed by the natural numbers. Cantor's theorem gives the wider principle: the power set of any set has strictly greater cardinality. The contrast between an explicit enumeration and an impossibility argument makes the meaning of infinity much sharper than a picture of something merely continuing forever.
Set formation itself requires care. Russell's paradox shows why not every condition defines a set of all objects satisfying it. Zermelo–Fraenkel set theory instead uses axioms specifying permitted constructions, including set comprehension within a previously given set. The restrictions are useful: they let us form the collections ordinary arguments need while blocking the unrestricted construction that produces the paradox.
Uncountability by interleaving prescribed binary coordinates Created 2026-10-06 Updated 2026-10-14
Partition the positive natural numbers into three infinite coordinate sets. Fix the coordinates on the first two sets to any prescribed binary values, and leave those on the third set free. Reading the third coordinate set embeds all infinite binary sequences in the resulting family, so the family is an uncountable set by Cantor's diagonal argument. For example, fixing and while leaving free guarantees infinitely many zeros and infinitely many agreements with any prescribed binary sequence . Infinite free coordinates remain even after both requirements are enforced.
An infinite Cartesian product of finite sets need not admit any complete list enumeration. For the repeated binary factor, suppose the output lists all sequences as . Define a sequence by . It is a valid binary sequence but differs from the -th output at coordinate , a contradiction. This is Cantor's diagonal argument. Consequently fair binary products can recursively enumerate the choices from finitely many possibly infinite lists, but cannot solve the unrestricted infinite-family specification. A finite-family algorithm's restriction must be explicit.