Felix Lazebnik: Date: June 30, 2010
Felix Lazebnik: Date: June 30, 2010
FELIX LAZEBNIK
the methodology .... These are, probably, typical reasons for one to begin writing
on a classical topic. We often believe that our choices and tastes are better, and
if not, then at least our writings will help students in our courses. Teachers are
like actors, and there are as many Pythagorean theorems as there are Hamlets. So,
here we are.
1. Rational numbers.
All similar properties of rational numbers, which we introduce below, will follow
easily from their definition and the corresponding properties of integers.
Construction of rational numbers begins with a set of symbols, called fractions,
and denoted by
m
, or m/n,
n
where m, n ∈ Z and n 6= 0. Two fractions m/n and m0 /n0 are defined to be equal,
if they are precisely the same, i.e., if and only if m = m0 and n = n0 . On the other
hand, every one knows that fractions describe certain objects, like parts of an apple,
and that 1/2, 2/4 or 3/6 of the same apple are indistinguishable. That is why we
write 1/2 = 2/4 = 3/6 as obvious, which contradicts our definition of equalities of
fractions. Why do symbols which look very different are set to be equal? This is
the main reason for the discussion below.
This and the next two subsections are for the readers who
are familiar with the notion of an equivalence relation on
a set, and with basic facts related to it. If you are not one
of these readers, just browse through the subsections.
NOTES ON RATIONAL AND REAL NUMBERS 3
Examples.
(i) 10/15 ∼ 22/33, since 10 · 33 = 330 = 15 · 22.
(ii) at/bt ∼ a/b for all t ∈ Z, t 6= 0
(iii) Every fraction a/b is equivalent to a fraction a0 /b0 , where gcd(a0 , b0 ) = 1.
In order to prove this, write a = a0 r and b = b0 r, where r = gcd(a, b). E.g.,
10/15 ∼ 22/33 ∼ 2/3.
It is easy to check that the just defined relation ∼ satisfies the following proper-
ties: for all fractions
• a/b ∼ a/b (reflexive property)
• if a/b ∼ c/d, then c/d ∼ a/b (symmetric property)
• if a/b ∼ c/d and c/d ∼ e/f , then a/b ∼ e/f (transitive property).
Let us prove the last property. As a/b ∼ c/d and c/d ∼ e/f , we have ad = bc and
cf = de. Multiplying both sides of the first equality by f , and of the second by b,
we obtain adf = bcf and bcf = bde. This implies adf = bde, and, as d 6= 0, we have
af = be. As b, f 6= 0, we get a/b ∼ e/f .
The readers who are qualified to read this subsection, recognize that the three
properties above mean that ∼ is an equivalence relation on the set of fractions. It
is a standard fact that whenever we have an equivalence relation on a set, the set
becomes partitioned into the equivalence classes. In our case, the equivalence class
containing a/b, which we denote by [a/b], is the following set
[a/b] = {c/d : c/d ∼ a/b},
and classes [p/q] and [x/y] are equal if and only if p/q ∼ x/y. For example,
[1/2] = [−3/ − 6] = [1000/2000] =
Now we define addition and multiplication of the equivalence classes in the fol-
lowing way:
h a i h c i h ad + bc i h a i h c i h ac i
+ = and · = .
b d bd b d bd
It is not obvious that our definition of addition and multiplication of classes is
well-defined in the following sense: since we have different notations for the same
class, like [2/4] = [3/6] and [−2/7] = [−10/35], how can we be sure that
[2/4] + [−2/7] = [3/6] + [−10/35]?
1If one does not think that symbols like a/b belong to the language of set theory, one is welcome
to use (a, b) instead.
4 FELIX LAZEBNIK
In other words, how can we be sure that the result of this newly defined addition
doesn’t depend on the choices of fractions representing the summands? Nevertheless
the last equality is true. Indeed,
h 14 + (−8) i h 6 i h 3 i
[2/4] + [−2/7] = = = ,
28 28 14
h 105 + (−60) i h 45 i h 3 i
[3/6] + [−10/35] = = = .
210 210 14
Let us prove now that the addition is well-defined. Let [a/b] = [a0 /b0 ] and [c/d] =
[c /d0 ]. Then [a/b] + [c/d] = [(ad + bc)/bd] and [a0 /b0 ] + [c0 /d0 ] = [(a0 d0 + b0 c0 )/b0 d0 ].
0
We have to show that [(ad + bc)/bd] = [(a0 d0 + b0 c0 )/b0 d0 ]. Indeed, remembering that
b, d, d, d0 6= 0, we have:
[(ad + bc)/bd] = [(a0 d0 + b0 c0 )/b0 d0 ] ⇔
(ad + bc)/bd ∼ a0 d0 + b0 c0 )/b0 d0 ⇔
adb0 d0 + bcb0 d0 = bda0 d0 + bdb0 c0 ⇔
bcb0 d0 = bdb0 c0 ⇔
cd0 = dc0 ⇔
c/d ∼ c0 /d0 .
The last statement is equivalent to [c/d] = [c0 /d0 ], and the proof is finished.
The rational u in part (4) is denoted by −x and is called the additive inverse
of x, or the opposite of x. The rational v in part (4) is denoted by x−1 and is
called the multiplicative inverse of x, or the reciprocal of x.
Proof. We prove only two of these statements, and leave others as exercises.
(1) Let x = [a/b] and y = [c/d]. Then x + y = [(ad + bc)/(bd)]. Using the
commutative properties of addition and multiplication of integers, we rewrite ad+bc
as cb + da, and bd as db. Hence,
x + y = [(ad + bc)/(bd) = [(cb + da))/(db)] = y + x.
NOTES ON RATIONAL AND REAL NUMBERS 5
(4) We prove it for the multiplicative inverse only. For the additive inverse the
argument is similar.
Let x = [p/q] 6= [0/1]. Then p 6= 0, and we can consider v = [q/p]. So we have:
hence, v 0 = v. ¤
Proof. Let us prove (2), (3), and the first statement of (5). Proofs of other state-
ments are left as exercises.
(2) As z 6= 0, there exists z −1 . Then, as xz = yz, (xz)z −1 = (yz)z −1 . Using
parts (2) and (4) of Proposition 1.1, we obtain:
(xz)z −1 = x(zz −1 ) = x · [1/1] = x, and (yz)z −1 = y(zz −1 ) = y · [1/1] = y. This
implies x = y.
(3) We have: [0/1] · x = ([0/1] + [0/1]) · x = [0/1] · x + [0/1] · x. Adding −([0/1] · x)
to both sides and using (1), we get [0/1] = [0/1] · x. As [0/1] · x = x · [0/1], the
statement is proven.
(5) Using the distributive property (5) of Proposition 1.1, and part (3), we obtain
So xy+(−x)y = [0/1], which means that (−x)y is the additive inverse of xy, namely
−(xy), or simply −xy. ¤
6 FELIX LAZEBNIK
1.2. Are integers rational numbers? Strictly speaking: no. What is true, that
a function
f : Z → Q,
defined by a 7→ [a/1], is an injection satisfying the following properties:
f (a + a0 ) = [(a + a0 )/1] = [a/1] + [a0 /1] = f (a) + f (a0 ),
and
f (aa0 ) = [(aa0 )/1] = [a/1] · [a0 /1] = f (a) · f (a0 ).
The properties show that the symbols f (a) = [a/1], when it comes to operations,
just mimic the ones in Z, and differ from them only in appearance. This is often
phrased by saying that the substructure {[a/1] : a ∈ Z} of Q is isomorphic to Z.
1.3. Let’s make things simpler. Now, when we know what rational numbers
are, we will begin to denote them by fractions, as we used to. So, when we write
1/2 ∈ Q, we really mean [1/2] ∈ Q. We also remember that equivalent fractions
denote the same rational number, and from now on, writing 1/2 = 4/8 is O.K.
And, yes, writing a instead of [a/1], or writing Z ⊂ Q, is fine too. Hence, [0/1] can
be written as just 0, and [1/1] as just 1. What a relief!
Well, our time was not exactly wasted: now we know what this all means!!! Don’t
you feel like Monsieur Jourdain, who suddenly discovered that “These forty years
now, I’ve been speaking in prose without knowing it! How grateful am I to you for
teaching me that!”2?
1.4. Order on Q. We remind the reader that we assume known the properties of
the (usual) order relation ≤ on Z. Similar properties of the order on Q, which we
are going to introduce, will follow from them easily.
We say that x = a/b ∈ Q is positive (negative), and write 0 < x (x < 0), if
and only if ab is a positive (negative) integer.3
The sum x + (−y) is called the difference of x and y, and it is usually denoted
by x − y.
For x, y ∈ Q, we say that x is less than y, and write it as x < y, if y − x is
positive. The inequality x < y is often expressed in another way by saying that y is
greater than x, and by using the symbol > to denote it. Hence y > x is equivalent
to x < y.4
The abbreviation for “(x < y) or (x = y)” is x ≤ y. If x ≤ y, we say that x is at
most y, or, equivalently, y is at least x. Similarly, for x ≥ y. Hence, both 3 ≤ 3
and 3 ≤ 5 are true. If 0 ≤ x or, equivalently, x ≥ 0, we say that x is non-negative,
and if x ≤ 0 or, equivalently, 0 ≥ x, we say that x is non-positive.
The order relation and the operations on Q satisfy the following additional prop-
erties. The expression 0 < x < y represents, of course, a shorthand of the statement:
“0 < x and x < y”.
Proposition 1.4. For any rational numbers x, y, z, a, b, the following holds.
(1) x < y if and only if x + z < y + z
(2) For z > 0, x < y if and only if xz < yz
(3) For z < 0, x < y if and only if xz > yz
(4) If a < b and x < y, then a + x < b + y, and a similar statement holds for
any n ≥ 2 inequalities.
(5) If 0 < a < b and 0 < x < y, then ax < by, and a similar statement holds
for any n ≥ 2 inequalities
(6) The inequalities 0 < a < b imply 0 < an < bn , for any n ∈ N. Also, if
b > 0, and n ∈ N, then an < bn implies a < b.
Proof. Here we present proofs of several of the properties, leaving proofs of the
remaining ones to the reader. We wish to note that these proofs will not be based
on our understanding of what rationals are: they are merely logical consequences
of the properties stated in Propositions 1.1, 1.2, 1.3.
8 FELIX LAZEBNIK
(2) The distributive law of Proposition 1.1 (5) holds also when addition is replace
by subtraction. Indeed, applying Proposition 1.2 (5), we obtain:
yz − xz = yz + (−xz) = yz + (−x)z = (y + (−x))z = (y − x)z.
If x < y, then y − x > 0 is positive by definition. Since z > 0 (given), and the
product of positive rationals is positive by Proposition 1.3 (1), (y − x)z is positive.
Hence yz − xz > 0 , and so xz < yz.
Conversely: let xz < yz. Then yz − xz = (y − x)z > 0 by definition. As z > 0,
this implies y − x > 0, otherwise (y − x)z < 0 by Proposition 1.3 (3), or y = x.
Hence, x < y.
(5) Proof 1. By transitivity of inequalities, b > 0. By part (2) of this proposition
proven above, a < b implies ax < bx, and x < y implies xb < yb. By the commuta-
tivity of multiplication of rationals, the latter is equivalent to bx < by. Transitivity
of inequalities gives ax < by.
Proof 2. by − ax = by − bx + bx − ax = b(y − x) + (b − a)x. As all b, y − x, b − a,
and x are positive, by − ax is positive. Hence, ax < by.
Let us generalize this property:
For all n ≥ 2, the inequalities 0 < ai < bi , i = 1, . . . , n, imply
a1 a2 · · · an < b1 b2 · · · bn .
We prove this by the method of mathematical induction (on n). The base case,
n = 2, has been established in (5): a1 = a, b1 = b, a2 = x, b2 = y. Suppose the
statement holds for any n = k ≥ 2 inequalities. We have to show that it holds for
any n = k + 1 inequalities.
Let 0 < xi < yi for all i = 1, . . . , k + 1. We have to show that
x1 x2 · · · xk xk+1 < y1 y2 · · · yk yk+1 .
Note that x1 · · · xk < y1 · · · yk by the induction hypothesis, and we are given that
xk+1 < yk+1 . As all parts of the inequalities are positive rationals, these two
inequalities can be multiplied (base case n = 2). By doing this, we obtain
(x1 · · · xk )xk+1 < (y1 · · · yk )yk+1 .
When several rational numbers are multiplied, the parentheses can be placed in ar-
bitrary way due to the associative property of multiplication. Hence, the statement
holds for any n = k + 1 inequalities, and the proof is finished. ¤
All properties of the order on Q we have seen so far are exactly the same as the
one’s on Z. But there are some fundamental distinctions. For example, unlike for
integers, the order relation on Q satisfies the following ‘density’ property.
Proposition 1.5. (Density property of Q) Between any two distinct rationals there
are infinitely many other rationals.
Proof. Suppose x, y be distinct rationals, and x < y. Let z1 = (x + y)/2. Then
z1 ∈ Q,
x+y y−x
z1 − x = −x= > 0, and
2 2
x+y x−y
z1 − y = −y = < 0.
2 2
NOTES ON RATIONAL AND REAL NUMBERS 9
Hence, x < z1 < y. Repeating the argument for x and z1 , we set z2 = (x + z1 )/2.
Then z2 is a rational number, and x < z2 < z1 . Continuing this way we obtain an
infinite decreasing sequence of rationals zn+1 = (x + zn )/2, such that x < zn < y
for all n ≥ 1. ¤
On the other hand, an analog of the Well-ordering of integers does not hold
in Q. Indeed, for a ∈ Q, let Q>a = (a, b) := {x ∈ Q : a < x < b}. Then not
every non-empty subset S of (a, b) contains the smallest element. For example,
take S = (a, c), with a < c < b. If m ∈ S were the least element of S, then, by the
density of Q (Proposition 1.5), the interval (a, m) would contain infinitely many
rationals. Each of these rationals is in S and less than m, a contradiction.
ri = rj . Then the ratios and the remainders of the divisions of 10ri and 10rj by q
will be equal, i.e., bi = bj and ri+1 = rj+1 . This, in turn, leads to bi+1 = bj+1 and
ri+2 = rj+2 , and so on. Hence, the repetition of a finite sequence of consecutive
digits in the decimal representation of p/qis inevitable. Let j be the smallest index
greater than i such that ri = rj . Then the remainders ri , ri+1 , . . . , rj−1 are all
distinct, and there are (j − 1) − i + 1 = j − i of them. The remainders are elements
of {1, 2, . . . , q − 1}. Hence, j − i ≤ q − 1. ¤
Theorem 1.6 helps to speed computation of bn for large n. Suppose we wish to
know b100005 in
554867/26000 = 21.3410(384615).
Then b100005 is one of the six digits in the repeating sequence 3, 8, 4, 6, 1, 5. As
the repeating begins with b5 = 3, we divide 100005 − 4 by 6 with remainder,
obtaining 100001 = 16666 · 6 + 5. Hence b100005 is the fifth member of the sequence
3, 8, 4, 6, 1, 5, i.e., b100005 = 1.
1.6. There is no rational number whose square is 2. This was proven by the
Pythagoreans (or maybe even by Pythagoras himself) in the 6th century BC, and
is often considered as one of those “great moments” in mathematics which strongly
affected its development.
Due to the Pythagorean Theorem for a right triangle, the length d of the diagonal
of the unit square satisfies d2 = 12 +12 = 2. Pythagorean believed that integers rule
the world, and everything could be expressed as certain relations among natural
numbers: the motion of planets, physics, geometry, music ... In particular, it is
believed that they believed (see Grattan-Guinness [8]) that the length of every
segment can be expressed as a positive integer or as a ratio of integers. So one can
imagine how shaken were they after proving that this is not the case! We wish to
present and compare several different proofs of this result. For more proofs, see
Bogomolny [4]. See also [22] and Henderson [10] for related discussions.
Proposition 1.7. There is no rational number whose square is 2.
Proof 1. This proof is, probably, the the most popular one. It assumes two facts:
• no odd integer is equal to an even integer, and
• every fraction can be written in its “lowest terms”, i.e., with having its
numerator and denominator relatively prime. (The latter follows from the
Well-ordering of integers).
Suppose the contrary, and let (m/n)2 = 2 with integers m, n being relatively prime.
Then m2 = 2n2 .
We claim that m is even. Indeed, if m were odd, then it could be written as m =
2s+1, for some integer s, and this would lead to m2 = 4s2 +4s+1 = 2(2s2 +2s)+1–
an odd number. The obtained contradiction implies that m is even. Hence, m = 2s
for some integer s. Then, (2s)2 = 2n2 , or 2s2 = n2 . Arguing as before, we obtain
that n is even. Having both m and n even, contradicts the assumption that they
are relatively prime. This ends the proof. ¤
Proof 2. This proof assumes that
• 2 is a prime number,
• every non-prime integer can be written as a product of prime numbers, and
the number of primes in this product is uniquely defined.
12 FELIX LAZEBNIK
A
C 00 B 00 0
C
B0
C B
FIGURE 1.
1.1 Prove the reflexive and symmetric properties of the relation ∼ on the set
of fractions as defined in this section.
1.2 Show that the multiplication of rationals introduced in this section is well-
defined.
1.3 Prove all properties of operations on rationals from Proposition 1.1.
1.4 Prove all properties of operations on rationals from Proposition 1.2.
1.5 Prove all properties of inequalities on rationals from Proposition 1.3.
1.6 Suppose a positive integer n is not a square of another integer. Prove that
it is also not a square of a rational number.
1.7 Show that there is no rational number r such that
(i) r5 = 96 (ii) 3r = 7
1.8 A rational solution of the equation x2 + y 2 = 1 is an ordered pairs (a, b)
with both a, b ∈ Q and a2 + b2 = 1. Find ten distinct rational solutions of
x2 + y 2 = 1.
1.9 Check that for every rational number r, the rational numbers
x = (r2 − 1)/(r2 + 1) and y = (2r)/(r2 + 1)
satisfy the equation x2 + y 2 = 1.
This proves that the equation x2 + y 2 = 1 has infinitely many rational
solutions.
∗
1.10 Prove that the equation x2 + y 2 = 3 has no rational solutions, i.e., there
are no rational numbers x and y which satisfy it. This shows that not every
rational number is a sum of squares of two rational numbers.
1.11 Check that
³ ´3 ³ 3(m2 + m) ´3 ³ −m3 + 3m + 1 ´3
9m = m − 1 + +
m2 + m + 1 m2 + m + 1
Substituting m = a/9 gives a representation of any rational a as a sum
of cubes of three rational numbers. Compare this result with the one of
Problem 1.10.
Now, of course, one wants to know how such a representation can be
found, and are there other representations. For this, see Shklarsky, Chent-
zov, Yaglom, Sussman,[20] (an elementary exposition), or Cohen [6] (for
good college students), or Manin [14] (an advanced treatment).
1.12 Can the long division algorithm produce decimal
(a) 0.111 · · · = 0.(1)?
(b) 0.131313 · · · = 0.(13)?
NOTES ON RATIONAL AND REAL NUMBERS 15
∗
(c) 0.999 . . . = 0.(9)?
Comment. One can show that if a decimal not of the form 0.b1 . . . bk (9), it
can always be obtained by applying the long division to certain integers.
1.13 Let α = p/q = a.b1 b2 . . . bn . . . .... Find b1000 if
(i) α = 0.22(345) (ii) α = 3991/990.
2. Real numbers.
2.1. Why are they needed? It is clear that for all everyday life purposes one does
not need numbers other than rationals, especially when one uses decimal fractions.
Every measurement is approximate, and finite decimals can express the result with
needed precision. They are sufficient for building chairs, houses, and even rockets.
But they are not sufficient for measuring the lengths of all segments! Well, segments
are not objects encountered in everyday life... Still it is so restrictive not be able
to say what is the length of the diagonal of a square with a unit side! An easily
perceived correspondence between real numbers and points of a straight line made
real numbers even more ‘real’, and lead first to the Coordinate method, and then to
Calculus. These two theories proved to be extremely useful, both in mathematics
and applications. That is why one needs reals.
2.2. Definition of real numbers. What is a real number? Most of the time, when
one thinks about a real number, one imagines symbols like 0.234, or −21.998167,
or 4532.12121212... which are called decimals or decimal fractions. Though
decimals were used informally in our discussion of rationals, here we need to do
it again, and at a slower pace. Decimals are infinite sequences made out of ten
digits 0, 1, 2, . . . , 9 preceded with a symbol + or −, and one symbol represented
by a period “.” . (The last period is the grammatical symbol, not mathematical!)
Usually, when terms of a sequence are arranged in a row, they are separated by
commas. We do not do it in case of decimals.
A general form of a decimal is
α = ±am am−1 . . . a1 a0 .b1 b2 . . . bn . . . , where all ai , bj ∈ {0, 1, 2, . . . , 9}.
The integers ai and bj are called the decimal digits of α. In such a repre-
sentation, if m ≥ 1, am is assumed to be non-zero. Any decimal of the form
0.00 . . . 0bN bN +1 bN +2 . . ., N ≥ 1, is called a decimal tail of α, or the N th decimal
tail of α.
To simplify appearance of decimals, several conventions are agreed upon. Usually
the + which precedes the decimal is not used: 0.2341984 . . . is just a shorthand for
+0.2341984 . . .. Usually a tail with each term equal to 0 is dropped, and we write
0.234000 . . . as 0.234. The latter is an example of a finite decimal. So every finite
decimal is a decimal with tail of all 0’s: 43.45 = 43.45000 . . .. Usually the period is
not used if it follows by a tail of all 0’s: 34.000 . . . is the same as 34, and −2.0 is
the same as −2 . Another convention, which we will motivate later (see Subsection
2.4), is that any decimal with a tail of all 9’s is assumed to be equal to a finite
decimal with the digit preceding the tail increased by 1:
0.233999 . . . = 0.234,
1.999 . . . = 2,
−1.999 . . . = −2,
−3.24999 . . . = −3.25 .
We call decimals described above real numbers and denote the set of all of them
by R. Often we refer to real numbers as to “reals”.
NOTES ON RATIONAL AND REAL NUMBERS 17
Having described the symbols we use to identify real numbers provides very little
information about them. The most important property of objects referred to as
numbers is that one can compute with them, i.e., to perform some operations, like
addition or multiplication. Also, often one wants to be able to order them, and be
able to say that one number is smaller or greater than another. For reals represented
by decimals, the latter is much easier than the former. Indeed, everyone knows how
to add or multiply two finite decimals, but how does one add two infinite decimals?
2.3. Order on decimals. Ordering reals is easy, and we all know how to do it:
23.9891 < 111.343434 . . .
23.9891 < 23.9991
23.9891 < 23.989100001
−5 < 0.000001
−5.00001 < −5, etc.
The sign < is read ‘less’. A general rule of ordering reals can be stated this way.
Decimals which begin with + (often omitted) are said to be positive, and those
which begin with −, negative. We denote the set of all positive decimals by R+ ,
and the set of all negative decimals by R− . We assume that the zero decimal
0 = 0.000 . . . is the only decimal which is neither positive nor negative. For any
negative decimal α, and any positive decimal α0 , we declare α < 0, 0 < α0 , and
α < α0 . For any two distinct positive decimals
α = am am−1 . . . a1 a0 .b1 b2 . . . bn . . .
and
β = cs cs−1 . . . c1 c0 .d1 d2 . . . dn . . . ,
we declare
α<β
if one of the following conditions is satisfied:
• m < s, or
• m = s and, proceeding from left to right in both decimals and comparing
the corresponding decimal digits one at a time, we obtain that for the first
time they are distinct, the digit of α is less than the corresponding digit of
β.
The second case, m = s, can be presented more formally in the following way.
(1) m = s, and there exists an integer k, 0 ≤ k ≤ m, such that am = cm ,
am−1 = cm−1 , ... , ak+1 = ck+1 , but ak < ck , or
(2) m = s, and ai = ci for i = 0, 1, . . . , m, and there exist an integer k ≥ 1,
such that b1 = d1 , b2 = d2 , ... , bk−1 = dk−1 , but bk < dk .
Being able to compare any two positive decimals α and β, we compare −α and −β
in the reverse way: −α < −β if and only if β < α. (This was a definition, by the
way.)
The definitions of ‘greater’(>), ‘at most’ (≤), ‘at least’ (≥), ‘non-positive’, and
‘non-negative’ are exactly the same as for the rationals. One can also easily check
that all the properties of the order on rationals listed in parts (7) - (10) of Propo-
sition 1.3 are satisfied by the just introduced order on reals.
We also have an analog of the density property of rationals:
18 FELIX LAZEBNIK
Proposition 2.1. (Density property of R) Between any two distinct reals, there
are infinitely many other reals.
Note that at this place of our discussion we cannot prove this statement in the
way we did it for rationals in Proposition 1.5, as we do not know yet how to add
reals. Nevertheless, a proof based on ordering of reals, can be easily given. The
following numerical example illustrates the idea of such a proof. A general argument
is similar, and we omit it.
Let α = 23.25983 . . . and β = 23.25984 . . .. Then α < β, as no tail of α consists
of 9’s only. The latter also implies that there are infinitely many decimal digits in
the 6-tail of α which are less than 9. Increasing any one of them by 1, and not
changing other decimal digits, we obtain infinitely many decimals which are greater
than α and less than β.
2.4. Forbidding tails of all 9’s. Forbidding tails of all 9’s, allows us to say that
if reals “look” distinct, they are distinct. Otherwise, if we considered 1.999 . . . and
2.000 . . . as distinct reals, we would not be able to find any other real between them,
and the density property will fail. When reals are matched with points of a line,
this would introduce a ‘gap’ on the latter which our intuition resists to accept. A
few other reasons will be explained later.
If a decimal is periodic, numbers N and p are not defined uniquely. For example,
12.333 . . . (all decimal digits are 3) is periodic, with N = 1, p = 1, or with N = 3
and p = 5. Decimal 12.1341341341 . . . (sequence of digits 341 repeats) is periodic,
with N = 2, p = 3, or with N = 4 and p = 6.
If α is periodic, p is called a period of α. It is clear that if p is a period of α,
then kp is also a period for all integers k ≥ 0. Indeed, for n ≥ N ,
bn+2p = b(n+p)+p = bn+p = bn ,
so 2p is a period. Similarly, for n ≥ N ,
bn+3p = b(n+2p)+p = bn+2p = bn ,
so 3p is a period, etc..
It can be shown that if a decimal is periodic, then there exists the smallest
period, and it is called the principal period. For example, if
α = 4.031313131 . . . ,
then periods have length 2, 4, 6, . . ., the value of the principal period is 2, and α is
often written as 4.0(31), or 4.0(31).
Here are some not periodic decimals:
β = 0.101001000100001000001 . . .
(runs of 0’s increase in length and are separated by 1’s; )
γ = 0.12345678910111213 . . .
NOTES ON RATIONAL AND REAL NUMBERS 19
Let us explain why β is not periodic. If it is, then there exist positive integers N
and p such that bn+p = bn for all n ≥ N . As the lengths of sequences of consecutive
0’s grow, there exists a positive integer M ≥ N such that
bM = bM +1 = . . . = bM +p−1 = 0.
Since p is a period, so are 2p, 3p, 4p, etc., then
bM = bM +1 = . . . = bM +p−1 =
bM +p = bM +1+p = . . . = bM +2p−1 =
bM +2p = bM +1+2p = . . . = bM +3p−1 = · · · = 0,
i.e. β is periodic with a tail of all 0’s. This certainly contradicts the definition of
β. Hence, it is not periodic.
The non-periodicity of γ can be shown in a similar way.
2.6. Continuity of reals. Soon we will see that reals posses all good properties of
rationals. Here we discuss a fundamental property of real numbers which rationals
do not possess, the property of continuity, which makes reals superior to rationals
when it comes to Calculus.
Let S ⊆ R. A number A ∈ R is called an upper bound of S if every element
of S is at most A:
A is an upper bound of S if ∀x ∈ S (x ≤ A).
A subset of reals which has an upper bound is called bounded from above.
For example, (−∞, 1) is bounded from above by any number greater or equal to 1.
An upper bound α of S ⊂ R is called a least upper bound of S if it is not
greater than any upper bound of S. If S ⊆ R has a least upper bound, it is, clearly,
unique, so we can speak about the least upper bound.
The least upper bound of S is often called the supremum of S, and it is denoted
sup(S). For example,
sup((−∞, 1)) = sup((−∞, 1]) = sup((0, 1)) = 1.
Similar definitions can be made of a lower bound of S, of a set bounded from
below, and of the greatest lower bound of S. The greatest lower bound of S is
often called the infimum of S, and it is denoted by inf(S).
Theorem 2.2. (Continuity of Real Numbers.) Every nonempty bounded from
above (below) subset of real numbers has the unique least upper (greatest lower)
bound in R.
Before proving the theorem, we wish to explain that it does not hold for rational
numbers, more precisely, that not every bounded from above a nonempty subset of
Q has a supremum in Q.
Proposition 2.3. Let S = {r ∈ Q : r2 < 2}. Then S is a non-empty bounded from
above in Q and has no supremum in Q.
20 FELIX LAZEBNIK
We now proceed with a proof of Theorem 2.2. Let bxc denote the integer part of
x, defined as the greatest integer less or equal x. For example, b6.23c = b6c = 6,
and b−6.23c = b−7c = −7.
Proof. Let ∅ 6= S ⊆ R.
Case 1. S contains nonnegative numbers.
Let S0 = {bxc : x ∈ S}. Then S0 is a non-empty subset of integers. As S
is bounded from above, so is S0 . By the Well-Ordering Axiom of integers, S0
contains the greatest element.6 Denote it by a. Then a ≥ 0. Consider a set S1
obtained from S by removing from it all numbers with integer part less than a:
S1 = {x ∈ S : bxc = a}. As a ∈ S1 , S1 is not empty. Each element x ∈ S1 can be
represented as a decimal x = a.x1 x2 x3 . . ., where a denote the representation of a in
base 10. Let b1 = max{x1 : x = a.x1 x2 x3 . . . ∈ S1 }. Removing from S1 all numbers
x with x1 < b1 , we obtain a nonempty subset of S2 = {x ∈ S1 : x = a.b1 x2 x3 . . .}.
Let b2 = max{x2 : x = a.b1 x2 x3 . . . ∈ S2 }. Let S3 = {x ∈ S2 : x = a.b1 b2 x3 . . .}.
Continuing this way we construct a decimal α = a.b1 b2 b3 . . . bn . . ., which is not
5All inequalities in this argument are applied to rational numbers only, and hold due to Propo-
sitions 1.3 and 1.4.
6Often the Well-Ordering Axiom is presented in the following version: every nonempty subset
X of integers bounded from below contains the least element. This is equivalent to the the
statement that every nonempty subset X of integers bounded from above contains the greatest
element. To see the equivalence, consider the set −X = {−x : x ∈ X}.
NOTES ON RATIONAL AND REAL NUMBERS 21
It seems that a logical way to finish this subsection is to show that there exists a
real number whose square is 2. This would partially justify our efforts of introducing
real numbers. Rereading our argument which preceded the proof of Theorem 2.2,
makes it clear that the supremum of S in R must have this property. The only
problem with this “clear” is that at this time we do not know yet that the laws of
operations and inequalities for reals are similar to the ones for rationals. Moreover,
we have not introduced any operations on R yet! Therefore, we have to address
this issue first.
2.7. Computations with decimals. In this section we use the fact that finite
decimal fraction can be identified with (some) rational numbers, and that usual
operations on them have the properties listed in Proposition 1.1, except the exis-
tence of multiplicative inverses for each nonzero number. (though x = 3 = 3.(0) is
a finite decimal, x−1 = 0.(3) is not.)
Let α = ±am am−1 . . . a1 a0 .b1 b2 . . . bn . . .. For each n ≥ 1, we define a finite
decimal
αn = ±am am−1 . . . a1 a0 .b1 b2 . . . bn 000000 . . .
= ±am am−1 . . . a1 a0 .b1 b2 . . . bn
Then αn is called the nth approximation of α. Let β be another decimal, and let
βn be its nth approximation. Counting with finite decimal fractions in the usual
way, we define two new sequences of finite decimals: for each integer n, n ≥ 1, let
σn := αn + βn , and ρn := αn · βn .
22 FELIX LAZEBNIK
Then, one can prove (but we do not do it here) that there exists a unique
decimal σ, and a unique decimal ρ such that, for every n ≥ 1, σn and ρn are the
nth approximations of σ and ρ, respectively. The decimals σ and ρ are called the
sum and the product of α and β, respectively, and we write σ = α + β and ρ = αβ
(or α · β). Here is an example. Let
Then
α1 + β1 = 2.3 + 5.1 = 7.4
α2 + β2 = 2.39 + 5.13 = 7.52
α3 + β3 = 2.398 + 5.137 = 7.535
α4 + β4 = 2.3987 + 5.1370 = 7.5357
α5 + β5 = 2.39874 + 5.13709 = 7.53583
α6 + β6 = ... + ... = 7.535841
α7 + β7 = ... + ... = 7.5358415
α8 + β8 = ... + ... = 7.53584155
α9 + β9 = ... + ... = 7.535841553
and
One can show that the opposite of α is the same decimal as α but with the
altered sign. It is denoted by −α. One can also show that the difference α − β,
defined as α + (−β), is positive if and only if α > β.
NOTES ON RATIONAL AND REAL NUMBERS 23
It turns out, but we omit the proofs, that the order, and the operations on reals,
in addition to all properties of Propositions 1.3, 2.1 and Theorem 2.2, also satisfy
all properties of Propositions 1.1, 1.2 and 1.4.
2.8. Where are we? In the last section we used phrases like ‘one can prove’, or
‘one can show’, or ‘it turns out ... , but we omit the proofs’. In case the reader
is getting tired of these statements, we can assure the reader, that if we decided
to present all these proofs, she or he would be even more tired ... Our goal here
is not to present a self-contained mathematically rigorous exposition of a theory
of real numbers. This is done in undergraduate courses very rarely, and rarely all
the properties are verified even in graduate courses. The main reason is that every
existing thorough exposition is long.7
Our goal in Section 2 was to review basic properties of reals, to mention some
less known ones, and to point at the difficulties with the development of the theory.
We also wanted to provide a model of real numbers. Instead of spending time on
verifying all the details related to the model, we prefer to concentrate on other
questions related to reals which we find more interesting. Let us mention them.
If some of the notions or the properties in the list below are not familiar to the
reader, keep reading and attempt solving problems. These notions and properties
will play little role in the remaining part of these notes.
7A relatively fast and rigorous way of introducing reals is defining them axiomatically, e.g., as
an ordered field with an additional Completeness axiom. Corresponding definitions and exposition
can be found, e.g., in Birkhoff and MacLane [3] or D’Angelo and West [1]. In this approach many
propositions/theorems become axioms, and other properties are derived from them. One can
easily proceed with building new theories which use reals: limits of functions, Calculus, Topology,
Geometry, etc. . The main weakness of this approach is that it does not provide any explicit
description of reals in terms of other mathematical objects known to the reader. Such a description
is often called a model. A model is necessary to ensure that the axiomatic system is consistent
in the sense that no two contradictory statements can be proven in it. The model of decimals
that we provided is, probably, the simplest. It was suggested by K. Weierstrass (1815-1897) in
the second half of the 19th century. Weierstrass never published his theory of real numbers, so
it is hard to date it. But notes of his lectures, taken at different years by several of his students,
contain it.
Among other models of reals, we wish to mention the ones constructed by G. Cantor (1871)
and by R. Dedekind (1856, 1872). For other constructions, see the article “Construction of the real
numbers” on Wikipedia.org. For each construction one has to carefully check that all axioms of
reals are satisfied. After this is done, we say that the construction is a model of reals. It is possible
to show (see, e.g., [3]) that all model of reals are essentially the same (isomorphic), which is not a
property most axiomatic system possess. The readers who knows basics of abstract algebra, can
easily see that none of the axiomatic system for groups, or for rings, or for fields has the property
that all corresponding models are isomorphic.
24 FELIX LAZEBNIK
We take for granted the following additional notions and facts about reals:
• Continuity of elementary
√ functions and related properties. These imply,
e.g., that numbers 10 1.2, sin 3, arctan 2, . . . exist.
• The set of all periodic decimals can be identified with Q, and operations
are consistent with the ones in R. In other words, we assume that the set
of all periodic decimals is isomorphic to Q, and we will write Q ⊂ R.
• Q is a countable set. R is an uncountable set.
We have seen that the long division algorithm applied to a fraction always leads
to a periodic decimal (Theorem 1.6). On the other hand, it is possible to argue
that for every periodic decimal α (no tail of all 9’s), there exist a rational number
p/q such that the long division of p by q leads to α. We do not prove this fact, but
illustrate two practical ways of doing it.
Example 1. Let α = 2.(7). Then (believe us!) 10α = 27.(7), and (believe us
again!) 10α − α = 9α = 25. Hence, α = 25/9. If one doubts the method, one can
just apply long division to 25 and 9. The answer will be 2.(7).
If the reader is familiar with infinite geometric series, then the same result can
be obtained in the following way. First we take for granted that
X∞
7 7 7 7
2.(7) = 2 + + 2 + 3 + ··· = 2 + n
.
10 10 10 n=1
10
Then, using the formula for the sum of the infinite geometric progression, we obtain:
X∞
7 7/10
2.(7) = 2 + n
=2+ = 2 + 7/9 = 25/9.
n=1
10 1 − 1/10
3 71 71 71 53 71/103 53 73 2659
5.3(71) = 5 + ++ 3 + 5 + 7 +··· = + = + = .
10 10 10 10 10 1 − 1/102 10 990 495
NOTES ON RATIONAL AND REAL NUMBERS 25
When we deal with irrational numbers, in most cases we do not have them
represented
√ as non-periodic decimals. We describe them in some other way, like
2, or log2 3, cos 1. Descriptions like these are useful if we wish to know which
decimal digit occupies, say the 1000th decimal place, since, in these cases, there are
relatively fast algorithms of computing the nth decimal digit. At the same time,
no one knows what patterns are present in their representations as decimals. For
example, no one knows whether
√ there exists a sequence of 100 consecutive 5’s in
the decimal representing 2.
The questions whether given real numbers are rational or irrational have always
occupied mathematicians. Some of them are relatively easy, others are very hard.
It is hard not to like them. Often these are asked about numbers with simple
definitions, and which often appear in mathematical reasonings: like
e, π, log2 3, cos 1,
arccos(1/3)
,
π
∞
X 1
ζ(3) := ,
i=0
n3
X∞
1
ζ(5) := 5
,
i=0
n
the Euler-Mascheroni constant
³X
n
1 ´
γ := lim − ln n .
n→∞
i=0
i
For example, no one knows whether ζ(5) or γ is irrational. More on this subject
can be found in the following books: Niven [15, 16], Schoenberg [19], Hardy and
Wright [9], Khinchin [11], and Baker [2].
In the next section we consider several relatively simple problems of this kind.
√
Example 3. Prove that if n ∈ N and n is not a square of an integer, then n is
irrational.
√
Proof.
√ As n exists, it is either rational or irrational. Suppose it is rational. Then
n = a/b, for some a, b ∈ N. Then a2 = nb2 . As n > 1 and is not a square of
an integer, the exponent of some prime divisor p of n in the prime decomposition
of n is odd. As the exponents of p in the prime factorizations of a2 and of b2 are
even, the exponent is even in √ a2 and odd in nb2 . This contradicts the uniqueness
of prime factorization. Hence n is irrational. ¤
√ √
Example 4. Prove that 2 + 3 5 is irrational.
Proof. We would like to discuss three proofs of this statement. They illustrate
different ideas.
√ √ 2
√
√ Proof 21. Suppose r = 2 + 3 5 is rational. Then r = 47 + 6 6 is rational, and
6√ = (r − 47)/6 is rational. As 6 is not a perfect square of an integer (Example
3), 6 is irrational, a contradiction. Hence, r is irrational.
√ √ √ √ √ √
√Proof √2. Let a1 = 2 + 3 5, a2 = 2 − 3 5, a3 = − 2 + 3 5, and a4 =
− 2 − 3 5. Consider the polynomial
Solution. We claim that the answer is No. As every rational number is covered,
we
√ should try to find an irrational number which is not covered. Let us prove that
2 is one of such numbers.
√
Proof. Number 2 is not in the union of all Ia/b if and only if it does not belong
to any of them. In terms of inequalities it means that for every ab ∈ (1, 2),
¯√ a ¯¯ 1
¯
¯ 2− ¯≥ ,
b 3.5b2
or, equivalently, that the inequality
1 √ a 1
− 2
< 2− <
3.5b b 3.5b2
does not hold for any rational a/b.
In order to prove this inequality, we first observe that |2b2 −a2 | ≥ 1 for all integer
a, b ≥ 1. We can assume a, b ≥ 1 as a/b > 0. This implies
√ √
|b 2 − a||b 2 + a| ≥ 1 ⇔
√ 1 a
|b 2 − a| ≥ √ ⇒ (as 1 < < 2)
|b 2 + a| b
¯√ a¯¯ 1
¯
¯ 2− ¯> 2 √ ⇒
b b ( 2 + 2)
¯√ a ¯¯ 1
¯
¯ 2− ¯> .
b 3.5b2
¤
Having proved the statement, let us now try to understand it better. Two
decimals are close to each other if their decimal expansions begin with many equal
corresponding digits. We know that any rational number a/b can be presented as
a decimal with a period no longer than |b| − 1. At the same time, an irrational
number can be thought as a decimal with an infinite period. Therefore for the
28 FELIX LAZEBNIK
numbers to be close, |b| must be large. When |b| is large, the radius of Ia/b , namely
1
3.5b2 , is small. The example √
above demonstrates that it is small enough for Ia/b
never ‘capture’ the irrational 2.
The result in Example 5 should be compared with √ the fact that there exist
infinitely many rationals a/b which still come close to 2 in the sense that
1 √ a 1
− 2 < 2 − < 2.
b b b
This is a particular case of the following beautiful theorem of Dirichlet (1842):
Theorem 2.4. (Dirichlet’s Theorem.) For any irrational number α there exist
infinitely many rational numbers a/b such that
1 a 1
− 2 < α − < 2.
b b b
In light of Example 5 and this theorem, a question one may ask is of determining
the maximum positive constant c such that the inequality
1 √ a 1
− 2 < 2− < 2
cb b cb
holds for infinitely many rationals a/b. Theorem 2.4 implies that this maximum
value
√ is at least 1, and, from Example 5 it is at most 3.5. It turns out that it is
2 2 (for details, see Waldschmidt [21]).
Now we discuss another striking result related to distribution of certain numbers
among reals. It has many surprising applications. In particular, the Dirichlet’s
Theorem 2.4 will follow from it.
We say that a set S of real numbers is dense in R if every open interval (a, b) ⊂ R
contains a number from S. It is clear that if S is dense, then every interval actually
contains infinitely many numbers from S.
Theorem 2.5. (Kronecker’s Theorem.) Prove that for any irrational number α,
the set K = {nα + m, m, n ∈ Z} is dense in R.
Proof. Note that both set Z and K is closed with respect to addition (and sub-
straction) of its elements.
We remind the reader that for any real number x, bxc denotes the integer part of
x, defined as the greatest integer which does not exceed x. The fractional part of x
is defined as x − bxc, and is denoted by {x}. For example, if x = 2.12, 5, −3, −3.1,
then bxc = 2, 5, −3, −4, and {x} = 0.12, 0, 0, 0.9, respectively. Clearly, {x} ∈ [0, 1)
for all x ∈ R.
Let us first show that K is dense in (0, 1). The proof of the theorem will easily
follow from this. For every n ∈ N, let xn = {nα}.
As all bnαc, bmαc, m − n are integers, and m 6= n, the last equality implies that
α is rational, a contradiction. Hence all xn are distinct.
Consider an interval (a, b) ⊂ [0, 1), and let b−a = ². We choose a positive integer
N such that 1/N < ², and divide [0, 1) into N subintervals of equal length:
h 1´ h1 2´ hN − 1 ´
0, , , , ..., ,1 .
N N N N
Let us explain that the results obtained in the proof above imply the Dirichlet’s
theorem. We will use the notations and ideas from our proof of the Kronecker’s
theorem. There we have explained that for any N > 1, there are integers k and
k + h, such that 1 ≤ k < k + h ≤ N + 1, and |xk+h − xk | < 1/N , which is equivalent
to |hα − (bxk+h c − bxk c)| < 1/N . Setting b = h and a = |bxk+h c − bxk c|, we can
rewrite the last inequality as |bα − a| < 1/N , or |α − a/b| < 1/(bN ). As 1 ≤ b ≤ N ,
bN ≥ b2 , and so |α − a/b| < 1/b2 for some 1 ≤ b ≤ N . Thus we proved that for
any positive integer N > 1 there exist at least one rational number a/b such that
a 1 1
|α − | < ≤ 2 and 1 ≤ b ≤ N.
b bN b
Note that the numbers a and b in this inequality can be assumed to be coprime.
Indeed, if d = gcd(a, b) > 1, and a = pd, b = qd, then
p a 1 1 1
|α − | = |α − | < ≤ 2 < 2 and 1 ≤ p < b ≤ N.
q b bN b p
Now we explain that this implies that there are infinitely many rationals a/b such
that |α − a/b| < 1/b2 .
If the found a/b corresponded to N > 1, consider an integer N 0 such that
1/N 0 < |bα − a| < 1/N . Such N 0 exists since |bα − a| > 0 due to the irrationality
8One can think of a point jumping around the circle with circumference length 1 in the same
direction, each jump having length equal δ < ². Then for any arc of this circle of length ², at least
one jump will land in it.
30 FELIX LAZEBNIK
of α. As N 0 > N , N 0 > 1, and we know that there exist coprime integers a0 , b0 such
that |b0 α − a0 | < N10 and 1 ≤ b0 ≤ N 0 . This implies that |b0 α − a0 | < |bα − a|.
If a/b = a0 /b0 , then a0 = ±a and b0 = ±b, as two fractions are in the lowest
terms. As both b and b0 are positive, a0 = a and b0 = b, a contradiction with
|b0 α − a0 | < |bα − a|. Hence a0 /b0 6= a/b, and we have shown the existence of a new
fraction a0 /b0 satisfying |α − a0 /b0 | < 1/(b0 )2 . Applying similar argument to a0 /b0 ,
we obtain a fraction a00 /b00 distinct from a0 /b0 and satisfying the inequality. It is
also distinct from a/b as it is in the lower terms and
|b00 α − a00 | < |b0 α − a0 | < |bα − a|.
Now it is clear that continuing this way we can show that there are infinitely many
distinct rationals a/b such that |α − a/b| < 1/b2 . This ends the proof of Theorem
2.4. ¤
2.12.
√ Algebraic
√ √and√transcendental
√ numbers. Some irrational numbers, like
5
3, 1 − 3, or 3 + 5 3/2 − 6 2 + 51, are solutions of polynomial equations with
integer coefficients, i.e., of the the form
an xn + an−1 xn−1 + · · · + a1 x + a0 = 0, all ai ∈ Z, an 6= 0.
For the first number a polynomial can be x5 −3 = 0, for the second — x2 −2x−8 = 0,
and for the third — it can be worked out. Numbers of this type are called real
algebraic numbers. Clearly, every rational is algebraic: m n is a root of nx + m = 0.
A real number which is not algebraic is called transcendental. The existence of
transcendental numbers is not a trivial matter, but it follows easily from the facts
that R is uncountable and the set of all algebraic numbers is countable (Cantor’s
argument, 1874). Therefore there are “much more” transcendental numbers than
algebraic ones.
Liouville was the first who proved a theorem (in 1844) which enables us to
produce examples
P∞ of transcendental numbers. By using it, one can easily show that
the number n=1 10−n! is transcendental.
It is much harder to prove that some particular well-known numbers are tran-
scendental. It is known, for example, that e, π, eπ , log2 3, arcsin(1/3) are transcen-
dental. And it is not known whether π e , 2e , e + π, ln(ln 2) are transcendental. See
[15], [2] , and [21] for much more on this subject.
NOTES ON RATIONAL AND REAL NUMBERS 31
Assume that you know what is the field of real numbers R, and its model via
decimal fractions. If you need it, you can use as known that periodic decimals
correspond precisely to the elements of Q and non-periodic decimals – to irrational
numbers. We assume that N ⊂ Z ⊂ Q ⊂ R. In most problems below, one does not
have to use the fact that reals can be represented by decimals. It is often useful
to represent a non-zero rational by a fraction m n , where m, n ∈ Z, n 6= 0, and
gcd(m, n) = 1. We call a point x = (x1 , x2 , . . . , xn ) ∈ Rn a rational point if all xi
are rational. Harder (in my opinion) problems are marked by ∗ , and even harder –
by ∗∗ .
2.1. Thinking about reals as infinite decimal fractions, prove that between any
two distinct real numbers there are infinitely many rational numbers and
infinitely many irrational numbers.
2.2. (i) Prove that the decimal .12345678910111213 . . . is not periodic.
P∞ 2
(ii) Prove that the decimal 0.1001000010 . . . = i=1 10−n is not periodic.
∗
2.3. Prove that for a periodic decimal, the principal period divides any other
period.
2.4. Suppose n and k are positive integers,
√ k ≥ 2, and let n be not the kth power
of another integer. Assuming that k n is real, prove that it is irrational.
2.5. Let a, b ∈ R and a, b > 0. What can be said (rational or irrational) about
a + b , a · b , and ab if
(i) both a and b are rationals?
(ii) a is rational and b is irrational?
(iii) a is irrational and b is rational?
(iv) both a and b are irrationals?
2.6. There is no a standard notation for the set of all irrational reals. We have
not introduce one either. Why, in your opinion, this is the case?
2.7. Is there a line in R2 passing through the origin and distinct from both x-
and y-axes such that
(i) it contains no point distinct from the origin with both integer coordi-
nates?
(ii) it contains no rational point distinct from the origin?
(iii) every point of the line distinct from the origin has exactly one rational
coordinate?
(iv) it contains no point with both coordinates irrational?
2.8. In R2 , consider the integer lattice Z2 = {(x, y) : x, y ∈ Z}. Is there an
equilateral triangle having three of the lattice as its vertices? Prove your
answer.
2.9. In R2 , consider the integer lattice Z2 = {(x, y) : x, y ∈ Z}. Is it true that
there exists a point in the plane which has different distances from all points
of Z2 ?
32 FELIX LAZEBNIK
2.10. In R2 , consider the integer lattice Z2 = {(x, y) : x, y ∈ Z}. Prove that for
every n ∈ N, there exists a circle in the plane having in its interior exactly
n lattice points.
2.11. Consider Problems 9 and 10 for n ≥ 3, i.e., for Rn and Zn .
√ √
2.12. 3 2 cannot be represented as a + b 2 with a, b ∈ Q.
2.13. Determine
√ whether the following real numbers are rational or irrational:
√
(a) √2 + √3 ; √
(b) 2 + 3 + 5 ;
(c) log10 2 ;
(d) ∗ cos 1◦ , sin 1◦ ;
(e) tan 1◦ ;
(f) ∗ π1 arccos 13 ;
(g) 1 + 21/3 + 22/3 ;
(h) 1 + 31/5 + 32/5 + 33/5 + 34/5 .
2.14. Determiner
whether the following real numbers are rational or irrational:
q p √
(a) an = 2 + 2 + 2 + . . . + 2 (n radicals), n ≥ 1.
q p q p
(b) α = 3 6 + 847/27 + 3 6 − 847/27
∗
2.15. Let 1 < p1 < p2 < . . . < pn be a sequence of primes. Is it true that
√ √ √
p1 + p2 + · · · + pn is irrational? Prove your answer.
2.16. Prove that the first√999 decimal digits after the period in the decimal rep-
resentation of (6 + 37)999 are all zeros.
2.17. Prove that if a line in R2 contains two rational points, then it contains
infinitely many rational points.
2.18. Given a circle in R2 . What is the greatest number of rational points can
be on it if its center is not a rational point?
∗
2.19. Is there a circle in R2 with exactly 51 rational points on it? What about
with exactly 56 rational points on it?
2.20. Consider the unit circle S 1 : x2 + y 2 = 1, and a point A : (−1, 0) on it.
(i) Let B be a rational point of S 1 distinct from A, and let M : (0, r) be
the intersection of line AB with the y-axis. Prove that r ∈ Q.
(ii) Let M : (0, r) where r ∈ Q, and let B be the intersection of line AM
with S 1 . Then B is a rational point of S 1 .
(iii) Parts (i) and (ii) can be combined in the following statement: there
exists a bijective correspondence between Q and the set of all rational
points of S 1 \ {A}. Prove the set of all rational points on S 1 coincides
with the following set:
n³ 1 − r2 2r ´ o
{(−1, 0)} ∪ , : r ∈ Q .
1 + r2 1 + r2
We say that the set of all rational points of S 1 \ {A} is parametrized
by Q, or that we have found a general form of rational points on S 1 .
2.21. Using the ideas described in Problem 20, parametrize the set of all rational
points of the ellipse x2 /4 + y 2 /9 = 1.
NOTES ON RATIONAL AND REAL NUMBERS 33
∗∗
2.26. Can one find an infinite subset of rational points of the unit circle
x2 + y 2 = 1 such that all distances between them are also rational?
2.27. A man walks along the x-axis towards +∞. The length of his step is an
irrational number α. Each integer point n is surrounded with a “narrow
ditch” of radius ² > 0: (n − ², n + ²). Prove that sooner or later the man
will step into the ditch.
2.28. Prove that for some n ∈ N, the decimal representation of 2n begins with
9999999999 (ten nines).
2.29. Assuming that π is irrational, prove that for some integer n 6= 0,
| sin n| < 0.000000001.
2.30. In R , consider the integer lattice Z2 = {(x, y) : x, y ∈ Z} and a line
2
2.1. Try to use an idea from Section2. Or begin by showing that there are
arbitrarily small positive rational and arbitrarily small positive irrational
numbers.
2.2. Both (i) and (ii) are similar to a problem from Section2.
2.3. Suppose p is the principal period and p0 is a period. Let p0 = qp + r, where
0 ≤ r < p. Show that if 0 < r, then r is a period.
2.4. Hint: Find a similar example in the text.
2.5. Answers:
(i) Rational; rational; either.
(ii) Irrational; irrational; either.
(iii) Irrational; irrational; either.
(iv) Either; either; either.
2.6. The set of irrational numbers is not closed under arithmetic operations,
like addition or multiplication. This makes it a much less interesting object
from the algebraic point of you when they are compared to N, Z, Q or R.
2.7. (i) Yes.
(ii) Yes.
(iii) No.
(iv) No. √
◦
2.8. No. Use that√ tan 60 = 3.
2.9. Yes, and ( 2, 1/3) is such a point. If the reader is familiar with the car-
dinalities of infinite sets, the existence also follows from the countability of
perpendicular bisectors defined by all pairs of lattice points.
2.10. Follows from Problem 9.
2.11. For n = 3, one can consider a point (log 2/ log 7, log 3/ log /7, log 5/ log 7).
Generalize. Another approach for those who are familiar with existence
of transcendental numbers: consider a point (α, α2 , . . . , αn ), where α is
transcendental.
2.12. Assume the contrary.
2.13. (a) Irrational. Can use one of several ideas for a similar problem discussed
in Section 2.
(b) Irrational. Can use one of several ideas for a similar problem discussed
in Section 2.
(c) Irrational. Use uniqueness of prime factorization.
(d) Both irrational. Show that cos nα, n ∈ N, can be represented as a
polynomial of cos α with integer coefficients. Show that sin nα, n ∈ N
and odd, can be represented as a polynomial of sin α with integer
coefficients.
(e) Irrational. The ideas in the hint to the previous problem can be used,
but there are also other ways.
(f) Let x = cos−1 (1/3). Prove that for every positive integer n,
an
cos nx = n ,
3
where an is an integer and gcd(an , 3) = 1.
(g) Irrational.
(h) Irrational.
36 FELIX LAZEBNIK
√
2.14. (a) Irrational. Hint: for n ≥ 2, an = 2 + an−1 .
(b) Rational. Hint: (a + b)3 = a3 + b3 + 3ab(a + b).
2.15. Yes. Generalize and √ use induction on√n.
2.16. First show√that (6 + 37)999 + (−6 + 37)999 is an integer. Then show that
0 < −6 + 37 < 1/10.
2.17. Consider an equation of the line.
2.18. At most two. Show that it is possible to have 0, or exactly 1, or exactly
two rational points.
2.19. For 51 points, the answer is No. If there are more than 2 rational points,
then the center is a rational point. Consider symmetries with respect to
the center.
The answer to the second question is No, and the reason is deeper. Prove
that if there are more than 2 rational points on the circle, then it contains
infinitely many of them.
2.20. (i) Consider an equation of the line.
(ii) Consider an equation of the line.
(iii) There is nothing to add. Maybe this: does the result remind you a
very useful formula from trigonometry? Expressing sin x and cos x in
terms of tan(x/2)? Can you explain the connection?
2.21. Either repeat the argument from Problem 20, or reduce the problem to
Problem 20 by a simple change of variables.
2.22. Using the ideas described in Problem 20, parametrize the set of all rational
points of the hyperbola 3x2 − 5x + 9 = y 2 . Point (0, 3) is on the curve.
2.23. First, explain that a remainder of the division of square of an integer by
3 can be only 0 or 1. Then explain that if the sum of squares of two
integers is divisible by 3 then each of them is divisible by 3. Then assume
that x2 + y 2 = 3 has a rational solution, represent it as a pair of reduced
fractions, and obtain a contradiction with the previous statement.
2.24. One can use Problem 20, for example.
2.25. Assume the contrary. Use the fact that in any triangle ABC, |AB − AC| <
BC. Then show that the set can be represented as the union of points of
intersection of finitely many hyperbolas, and that two distinct hyperbolas
can intersect in at most 4 points.
2.26. Prove that there exists α > 0 such that α/π is irrational, but both cos(α/2)
and sin(α/2) are rational. Then consider A = {(cos nα, sin nα) : n ∈ N}.
2.27. Use Theorem 2.5.
2.28. The decimal representation of 2n begins with ten nines if and only if there
exists a positive integer k such that
9999999999 · 10k < 2n ≤ 10k+10 ,
which is equivalent to
log10 (0.9999999999) < n log10 2 − (k + 10) < 0.
Now use Theorem 2.5.
2.29. First show that | sin x − sin y| ≤ |x − y| for any real x, y. Then explain that
there exist nonzero integers m, n such that |n − πm| < 10−9 .
NOTES ON RATIONAL AND REAL NUMBERS 37
2.30. We have to show that the distance from some lattice point (a, b) to the line
will be less than ². Using the formula for the distance from a point to a
line, this is equivalent to proving the existence of integers a, b such that
|ma − b| p
√ < ² ⇔ |ma − b| < ²0 , where ²0 = ² m2 + 1.
m2 + 1
2.31. Easy.
2.32. Hint: the statement is equivalent to the following: for each positive integer
N exactly one member of A ∪ B is in the interval (N, N + 1). A great
proof for the latter statement is obtained by counting how many members
of A ∪ B are less than N .
2.33. See Niven [15].
38 FELIX LAZEBNIK
References
[1] John D’Angelo and D.B. West, Mathematical Thinking: Problem-Solving and Proofs, Second
edition: Prentice Hall 2000.
[2] A. Baker, Transcendental Number Theory, Cambridge University Press, 1990.
[3] G. Birkhoff and S. MacLane, A Survey of Modern Algebra, The Macmillan Comp., New York,
1941.
[4] A. Bogomolny: http://www.cut-the-knot.org/proofs/sq− root.shtml
[5] R. Courant and H. Robins, What is Mathematics, Oxsford University Press, 1978.
[6] H. Cohen, Number Theory: Volume I: Tools and Diophantine Equations (Graduate Texts in
Mathematics) Springer 2007.
[7] T. Gowers, Mathematics: A Very Short Introduction, Oxford Univ. Press, 2002.
[8] I. Grattan-Guinness, The Rainbow of Mathematics: A History of the Mathematical Sciences,
W.W. Norton & Company, 2000.
[9] G.H. Hardy and E.M. Wright,An Introduction to the Theory of Numbers, Fifth Edition,
Clarendon Press, 1990.
[10] D. W. Henderson, http://www.math.cornell.edu/∼ dwh/papers/sulba/sulba.html
[11] A. Ya. Khinchin, Continued Fractions, Dover Publ., 1997.
[12] A.A. Leman, Collection of Moscow mathematical competitions problems, Moscow,
Prosveshchenie, 1965. In Russian.
[13] A.A. Lyapunov, Real Numbers, M athematicheskoe Prosveshchenie, v. 2, Moscow, 1957, 149–
156. In Russian.
[14] Y. I. Manin, Cubic Forms: Algebra, Geometry, Arithmetic, North-Holland, 1974; second
enlarged edition 1986.
[15] I. Niven, Numbers: Rational and Irrational, Random House, 1961.
[16] I. Niven, Irrational Numbers, MAA, 3rd printing, 1967.
[17] J J O’Connor and E F Robertson,
(1) The real numbers, Pythagoras to Stevin,
http://www-groups.dcs.st-and.ac.uk/∼ history/HistTopics/Real− numbers− 1.html
(2) Stevin to Hilbert, http://www-groups.dcs.st-and.ac.uk/∼ history/HistTopics/Real− numbers− 2.html
(3) The real numbers: Attempts to understand, http://www-groups.dcs.st-
and.ac.uk/∼ history/HistTopics/Real− numbers− 3.html
[18] H. Rademacher and O. Toeplitz, The Enjoyment of Mathematics, Princeton University Press,
1957.
[19] I.J. Schonberg, Mathematical Time Exposures, MAA, 1982.
[20] D. O. Shklarsky, N. N. Chentzov, I. M. Yaglom, Irving Sussman, The USSR Olympiad
Problem Book: Selected Problems and Theorems of Elementary Mathematics Courier Dover
Publications, 1993.
[21] M. Waldschmitdt, http://people.math.jussieu.fr/∼ miw/articles/pdf/IntroductionDiophantineMethods.pdf
[22] http://en.wikipedia.org/wiki/Square− root− of− 2
[23] Real Number, http://en.wikipedia.org/wiki/Real− number