You learned about the rational numbers in high school. Rational numbers are nothing but fractions , where and are integers. We should be a bit cautious, though… A rational number can be represented by a lot of fractions: . We say that the rational number is in its lowest terms if and have no common factor.
Any rational number has a representation in its lowest terms.
So far, so good. We can add up two rational numbers:
Are you sure that addition does not depend on the choice of the fractions that represent the rational numbers?
We can even multiply two rationals numbers
and even divide a rational number by a non-zero rational number:
What else we can do with rational numbers? We can compare (or, in other word: order) them. Say, we have two positive rational numbers and (), then if , if (do not forget that if ).
Any rational number can be written as a fraction , where are integers.
In between two different rational numbers, there exist infinitely many rational numbers! ( is in between and if .
There are countably infinite rational numbers.
There is no rational number such that .
Proof: Let us suppose that , , where is in its lowest terms. Then
If is odd, then we get a contradiction immediately, since is odd and is even. If is even, then can be divided by . On the other hand, must be odd, since is in its lowest terms. So, .
You also learned about the decimals. Decimals are in the form of , where is an integer number and all the ’s are digits in between and . We will call the integer part of the decimal and we will call the -th digit (note that in number theory, they call the integer part of a negative ).
Are the real numbers just the decimals?
Basically, yes. Clearly, there is nothing special in the number , there are many ways to define the real numbers, even without referring to any kind of digit sequences. On the other hand, choosing the decimals to represent the real numbers seems to be a good idea. Finite decimals were first used in the XVI-th century by Vieta and Stevin, the infinite decimals were introduced by Newton. On the other hand, it was known by the ancient Greeks that the length of the diagonal of the unit square (that is ) cannot be expressed by the ratio of two integers.
You learned long division in school. If I give you a rational number, say, , you give me a decimal. This is called the decimal expression of the rational number.
The decimal expression of a rational number is always periodic. Also, if a decimal is periodic, then it is always the decimal expression of a rational number.
Proof: When we make a step of the long division to calculate we always get a remainder that is an integer in between and . The next digit we calculate depends only on this remainder. Eventually, we will get a remainder that occured before. From this moment the digits must repeat forever. On the other hand, if we have a decimal expression like , where is an integer number, then clearly and are rational numbers. It is easy to check that the decimal expression of the rational number is exactly .
If we use the proposition to write as a rational number, we get something interesting.
We need to make a convention: The decimal expressions and , where and represent the SAME rational number. So
Real numbers are represented by the decimals. The real numbers in the form , where is an integer are represented by two decimals (let us call them “bad” decimals), that we consider the same as real numbers. All other real numbers are represented by a single decimal.
We end this section with a crucial definition.
If the sequence of rational numbers are getting closer and closer to a rational number , then we say that converges to .
We need to write the previous definition in a well, more mathematical form. What “closer and closer” means in English? It means that “eventually” the numbers will be as close as we wish. Suppose that we wish for being not further than . The word “eventually” means that if is large enough, then . It does not mean that , it only means that “after a while” . So, there exists some number such that provided that . The slight problem is that for different wishes, we might need different . Imagine that the same would be good for all wishes. Then, not only if , but and even
That is, all the ’s must be equal to , and that is too much to ask for. So, we need a trickier definition.
A sequence of rational numbers
converges to the rational number
, , if for any there exists such that provided that .
. Indeed, for any , if , provided that .