
The set of rationals, Q can also be defined as Z × (Z \ {0})/ ∼
0
. This definition is equivalent to our previous
definition in the sense that equations e
1
∼ e
2
from B iff ϕ(e
1
) ∼
0
ϕ(e
2
) in Z × (Z \ {0}). Owing to this, ∼
0
is
denoted by ∼.
An equivalence class of the form [(p, q)] is denoted by [p, q] or p q. In such a representation, p is called the
numerator and q is called the denominator of the fraction p q.
To avoid confusion, note the following examples: 12/3 is the natural number 4, where as 13/4 is undefined
for us. However, 13/4 although undefined, is treated as a rational number in elementary classes. For the
record, the rational 13 4 is the subset {(13, 4), (26, 8), (39, 12), . . . , (−13, −4), (−26, −8), (−39, −12), . . .} of
Z × (Z \ {0}).
} Reduced representatives for equivalence classes k26.1k
We say that a representative (p, q) for the equivalence class of a rational is reduced if q > 0 and the gcd(p, q) =
1. Given rationals like 0(−18), (−12)(−3) and 2418, we find that 0(−18) = 01, (−12)(−3) = 41
24 18 = 4 3 gives the rationals with reduced representatives.
As an exercise, let us find reduced representatives for all rationals of the form p 18 for integral p. Consider
the following cases:
p = 0 In this special case, the rational 0 18 = 0 1 and (0,1) is a reduced represenative.
gcd(p, 18) = 1 Then (p, 18) is a reduced represenatitve for the rational p 18. However, it is instructive to
write p in a special form as follows.
The set P
18
= {a ∈ Z|gcd(a, 18) = 1, 0 < a < 18} = {1, 5, 7, 11, 13, 17}. Moreover, every integer p such
that gcd(p, 18) = 1 can be written in the form p = a + 18k for unique a ∈ P
18
and k ∈ Z.
gcd(p, 18) > 1 Examples for such p are: p = ±2, ±3, ±4, ±6, ±8, . . .. As an example we pick p = 4. Then,
4 18 = 2 9 and gcd(2, 9) = 1. Similarly, in other cases. Hence we say rationals such as 4 18 or
9 18 are not in their reduced form.
We prove below that every rational pq has a reduced representative. By the observation pq = (−p)(−q),
we can assume that the denominator q > 0. By the division algorithm, p = qs + r for r, s ∈ Z such that
0 ≤ r < q. We analyse the various cases below.
p = 0 Then by division algorithm, 0 = q(0) + 0, i.e., (0)(1) = (q)(0), and we have 0 q = 0 1. We pick
(0, 1) as a reduced representative for this equivalence class. If (m, n) is any representative for 0 q,
with n > 0 and gcd(m, n) = 1, then we see that 0n = mq implies m = 0 and since n > 0, gcd(0, n) = 1
implies n = 1. Thus, (0, 1) is the unique reduced represenatative for this class.
p 6= 0, r = 0 Since (p)(1) = (q)(s), p q = s 1. We say that (s, 1) is a reduced form representative for
the class p q. For every 0 6= s ∈ Z, there is one such representative. As in the previous case, such a
represenatative is unique.
p 6= 0, r > 0, gcd(r, q) = d > 1 Then, gcd(p, q) = d and we can find integers m and n > 0, uniquely, such
that p = md and q = nd with (m, n) = 1. Hence p q = m n with m and n relatively prime. Division
algorithm for the latter two yields m = ns
0
+ r
0
, with s
0
= s and r
0
=
r
d
> 0 and gcd(r
0
, n) = 1. We are
led to the next case.
p 6= 0, r > 0, gcd(r, q) = 1 Then, gcd(p, q) = 1 and (p, q) is a reduced representative for the class p q.
Uniqueness can be proved as in the (0, 1) case above.
It is instructive to list all such p as follows.