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. First we define equality of those pairs; then we check arithmetic and inverses; finally we define order. At each stage the same question governs the argument: does the result depend on the rational number, or merely on its chosen representative?
Why a quotient is needed
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
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 denominator is required to be nonzero because the construction is intended to model quotients. If , then the pair cannot represent a meaningful rational number.
Why the relation makes sense
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
The relation is an equivalence relation
The relation defined by
is reflexive, symmetric, and transitive on .
Proof: is an equivalence relation
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.
Representatives and the same rational number
An equivalence class contains many representatives. That is not a defect. It is the whole point of the construction.
Worked example
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.
Reduced representatives and the Euclidean algorithm
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
Reducing a representative with the Euclidean algorithm
Consider . The Euclidean algorithm gives
So , and
Both pairs represent the same rational number because .
Operations on
Once the classes are defined, the next task is to define addition and multiplication on the classes themselves.
Definition
Addition, multiplication, and inverses on
For classes in , define
and
The additive inverse is defined by
If , the multiplicative inverse is defined by
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.
What "well-defined" means
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
Addition on is well-defined
If and , then
So the addition formula does not depend on the chosen representatives.
Proof: addition on is well-defined
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.
Worked example
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.
Multiplication and inversion require the same discipline
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.
Why multiplication on is well-defined
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
Every nonzero rational has one multiplicative inverse
If and , there is a unique with
Proof: existence and uniqueness of the rational inverse
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
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.
How the construction solves division
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 .
Not every representative formula descends to
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 :
- compare and ;
- compare the sign of ;
- compare the sign of .
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
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.
Order: choose positive denominators
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.
Proof that rational order is independent of representatives
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.
Explore which comparisons survive
The quickest way to understand this issue is to compare several proposed rules against different representatives of the same two rational numbers. In the panel below, the rational numbers remain and ; only their representatives change.
Read and try
Test representative-dependent formulas on Q
The lab compares several representative formulas and makes visible which ones survive a change of fraction representative.
Represent 1/2 as
Represent 1/3 as
The rational comparison itself is fixed: 1/2 > 1/3.
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
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.
Checkpoint
Why does the multiplication proof use two cross-product equalities rather than decimal intuition?
Explain what can change while the rational class stays fixed.
Solution · Answer
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 mistakes
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 checks
Checkpoint
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.
Solution · Model solution
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.
Checkpoint
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.
Solution · Answer
Since , the pair has a nonzero second coordinate and is valid. The inverse is , because
which is the multiplicative identity in .
Exercises
Checkpoint
Why does the relation defined by greater than fail to be well-defined?
Find equivalent representatives that change the truth value.
Solution · Guided solution
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 .
Checkpoint
Let , , , and . Prove that .
Show that the two pairs have exactly the same common divisors.
Solution · Guided solution
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:
Checkpoint
Prove the multiplication formula on is well-defined: if and , then .
Translate each equivalence into a cross-product equality.
Solution · Guided solution
From and , we know
To prove , we must show
But
So multiplication does not depend on the chosen representatives.
Related notes
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.