Integers arise as equivalence classes of natural pairs with (a,b)∼(c,d)⟺a+d=b+c, and rationals as classes of integer pairs with (a,b)∼(c,d)⟺ad=bc. The "numbers as equivalence classes" trick returns when the reals are built from the rationals.
Assume (a,b)∼(a′,b′) and (c,d)∼(c′,d′). Prove that (a+c,b+d)∼(a′+c′,b′+d′). (This says the addition [(a,b)]+[(c,d)]=[(a+c,b+d)] is well-defined, independent of the chosen representatives.)
(a,b)∼(a′,b′),(c,d)∼(c′,d′)
(a+c,b+d)∼(a′+c′,b′+d′)
Integers mode — each dot is a class of pairs, and addition is the same whichever representatives are chosen.Show proof
By definition of the relation, (a,b)∼(a′,b′) means a+b′=a′+b and (c,d)∼(c′,d′) means c+d′=c′+d.
Adding the two equations side by side gives (a+b′)+(c+d′)=(a′+b)+(c′+d). Rearranging with the associativity and commutativity of natural-number addition yields (a+c)+(b′+d′)=(a′+c′)+(b+d).
This is exactly the definition of (a+c,b+d)∼(a′+c′,b′+d′). So the value of [(a,b)]+[(c,d)] never depends on which representatives of the two classes are chosen — addition on Z is well-defined.
For rationals p<q, prove that m=2p+q is rational and p<m<q.
p<q⟹p<2p+q<q
Rationals mode, max denominator 4 — between any two rationals sits another dot.Show proof
Write p=ba and q=dc with b>0,d>0. Then m=2p+q=2bdad+bc: numerator and denominator are integers and the denominator is nonzero, so m is rational.
Since p<q, adding p to both sides gives 2p<p+q; dividing by the positive 2 preserves the inequality, so p<2p+q=m.
Likewise, adding q to both sides of p<q gives p+q<2q, i.e. m<q. Hence p<m<q — between any two rationals there is always another rational, so the rationals are dense. Integers lack this property (no integer lies strictly between consecutive integers).
For a nonzero rational ba, prove that ab is its multiplicative inverse, and explain why this makes Q a field.
ba⋅ab=1(a=0)
Rationals mode, max denominator 4 — every nonzero dot has a multiplicative inverse.Show proof
ba=0 means a=0 (and b=0 is part of being a rational). So the fraction ab, whose denominator a=0, is a legitimate rational.
By the definition of fraction multiplication, ba⋅ab=baab. Commutativity gives ab=ba, so this fraction equals abab=1. Hence ab is the multiplicative inverse of ba.
Since every nonzero rational has an inverse, division by a nonzero number is always possible in Q — together with the well-defined addition and multiplication, Q is a field. The field axioms and their structure are covered in the groups-fields scene.