Logic and Proof, Chapter 4 gave the
principle of induction (Logic and Proof, Axiom 4.2.1),
its strong form (Logic and Proof, Theorem 4.2.2),
and the first worked proofs: a sum (Logic and Proof, Example (A sum of products of neighbors)),
an inequality (Logic and Proof, Example (An inequality by induction)),
and a strong induction with three base cases (Logic and Proof, Example (Threes and fives)).
Logic and Proof, Chapter 8 showed how an
induction is written in prose (Logic and Proof, Example (An induction, and a legitimate symmetry)).
This section is about the craft: which form of induction
fits a claim, where it starts, how to find the induction
hypothesis inside the step, and how an induction goes
wrong, each failure located at one step. On the way it
proves two facts that Logic and Proof took from
school: a fraction can be reduced until numerator and
denominator are not both even, and every integer has a prime
factor.
Induction
from any integer
Logic and Proof, Chapter 4 already started
inductions at numbers other than (Logic and
Proof, Section 4.2, “Starting from another
number”), for a starting point . With and Proposition 2.1.2
in hand, the starting point may be any integer, negative
ones included.
To prove a statement for every integer from on, prove it at and show that it
passes from each integer to the next.
Theorem
2.2.1 (Induction from a Base)
Let be an
integer, and for each integer let be a statement.
Suppose
- (i) (base
case) is true, and
- (ii)
(inductive step) for
every integer , if is true then is true.
Then is
true for every integer .
Idea. Count from the base. The
integers
are exactly
with , and
moving from to
moves to . So the statement
“” about
is ready
for Logic and Proof, Axiom 4.2.1,
and its base case is .
Proof. For , let be the statement
. This
makes sense: is an integer by Proposition 2.1.2
(a), and since by Lemma 2.1.1
(a).
Base case. is , which holds by
(i).
Inductive step. Let , and suppose
, that is,
. The
integer satisfies , so (ii) gives . Since ,
this is .
By Logic and Proof, Axiom 4.2.1,
holds for
every .
Now let be an
integer with . Then is an integer by Proposition 2.1.2
(a), and ,
so by Proposition 2.1.2
(b). Hence
holds, and is
.
This proves the theorem.
For the
theorem is Logic and Proof, Axiom 4.2.1
itself, and for it is Logic and Proof, Chapter 4’s
induction started at . In the inductive
step, “ is
true” is the induction hypothesis: one implication,
proved once, inside a box
whose assumption is for one fixed but
arbitrary integer .
The strong form moves to a base in the same way.
Theorem
2.2.2 (Strong Induction from a Base)
Let be an
integer, and for each integer let be a statement.
Suppose that, for every integer : if is true for
every integer with , then
is true. Then
is true for
every integer .
Proof. For , let be , as in the
proof of Theorem 2.2.1.
We check the hypothesis of Logic and Proof, Theorem 4.2.2
for . Let , and suppose
holds for
every
with . Put
, an integer with . Let be an integer with
.
Then is an integer with , so by Proposition 2.1.2
(b), and ; so , which is , holds. The
hypothesis of the theorem at now gives , that is, . By Logic and Proof, Theorem 4.2.2,
holds for
every ,
and every integer is with , as in the proof of Theorem 2.2.1.
This proves the theorem.
So Theorem 2.2.2
is a corollary of Logic and Proof, Theorem 4.2.2,
by the same shift. When , it says what Logic and Proof, Example (Threes and fives)
achieved with a guard: there the property was “if , then …”, stated
for every
and vacuous below . Here the property is
stated only for , and the hypothesis speaks only about . The two are
the same argument in two notations, and the base cases
sit in the same place: they are the for which the step
reaches below .
Quick check. Every integer is for some integers
. A proof
by Theorem 2.2.2
writes in its step. How many base cases does it
need, and which? Can the base be lowered?
Solution. The step uses , which the
hypothesis supplies only when , that is,
. So
are base cases, five of them, checked directly: The base cannot be lowered: is not of the form.
With
the difference is , none a multiple of , and gives .
Finding
inside
In every induction the step is an implication , proved for an arbitrary . The work is to find,
inside the statement , the statement , so that the
hypothesis can be used: one more term to split off, one
more factor to take out, one more case to bound. The
first example is about divisibility (Definition 1.1.2).
Idea (Scratch work). The claim is
for every , with the powers in their school meaning.
The base is . For the step, the hypothesis is
about , so
write out
and look for that expression in it. The first try, , does not contain it: the two
powers have different factors in front, and . Force the old
expression in. Take out of both terms, and
pay back what that costs: , and the payment
is , a
multiple of
again.
| : with |
:
for some |
| , (school meaning) |
rewritten so that appears |
|
: the gap is closed |
The old expression appears once, the hypothesis turns
it into , and
what is left over is a multiple of by computation.
Divisibility claims about powers are a staple of
induction, because the step can usually be arranged to
contain the old expression once. Here is the proof the
scratch work found. Claim: for
every ,
with and in their school
meaning (,
, and
is an integer for an integer ; Section 2.3 makes this
a definition). Base case: . Step: if with , then and . By Logic and Proof, Axiom 4.2.1,
the claim holds for every .
Example
(Method: finding inside )
Template. (1) Write out in full. (2)
Find inside
it: split off the last term, take out one factor, or
separate the new piece from the old. (3) Apply the
induction hypothesis to the old part. (4) Close the rest
by computation. (5) Choose the base: the first the claim covers from
which steps (2)–(4) work, with any smaller the claim covers
checked directly.
When to use it. is built from
by one
operation: a term added, a factor multiplied, an element
added to a set.
The usual failure. Starting from
and
deriving something true, which proves the converse,
entry (N5) of Logic and Proof, Example (What is not allowed).
A step that works only from some on, with the base set
lower (as in the gallery below). Using inside its own
step (N9).
Quick check. For a proof that for
every ,
write so that appears.
Solution. . If
with
, this is
, and
.
The fifth step of the template deserves an example of
its own, because the place where the step starts working
need not be the place where the claim starts being
true.
Example
(Where the step starts working)
Prove that for every , with the powers in their school
meaning.
Idea. By Example (Method: finding inside ), write
out: it
contains as
, so the step needs . That
holds from
on, and not before. So the base is , and , , are checked
directly.
Solution. Small cases.
, , and .
From
on, by Theorem 2.2.1
with base .
Base case: . Step: let be an integer
with .
Then . Since , so . Hence
.
The small cases and the induction together give for every
.
The claim is true at , and , but the argument of
the step fails from to : . The base is where the step starts working,
or the first the
claim covers if that is later. It need not be the first
at which the
claim is true, and the cases below it are checked one by
one.
Quick check. For which is false,
and why does that make the base although holds at
, and ?
Solution. For : , and . The step is
proved only from
on, so the three smaller cases need their own checks; an
induction from base would have three
unproved transitions.
Divisibility and the division algorithm
The next results are about divisibility.
Divisibility and primes were defined in Section 1.1:
for integers and
, means for some (Definition 1.1.2),
and a prime is an integer whose only positive divisors are and (Definition 1.1.3);
divisibility is transitive (Proposition 1.1.1).
For instance, , with .
Change to
: . The witness
would have to be
, and , so
is not an
integer, by the discreteness clause of Proposition 2.1.2.
The clause that fails is “”: the equation has a real
solution, just not an integer one.
Section 1.1 worked the first examples of primes and
non-primes after Definition 1.1.3.
The clause
keeps out so that
factorizations into primes can be unique, a fact this
chapter does not prove or use: Exercise B2 below is
about existence only.
Every integer, divided by a positive integer , leaves a remainder
between and . This is school
arithmetic, and it is the tool behind “even or odd”.
Theorem
2.2.3 (Division Algorithm)
Let
and . Then there are
unique integers and with
The hypothesis matters: for no
satisfies .
Try it first (ten minutes): which set of
non-negative integers should have a least element, and
why is that least element the remainder?
Idea. The obvious attempt subtracts
from again and again until
what is left lies in , adding instead when is negative. “Again and
again until” is a process, not yet a proof: why does it
stop, and why at a number below ? Well-ordering replaces
the process by its outcome. Among all the non-negative
integers ,
take the least (the method of Example (Method: the least element):
the non-negative
integers ).
If it were or
more, subtracting one more would leave a smaller
non-negative one. For uniqueness: two remainders differ
by a multiple of ,
yet lie less than
apart, so the multiple is .
Proof. Existence. Let
the set of non-negative integers of the form
(each is an integer by
Proposition 2.1.2
(a)). The set is
non-empty. If , take : then . If , take : then , since and (as by Proposition 2.1.2
(b)). The set is
a non-empty set of integers with the integer lower bound
, so by Corollary 2.1.5
it has a least element ; write with . Then and .
Suppose .
Then is an integer of the required form with
, so
; and
, since
. This
contradicts the choice of . Hence .
Uniqueness. Let with , and .
Suppose . By symmetry (exchanging and changes
neither the hypotheses nor the goal) we may suppose
. Then
, and is an integer with .
Since ,
also , so
by Proposition 2.1.2
(b), and But , since . This
contradiction shows . Then , and since , . This proves
the theorem.
The integers
and are the
quotient and the
remainder of on division by . For negative the remainder is still
non-negative: , with remainder , not . Existence and
uniqueness do separate jobs, and the case shows both:
- Existence says that every integer
is or : every integer is
even or odd.
- Uniqueness says that no integer is
both. If , then
would have remainders and .
Section 1.1 proved this by induction (Theorem 1.1.2);
here it falls out of the division algorithm with . Logic and
Proof used it in Argument A of Chapter 1 and in the
proof of Logic and Proof, Theorem 2.1.3.
The same uniqueness shows that no integer has , since has
remainder and
has
remainder ; this
is the fact Analysis on the Real Line, Chapter
1 uses to show that is not a field. An
integer or is odd. With , every integer is
, or , for exactly one
of the three forms.
Warning. “The remainder” is the
of the theorem,
with . The equations and are
true, but and
are not
remainders, and allowing them destroys uniqueness: would have the three
“remainders” ,
and . Every argument above
that concludes from “remainder ” that a number is not a
multiple of uses
the range , through uniqueness.
Lowest
terms and prime factors
Logic and Proof, Chapter 2 needed one more
fact about fractions, the fact (L) in the proof of Logic and Proof, Theorem 2.2.1:
every rational number can be written with numerator and
denominator not both even. The reason given there was
that halving cannot go on for ever. Here is that reason
as a proof. It supposes the claim fails, takes the least
failure and derives a contradiction: a proof by
smallest counterexample, the method of
Example (Method: the least element)
applied to the set of failures. Section 2.4 makes it a
method of its own; here its steps are named as they
occur.
Lemma
2.2.4 (Lowest Terms, Up to Factors of
Two)
Every rational number can be written as with , , and
and not
both even.
Idea. A representation with both
entries even can be halved. Halving makes the
denominator smaller, so a least denominator cannot
belong to a representation that can be halved.
Well-ordering supplies the least denominator.
Proof. Suppose it fails.
Fix , and
suppose that has
no representation with , , and
and not both even. Let
Under the supposition, every is the
denominator of a failing representation.
Take the least failure. By the definition of
, for some and , so
is non-empty; and
. By Theorem 2.1.3,
has a least
element . Write
with .
Use the supposition at . The
representation fails, so and are both even: and with .
Produce a smaller failure. Since , , so
by Proposition 2.1.2
(b). Moreover , so ; and . So is an element of
smaller than its
least element , a
contradiction.
Hence has a
representation of the required kind. As was arbitrary,
this proves the lemma.
This is (L), with more: the denominator can be taken
positive, not merely non-zero. The proof of Logic and Proof, Theorem 2.2.1
now rests on a proved lemma. The same argument with “not
both even” replaced by “no common divisor ” puts every
fraction in lowest terms in the full sense; that is
Exercise C2. This proof is written out in full; two
later exercises use the same move with less given:
Exercise B2 below leaves its last step blank, and
Exercise C1 of Section 2.3 leaves the last half
blank.
The next result is the prime-factor fact that
Logic and Proof, Chapter 8 used. Its proof is a
strong induction from base ; the same argument
inside an box is a
smallest-counterexample proof, in which the least
failure gets a
prime factor from its divisor , contradicting the
choice of
(compare Exercise B2).
Theorem
2.2.5 (Every Integer at Least Two Has a Prime
Factor)
Every integer has a prime factor.
Idea. A prime is its own prime
factor. A number that is not prime has a divisor
strictly between
and itself; that divisor is smaller, so it has a prime
factor by the strong hypothesis, and divisibility passes
it on.
Proof. We use Theorem 2.2.2
with . Let
be an
integer, and suppose every integer with has a
prime factor.
If is prime,
then is a prime
factor of itself, since .
If is not
prime, then, as , it has a positive divisor (Definition 1.1.3).
Write with
. Since
and , also , so and by Proposition 2.1.2
(b). Hence . With and this gives , and so by the discreteness clause of Proposition 2.1.2.
By the hypothesis, has a prime factor
, say with . Then , with
by Proposition 2.1.2
(a), so .
In both cases
has a prime factor. By Theorem 2.2.2,
every integer has one. This proves the theorem.
The hypothesis was used at , which can be far below
: for it is
used at or at
. Ordinary
induction, which offers only , would have nothing
to say about
from .
A gallery
of broken inductions
An induction proof has few moving parts: a property,
a base case, a step, and a citation of the right
principle. Each can fail, and each failure has a place
in the proof where it can be pointed at. Two questions
are kept apart throughout: is the conclusion true, and
does the argument prove it? Each entry below names the
part that breaks.
Example
(All Numbers Are Equal)
Here is a “theorem” and a “proof”. Find the line that
fails.
“Theorem.” For every integer and all real
numbers , we have .
“Proof.” For an integer , let be the statement
“for all real numbers , all the entries of the list are
equal”. We use Theorem 2.2.1
with .
- (1) Base
case. A list of one number has
only one entry, so all its entries are equal: holds.
- (2) Step.
Let be an
integer, suppose , and let be
real numbers.
- (3) The list has entries, so by its entries are all
equal.
- (4) The list has
entries, so by
its entries
are all equal.
- (5) The entry lies in both lists,
so every entry of either list equals .
- (6) Hence , which is . By Theorem 2.2.1,
holds for
every .
Solution. Is the conclusion
true? No: the list , has unequal entries, so is false.
Does the argument prove it? No, and the
failing line is (5) at . Then the two lists of lines (3) and (4) are
and , one entry each, and
is not in the
first. They share an entry exactly when the first list,
,
contains , that
is, when .
In the terms of Logic and Proof, Example (What is not allowed),
line (5) cites a “fact” that is false in the case at
hand: entry (N9).
Everything else is correct. The base case (1) is
true. For every the step (2)–(6) is valid: if all lists of
reals had equal
entries, so would all lists of . So the induction
fails at exactly one transition, from to , and the valid
transitions from
on carry nothing, because is false and every
later with it.
A counterexample to the illegal step, as opposed to the
conclusion: ,
, , where lines (3)
and (4) hold and (5) does not.
|
yes |
yes, line (1) |
|
no |
no: line (5) fails |
| for |
yes |
yes, lines (2)–(6) |
| for every
|
no |
no |
This is the failure that Logic and Proof,
Chapter 4’s warning about foreshadowed:
a step that holds only from some point on, with a gap at
the first transition. A step must be proved for
every , and the place to look for a gap is the
smallest , where
the objects the step talks about are smallest.
The other failures are quicker to state.
The missing base case. “ for every .” The step is
valid: if , adding to both sides gives
. But
, “”, is false, and so
is every . The
step is a true implication between false statements, and
an induction with no true base proves nothing.
The step run backwards. Claim: for every
integer .
"Step: gives , so , which is
true." This starts from and ends at a true statement, so it shows
only that
implies something true, which every statement does (N5).
Here each line can be reversed, and written forwards
(, so
) it is a valid step, though one that
never uses . In
general a backward chain cannot be reversed: from the
false ,
squaring gives the true .
The hypothesis used out of range. A
strong induction from a base may use only for . A step
that writes in
terms of
needs , and for the first few that fails. Logic and Proof, Example (Threes and fives)
handled this correctly, with three base cases; the exit
check C1 below is a proof that did not.
The claim too weak to carry its own
step. Sometimes the statement is true and the
base case holds, but the inductive step cannot be
completed, because the hypothesis gives too little. The
repair is to prove more. Section 2.3
shows a sum bounded by whose own step will not
go through, and which a stronger bound carries.
Warning. The induction hypothesis
is “” for one
fixed but arbitrary : the assumption of the
box inside the box
of the step (Logic and Proof, Definition 5.4.1).
A step that begins “assume that holds for every
” assumes the
conclusion of the theorem, and whatever follows is
circular: entry (N9) of Logic and Proof, Example (What is not allowed).
The witness is a “for every ” in the assumption that
binds the induction variable itself; it should not
be there. A quantifier over another variable is part of
the statement and may stay: “for every with ” in
strong induction, or the “for every ” inside in the proof of Lemma 2.1.1
(d), where the induction is on .
Quick check. A proof that for every
integer
checks and
proves the step for . Is it complete? A second proof of “ for every
” uses
base and the same
step. Which entry of the gallery does it commit?
Solution. The first is complete:
, and the
step is proved for every . The second has a true base but a step
proved only from
on, so the transitions , ,
are unproved: a step valid only from some point on, as
in Example (All Numbers Are Equal).
Its conclusion is false at (). This is
Logic and Proof, Chapter 4’s warning about
(recalled at the end of Example (All Numbers Are Equal)),
made precise at the level of the step.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) For each claim,
name the form of proof that fits it most naturally
(ordinary induction from , induction from another
base, strong induction from a base with several base
cases, or a smallest counterexample), and say in one
clause why. Do not prove the claims. (i) for every
. (ii)
for
every integer . (iii) Every integer is for some integers
. (iv)
There are no with .
- (b) Negate “every
integer has
a prime factor”, and say what a smallest counterexample
to it would be.
- (c) In Example (All Numbers Are Equal),
what is the smallest for which the two lists
and
of lines (3) and (4) share an entry?
- (d) Find the
error. Here is a “proof” that for every real
and every
; the
powers , and have their
school meaning (Section 2.3 defines for only, so
negative exponents lie outside that definition). “Fix
. Base:
. Step: let
and
suppose for
every
with . Then
.” The conclusion is
false (take ,
). Which
transition fails, and why?
Solution. (a) (i) Ordinary
induction from :
the step takes out one factor and leaves a multiple
of , as in the
example in the subsection on finding the step. (ii)
Induction from base (Theorem 2.2.1):
the claim fails at , so it cannot start at , and the step works for . (iii) Strong
induction from base with three base cases
,
,
: the
step reaches back three, from to . (iv) A smallest
counterexample: in a solution with least , is even, so is even (Logic and Proof, Theorem 2.1.3),
and then , so is a solution
() whose second entry is smaller than , since and
.
(Strong induction would also do; the forms are
interchangeable, and the answers above name the natural
fit.)
(b) The negation is: there is an integer
with no
prime factor. A smallest counterexample would be an
integer
with no prime factor such that every integer with has
one.
(c) . For the lists are and ; for both contain
.
(d) The transition from to fails. At the step writes
and uses , which is
“”; but the
hypothesis covers only with , that is, , and . In fact unless . The base case
is true,
and every transition from on is valid, since then and , and for . As in Example (All Numbers Are Equal),
the valid transitions carry nothing, because is already
false.
B. Practice
Exercise
(B1)
Prove that for every .
Solution. For , let be “there is with ”. Base
case: . Step: let and suppose
with
.
Expanding the cube, and by Proposition 2.1.2
(a). So
holds. By Logic and Proof, Axiom 4.2.1,
for
every .
The step is the move of Example (Method: finding inside ) with no
power of the form : the old expression
plus a new piece that is visibly a multiple of .
Exercise
(B2: Products of primes, used later)
An integer is a product of primes if
it equals for some and primes (a single prime counts, with ). Here has
its school meaning, and multiplying two such products
gives the product of the joined list; Section 2.3
defines finite products (Definition 2.3.1).
Here is a proof that every integer is a product of
primes, with its last step blank. Name the move,
then complete it.
Suppose not. Then the set of integers that are not
products of primes is non-empty and has the integer
lower bound , so
it has a least element by Corollary 2.1.5.
Since a prime is a product of primes, is not prime; as , it has a
positive divisor , and with . As in the proof of Theorem 2.2.5,
and . Since
and
, we get
, so by the
discreteness clause of Proposition 2.1.2;
and since ,
. So and , and as is the least element of
, neither nor lies in : both are products of
primes.
Solution. The move is the
smallest counterexample, and the blank
is the contradiction: the least failure turns out not to be a
failure, because its smaller factors are not failures
(compare Lemma 2.2.4,
where the contradiction is a smaller element of ). Write and
with primes , . Then is a product of primes, which contradicts
. Hence
is empty, and
every integer is a product of primes.
Exercise
(B3, used later)
- (a) Find the
quotient and remainder of Theorem 2.2.3
for , , and for , .
- (b) Prove that the
square of an odd integer leaves remainder on division by .
- (c) Prove that if
and , then , for every
integer .
Hint for (c): Theorem 2.2.3,
dividing by .
Solution. (a) , so
, . And ,
so , ; in both cases
, so
by uniqueness these are the quotient and remainder. (Not
: a remainder is never negative.)
(b) Let with . Then . By Theorem 2.2.3
with , or with . In the first
case ; in the second, . Either way with , so . Since , the
uniqueness in Theorem 2.2.3
says that the remainder of on division by is .
(c) Let with , and divide by : with and , so by
discreteness. Then . Since , say with , we get , so , where . But and
have non-zero remainders on division by , while a multiple has remainder
; by uniqueness,
neither nor is a multiple of . So , , and : .
Exercise
(B4: Prove or disprove)
Prove each true statement and refute each false one
with a counterexample. Powers and finite sums have their
school meaning (Section 2.3 defines them), as in the
example .
- (a) for
every .
- (b) for every
integer .
- (c) for every .
- (d) Every integer
is for some integers
.
- (e) for
every integer .
- (f) is prime for
every even integer .
Solution.
(a)
True. By Logic and Proof, Axiom 4.2.1.
Base: . Step: if with
, then
and .
(b)
False. At : . (The inequality holds from on: ,
and for . The claim fails only at its base.)
(c)
True. By Logic and Proof, Axiom 4.2.1.
Base : . Step:
split off the last term. If the sum up to is , the
sum up to is which is the formula at .
(d)
False. Take . With or what is left, , is or , and neither is a
multiple of :
and have non-zero remainders, so by the
uniqueness in Theorem 2.2.3
they are not of the form . With , , so .
(e)
True. By Theorem 2.2.1
with base . Base:
.
Step: let
with . Then (The step works for every , but the inequality
fails at ,
, and at
, , and the claim
is asserted only from , so the base is .)
(f)
False. Take : , with the positive divisor . For
the
values , , are prime: three
successes, then a failure (N1).
C. Going deeper
Exercise
(C1: Exit check: a flawed induction)
Here is a claim and a “proof”.
Claim. Every integer is for some integers
.
- (1) For an integer
, let be “ for some
integers ”. We use strong induction from base (Theorem 2.2.2).
- (2) Base
case. , so holds.
- (3) Step.
Let be an
integer, and suppose holds for every
integer with
.
- (4) Write .
- (5) Since , the
induction hypothesis gives with integers .
- (6) Then ,
with
and , so
holds.
- (7) By Theorem 2.2.2,
holds for
every integer .
Answer each question. (i) Is the claim true? (ii)
Does the argument prove it? (iii) Which line fails, and
for which ? (iv)
Which rule does that line break? (v) Give a
counterexample to the failing step, not merely to some
conclusion. (vi) Repair the proof.
Solution. (i) The claim is
true. Directly, and from these four the repaired induction in
(vi) reaches every larger integer.
(ii) The argument does not
prove it, although its conclusion is true.
(iii) Line (5) fails for , and . There is , , , all below , and the induction
hypothesis says nothing about them. For , , and
line (5) is correct. Lines (1)–(4), (6) and (7) are
correct. Line (7) needs one remark, because the step is
written from to
and not in
the theorem’s own form. At the theorem’s hypothesis has a vacuous
“if” part, so it asks for outright, which is
line (2). At an integer , put . By the discreteness clause of Proposition 2.1.2,
the integers with
are
exactly those with , so lines (3)–(6), were they valid for
every ,
would prove the hypothesis at .
(iv) Line (5) applies to
the hypothesis “for every integer with , ” at . That is a
bounded quantifier, and its elimination needs the line
“” (Logic and Proof, Proposition 6.1.1);
for that
line is false. The proof checked only half of the bound,
.
(v) Run the same argument with base : it
“proves” that every integer is . That conclusion
is false at :
with
the remainder is , none a multiple of , and makes it
negative. The step that breaks is line (5) at : it takes from the
hypothesis, but is outside it, and is not of the form
( and are not multiples of
). At the induction
hypothesis is true (, , ), and the step concludes the false
. So line (5)
is an illegal step, not merely an unlucky one.
(vi) Take four base cases, , as in
(i), and run the step only for , where . In the form
of Theorem 2.2.2:
for ,
holds directly; for , and , so the hypothesis gives and .
Marking scheme. (10 points) - 2:
judges the conclusion true, with the
small cases ,
, , written as . - 3: identifies
the failing line exactly: the appeal to the hypothesis
for , for
. -
2: states the reason as a hypothesis used outside its
range ( at a
with ). -
2: gives a counterexample to the step:
the same step carrying a true statement to a false one
(for example, base and the failure at
), not merely a
false conclusion. - 1: gives a correct repair (four base
cases, or any equivalent). Fatal errors (0 for the
item): calling the conclusion false; blaming the base
case.
Exercise
(C2: Lowest terms, used later)
Prove that every rational number can be written as
with , , and no
common divisor of and
: there is no
integer
with and
.
Solution (Hint 1). Follow the proof
of Lemma 2.2.4,
step by step.
Solution (Hint 2). Suppose has no such
representation, and let be the least element of
.
Solution. Fix , and suppose
that has no
representation of the required kind. Let be as in Hint 2. By the
definition of ,
is non-empty, and
, so by Theorem 2.1.3
it has a least element . Write with .
By the supposition, this representation fails: there
is an integer with and , say and with .
Since and
, , so
by Proposition 2.1.2
(b). Then , so . And , since and . So is an element of
smaller than its
least element, a contradiction. Hence has a representation
with no common
divisor .
The statement contains Lemma 2.2.4,
since is one
of the excluded common divisors. The only change in the
proof is the size of the step down: instead of
, and is what makes it
a step down.
Marking scheme. (10 points) - 2:
sets up the smallest counterexample: fixes , supposes no good
representation, and defines the set of denominators. -
2: shows that set is a non-empty subset of and takes its least
element by Theorem 2.1.3.
- 3: extracts the common divisor and writes the
reduced representation , checking
. - 2: shows , using
and . - 1:
concludes, with the contradiction to the choice of . A strong induction on
the denominator earns the same points step for step.
Fatal errors (0 for the step): taking a least element of
a set not shown to lie in ; dividing by without .
Exercise
(C3: Smallest, not largest)
- (a) Prove that a set
has
at most one least element.
- (b) Deduce that a
claim “ for
every ”
that is false has exactly one smallest
counterexample.
- (c) Show that a
false claim about need not have a
largest counterexample, by examining
the claim “
for every ”.
Solution. (a) Let and be least elements
of . Since and is least, ; since and is least, . Hence .
(b) The smallest counterexamples are the
least elements of the set . The claim is false, so is non-empty, and Theorem 2.1.3
gives a least element. By (a), there is only one.
(c) The claim is false, and its
counterexamples form , which is non-empty. It
has no greatest element: for every , also by (S), and , so and . So the
claim has a smallest counterexample, , and no largest one.
Well-ordering has no upward twin in : a non-empty subset
of has a
greatest element when it is bounded above (Exercise (C1: A greatest element from a least upper bound)),
and not in general.