Appendix A: Sets, functions, and proofs
A.2Induction and well-ordering
Most proofs about “all ” in this book are inductions, and the measure is rarely the obvious one: it is the length of a list, the size of a matrix, the degree of a polynomial, the number of points a permutation moves, or the dimension of a space. This section states the three equivalent forms of induction and proves that they are equivalent, then discusses how induction is set up in linear algebra, where the induction hypothesis is usually applied to a different space from the one we started with.
A.2.1Three forms of induction
Theorem A.2.1 (Induction, strong induction, and well-ordering). For each integer let be a statement. The following three principles are equivalent.
- (I)(Induction.) If holds, and implies for every , then holds for every .
- (II)(Strong induction.) If, for every , the truth of for all implies , then holds for every .
- (III)(Well-ordering.) Every nonempty subset of has a least element.
“Equivalent” means that each principle can be derived from each other one, using only the arithmetic and order of the integers (every is for some , and if and only if ). One of them has to be taken as an axiom about ; the usual choice is (I), one of Peano’s axioms for the natural numbers. So all three are true, and we use whichever is convenient. Technique 5.2.12 describes when strong induction and well-ordering are the convenient forms. Here we prove that they are no stronger than ordinary induction.
Uses. the order of the integers
Techniques. Proving TFAE (Technique 2.7.1), Extremal choice and minimal counterexamples (Technique 1.5.9)
We prove (I) (II) (III) (I).
(I) (II). Assume the hypothesis of (II), and let be the statement “ holds for all ”. The hypothesis of (II) for has an empty premise, since there is no with ; so holds, which is . If holds, then holds for all , so the hypothesis of (II) gives , and follows. By (I), holds for all , and in particular so does .
(II) (III). Let have no least element. We show by strong induction that : “” holds for every , so that . Suppose for all . If were in , then every element would satisfy (as would give ), so would be the least element of . Hence . By (II), , which is the contrapositive of (III).
(III) (I). Assume the hypotheses of (I), and suppose for contradiction that
Induction can start at any integer : to prove for all , apply Theorem A.2.1 to the statements , . Likewise, every nonempty set of integers that are all has a least element.
Example A.2.2 (A geometric sum of matrices). For and every ,
For both sides are . If the identity holds for , then by distributivity
so it holds for . In particular, if for some , then is invertible, with inverse (the other product equals by the same computation, or by Theorem 3.5.23).
Example A.2.3 (Factorization into primes). Every integer is a product of primes (a prime counts as a product of one prime). We use strong induction, starting at . Let and suppose every with is a product of primes. If is prime, we are done. Otherwise with , and and are products of primes by hypothesis, hence so is .
Ordinary induction would be awkward here: the factors and are smaller than , but we cannot say by how much, so knowing alone does not help.
The well-ordering principle is the form to use when an argument begins “take the least such that ”. The book needs it once in an essential way, already in Definition 1.1.19: dividing integers with remainder.
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9), Uniqueness via two candidates (Technique 1.1.8)
Existence. Let
Uniqueness. If
The remainder is the number of Definition 1.1.19. The polynomial version, Theorem 7.1.14, has the same shape: there the size of a remainder is its degree, and the proof uses strong induction on the degree.
A.2.2Induction in linear algebra
An induction proof has three parts, and in linear algebra each of them needs a decision.
The first is the measure: the quantity that the induction runs on. In this book it is the length of a list (Technique 1.6.9, as in Theorem 1.6.10 and Lemma 4.1.2), the number of summands in a direct sum (Technique 4.4.10), the size of a matrix (Technique 5.5.17, as in cofactor expansion), the number of points a permutation moves or the degree of a polynomial (Technique 5.2.12), and the dimension of a space (in Section 7.5 and Section 8.2). The right measure is one that a natural reduction step makes smaller.
The second is the statement , and here linear algebra has a characteristic feature. In an induction on dimension, the reduction step replaces by a smaller space: an invariant subspace, a complement, or a quotient. So the induction hypothesis must apply to every space of smaller dimension, not just to subspaces of the original one, and has to be quantified accordingly: “for every vector space with and every with the stated properties, the conclusion holds”. The hypothesis is then applied to some built from , for instance the restriction of to an invariant subspace (Definition 7.2.1). This must again be an operator on , which is the point that Exercise A.2.13 gets wrong. Similarly, an induction on the length of a list proves a statement about every list of length in every space, so that it can be applied to a shorter list after a vector has been removed or replaced.
The third is the base case, which is often (the empty list, the zero space) or . The base case has to be checked (Exercise A.2.12), and the step from to must be valid for every at or above the base case, including the smallest one. The classic false proof that any objects are equal breaks exactly there: its step works for but not from to .
Sometimes the statement we want is too weak to prove by induction directly: the hypothesis does not give enough to prove . Then the fix is often to prove more.
Technique A.2.5 (Strengthen the induction hypothesis). If the induction step fails because is too weak to imply , replace by a stronger statement that implies it and that does carry from to . The stronger statement is harder to prove, but the hypothesis you get to use is stronger too, and often the step becomes easy.
Reach for it when an induction step needs information about the smaller case that does not record. Typical strengthenings: replace a bound by a sharper one that depends on ; carry along an extra property of the object being built, as Gram–Schmidt carries the equality of the spans of the first inputs and outputs (Section 6.4); or prove a statement for all objects of size rather than for one. The canonical example is Example A.2.6.
Used in 1 place
Example A.2.6 (A bound that has to be sharpened). We show that for all . Induction on “
For , . If , then
using
Exercises
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering), Definition 2.4.1 (Matrix product)
For the right side is , since . Suppose the formula holds for some . Then
which is the formula for . By induction it holds for all .
Over a field of characteristic , the top right entry of is , so . For instance over , .
Exercise A.2.8. Let with .
- (a)Show that for all .
- (b)Show that
for all . - (c)Show that (b) can fail for and .
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering), Definition 2.4.1 (Matrix product)
(a) For both sides are . If , then
(b) For both sides are . Suppose the formula holds for . Then
By (a),
using
(c) Here , so . On the other hand and , so
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering)
Techniques. Uniqueness via two candidates (Technique 1.1.8), Strong induction and well-ordering (Technique 5.2.12)
We use strong induction on . Let be the largest integer with (it exists because for ), so that , and let , so .
Existence. If , then . Otherwise , so by the induction hypothesis is a sum of distinct powers of , each at most . Adding the term gives a representation of with distinct terms.
Uniqueness. Take any representation of as a sum of distinct powers of . No term exceeds , so all terms are among . If were not a term, the sum would be at most
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering), Proposition A.2.4 (Division with remainder)
Techniques. Double containment (Technique 1.3.14), Extremal choice and minimal counterexamples (Technique 1.5.9)
Pick . Then , so for every also , and for , . Since , it contains some , and one of and is a positive element of . By well-ordering (Theorem A.2.1(III)), has a least positive element .
By closure under addition, (induction on : ), and by closure under negation, so are ; also . So .
Conversely, let . By Proposition A.2.4, with . Since , also . As is the least positive element of and , we get , so .
A similar argument, with the degree in place of the absolute value, Theorem 7.1.14 in place of Proposition A.2.4, and the fact that implies for every polynomial , shows that for an operator on a finite-dimensional space, the polynomials with are exactly the multiples of one of least degree (Section 7.6).
Exercise A.2.11. Show that for every ,
(Induction on this inequality as stated does not work.)
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering)
Techniques. Strengthen the induction hypothesis (Technique A.2.5)
Let be the left side, so and
The direct induction fails: from we get
We prove instead that for all , which implies the claim since . For , . Suppose . Then
and this is at most if and only if
and . So
Exercise A.2.12. Find the error in the following argument.
Claim: is even for every integer . Proof: Suppose is even. Then
Uses. Theorem A.2.1 (Induction, strong induction, and well-ordering)
Exercise A.2.13. Find the error in the following argument.
Claim: Every operator on a nonzero finite-dimensional real vector space has an eigenvector. Proof: By induction on . If , then for any , and for some , so is an eigenvector. Suppose the claim holds in dimension , and let and . Pick a subspace of with . By the induction hypothesis, the restriction of to has an eigenvector , so and is an eigenvector of .
Uses. Definition 7.2.1 (Invariant subspace), Definition 7.2.6 (Eigenvalue, eigenvector)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
The induction hypothesis applies to operators on -dimensional spaces, that is, to linear maps . The restriction of to is a linear map , and it maps into only if is invariant under (Definition 7.2.1). The argument never chooses invariant, and in general no invariant subspace of dimension exists. Indeed the claim is false: the rotation
This is the general warning of Section A.2.2. Inductions on dimension pass to a smaller space, and what is passed down must be an object of the kind the hypothesis is about. In Section 7.5 the induction works over because an eigenvector exists, and the induction hypothesis is applied to an operator on a smaller space built from it.
More practice
The practice bank has 4 exercises on this section’s topics.