The Real Numbers Course
The Real Numbers Course
Textbook Analysis 1
1
Chapter 1
The real numbers
2
1. Introduction Chapter 1
1.1 Introduction
Because of the evolution of the number system, we can now perform complex calculations using
several categories of real numbers. In this chapter we will provide the structure of real numbers and
perform calculations with different kinds of numbers. We call:
1. Set of natural numbers N = {1, 2, 3...} .
2. The set of whole numbers denoted by W is the set of natural numbers plus zero. Thus W =
{0, 1, 2, 3...} .
In order to make subtraction possible, i.e., to solve equations of the form x + n = m, where
n, m ∈ N , we extend the set of natural numbers to the set of all integers Z. So we have:
3. Set of integers Z = {..., −3, −2, −1, 0, 1, 2, 3...}.
Next to make division possible, i.e., to solve equations of the form nx = m, the set of rational
numbers is defined. 4. Set of rational numbers, denoted by Q the set Q = { pq , p ∈ Z, q ∈ Z, q ̸= 0}.
Then:N ⊂ Z ⊂ Q
A rational number may also appear in the form of a decimal. If a decimal number is repeating
or terminating, it can be written as a fraction, therefore, it must be a rational number.
Proposition 1.1.1 A fraction, pq , in reduced form where p and q are whole numbers with no common
factors, will have a terminating decimal representation if and only if q has no prime factors except 2
and 5.
Example 1.1.3
3 3
= 2 = 0.15
20 2 .5
3
1. Introduction Chapter 1
Proposition 1.1.2 A number is rational if and only if it admits repeating or terminating decimal
representation.
√
Problem: let’s try to solve in Q the equation x2 = 2. i.e prove that 2 is irrational. Suppose
p
by contradiction that there exists x ∈ Q such that x2 = 2. We may write x = q
where p, q are the
integers i.e., p, q ∈ Z and co-primes, i.e., GCD(p, q) = 1 Now, since x = 2, then p2 = 2q 2 , and thus
2
p2 is an even number. This implies that p is also even. Since p is even, we may write p = 2k for
some k ∈ N and therefore (2k)2 = 2q 2 , from which it follows that q 2 = 2k. Hence, q 2 is even and
thus q is also even. Thus, both p and q are even, which contradicts the fact that p and q are relatively
4
2. operations in R Chapter 1
prime.
√
So, 2 is not a rational number. Therefore, the root of 2 is irrational.
However, this x of x2 = 2 is a real number that we can draw: it is the length of the diagonal of a
square with side 1! Q is missing something and that something is the set of real numbers.
The set of real numbers is made by combining the set of rational numbers and the set of irrational
numbers. The real numbers include natural numbers or counting numbers, whole numbers, integers,
rational numbers (fractions and repeating or terminating decimals), and irrational numbers. The set
of real numbers is all the numbers that have a location on the number line. The positive real numbers
correspond to points to the right of the origin, and the negative real numbers correspond to points to
the left of the origin. The set of all real numbers is denoted by the symbol R.
Remark 1.1.1 We can defined the real numbers as the limits of sequences of rational numbers.
√ √
For example: Let x, y ∈ R such that x = 2, y = 3
let’s put an and bn two sequences of rational numbers such that an → x and bn → y
14 141
a1 = 10
, a2 = 100
, a3 = 1414
103
, a4 = 14142
104
...
17 173 1732 17320
b1 = 10
,
b2 = 100
, b3 = 103 , b4 = 104 ...
√ √ √ √ √ √
Then an → 2, bn → 3, an + bn → 2 + 3 and an .bn → 2 3
1.2 operations in R
Real numbers are combined by two fundamental operations, namely, addition (+) and multiplication
(or). The addition operation satisfies the following axioms:
5
3. Algebraic Identities Chapter 1
In view of the above axioms the set of real numbers R is called a commutative field.
Pn
(a+b)n = k=0 Cnk an−k bk where the Cnk are the binomial coefficients obtained in Pascal’s triangle.
Note that every entry can be obtained by taking the sum of the two numbers diagonally above it, e.g.
15 = 5 + 10. !
n
The binomial coefficients are usually written .The notation can be referred to as ”n choose k”
k
which is the number of different combinations of ordering k objects out of a total of n objects. Thus
6
4. The absolute value of a Real Number Chapter 1
!
n n!
= k!(n−k)!
k
where ”!” means factorial. ! ! !
n+1 n n
So Pascal’s triangle allows us to see easily that = +
k k k−1
7
4. The absolute value of a Real Number Chapter 1
√ √ √
As an example, since −5 < 0, we have | − 5| = −(−5) = 5; analogously, | − 3| = −(− 3) = 3.
For any real number x, the number |x| can be viewed as the distance, on the real line, from x to
the point 0.
The next theorem identifies the basic properties of the absolute value of a real number.
Proof
Items 1)-6) follow directly from Definition 1.4.1. We shall now prove 7) as follows: Since |x + y|2 =
(x + y)2 by 2), we conclude from 1), 2), and 4) that
|x + y|2 = x2 + 2xy + y 2 ≤ x2 + |2xy| + y 2 = |x|2 + 2|x||y| + |y|2 = (|x| + |y|)2 .
Thus, |x + y|2 ≤ (|x| + |y|)2 .
8
4. The absolute value of a Real Number Chapter 1
|x − a| = b
; where a and b are given real numbers. Since |x − a| ≥ 0, such an equation does not admit roots
when b < 0. On the other hand, when b ≥ 0, it follows from the definition of absolute value that one
must have either x − a = b or x − a = −b, from where we get the roots
x = a − b or x = a + b
The coming example shows how to solve a more elaborate equation in a single variable, involving
the concept of absolute value of a real number.
(
x+1 if x ≥ −1
|x + 1| =
−x − 1 if x < −1
(
x−2 if x≥2
|x − 2| =
−x + 2 if x<2
and
(
x−5 if x≥5
|x − 5| =
−x + 5 if x<5
Now, the conjunction of the conditions x < −1 or x ≥ −1, x < 2 or x2, x < 5 or x ≥ 5 partitions
the real line into the intervals ] − ∞, −1[, [−1, 2], [2, 5[ and [5, +∞[. Hence, in order to simplify the
9
5. The integer part of a real number Chapter 1
Note: If [x] = n, where n is an integer, then n ≤ x < n + 1. Therefore, x belongs to the interval
[n, n + 1[.
10
6. The Order Relation Chapter 1
Example 1.5.1 - [2.3] = 2, we look for the largest integer less than or equal to 2.3. Note that
2 ≤ 2.3 < 3.
- [2.3] = 3, we look for the largest integer less than or equal to 2.3. Note that 3 ≤ 2.3 < 2. - [45] = 45,
we look for the largest integer less than or equal to 45. Note that 45 ≤ 45 < 46.
Proof
4) Let x ∈ R and k ∈ Z
We have [x] ≤ x < [x] + 1
then [x] + k ≤ x + k < [x] + 1 + k and [x] + k ∈ Z
hence by definition [x + k] = [x] + k
11
7. Upper Bound, lower Bound, supremum, infimum, maximum element and minimum element
Chapter 1
a) dichotomy law: For each pair of real numbers a and b, exactly one of the following is true:
a ≤ b or b ≤ a
2
Figure 1.1: The set n
: n ∈ N plotted on the real line.
We present a few more examples. 1. Let a, b ∈ R be such that a < b. Then b is an upper
bound and a is a lower bound for each of the sets ]a, b[)], [a, b[, [a, b]. 2.Z+ and Q+ are not bounded
x
above. 3. 2 is a lower bound for the setsZ+ and Q+ . 4. The set x+1 : x ∈ Q+ is bounded, because
12
7. Upper Bound, lower Bound, supremum, infimum, maximum element and minimum element
Chapter 1
x
0< x+1
< 1for all x ∈ Q+ . 5. The set {∈ R : x < 0} is bounded above, but it is not bounded.
The following result is often applied to show that a set of real numbers is bounded.
Let S ⊆ R be nonempty. The equation β = sup(S) means that the following two items hold: (a) β is
an upper bound for S and (b) β is the smallest upper bound for S. Similarly, the equation α = inf (S)
means that (a) α is a lower bound for S and (b) α is the largest lower bound for S. The next remark
repeats and clarifies these observations.
Remark 1.7.1 Let S ⊆ R be nonempty and let α, β ∈ R. Then we have the following (see Figure
1.1): 1. β = sup(S), if and only if the following two conditions hold: (a) For all x ∈ S,x ≤ β. (b)
For all real numbers b, if b is an upper bound for S, then ≤ b. 2. α = inf (S), if and only if the
following two conditions hold: (a) For all x ∈ S, ≤ x. (b) For all real numbers a, if a is a lower
bound for S, then aleqα.
Before we continue, we need to distinguish between the notions of a maximum element and the
supremum. Let S be an infinite set of real numbers. Suppose that there exists an m ∈ S such
thatx ≤ m for all x ∈ S. Thus,m is a maximum element of S. Also observe that m = sup(S).
It turns out that S has a maximum element if and only if sup(S)S. Thus, if sup(S) ∈
/ S, then S
does not have a maximum element. A similar observation can be made concerning the minimum and
infimum of S.
Example 1.7.3 Let S = [2, 5]. Because sup(S) = 5 and 5 ∈ S, we observe that max(S) = 5. Since
inf (S) = 2 and 2 ∈ S, we see that min(S) = 2.
13
8. Equations and inequations Chapter 1
1.7.1 Proprieties
Let A and B be two nonempty and bounded parts of R.
1. If −A = {−x, x ∈ A} then:
(
sup(−A) = −inf (A).
inf (−A) = −sup(A).
2. If A + B = {x + y, x ∈ A, y ∈ B} then:
3. (
inf (A) ≥ inf (B)
(A ⊂ B) ⇒
sup(A) ≤ sup(B)
sup(A ∪ B) = max {sup(A), sup(B)}
Proof
14