Loading…
Construct Q from integer pairs, define its operations on classes, and learn why a formula on representatives must be checked before it becomes a genuine statement about rational numbers.
Integers solve the subtraction problem: has an integer solution for every pair of integers . Division poses the next obstruction. The equation has no integer solution, so is not closed under division by nonzero elements. We construct so that can be solved whenever and .
The earlier construction identified pairs that encoded the same difference. Here we identify pairs that encode the same quotient. The cross-product relation identifies different pairs intended to represent one number. Arithmetic and order must respect that identification: their results must depend on the rational number, not on its chosen representative.
The fractions
all describe the same rational number. If we want to build from integer data alone, then the construction must identify all such pairs automatically.
That is why we do not define a rational number to be a single ordered pair. Instead, we define a rational number to be a whole equivalence class of pairs that represent the same quotient.
Definition 3.4.1
(Rational numbers as equivalence classes)
Let
Thus an element of is a pair with and .
Define a relation on by
The set of rational numbers is the quotient
The equivalence class of is written , and it is represented informally by the fraction .
The nonzero denominator condition is needed by the relation itself. If all pairs were allowed, would be related to and to , but would not be related to . Excluding zero denominators prevents this failure of transitivity, as the proof below makes precise.
The equation is the usual cross-multiplication test for equality of fractions. In the quotient construction, that familiar test becomes the actual definition of equality.
Theorem 3.4.2
(The relation is an equivalence relation)
The relation defined by
is reflexive, symmetric, and transitive on .
Reflexivity is immediate because , so .
Symmetry is also immediate: if , then , so .
For transitivity, assume
Then
Multiply the first equation by and the second by :
Hence . Because is nonzero and has no zero divisors, we may cancel in to obtain
Therefore , so the relation is transitive.
An equivalence class contains many representatives. That is not a defect. It is the whole point of the construction.
Worked example 3.4.3
(Different pairs can describe the same rational number)
Consider the pairs , , and .
We have
Therefore
So all three pairs belong to the same rational number:
This is the quotient-theoretic version of the elementary fact that
It is often useful to remember that a rational number is not tied to a preferred representative. The class does not become a different number just because you multiply both coordinates by the same nonzero integer.
The quotient construction explains why many pairs represent the same rational number. For calculation, however, it is still useful to choose a clean representative. If and have a greatest common divisor , then
The Euclidean algorithm gives a systematic way to find this by repeated division with remainder. This is not a new definition of rational numbers; it is a practical method for choosing a simpler representative inside the same equivalence class.
Worked example 3.4.4
(Reducing a representative with the Euclidean algorithm)
Consider . The Euclidean algorithm gives
So , and
Both pairs represent the same rational number because .
The familiar fraction rules suggest formulas on pairs. To define arithmetic on , those formulas must give the same output class for every choice of input representatives.
Definition 3.4.5
(Addition, multiplication, and inverses on )
For classes in , define
and
The additive inverse is defined by
If , the multiplicative inverse is defined by
Write and . The cross-product relation gives exactly when . Thus being zero is a property of the class, and the condition for inversion does not depend on its representative.
Each of these formulas is written on representatives, so each of them must be checked for well-definedness. Otherwise the formula might depend on the chosen pair rather than on the rational number itself.
Before checking representatives, check the output domain. Since and has no zero divisors, the denominator is nonzero for both sums and products. For inversion, the extra condition makes a valid pair. These are two different obligations: a formula must produce a valid object, and that object must be independent of representatives.
A formula on equivalence classes is well-defined if changing representatives does not change the resulting class.
For addition, this means the following statement must be true:
if and , then
Theorem 3.4.6
(Addition on is well-defined)
If and , then
So the addition formula does not depend on the chosen representatives.
Assume
We must show
By definition of , it is enough to prove
Expanding the left-hand side gives
Using , the first term becomes
Using , the second term becomes
Hence
Therefore
so the sum is well-defined.
The addition formula gives . If , multiplying by gives , so . Negation is therefore independent of representatives. Its sum with the original class is
The denominator is nonzero because and has no zero divisors. The product formula also gives ; multiplication's representative check below makes this an identity for the operation on .
Worked example 3.4.7
(Compute in classes, then simplify conceptually)
Let
Then
Also,
If we replace by the equivalent representative , then the same formulas give
and
These are the same rational numbers as and , so the class operations behave as they should.
The addition proof displays the general method. Multiplication is shorter, but it still has to be checked explicitly because the inputs are classes rather than preferred fractions.
Assume
The hypotheses mean
To prove that the product is independent of representatives, use the defining test for :
The left side factors as
Hence , and the product formula descends from pairs to rational classes.
Theorem 3.4.8
(Every nonzero rational has one multiplicative inverse)
If and , there is a unique with
Write with . The condition means , so is a valid rational class. Then
because in .
For uniqueness, suppose is another inverse. The equation
means , hence . This is exactly the condition . Thus every inverse represents the same class .
Worked example 3.4.9
(Invert a negative rational without changing its class)
Let . Since the numerator is nonzero,
Their product is
The denominator in the inverse is nonzero, and the two coordinates may be multiplied by without changing the class. The calculation therefore works even when the chosen denominator is negative.
Common mistake
(Nonzero numerator is needed before inverting)
The formula is valid only when . If , the second coordinate of would be zero, which is excluded from , and zero has no multiplicative inverse.
The integers enter the new system through . This map is injective: equality means , hence . The operation formulas also give
Thus integer arithmetic is preserved. More importantly, if and , the class satisfies
The middle equality is the cross-product test. We have now answered the opening question: the quotient construction supplies a solution of while keeping the original integers identifiable inside .
Once you start thinking in equivalence classes, you should become suspicious of any proposed relation or operation written directly on representatives.
For example, consider the following candidate rules on classes and :
The first two rules are not well-defined on , because changing a representative can change the truth value. The third rule compensates for sign changes in the denominators and is invariant under changing representatives.
Worked example 3.4.10
(Why the denominator signs matter)
Compare with . The numerator rule gives , and the raw cross-difference is . Replace by , which names the same class. The numerator comparison becomes , now false, and the raw cross-difference becomes .
Both proposed rules have changed while the rational numbers stayed fixed. The sign-corrected expression stays positive: its two values are and . It compensates for the denominator sign rather than treating that sign as irrelevant.
Arithmetic now belongs to rational classes. To compare those classes, choose representatives with positive denominators: if , replace by . For , define
The right side uses the order already established on . Positivity matters because multiplying an inequality by a negative denominator would reverse it.
Suppose and , with all four denominators positive. Then
Multiplying by positive and substituting these equalities gives . Cancelling positive yields . The reverse argument is identical, so the comparison is unchanged.
Trichotomy in implies that exactly one of , , and holds. For transitivity, take . If and , then
Cancelling positive gives , hence . Thus the order laws follow from integer order, with every sign condition visible.
Fix the rational numbers and , and vary only their representatives. A change in the truth value then detects a dependence on the representation, not a change in the numbers being compared.
Does a formula depend on the representative?
Keep the rational numbers 1/2 and 1/3 fixed. Change their representatives and distinguish the current truth value from independence of representation.
Sign-corrected test: (pn - mq)nq > 0
(1)·(6) = 6
| Formula | Calculation | Value |
|---|---|---|
| Numerator-only rule: p > m | 1 > 1 | false |
| Raw cross-difference: pn - mq > 0 | 1·3 - 1·2 = 1 | true |
| Sign-corrected test: (pn - mq)nq > 0 | (1)·(6) = 6 | true |
Holds: The selected formula is independent of the representative
. Since both denominators are nonzero, , so the test has the sign of the rational difference.
NoticeNine displayed combinations illustrate the failure witnesses. The identity, not the finite sample alone, proves the corrected rule is independent of representation.
A genuine relation on must give the same truth value after every legal change of representatives. If the output changes merely because was written as instead of or , the formula has not descended to the quotient.
Quick check
(Why does the multiplication proof use two cross-product equalities rather than decimal intuition?)
Explain what can change while the rational class stays fixed.
The same rational number has many representatives. Cross-product equalities are the defining conditions that identify those representatives, so they are the data that can be substituted safely in a well-definedness proof.
Common mistake
(A quotient class is not one preferred fraction)
The symbols , , and name the same equivalence class, hence the same rational number. The three ordered pairs , , and are distinct representatives of that class.
Common mistake
(A plausible formula is not automatically well-defined)
A formula on pairs may look natural and still fail on the quotient. Before accepting an operation on , check that changing to equivalent representatives preserves the equivalence class of its output. For a relation on , the truth value must remain unchanged.
Quick check
(Suppose zero denominators were allowed. Use , , and to prove that the cross-product relation would no longer be transitive.)
Test the two consecutive relations, then compare the first pair directly with the third.
On all of , cross-multiplication would give and , because both tests reduce to . But would require , which is false. Transitivity therefore fails. Excluding zero denominators is part of making the quotient construction mathematically valid, before any inverse is defined.
Quick check
(For a rational class with , prove that swapping the coordinates gives its multiplicative inverse. Check both the domain and the product.)
Check the product with the original class.
Since , the pair has a nonzero second coordinate and is valid. The inverse is , because
which is the multiplicative identity in .
Quick check
(Why does the relation defined by greater than fail to be well-defined?)
Find equivalent representatives that change the truth value.
Take . Compare both with .
Using the representative , the statement reads , which is true. Using the equivalent representative , it reads , which is false.
So the rule depends on the chosen representative and therefore does not define an order relation on .
Quick check
(Let , , , and . Prove that .)
Show that the two pairs have exactly the same common divisors.
Let be a common divisor of and . Since , the same divides , so is a common divisor of and .
Conversely, if divides both and , then divides , so is a common divisor of and .
Thus the two pairs have the same common divisors, and therefore the same greatest common divisor:
Quick check
(Prove the multiplication formula on is well-defined: if and , then .)
Translate each equivalence into a cross-product equality.
From and , we know
To prove , we must show
But
So multiplication does not depend on the chosen representatives.
Read 3.3 Integers from equivalence classes for the previous quotient construction, and 3.5 Gaps in Q and why sqrt(2) is not rational for the next point where the rational number system shows its limitations.
Work out your answer, then check it. You can revise and try again.
Loading…