Skip to content
Topos Uranos

Summary

This lesson closes the unit devoted to the natural numbers. It reconstructs the deductive chain that leads from the language of sets and the Peano axioms to the binomial theorem, indicating at each link which principle is used and which result is obtained; it places what has been achieved within the plan of the course and explains why the limits of subtraction and division among natural numbers lead to the next unit, devoted to number systems. It ends with ten challenges, harder than the problems of the lessons, which require combining the tools of several of them.

Learning objectives

  1. Reconstruct the logical order of the results of the unit, identifying the principle on which each one rests.
  2. Explain how induction, well-ordering, division with remainder, unique factorization and congruences are related.
  3. Justify, from the limitations of subtraction and division among natural numbers, the need to extend the number systems.
  4. Solve problems that combine induction, divisibility, positional notation and counting.

What the unit achieved

The unit set out to deduce the arithmetic of the natural numbers from a few principles, without accepting any of its properties as evident. The aim has been fulfilled with a few reservations, each one declared in its place: the rules of naive set theory and of the negation of quantifiers, which are the language in which everything else is written; the existence of the functions defined by recursion, which Dedekind’s recursion theorem guarantees and which was admitted because it belongs to set theory; the uniqueness of the number of elements of a finite set, and the finiteness of its subsets, on which counting rests; generalized commutativity, which allows the factors of a finite product to be reordered; and the elementary rules of the integers, the rationals and the reals, which the unit anticipated in examples and problems and which the next unit constructs. With these reservations, the path travelled can be read as a single deductive chain in four segments.

The foundations: sets, axioms, operations and order

The lesson on sets, relations and functions fixed the language in which the unit is written, declaring the little it admits from set theory, and proved that equivalence relations and partitions are two faces of a single idea: the classes of an equivalence form a partition, and every partition comes from a unique equivalence. That result reappears in the classification of the integers by their remainder and in congruences, and the next unit uses it to construct the integers and the rationals as classes of pairs. In the lesson on the Peano axioms the natural numbers were defined by means of 11, the successor operation and five axioms; the second to fourth axioms guarantee that the sequence neither stops nor turns back on itself, and the fifth, the principle of induction, guarantees that there are no natural numbers other than those reached from 11. The lesson on the basic operations and order built on the successor, with the recursion theorem, a ladder of recursive definitions, in which each operation is defined by means of the previous one:

n+S(m)=S(n+m),n⋅S(m)=n⋅m+n,bS(n)=bn⋅bn + S(m) = S(n + m), \qquad n \cdot S(m) = n \cdot m + n, \qquad b^{S(n)} = b^n \cdot b

From these definitions, commutativity, associativity, distributivity and cancellation were deduced by induction, and order was obtained from addition, with trichotomy, transitivity and monotonicity. Subtraction and division were defined as inverse operations, but only in certain cases: a−ba - b exists when b<ab < a, and ab\frac{a}{b}, when bb divides aa.

The principles of proof

The lesson on summations, progressions and induction widened the repertoire of proofs. It proved that ordinary induction implies strong induction and the well-ordering principle, and that, with the lemma that every natural number other than 11 is a successor and the properties of order, well-ordering in turn implies induction, so that each proof may use whichever principle suits it best; it gave sums a recursive definition and properties that allow them to be calculated, and showed with telescoping sums that a formula can be deduced, and not merely verified. The well-ordering principle turned out to be the tool of almost all the existence proofs that followed, because it allows one to choose the least element of a set and to reason by the smallest counterexample.

The arithmetic of divisibility

With well-ordering, the lesson on divisibility proved that every integer, when divided by a natural number, has a unique quotient and a unique remainder. The following four results depend on that theorem, each one resting on the previous ones:

  1. The classification of the integers by their remainder, which allows proof by cases, and the divisibility tests, which reduce to the fact that two numbers that differ by a multiple of dd leave the same remainder when divided by dd.
  2. In the lesson on prime numbers, Euclid’s lemma, proved with well-ordering and division with remainder, and with it the fundamental theorem of arithmetic: every natural number greater than 11 is a product of primes in exactly one way. From uniqueness were deduced the number of divisors, the characterization of perfect squares and the irrationality of roots that are not exact.
  3. In the lesson on the greatest common divisor, the Euclidean algorithm, which applies division with remainder until it is exhausted, Bézout’s identity, which is deduced from it, and the complete solution of linear Diophantine equations.
  4. In the lesson on congruences, the conversion of all the above into a calculus: congruence modulo nn is an equivalence relation compatible with addition and multiplication, whose classes form Zn\mathbb{Z}_n; Bézout’s identity decides which remainders are invertible and when a linear congruence has a solution, and yields the Chinese remainder theorem; and Euclid’s lemma, together with inverses, yields Fermat’s little theorem.

