Constructing the Rational Numbers (1)
Contents
Introduction
It's been a very long time since I've posted, so I figured I'd kick things off again with one of my favorite topics.
We work with number systems every day, but we just sort of take their existence for granted. However, it is possible to construct all of these number systems from scratch.
- The natural numbers are built from sets.
- The integers are built from natural numbers.
- The rational numbers are built from integers.
- The real numbers are built from rational numbers.
- The complex numbers are built from real numbers.
We could go on and on, since there are also quaternions, octonions and god knows what else.
There is an obvious hierarchy here, and if I wanted to do things right I would start off at the very lowest level by constructing the natural numbers. Maybe I'll do a post on each of these constructions at some point, but for now I think I'll start in the middle.
We are going to assume that we already have the set
The first thing to consider whenever we want to construct a new number system is what is missing from what we already have? What is not present in the set of integers that we would like to be there? What sorts of problems can we phrase in terms of integers that don't have integer solutions but should have some sort of solution?
What immediately springs to mind is the following sort of equation:
Obviously we want to scream out to the heavens that
So we'd like our rational numbers to be able to fill in this sort of gap and provide answers to equations of the form
Here's a traditional illustration of the "number line." It may seem weird to even think about this since it's so ingrained in us after years of doing mathematics, but why do we draw our numbers on a line? Well the reason they can be layed out linearly to begin with is their order:
That is, we would like our new rational numbers to have the property that between any two rational numbers there is another rational number. This is certainly something that the integers don't obey. There is no integer between
Lastly, we would like our rational numbers to extend the integers in such a way that we can view the integers as sitting "inside" them, as on the number line. Furthermore, we would like the rational numbers to extend their arithmetic as well. Addition, multiplication and subtraction should all be defined and compatible when we restrict ourselves to talking about integers.
Let's summarize all of that:
Desired Properties of the Rational Numbers
- There is a subset of the rational numbers which behaves exactly like the integers.
- Rational numbers can be multiplied, added or subtracted in a way that extends the integers and has all the usual properties.
- The rational numbers can be ordered in a way that extends the integers.
- If
and are integers with , there exists a rational number for which . - If
and are rational numbers with , there exists a rational number for which .
If whatever construction we come up with has all of the above properties, we'll have been successful. With all of that in mind, let's get started.
The Construction
We have a significant advantage here in that we already know exactly what our rational numbers should end up looking like: they should resemble fractions
We might not have fractions, but we already have the next best thing – cartesian products. Basically a fraction is just a pair of integers, right? So instead of
To see why, recall that any fraction has infinite equivalent representations. For example,
Unfortunately, our ordered pair idea doesn't allow for this sort of equivalent representation. Certainly
At this point, if you have not read my post on Equivalence Relations and Quotient Sets, I would strongly encourage you to pause here and give it a thorough read. It is the main tool we will be using in our construction and is therefore of critical importance to the rest of this post.
The idea here is to define an equivalence relation
and more generally, if
Let's look back to our intuitive understanding of fractions to see how we might define this equivalence relation. If two fractions are equal, we can "cross multiply" them to obtain an expression purely in terms of integers. That is, if
Definition. We define the relation
on the set as follows: if and only if ,
where
and are integers with .
In the definition above,
Things are looking good so far. We've managed to rephrase equivalence of fractions solely in terms of ordered pairs of integers. Let's not get too far ahead of ourselves, though. We need to show that this is actually an equivalence relation!
Theorem. The relation
is an equivalence relation on the set . Proof. We need to show that
is symmetric, reflexive and transitive. We argue first that it is symmetric. Choose
with . Certainly since multiplication of integers is commutative and so by the definition of this relation. We argue next that it is reflexive. Choose
with and suppose that . Then, by definition, we have that . Again, from the commutativity of integer multiplication, we have that . Thus . Lastly, we argue that it is transitive. Choose
with . Suppose that and that . Then and by definition. Since and are equal, we may multiply the respective sides of the equation by these quantities without affecting the equality. That is, . By commutativity, we then have , and so . Thus , as desired.
I would be remiss if I failed to mention that in proving the transitivity of
We may not be able to divide integers, but we can still cancel them as we did above. Even though I said before we would assume perfect knowledge of all properties of the integers, I think this one merits special mention since it is not mentioned often outside of a modern algebra course.
Right Cancellation Property of the Integers. If
and are integers with and , then . Proof. Since
, we may subtract from both sides to obtain the equation . Factoring this yields . This can only be the case if either or , since the integers have no zero divisors. However, by hypothesis, and so it must be that . That is, , completing the proof.
We used this cancellation property above to cancel the quantity
Anyway, back to business! We've demonstrated that
Definition. We define the set of rational numbers to be the quotient set
This is simultaneously a really beautiful idea and a really ugly expression. And if you're confused by this, let's take a step back and examine what this definition really means.
Recall that the quotient set defined by an equivalence relation is the set of all of its equivalence classes. What do the equivalence classes look like in this case? Well, they are the sets of all ordered pairs which are equivalent. For instance, the following are all elements of
And that's because
Essentially all we've done is taken, for instance, all of the pairs which we think should correspond to
Now that we have our rational numbers, we still need to define their arithmetic. We could technically do this however we wanted, but obviously we would like their arithmetic to coincide with our preconceived ideas of fractional arithmetic.
For example, we could try to define addition as follows:
Incorrect Definition. Given two rational numbers
and , we incorrectly define their sum to be
There are two reasons why this is a bad definition. First, because in the language of fractions this would translate to
But there is an even more fundamental reason why this definition cannot be correct. And it's a little bit subtle, so I'll try to break it down the best that I can.
To see why this "addition" doesn't even work, let's try to add the rational numbers
However, we know that
Obviously
With that in mind, let's work toward the correct definition. In terms of fractions, we would expect
Definition. Given two rational numbers
and , we define their sum to be
In light of the disaster that was the previous attempt at a definition, we need to verify that this notion of addition is well defined. That is, the result does not depend on our choice of representatives.
Proposition. Addition of rational numbers is well defined.
Proof. Suppose that
and . We need to show that . Since
, we have that . Similarly, since , we have that . We note that
But by definition this means that
. That is, , as desired.
Thank goodness! This definition of addition is both mathematically legal and matches what we would intuitively expect. So let's move on.
Logically, the next thing to do is work toward defining multiplication of rational numbers. This is very similar to defining addition. Given what we know about fractions, we expect
Definition. Given two rational numbers
and , we define their product to be
Just like we did for addition, we need to show that multiplication is well defined.
Proposition. Multiplication of rational numbers is well defined.
Proof. Suppose that
and . We need to show that . Since
, we have that . Similarly, since , we have that . We note that
But by definition this means that
. That is, , as desired.
This post is getting long, so I'm going to leave it here for now and continue the construction in a later post, along with the verification of our desired properties of the rational numbers. Until next time! :)