Rational
Rational
Intuitively, we think of rational numbers as fractions – given two integers m and n (n 6= 0),
we would like to say that m n
is a rational number. The problem with this is that many of
these fractions should actually be the same rational number, so we can’t simply define the
rational numbers as the set of all {(m, n) : m, n ∈ Z and n 6= 0} (Notice this set is the
Cartesian product Z × (Z \ {0}).) If we did this, we would be saying (1, 2) and (−3, −6) are
different rational numbers (since they are different elements of this set). We can fix this by
defining the following equivalence relation on Z × (Z \ {0}):
For all (a, b) and (c, d) ∈ Z × (Z \ {0}), define (a, b) ∼ (c, d) ⇔ ad = bc.
We can now define a rational number to be any equivalence class of this relation. The set
of rational numbers is denoted by the symbol Q (therefore, the set of irrational numbers can
be written as R \ Q). Then, we have that (1, 2) and (−3, −6) belong to the same equiva-
lence class and are therefore representatives of the same rational number. To use our usual
−3
notation, we allow ourselves to write 12 instead of (1, 2), and we write 21 = −6 since these
fractions represent the same equivalence class (i.e., they represent the same rational number).
We should check that all our usual operations on rational numbers can be defined and
work the way we expect. For example, we need to define how to add rational numbers:
Given two of the equivalence classes, what answer do we get when we add them together?
The easiest thing to do is to take a representative from each equivalence class and define the
addition of the ordered pairs:
(a, b) + (c, d) = (ad + bc, bd).
Our answer should be the rational number represented by ad+bc bd
. But is this well-defined?
Our definition of addition starts off by choosing representatives (a, b) and (c, d) for each
rational number – what would have happened if you had taken different representatives
(a1 , b1 ) and (c1 , d1 ) of the same two rational numbers? The addition is only well-defined if
the choice does not make a difference: that is, in either case, the answer we get by adding
should represent the same rational number. You can skip the proof below since we didn’t
do it in lecture, but it’s included here in case you want to see the details:
Assume (a, b) ∼ (a1 , b1 ) and (c, d) ∼ (c1 , d1 ). This means (i) ab1 = ba1 and (ii) cd1 = dc1 .
We want to show that (a, b) + (c, d) ∼ (a1 , b1 ) + (c1 , d1 ). In other words, whichever pair of
representatives we choose, their addition represents the same rational number. Using the def-
inition of addition, we see that we want to show that (ad+bc, bd) ∼ (a1 d1 +b1 c1 , b1 d1 ). By def-
inition of the equivalence relation, this means we need to show (ad+bc)b1 d1 = bd(a1 d1 +b1 c1 ).
Compute, and use (i) and (ii) when necessary:
(ad + bc)b1 d1 = (ab1 )(dd1 ) + (bb1 )(cd1 ) = (ba1 )(dd1 ) + (bb1 )(dc1 ) = bd(a1 d1 ) + bd(b1 c1 )
= bd(a1 d1 + b1 c1 ).
So we have that the two answers represent the same equivalence class, and we therefore get
a unique answer when we add two rational numbers.
• Proposition 2.1: Between any two rational numbers there is another rational number.
• Proposition 2.5: Between any two real numbers there is an irrational number.
• Generalizing Propositions 2.1 and 2.5, you proved on your homework that “Between
any two real numbers, there is both a rational and an irrational number.”
Since the first item in the list is not proven in the book, we include a proof here:
m
Proposition Every non-zero rational number r can be uniquely written as a fraction n
such that n > 0 and hcf(m, n) = 1.