Foundations of mathematics Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ia Paper 4 8E Solution Created 2026-09-24 Updated 2026-09-24
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
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.