Chapter 2 built and made it an
ordered commutative ring, but not a field: has no solution in
(Quick check in
Section 2.4). This section repairs that defect with the
move of Section 2.1, used a second time. There a pair
recorded
“” without
performing it; here a pair records “ divided by ” without performing it.
We define as a
set of classes of such pairs, give it addition and
multiplication through representatives, check that they
are well defined, and prove that is a field containing
a copy of .
Fractions
as pairs
Before reading on. The pairs and are different
elements of , yet both should name one half.
Which condition on two pairs and says “same
quotient”, using only operations that already has?
At school, , and are “the same
number”, and the test for sameness is
cross-multiplication: when . The test is the
useful part. It mentions only multiplication of
integers, which we have, and not division, which we do
not. So we keep the test and let a rational number
be what the equivalent fractions have
in common: the class of all of them.
A rational number is a quotient you have not
computed yet: the set of all fractions that would
compute to it.
Signs need a decision. The fractions and name the
same number, and allowing both would put a sign in two
places. We require the denominator to be
positive, so that a sign can sit only in the
numerator. This is the convention Sets and
Functions, Section 5.2 already used for its
fractions, and Section 3.2 below will profit from it:
there, the order of is read off a single
inequality between integers. Recall that , by Theorem 2.4.2 (b).
On , let mean
. We reuse
the symbol of
Section 2.1; which relation is meant is always clear
from the pairs, natural numbers there and an integer
with a positive integer here.
Proposition
3.1.1 (Cross-Multiplication Is an Equivalence
Relation)
The relation on
given by is an equivalence relation (Sets and Functions, Definition 5.2.1).
Idea. Reflexivity and symmetry are
just reflexivity and symmetry of : with this form of the
test, reads . For transitivity we are given and , and want . Multiply the
first equation by
and use the second to replace : this gives . We cannot
divide by , but
has no zero
divisors, so a factor can be canceled.
Proof. Let . All computations are in the
commutative ring (Theorem 2.3.1).
(Eq1) ,
so .
(Eq2) If , then , so .
(Eq3) Let and . Then, using (F5), (F6) and the two
hypotheses, Hence , by (F9) and Proposition 2.3.2 (c).
Since , , so by (O1). By Proposition 2.4.3 (f),
, that
is, . So
.
This proves the proposition.
The hypothesis that denominators are non-zero is used
once, for the middle pair , and it is needed
there. On , with the same formula, (since
) and (since ), but
(since ). The pair is related to everything, and transitivity
collapses through it. Sets and Functions,
Section 5.2 met the same failure in an exercise; it is
why denominators must be non-zero.
Definition
3.1.1 (The Rational Numbers)
Let be the
equivalence relation of Proposition 3.1.1 on
. The set of rational
numbers is the quotient set (Sets and Functions, Definition 5.2.4)
A rational number is an
element of : a
class with
and . We
call a
numerator and a
denominator of the representative .
In words: a rational number is a set of
pairs, all the pairs with positive
that
cross-multiply with . It is not a pair, and it is not a number
with a sign and a bar. Numerators and denominators
belong to representatives, not to the class: and represent the same
rational number with different denominators. Nothing in
the definition needs checking beyond Proposition 3.1.1, which
makes the quotient set meaningful. By Sets and Functions, Theorem 5.2.1,
every pair lies in exactly one class, and holds
exactly when .
Examples.
- . Indeed, means
. Then , and would give (Proposition 2.4.3 (b)),
so .
Conversely each with has and . Its elements with denominator at
most are , , .
- , since means
. This is
the class that will be the integer .
- The degenerate case: , since means
. Every fraction with numerator lies in this one class,
whatever its denominator; it will be the zero of .
-
contains and
, since and
. It does not contain , which is not
even an element of . Describing the whole class
needs lowest terms, proved in Preliminaries for
Analysis and Algebra, Chapter 2.
Why positive denominators? Non-zero
denominators of either sign give a set in bijection with
, with matching
classes (Exercise C3). The difference appears with the
order: with positive denominators, “ is positive” can
mean “”,
one inequality in ; Section 3.2 shows
what breaks otherwise.
Warning. Do not read as the number
. There is no
division in ,
and has no
multiplication yet, so “” means nothing at
this point. The class is a set of pairs, and any
statement made with one representative, such as “the
denominator of is ”,
must be checked against all of them (here it fails:
is also in
the class). The fraction notation becomes honest once
is placed
inside , in Proposition 3.1.4 and
the identification that follows it.
Quick check. Is in
?
Solution. The question is
malformed: , so is not an
element of , and says nothing about
it.
Adding and
multiplying classes
The school rules and are a heuristic
for the definition, nothing more; the definition below
does not depend on them, and the proofs never use
them.
Definition
3.1.2 (Operations on the Rationals)
For , define
The right-hand sides are classes of elements of :
since and
, by (O4), so
by Theorem 2.4.2 (b). Each
formula is computed from chosen
representatives, so the definition is
legitimate only once we know that other representatives
give the same class. That is the next proposition.
Proposition
3.1.2 (The Operations on the Rationals Are Well
Defined)
Let , with as in Proposition 3.1.1. The
maps from to
satisfy the hypotheses of Theorem 2.2.1 (b), and
satisfies the hypothesis of Theorem 2.2.1 (a). Hence
, and of Definition 3.1.2 are
functions , and .
Proof. All computations are in the
commutative ring (Theorem 2.3.1), and we
reorder products by (F5), (F6) without comment.
Multiplication, first argument. Let , so , and let . We need
, that is, . Indeed
Addition, first argument. Let . We
need , that is, . By (F9), and the right-hand sides are equal because
.
Second argument, by symmetry. For pairs
, and
as pairs, by (F1) and (F6) in : for instance . So if , the first-argument case, applied with
the pair in first
place, gives , for and .
Negation. If , then
by Proposition 2.3.2 (c), so
.
So and satisfy the
hypotheses of Theorem 2.2.1 (b): for a
change of both arguments, , and transitivity joins the
two steps, which is what the proof of that lemma does.
By its conclusion, there is exactly one function
with , and likewise for . By Theorem 2.2.1 (a), is a function . This proves
the proposition.
Quick check. Which rules define a
function : (a) ; (b) ?
Solution.
- (a) Yes: it is , since
by Definition 3.1.2. (b)
No: , but , as .
Not every formula in representatives passes this
test, and the failures are instructive.
Example
(Formulas that ignore the class)
Decide which of the following rules define a function
on .
- (a) .
- (b) .
- (c) .
Solution.
(a) Not a
function. , since , yet the rule gives for one
representative and for the other. A function has one value at
each argument (Sets and Functions, Definition 2.1.1),
and this rule offers two at the same class.
(b) Not a
function, for the same pair: the outputs are and .
(c) A function.
First,
by Proposition 2.4.3 (e), as
, so . If , then
by (F5), (F6), so , and Theorem 2.2.1 (a)
applies. The function is , since by Definition 3.1.2.
The tempting argument for (a), “ is , so and are determined by ”, fails at the word
“is”: is
a representative, and is another. A
rule through representatives is a function only once
every representative is shown to give the same value, as
in (c).
The ring axioms for are checked by the
move of Section 2.3, reduce to the level
below: each side of an axiom, written on
representatives, is the class of an explicit pair in
, and the two pairs are compared by
an identity in .
One small observation recurs: for every and , here by (O4), so by Theorem 2.4.2 (b), and
the relation makes sense. Scaling both entries by the
same positive integer does not change the class.
Theorem
3.1.3 (The Rationals Form a Field)
, with the
operations of Definition 3.1.2, is a
field (Definition 2.3.1), with
zero and
one . A
rational number is zero if and only if . If , its inverse is
; if , its inverse is
.
Idea. Eight laws are identities
between pairs of integers, checked in a table as for
. As there, (F4)
gives pairs that are related rather than equal; here
(F9) does too, and the scaling observation is what
relates them. The genuinely new axiom is (F8): inverting
should
swap numerator and denominator, and the sign of decides whether the
swapped pair is allowed.
Proof. By Proposition 3.1.2, the
operations are functions. Let ; by Sets and Functions, Definition 5.2.4,
, , with and .
As in Section 2.3, “equal” means that the two pairs are
the same pair of integers, by the laws (F1)–(F9) of
(Theorem 2.3.1); “related”
means that they are related by , so that the classes
agree by Sets and Functions, Theorem 5.2.1
(b).
| (F1) |
|
|
equal |
| (F2) |
|
|
equal: both first entries are |
| (F3) |
|
|
equal, by Proposition 2.3.2
(b) |
| (F4) |
|
|
related: |
| (F5) |
|
|
equal |
| (F6) |
|
|
equal |
| (F7) |
|
|
equal |
| (F9) |
|
|
related: the right pair is the left pair scaled by
|
In (F4), by Proposition 2.3.2 (c),
and by Proposition 2.3.2 (b). In
(F9), the right side is ; its first entry
is and its second is , so the
scaling observation above, with , relates it to the
left pair.
The zero. if and only if ,
that is, .
. would need in , which Theorem 2.3.1
excludes.
(F8). Let , so . If , then , so
, and since . If , then by Proposition 2.4.3 (a), so
, and by Proposition 2.3.2 (c) and
. By (O1), one of the two cases occurs.
So every non-zero element has an inverse, and is a field. This
proves the theorem.
Two rows, (F4) and (F9), are “related” rather than
“equal”; (F9) needs the scaling observation because the
sum multiplies the denominators and . The case split in
(F8) is the price of positive denominators: is not a class
when .
Quick check. Compute and
, and
check the second answer by multiplying.
Solution. . For
the
numerator is negative, so the inverse is . Check: , and since .
The
integers inside the rationals
As sat
inside through
(Proposition 2.2.3), sits inside through the classes
with denominator .
Proposition
3.1.4 (The Integers Embed in the
Rationals)
Let , . Then is injective, and for
all ,
with and . Moreover, writing in
the field :
- (a) for and , ;
- (b) every rational
number is
for some
and , and for and ,
if and only if ;
- (c) .
Idea. The classes with denominator
add and multiply
exactly as their numerators do, by the formulas of Definition 3.1.2 with
. For (a),
is the
inverse of , and multiplying it by gives ; (b) and (c) are
(a) read through Sets and Functions, Theorem 5.2.1.
Proof. Injective. If , then by Sets and Functions, Theorem 5.2.1
(b), that is, , so .
Operations. By Definition 3.1.2, , , and . Also and are the zero and one of (Theorem 3.1.3).
(a) Since , ,
and by Theorem 3.1.3 its
inverse is
(the case of a positive numerator; inverses are unique,
Section 2.3). Hence
(b) Every element
of is for some (Sets and Functions, Definition 5.2.4),
which is
by (a). By (a) again,
means , which holds if and only if (Sets and Functions, Theorem 5.2.1
(b)).
(c) Each lies in , and every element of
has this form
by (b). This proves the proposition.
Identification. From now on we write
for , as Section 2.2
wrote for , and regard
as a subset of
; together with
Section 2.2, . This is a convenient abuse,
made honest by :
it is injective and carries , , , and of to those of , so a computation
with integers gives the same result read in or in . With this
convention, (a)–(c) read: The last equation is the description of that Sets and
Functions, Section 3.1 took as a definition; it is
now a theorem about the constructed set. The fraction
bar is division in the field , and the school rules
for fractions, such as , are now the formulas of Definition 3.1.2 read
through (a). The order of , and the fact that
respects it, are
Section 3.2’s business.
Quick check. Is surjective? Decide
whether .
Solution. No. If , then
in , which is impossible:
is odd, so it is not of the form (Corollary 2.5.3 (a); it
is also the Quick check “Is a field?” of Section
2.4). So : is a proper subset of
.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) In Definition 3.1.2, why is
?
- (b) Where does the
proof of transitivity in Proposition 3.1.1 use
that a denominator is non-zero, and which denominator is
it?
- (c) Find the inverse
of in
, as a class
with positive denominator.
- (d) True or false:
. Give a reason.
Solution.
(a)
means and
(Theorem 2.4.2 (b)); then
by (O4),
so , again by Theorem 2.4.2
(b).
(b) In the last
step: from it concludes by Proposition 2.4.3 (f),
which needs . Here
is the denominator of the middle pair
.
(c) The numerator
is negative, so
by Theorem 3.1.3 the
inverse is . Check: ,
since .
(d) True. has
positive numerator, so its inverse is by Theorem 3.1.3; directly,
.
B. Practice
Exercise
(B1: Three rows in detail)
Let , , be rational numbers. Verify in detail,
naming the law of used at each step,
the rows (F9), (F4) and (F2) of the table in the proof
of Theorem 3.1.3.
Solution. All operations are those
of Definition 3.1.2;
(F1)–(F9) refer to the laws of (Theorem 2.3.1).
(F9). , so by (F9) and (F5). On the other side,
and
, so
by (F5), (F6) and (F9). The pairs and are related, since by (F5),
(F6). By Sets and Functions, Theorem 5.2.1
(b), .
(F4). , so . By Proposition 2.3.2 (c),
, so
the numerator is by (F4). The pair is related to
, since (Proposition 2.3.2 (b)).
So .
(F2). , so by (F9), (F5), (F6). And ,
so by the same laws. The pairs are equal, so
.
Exercise
(B2: Addition is well defined)
Prove directly, by computing both changes and without
the symmetry argument of Proposition 3.1.2, that
the addition of Definition 3.1.2 is well
defined. The first half is done for you.
Change the first argument. Let , that is, , and
fix . Then
so .
Name the move, then complete it.
Solution. The move is check
on representatives, one argument at a time:
having changed the first argument with the second fixed,
change the second with the first fixed, and join the two
changes by transitivity.
Change the second argument. Let , that is, , and
fix . Then,
by (F5), (F6), (F9) in , so .
Join. Let and . Write for the sum formula on
representatives. The first step, with fixed, gives ; the second, with fixed,
gives . By transitivity (Proposition 3.1.1),
, so the
classes and are equal (Sets and Functions, Theorem 5.2.1
(b)). The two steps are the hypotheses of Theorem 2.2.1 (b); the
join is the step its proof makes, and its conclusion
gives addition as a function .
Exercise
(B3: Prove or disprove)
Prove or disprove each statement.
- (a) The rule defines a function .
- (b) The rule defines a function .
- (c) If and , then or .
- (d) Every non-zero
rational number has a representative with numerator
.
Solution.
(a)
True. Since , (Proposition 2.4.3 (b)),
so by Theorem 2.4.2 (b). By Theorem 2.2.1 (a) it
suffices that gives . By (F5), (F6), (F9) in , and the right-hand sides are equal since . (The
function is , half of plus one, by Definition 3.1.2.)
(b)
False. , since ,
but the rule gives for one representative and for the other,
and because .
(c)
True. Let and . Then , and by Theorem 3.1.3 this class
is zero only if . So or
by Proposition 2.4.3 (f) in
, that is, or , again by Theorem 3.1.3. (The
statement holds in every field: if , multiply by .)
(d)
False. Take . If with
,
then , and has no solution in (Corollary 2.5.3 (a), as
in the Quick check after the Identification). So no
representative of
has numerator .
C. Going deeper
Exercise
(C1: The least denominator)
- (a) Show that the
rule “” does not define a function .
- (b) Prove that there
is exactly one function such that, for every
, is the least for
which
for some .
- (c) Compute , justifying that
no smaller denominator is possible.
Solution (Hint 1). For (b), fix
and look at the
set of all denominators of representatives of . Which result of
Section 2.4 gives a least element?
Solution (Hint 2). Let .
It is non-empty because a class contains its
representative.
Solution.
(a) ,
since , but the rule gives for one representative
and for the
other. A function has one value at each argument (Sets and Functions, Definition 2.1.1).
(b) For , let .
Note that holds if and only if . If , then by Sets and Functions, Theorem 5.2.1
(a). Conversely, write (Sets and Functions, Definition 5.2.4);
then
means (Sets and Functions, Definition 5.2.2),
so by Sets and Functions, Theorem 5.2.1
(b). So is the
set of denominators allowed in the definition of .
has a
least element. By Sets and Functions, Definition 5.2.4,
for some pair, and by Sets and Functions, Theorem 5.2.1
(a), so
and is
non-empty. Every element of is positive, so is an integer lower
bound. By Proposition 2.4.4, has a least element,
and it is unique, by antisymmetry of (Proposition 2.4.3
(i)).
Existence and uniqueness of . Let be the function whose
graph is .
Each has exactly
one partner , so
is a function (Sets and Functions, Definition 2.1.1),
and it has the required property. Any function with the
property must take the value at every , so it equals (Sets and Functions, Proposition 2.1.1).
Unlike the rule in (a), is defined from the
class itself, not
from a chosen representative, so there is nothing to
check for well-definedness.
- (c) by Proposition 3.1.4 (a). A
pair lies in
this class if and only if .
- is
impossible: it needs . By discreteness (Theorem 2.4.2 (c)), or . If , then ; if , then , by Proposition 2.4.3 (c) (or
equality). Either way , by (O1).
- works:
, so .
Since is the
only element of below (discreteness), .
Marking scheme. (10 points) - 2: (a)
exhibits two representatives of one class with different
denominators. - 2: (b) defines the set of denominators
of from the
class, and shows it non-empty. - 2: (b) gets a least
element from Proposition 2.4.4, with
the lower bound named. - 2: (b) explains why this
defines exactly one function (one value per class; any
such function has those values). - 2: (c) shows has no integer
solution and exhibits . Fatal errors (0 for the step): defining
as
“ divided by a
common factor” (the formula uses a representative, and
lowest terms come only in Preliminaries for Analysis
and Algebra, Chapter 2); in (c), “ has no solution
since ”
(uses division in to decide a question
about without
the discreteness argument).
Exercise
(C2: Find the error)
Here is a proof that multiplication on is well defined. Is
the conclusion true? Is the proof correct? If not, name
the first line that fails, the error, and give a
counterexample to the step.
- Let , and let . (2) Then . (3) So . (4) That is,
, so the product does not depend on
the first representative. (5) The second argument is
handled in the same way.
Solution. The conclusion is
true: it is Proposition 3.1.2. The
proof is not correct.
The failing line is (3). Line (2) is
correct: it is (1) restated by Sets and Functions, Theorem 5.2.1
(b), and says that and name the same class. Line (3) then
multiplies that class by , using the
multiplication of . But that
multiplication is exactly what is being shown to exist:
until it is known to be well defined, “”
has no meaning, or rather means “, computed from
the representative ”, and whether this depends on the
representative is the claim. The line cites the goal,
which is circular: entry (N9) of Logic and Proof, Example (What is not allowed).
Counterexample to the step. The inference
“, so ” fails for formulas
in
representatives. With , the same lines “prove” that
is a function on , since “ is a function of
the class ”. It is not: and
(Example (Formulas that ignore the class)
(a)).
Repair. Replace (2)–(3) by an identity in
: from , , so . Do the same for the second argument,
and conclude with Theorem 2.2.1 (b). Lines
(1), (4) and (5) are correct as stated, once (3) is
replaced.
Marking scheme. (10 points) - 2:
says that the conclusion is true and that the proof is
not correct. - 3: names line (3) as the failing line and
explains that it uses the multiplication of , which is being
defined. - 2: names the error as circular, entry (N9). -
2: gives a counterexample to the step (any formula in
representatives that is not constant on classes, such as
). - 1: gives
the repair through the integer identity . Fatal errors (0 for the step):
declaring the conclusion false; blaming line (1) or (2),
which only restate the hypothesis.
Exercise
(C3: Non-zero denominators)
Let , and for let
mean . Show that is an equivalence
relation on , and
that is a well-defined bijection.
Solution. Equivalence
relation. The proof of Proposition 3.1.1 works
on with two
changes: the pairs are taken in instead of ,
and the line deriving from is dropped, since in the middle denominator
is non-zero by
definition. That is the only property of the
denominators the proof uses.
Well defined. Since , by (O1), so
and
the inclusion is a function. Apply Theorem 2.2.1 (a) to the
inclusion from to : if , then , which
says .
Injective. If , then by Sets and Functions, Theorem 5.2.1
(b), so , so and .
Surjective. Let , with . By (O1), or . If , the class is . If , then (Proposition 2.4.3 (a)),
so by Theorem 2.4.2 (b), and
; and ,
since by Proposition 2.3.2 (c); so
by Sets and Functions, Theorem 5.2.1
(b), and the class is .
So is a
bijection: the two constructions have “the same”
rational numbers, matched by .