Writing and counting

The lesson on positional numeral systems applied division with remainder again and again to prove that every natural number is written in exactly one way in any base, and thereby justified the calculation procedures and the divisibility tests in every base. The lesson on combinatorics and the binomial theorem returned to the starting point, because counting is the operation that gave rise to the natural numbers: the addition and multiplication principles, proved from the definition of the number of elements by means of bijections (the second by induction from the first), led to the binomial coefficients, to Pascal’s rule and to the binomial theorem, whose proof brings together induction, summation notation and counting.

The following figure gathers the four segments into a single chain. Each node of the column is a definition or a theorem, numbered according to the logical order and joined by an arc to the earlier links that its proof uses; around it float the supports, that is, the principles and tools to which the chain resorts again and again, each one joined by a solid line to the links that rest on it and by a dotted one to the link where it is established, except those admitted without proof, which are drawn as rings. Clicking a support highlights all the links that use it, and each link refers to the lesson in which it is proved.

Supports of the chain

  • APrinciple of induction. If a property holds for 11 and, assuming it for an arbitrary natural number kk, it holds for its successor S(k)S(k), then it holds for all natural numbers. Established in: 2. Peano axioms.
  • BRecursion theorem. Given the value at 11 and a rule that gives the value at S(n)S(n) from the value at nn, there is a unique function on the natural numbers satisfying them; this is how addition, multiplication, exponentiation, summation and the factorial are defined. Existence is admitted; uniqueness is proved by induction. Admitted without proof in this unit.
  • CStrong induction. It suffices to prove a property for 11 and that, assuming it for all natural numbers from 11 to nn, it holds for n+1n + 1. Established in: 9. Strong induction.
  • DWell-ordering. Every nonempty set of natural numbers has a least element, which allows one to reason by the smallest counterexample. Established in: 10. Well-ordering principle.
  • EDivision with remainder. For every integer aa and every natural number bb there are a unique quotient qq and a unique remainder rr such that a=bq+ra = bq + r and 0≤r<b0 \leq r < b. Established in: 12. Division with remainder.
  • FLinear combinations. If an integer dd divides the integers aa and bb, it divides ax+byax + by for all integers xx and yy; in particular, their sum and their difference. Established in: 11. Properties of divisibility.
  • GAnticipated numbers. The elementary rules of calculation and of order of the integers, the rationals and the reals (signs, cancellation, fractions, roots) are anticipated in this unit without proof; their construction is the subject of the next unit. Admitted without proof in this unit.
  • HNumber of elements. A set that admits a bijection with {1,…,n}\{1, \ldots, n\} has nn elements; it is admitted that this number is unique and that the subsets of a finite set are finite. Admitted without proof in this unit.
  1. Segment 1 The foundations: sets, axioms, operations and order

    • Fix the language of sets, relations and functions, and prove that equivalence relations and partitions correspond to each other.
    • Define the natural numbers from 11 and the successor by means of the five Peano axioms.
    • Build on the successor a ladder of recursive definitions: addition, multiplication and exponentiation.
    • Deduce by induction commutativity, associativity, distributivity and cancellation.
    • Obtain order from addition, with trichotomy, transitivity and monotonicity, and specify when subtraction and division exist.
    1. Equivalences and partitions. The classes of an equivalence relation on a set form a partition of it, and every partition is the set of classes of a unique equivalence relation.

      Proved in: Sets, relations and functions.

    2. Peano axioms. The natural numbers are generated from 11 by the successor: 11 is not the successor of any of them, distinct natural numbers have distinct successors, and every set that contains 11 and the successor of each of its elements contains all the natural numbers.

      Proved in: The natural numbers and the Peano axioms.

    3. Recursive addition. Addition, defined by n+1=S(n)n + 1 = S(n) and n+S(m)=S(n+m)n + S(m) = S(n + m), is commutative, associative and cancellative.

      Uses: 2. Peano axioms. Rests on: A (Principle of induction), B (Recursion theorem). Proved in: Basic operations on natural numbers and order relations.

    4. Multiplication and exponentiation. Multiplication, defined by n⋅1=nn \cdot 1 = n and n⋅S(m)=n⋅m+nn \cdot S(m) = n \cdot m + n, is commutative, associative, distributive and cancellative, and exponentiation satisfies bnbm=bn+mb^n b^m = b^{n + m}, (bn)m=bnm(b^n)^m = b^{nm} and (ab)n=anbn(ab)^n = a^n b^n.

      Uses: 3. Recursive addition. Rests on: A (Principle of induction), B (Recursion theorem). Proved in: Basic operations on natural numbers and order relations.

    5. Order, subtraction and division. If a<ba < b means that a+k=ba + k = b for some natural number kk, then between two natural numbers exactly one of the relations a<ba < b, a=ba = b and b<ab < a holds, and the order is transitive and is preserved by addition and multiplication; the difference a−ba - b exists only when b<ab < a, and the quotient ab\frac{a}{b} only when bb divides aa, and both are unique by cancellation.

      Uses: 2. Peano axioms, 3. Recursive addition, 4. Multiplication and exponentiation. Rests on: A (Principle of induction). Proved in: Basic operations on natural numbers and order relations.

  2. Segment 2 The principles of proof

    • Prove that ordinary induction, strong induction and the well-ordering principle are equivalent.
    • Define summation recursively and deduce its properties.
    • Deduce formulas with telescoping sums, instead of merely verifying them.
    • Sum arithmetic and geometric progressions.
    1. Induction from a natural number. A property that holds for n0n_0 and passes from each natural number k≥n0k \geq n_0 to k+1k + 1 holds for every natural number n≥n0n \geq n_0.

      Uses: 5. Order, subtraction and division. Rests on: A (Principle of induction). Proved in: Summations, progressions and induction.

    2. Summation and telescoping sum. Defined recursively, summation is linear, splits into consecutive sums and admits shifting the index and reversing the order; a sum of differences between consecutive values equals the last value minus the first: ∑k=1n(bk+1−bk)=bn+1−b1\sum_{k=1}^{n} (b_{k + 1} - b_k) = b_{n + 1} - b_1.

      Uses: 4. Multiplication and exponentiation, 6. Induction from a natural number. Rests on: A (Principle of induction), B (Recursion theorem). Proved in: Summations, progressions and induction.

    3. Progressions. The sum of nn terms of an arithmetic progression is n(a1+an)2\frac{n(a_1 + a_n)}{2}, and that of a geometric one with first term aa and common ratio r≠1r \neq 1 is a⋅rn−1r−1a \cdot \frac{r^n - 1}{r - 1}.

      Uses: 7. Summation and telescoping sum. Rests on: A (Principle of induction), G (Anticipated numbers). Proved in: Summations, progressions and induction.

    4. Strong induction. If a property holds for 11 and, assuming it for all natural numbers from 11 to nn, it holds for n+1n + 1, then it holds for all natural numbers.

      Uses: 6. Induction from a natural number. Rests on: A (Principle of induction). Proved in: Summations, progressions and induction.

    5. Well-ordering principle. Every set of natural numbers with at least one element has a least element; with the lemma that every natural number other than 11 is a successor and the properties of order, well-ordering in turn implies induction, and the three principles turn out to be equivalent.

      Uses: 5. Order, subtraction and division. Rests on: C (Strong induction). Proved in: Summations, progressions and induction.

  3. Segment 3 The arithmetic of divisibility

    • Prove with well-ordering the existence and uniqueness of the quotient and the remainder.
    • Classify the integers by their remainder and base the divisibility tests on it.
    • Prove the infinitude of the primes, Euclid’s lemma and unique factorization, with their consequences.
    • Calculate the greatest common divisor with the Euclidean algorithm, deduce Bézout’s identity from it and solve linear Diophantine equations.
    • Calculate with congruences, decide which remainders are invertible, solve linear congruences and systems with coprime moduli, and prove Fermat’s little theorem.
    1. Properties of divisibility. Divisibility among integers is reflexive and transitive, a divisor of an integer a>0a > 0 lies between −a-a and aa, and if dd divides aa and bb, it divides every combination ax+byax + by.

      Uses: 5. Order, subtraction and division. Rests on: G (Anticipated numbers). Proved in: Divisibility and division with remainder.

    2. Division with remainder. For every integer aa and every natural number bb there exist a unique quotient qq and a unique remainder rr such that a=bq+ra = bq + r and 0≤r<b0 \leq r < b.

      Rests on: D (Well-ordering), G (Anticipated numbers). Proved in: Divisibility and division with remainder.

    3. Remainders and tests. Two integers leave the same remainder when divided by dd if and only if their difference is a multiple of dd; from this follow the remainder of a sum, of a product and of a power, and the tests for 33, for 99 and for 1111.

      Rests on: A (Principle of induction), E (Division with remainder), F (Linear combinations). Proved in: Divisibility and division with remainder.

    4. Prime divisor and infinitude. Every natural number n>1n > 1 has a prime divisor, and if nn is composite, its least prime divisor pp satisfies p2≤np^2 \leq n; from this it follows that no finite list contains all the prime numbers.

      Uses: 5. Order, subtraction and division, 11. Properties of divisibility. Rests on: D (Well-ordering), F (Linear combinations). Proved in: Prime numbers and the fundamental theorem of arithmetic.

    5. Euclid’s lemma. If a prime divides the product abab, it divides aa or it divides bb; and if it divides a product of several factors, it divides one of them.

      Rests on: A (Principle of induction), D (Well-ordering), E (Division with remainder), F (Linear combinations). Proved in: Prime numbers and the fundamental theorem of arithmetic.

    6. Fundamental theorem. Every natural number n>1n > 1 is a product of prime numbers, and that factorization is unique up to the order of the factors.

      Uses: 4. Multiplication and exponentiation, 15. Euclid’s lemma. Rests on: D (Well-ordering). Proved in: Prime numbers and the fundamental theorem of arithmetic.

    7. Divisors and irrational roots. If n=p1e1⋯pkekn = p_1^{e_1} \cdots p_k^{e_k}, its divisors are the numbers p1f1⋯pkfkp_1^{f_1} \cdots p_k^{f_k} with 0≤fi≤ei0 \leq f_i \leq e_i, and there are (e1+1)⋯(ek+1)(e_1 + 1) \cdots (e_k + 1) of them; a natural number n>1n > 1 is a perfect kk-th power if and only if all the exponents of its factorization are multiples of kk, and if it is not, there are no natural numbers aa and bb with ak=nbka^k = n b^k, that is, its kk-th root is irrational.

      Uses: 15. Euclid’s lemma, 16. Fundamental theorem. Rests on: A (Principle of induction), G (Anticipated numbers). Proved in: Prime numbers and the fundamental theorem of arithmetic.

    8. Euclidean algorithm. If a=bq+ra = bq + r, the pairs a,ba, b and b,rb, r have the same common divisors; therefore gcd⁡(a,b)\operatorname{gcd}(a, b) is the last nonzero remainder of the successive divisions.

      Rests on: D (Well-ordering), E (Division with remainder), F (Linear combinations). Proved in: Greatest common divisor and least common multiple.

    9. Bézout’s identity. There exist integers xx and yy such that ax+by=gcd⁡(a,b)ax + by = \operatorname{gcd}(a, b), and the greatest common divisor is the least natural number that can be written in that form.

      Uses: 18. Euclidean algorithm. Rests on: A (Principle of induction), F (Linear combinations), G (Anticipated numbers). Proved in: Greatest common divisor and least common multiple.

    10. Product of the gcd and the lcm. It holds that gcd⁡(a,b)⋅lcm⁡(a,b)=ab\operatorname{gcd}(a, b) \cdot \operatorname{lcm}(a, b) = ab, and every common multiple of aa and bb is a multiple of their least common multiple.

      Uses: 4. Multiplication and exponentiation, 16. Fundamental theorem, 17. Divisors and irrational roots. Rests on: D (Well-ordering), E (Division with remainder), F (Linear combinations). Proved in: Greatest common divisor and least common multiple.

    11. Diophantine equations. The equation ax+by=cax + by = c has integer solutions if and only if d=gcd⁡(a,b)d = \operatorname{gcd}(a, b) divides cc, and then they are all x=x0+bdtx = x_0 + \frac{b}{d} t and y=y0−adty = y_0 - \frac{a}{d} t, with tt an integer.

      Uses: 19. Bézout’s identity, 20. Product of the gcd and the lcm. Rests on: F (Linear combinations), G (Anticipated numbers). Proved in: Greatest common divisor and least common multiple.

    12. Congruences and remainders. Two integers are congruent modulo nn if and only if they leave the same remainder when divided by nn; congruence is an equivalence relation compatible with addition and multiplication, and its nn classes, those of the remainders 0,1,…,n−10, 1, \ldots, n - 1, form Zn\mathbb{Z}_n.

      Uses: 1. Equivalences and partitions, 13. Remainders and tests. Rests on: E (Division with remainder), F (Linear combinations). Proved in: Congruences and modular arithmetic.

    13. Invertible remainders. An integer aa has an inverse modulo nn if and only if gcd⁡(a,n)=1\operatorname{gcd}(a, n) = 1, and then it is unique modulo nn; the congruence ax≡b(modn)ax \equiv b \pmod{n} has a solution if and only if d=gcd⁡(a,n)d = \operatorname{gcd}(a, n) divides bb, and then it has dd solutions modulo nn.

      Uses: 22. Congruences and remainders, 19. Bézout’s identity, 21. Diophantine equations. Rests on: F (Linear combinations). Proved in: Congruences and modular arithmetic.

    14. Chinese remainder theorem. If the natural numbers mm and nn are coprime, the system formed by x≡a(modm)x \equiv a \pmod{m} and x≡b(modn)x \equiv b \pmod{n} has a solution, and it is unique modulo mnmn.

      Uses: 22. Congruences and remainders, 19. Bézout’s identity, 20. Product of the gcd and the lcm. Rests on: G (Anticipated numbers). Proved in: Congruences and modular arithmetic.

    15. Fermat’s little theorem. If pp is prime and does not divide the integer aa, then ap−1≡1(modp)a^{p - 1} \equiv 1 \pmod{p}; and for every integer aa, ap≡a(modp)a^p \equiv a \pmod{p}.

      Uses: 22. Congruences and remainders, 15. Euclid’s lemma, 23. Invertible remainders. Proved in: Congruences and modular arithmetic.

  4. Segment 4 Writing and counting

    • Prove that every natural number is written in exactly one way in any base.
    • Justify in every base column addition and the divisibility tests.
    • Count with the addition and multiplication principles, and obtain from them the binomial coefficients and Pascal’s rule.
    • Prove the binomial theorem, which brings together induction, summation notation and counting.
    1. Positional representation. For every base b≥2b \geq 2, every natural number is written in exactly one way as akbk+⋯+a1b+a0a_k b^k + \cdots + a_1 b + a_0, with digits between 00 and b−1b - 1 and ak≠0a_k \neq 0.

      Rests on: C (Strong induction), D (Well-ordering), E (Division with remainder). Proved in: Positional numeral systems.

    2. Calculation and tests in every base. Column addition gives the representation of the sum, and in base bb a number leaves the same remainder as the sum of its digits when divided by b−1b - 1, and the same as its alternating sum when divided by b+1b + 1.

      Uses: 7. Summation and telescoping sum, 13. Remainders and tests, 26. Positional representation. Rests on: A (Principle of induction), E (Division with remainder). Proved in: Positional numeral systems.

    3. Counting principles. The union of two sets with no common elements, of mm and of nn elements, has m+nm + n elements, and a choice in two stages, of mm and of nn ways, can be made in mnmn ways.

      Uses: 3. Recursive addition, 4. Multiplication and exponentiation, 5. Order, subtraction and division. Rests on: A (Principle of induction), H (Number of elements). Proved in: Elementary combinatorics and the binomial theorem.

    4. Binomial coefficients and Pascal’s rule. A set of nn elements has (nk)=n!k! (n−k)!\binom{n}{k} = \frac{n!}{k!\,(n - k)!} subsets of kk elements; it holds that (n+1k)=(nk−1)+(nk)\binom{n + 1}{k} = \binom{n}{k - 1} + \binom{n}{k}, whence the coefficients form Pascal’s triangle, and row nn sums to 2n2^n.

      Uses: 28. Counting principles. Rests on: B (Recursion theorem), H (Number of elements). Proved in: Elementary combinatorics and the binomial theorem.

    5. Binomial theorem. For all numbers xx and yy, natural or, anticipating the next unit, real, and every natural number nn, it holds that (x+y)n=∑k=0n(nk)xn−kyk(x + y)^n = \sum_{k=0}^{n} \binom{n}{k} x^{n - k} y^k.

      Uses: 7. Summation and telescoping sum, 29. Binomial coefficients and Pascal’s rule. Rests on: A (Principle of induction), G (Anticipated numbers). Proved in: Elementary combinatorics and the binomial theorem.

Towards number systems. The chain stops where the natural numbers cease to suffice: subtraction and division exist only in certain cases, and the equation x2=nx^2 = n has no rational solution when nn is not a perfect square. The next unit extends the natural numbers to remedy this.