Construction of Number Systems
Construction of Number Systems
N. MOHAN KUMAR
1. Peanos Axioms and Natural Numbers
We start with the axioms of Peano.
Peanos Axioms. N is a set with the following properties.
(1) N has a distinguished element which we call 1.
(2) There exists a distinguished set map : N N.
(3) is one-to-one (injective).
(4) There does not exist an element n N such that (n) = 1. (So,
in particular is not surjective).
(5) (Principle of Induction) Let S N such that a) 1 S and b)
if n S, then (n) S. Then S = N.
We call such a set N to be the set of natural numbers and elements
of this set to be natural numbers.
Lemma 1.1. If n N and n = 1, then there exists m N such that
(m) = n.
Proof. Consider the subset S of N dened as,
S = {n N | n = 1 or n = (m), for some m N}.
By denition, 1 S. If n S, clearly (n) S, again by denition
of S. Thus by the Principle of Induction, we see that S = N. This
proves the lemma.
We dene the operation of addition (denoted by +) by the following
two recursive rules.
(1) For all n N, n + 1 = (n).
(2) For any n, m N, n + (m) = (n + m).
Notice that by lemma 1.1, any natural number is either 1 or of the
form (m) for some m N and thus the dention of addition above
does dene it for any two natural numbers n, m.
Similarly we dene multiplication on N (denoted by , or sometimes
by just writing letters adjacent to each other, as usual) by the following
two recursive rules.
(1) For all n N, n 1 = n.
1
2 N. MOHAN KUMAR
(2) For any n, m N, n (m) = n m + n.
Agian, lemma 1.1 assures that this denes multiplication of any two
natural numbers. To get a feel for how we identify this set N as our
usual number system, let me prove some of the properties we are fa-
miliar with. Remember, we may use only the axioms, denitions and
whatever we have proved before to prove the successive statements.
This principle should be rigidly adhered to follow our rules of logic.
Lemma 1.2 (Associativity). If x, y, z N, then x+(y+z) = (x+y)+z.
Proof. As before let us dene a subset of N as follows.
S = {z N | x, y N, x + (y + z) = (x + y) + z}
To prove the lemma, we must show that S = N and again we plan to
use the Principle of Induction. To apply the Principle, we must check
two things and we will check them below.
Step 1: 1 S.
For any x, y N, we have,
x + (y + 1) = x + (y) (by denition of addition)
= (x + y) (by denition of addition)
= (x + y) + 1 (by denition of addition)
Thus we get 1 S.
Step 2: If z S, then (z) S.
For any x, y N, we have
x + (y + (z)) = x + (y + z) (by denition of addition)
= (x + (y + z)) (by denition of addition)
= ((x + y) + z) (since z S)
= (x + y) + (z) (by denition of addition)
This proves the lemma.
Lemma 1.3 (commutativity of addition). For any x, y N, x + y =
y + x.
Proof. As always we start with a subset S of N.
S = {y N | x N, x + y = y + x}
To use induction, we need to check two things. Of course, if we show
S = N, we would have proved the lemma.
Step 1: 1 S.
For this we dene a new subset T of N as follows.
T = {x N | x + 1 = 1 + x}
We apply induction to this set T.
CONSTRUCTION OF NUMBER SYSTEMS 3
Step a): Clearly 1 T, since 1 + 1 = 1 + 1.
Step b): Assume x T. Then
1 + (x) = (1 + x) (by denition of addition)
= (x + 1) (since x T)
= ((x)) (by denition of addition)
= (x) + 1 (by denition of addition)
Thus we see that T = N. Going back, we see that this implies 1 S.
Step 2: If y S, then (y) S.
Let x N.
x + (y) = x + (y + 1) (by denition of addition)
= (x + y) + 1 (by associativity, proved before)
= (y + x) + 1 (since y S)
= 1 + (y + x) (since 1 S)
= (1 + y) + x (by associativity)
= (y + 1) + x (since 1 S)
= (y) + x (by denition of addition)
Some of you may be more familiar with the following form of induc-
tion, though all the three are equivalent.
Theorem 1.2 (Second alternate form of Induction). Let P(n) be math-
ematical statements for n N. Assume
(1) P(1) is true.
(2) If P(n) is true, then P(n + 1) is true.
Then P(n) is true for all n N.
Proof. Dene a set S = {n N|P(n) is false}. We wish to show that
S = . If non-empty, by the previous form of induction,Theorem 1.1,
we have a least element m S. By the rst hypothesis of the theorem,
m = 1. Then m = p + 1 for some p N. Since p < m and m being
the least elelement of S, we know that p S and thus P(p) is true by
denition of the set S. Now, by our second hypothesis, P(p+1) = P(m)
is true and hence m S, a contradiction, proving the result.
Theorem 1.3 (Third alternate form of Induction). Let P(n) be math-
ematical statements fos n N. Asuume,
(1) P(1) is true.
(2) If n > 1 and P(k) is true for all k < n, then P(n) is true.
8 N. MOHAN KUMAR
Then P(n) is true for all n.
Proof. As before, let S = {n N|P(n) is false} and we wish to show
that S = . So assume that it is non-empty and let m S be the
least element assured by Theroem 1.1. Again, as before, by the rst
hypothesis, 1 S and thus m > 1. By minimality of m, if k < m, then
k S and hence P(k) is true. Thus by second hypothesis P(m) is true
and thus m S, which is a contradiction, proving the theorem.
We will use these forms in the next section on Number Theory to
prove results familiar to you. We state some more properties of natural
numbers, which can be proved using the above ordering properties of
N.
(1) (cancellative law for multiplication) For any x, y, z N, if xz =
yz then x = y.
(2) (uniqueness of identity) For some x, y N, if xy = x, then
y = 1.
At this point, we will use our usual nomenclature for natural
number. We already have called a special number 1 and then
we call 2 = 1 + 1, 3 = 2 + 1 etc. in the usual fashion.
2. Integers
We will briey desribe the construction of integers and rational num-
bers below and state various properties in the correct order and prove
just a few to give a avour.
Consider the set S = N N and put a relation on it as follows:
(a, b) (c, d) if and only if a + d = b + c. (As usual, we denote a
typical element in S by an ordered pair of natural numbers)
Check that this is an equivalence relation on S. Let Z be the set of
equivalence classes under this relation. Dene an operation (addition)
on Z as follows: If A, B Z, then recall that A, B are non-empty
subsets of S and thus we may pick elements (a, b) A and (c, d)
B. With our notation for equivalence classes, this means A = [(a, b)]
for example. Dene an operation tentatively denoted by , to avoid
confusion, as follows:
A B = [(a + c, b + d)]
There is a priori a problem with this denition. To make sure that
the operation is well-dened (a term we will see several times in the
sequel), we must make sure that the right hand side above has only
value. This operation is supposed to be a function from Z Z Z,
given two integers, we must get a well-dened integer as its sum. But,
let us look at our denition. Here we picked some (a, b) A and
CONSTRUCTION OF NUMBER SYSTEMS 9
(c, d) B and declared that A B = [(a + c, b + d)]. We could have
easily picked another (a
, b
) A and (c
, d
+c
, b
+d
+ c
, b
+ d
)].
For once let us check this.
Lemma 2.1. The addition dened above is well-dened.
Proof. As discussed, we must check that if A = [(a, b)] = [(a
)] and
B = [(c, d)] = [(c
, d
+
c
, b
+d
, b
)
and (c, d) (c
, d
+c
, b
+d
).
Again looking at our relation, we get that a + b
= a
+ b and c + d
=
c
+c+d
= a
+b+c
+ c
, b
+ d
).
(Intuitively, the element [(a, b)] should be thought of as a b in
our familiar settings though we are yet dene subtraction.) Dene
multiplication tentatively denoted by as follows:
A B = [(ac + bd, ad + bc)]
and as before make sure that this is well-dened. Now proofs of all
the familiar properties of addition and multiplication of integers can
be carried out, by using the denitions and corresponding properties
of natural numbers.
(1) Associativity of addition.
(2) Commutativity of addition.
(3) Cancellative property of addition.
(4) For any two natural number a, b N, (a, a) (b, b) and thus
[(a, a)] = [(b, b)] whic we denote by the symbol 0. Then for any
A Z, A 0 = A = 0 A.
(5) Additive inverse: If A = [(a, b)], then we denote by A =
[(b, a)], the additive inverse of A. Then A (A) = 0.
(6) If AB = 0 then B = A and in particular the additive inverse
is unique.
(7) Distributivity.
(8) Associative law for multiplication.
(9) Commutative law for multiplication.
(10) For any a, b N, ((a), a) ((b), b) and thus we denote the
equivalence class [((a), a)] for any a N, by the symbol 1.
Then for any A Z, A 1 = A = 1 A.
10 N. MOHAN KUMAR
(11) Cancellative law for multiplication: If A, B, C Z and AC =
B C with C = 0, then A = B.
(12) Uniqueness of identitiy: If A B = A and A = 0, then B = 1.
(13) A 0 = 0 for all A Z.
(14) If A B = 0, then either A = 0 or B = 0.
(15) For any a, b, k N, (a+k, a) (b +k, b) and thus [(a+k, a)] =
[(b + k, b)]. So dene a map f : N Z by f(k) = [(a + k, a)]
for some a N. Then f is one-one and f(a + b) = f(a) f(b)
and f(ab) = f(a) f(b).
The last property ensures that N Z via f and the addition and
multiplication are respected by f. Thus we may now drop , and
write just +, .
As before we dene an ordering on Z by saying that A < B if A =
[(a, b)] and B = [(c, d)], then a +d < b +c. Make sure that this is well
dened and we dene A B if either A = B or A < B. Also show
that if a, b N, then a < b if and only if f(a) < f(b) and thus the
ordering is also respected by f. We say that A Z is positive if 0 < A
and non-negative if 0 A. If A < 0, we say that A is negative. As
usual, we write A > B to mean B < A etc.
Lemma 2.2. Let A = [(a, b)]. Then A is positive if and only if b < a.
Proof. If 0 < A, then since 0 = [(a, a)], we see that a + b < a + a by
denition of the ordering. Using the denition of ordering in N and
cancellation, the result follows. Converse is equally easy.
Lemma 2.3. A is positive if and only if A = f(k) for some natural
number k.
Proof. Let A = [(a, b)]. First assume that it is positive. Then b < a
from the previous lemma and thus a = b + k for some natural number
k and thus A = [(b + k, b)] = f(k). Converse is equally easy.
Lemma 2.4. A Z is positive if and only if A is negative.
Proof. Left as an exercise.
Lemma 2.5. If a, b, c N with a < b then ac < bc.
Proof. If a < b, then b = a + k for some natural number k. Thus
bc = ac + kc. Since kc N, by denition, ac < bc.
Corollary 2.1. If a < b for a, b N, then a
2
= a a < b
2
= b b.
Proof. From the previous lemma, since a < b, we get a
2
< ab. Applying
the lemma again, we get ab < b
2
. Putting them together, we get
a
2
< b
2
.
CONSTRUCTION OF NUMBER SYSTEMS 11
Lemma 2.6. Let a, b N and 1 < a. Then there exists a natural
number N such that for all n N, b < a
n
. (Recall, a
n
is just a
convenient way of writing the product of a, n times).
Proof. Consider the set
S = {b N | there exisits N such that n with n N, b < a
n
}
Then 1 S. For this take N = 1 and apply the previous lemma as
follows. Let
T = {n N|1 < a
n
}.
Then 1 T since 1 < a. If n T, then we have, 1 < a
n
. Multiplying
by a, from the previous lemma, we have a < a
n+1
. Putting these
together, we have 1 < a
n+1
and thus n + 1 T and thus by induction
we see that T = N, proving 1 S.
Assume that b S. So, there exists N such that b < a
n
for all
n N. I claim that for (b), we can take instead of N, N + 1. Let
n N + 1. Since n = 1, we may write n = m + 1 and m N.
Thus by induction hypothesis, b < a
m
and thus by the lemma above,
ab < a
n
. Since 1 < a, we can write a = k + 1. Thus ab = bk + b So,
ab = bk + b b + 1. Thus we get b + 1 < a
n
. So b + 1 S and we are
done by induction.
Let us denote by N
d + r
with 0
r, r
< d, we get (q q
)d = r
r. If q = q
, proving uniqueness. If q = q
)d| = |r r
|. But since 0 r, r
22 N. MOHAN KUMAR
Now, as usual, I will leave it to you to check that this denition of
addition and multiplication are well dened. (Please try to check this
it is a good exercise). I will check that addition is well dened below,
just for illustration.
Lemma 5.3. Addition of real numbers as dened above is well dened.
Proof. Our denition was if A = [{x
n
}] and B = [{y
n
}], two real
numbers, then AB = [{x
n
+y
n
}] and we have checked in the previous
lemma that {x
n
+y
n
} is a CS. If A = [{t
n
}] and B = [{u
n
}], then AB
is dened as [{t
n
+u
n
}]. So, we must check that [{x
n
+y
n
}] = [{t
n
+u
n
}].
That is {x
n
+y
n
} {t
n
+u
n
}. So, we must check that given > 0 there
exists an N N such that for all n, m N, |x
n
+ y
n
t
m
u
m
| < .
Since [{x
n
}] = [{t
n
}], by our denition {x
n
} {t
n
} and hence we
can nd an N
1
N so that for all n, m N
1
, |x
n
t
m
| < /2. Similarly
we can nd an N
2
N so that for all n, m N
2
, |y
n
u
m
| < /2. Let
N = max{N
1
, N
2
} and then for any n, m N,
|x
n
+ y
n
t
m
u
m
| |x
n
t
m
| +|y
n
u
m
| <
2
+
2
= ,
the middle inequlity being the triangle inequality. This proves what
we set out to prove.
We also have a map f : Q R, sending a Q to the equivalence
class of the CS, x
n
= a for all n (That this is indeed a CS was checked
in Exercise 6). The function f is one-one and thus we can identify Q
as a subset of R, f(a + b) = f(a) f(b) and f(ab) = f(a) f(b).
Thus now, we may drop our complicated notation and write the usual
symbols for addition and multiplication. Also, we can check all the
standard properties of this operation. We also dene an ordering on R
as follows. If {x
n
} and {y
n
} are CS, and A = [{x
n
}] and B = [{y
n
}],
then A < B, if there exists an > 0, rational number and an N N
such that for all n, m N, y
m
x
n
> . Again make sure that this
is well dened. If we dene A B as usual, by saying that A < B or
A = B, then one can easily check the following. A = {x
n
} B = {y
n
}
if and only if for any positive rational number , there exists an N such
that for all n, m N, y
n
x
m
> .
Exercise 7. Show that if {x
n
} is CS of rational numbers and {y
n
} is
a subsequence of {x
n
} (which I have noted also must be a CS), then
show that {x
n
} {y
n
}.
5.3. Supremum and Inmum. Now we have all the machinery re-
quired to prove the following important properties of the real numbers.
The proofs, while elementary, are fairly subtle. You may try it for fun.
CONSTRUCTION OF NUMBER SYSTEMS 23
If you do not succed, do not be discouraged. Again, as a warm up
exercise, let us prove an easy lemma.
Lemma 5.4. If A < B are two real numbers, there is a rational number
q, such that A < q < B. Remember that a rational number q as an
element of R is just the equivalence class of the Cauchy sequence with
all terms equal to q.
Proof. Write A = [{x
n
}] and B = [{y
n
}]. Then by denition, A < B
means, there exists a positive rational number and an N
1
N such
that for all n, m N
1
, y
n
x
m
> . Since {x
n
} is a CS, there exists an
N
2
so that for all n, m N
2
, we have |x
n
x
m
| < /2. Similarly, there
exists N
3
N so that for all n, m N
3
, |y
n
y
m
| < /2. If we choose
N = max{N
1
, N
2
, N
3
}, then for all n, m N, all the above three
inequlaities hold. Now, let q = (x
N
+ y
N
)/2. I claim, this rational
number is between A and B. We will show that q < B, and the
inequality A < q will be similar.
For n N, we should compute y
n
q.
y
n
q = y
n
x
N
+ y
N
2
=
y
n
x
N
2
+
y
n
y
N
2
Since n, N N N
1
, we have y
n
x
N
> . On the other hand, since
n, N N N
3
, we have |y
n
y
N
| < /2. This implies by lemma 2.7,
y
n
y
N
> /2. Substituting these in the above, we get,
y
n
q >
2
4
=
4
This shows that q < B. Similarly one shows that A < q.
Denition 7. Let S R and a R. Then a is called a lower bound for
S if a s for all s S. Similarly an element b R is called an upper
bound for S if s b for all s S.
Now, we prove the most important property of real numbers, from
which all the other subtle properties can be deduced. The proof is long
and so take your time mulling over the steps.
Theorem 5.1. Let S R be a non-empty subset and assume that it
has a lower bound M. Then there exists a real number (called the
inmum of S) such that for any s S, s and if x R is such that
s x for all s S, then x.
Proof. First, notice that we may assume the M that we have can be
assumed to be rational, by choosing a smaller number by the previous
24 N. MOHAN KUMAR
lemma. Our aim is to construct as in the theorem and by now we
should have the feeling that in general it is going to be a real number,
but not a rational number. Thus to get there, we must construct an
approriate Cauchy sequence, which will be a real number using our
relation. Let us during the proof, call a number a R a lower bound
for S if a s for all s S. So M is a lower bound. Now pick any
s S. (This is where we use the fact that S is not empty). Again, easy
to see that we can pick a rational number N > s. Let q = N M Q.
Call M
1
= M. Consider the rational number M + (q/2). Then there
are two possibilities. Either this number is a lower bound for S or not.
If it is, call M
2
= M +(q/2). If it is not call M
2
= M
1
. Let us see what
we have.
By choice, M
2
is still a lower bound for S, M
1
M
2
, M
2
M
1
q/2
and there exists an s S such that s M
2
< q/2.
Now we repeat the process. That is consider M
2
+(q/4). Then again
there are two possibilities. Either it is a lower bound for S or not. If
it is call M
3
= M
2
+(q/4) or else call M
3
= M
2
. Again notice that M
3
is a lower bound for S, M
2
M
3
, M
3
M
2
q/4 and there exists an
s S with s M
3
< q/4. We continue this process by replacing q/4
with q/8, q/16 etc. to get a sequence {M
n
}.
Next we check that this is indeed a Cauchy sequence and = [{M
n
}]
is an inmum for S. Let us repeat the basic properties of this sequence
of rational numbers.
M
n
is a lower bound for S n N
M
1
M
2
M
n
M
n+1
M
n+1
M
n
q
2
n
n N (2)
s
n
S such that s
n
M
n
<
q
2
n1
, n N
If one wants to be very precise, this is how the above should be
phrased. We would like to construct recursively M
n
for n N satisfy-
ing the above properties. We are given a lower bound M which we call
M
1
. Since S = , pick an element s S and let N be a rational number
such that N > s. Let q = N M a positive rational number. Then we
construct M
2
as described above, satisfying the properties in equation
2 for n = 1, 2. So assume that we have constructed M
1
, M
2
, . . . , M
n
satisfying the above properties. We wish to construct an M
n+1
satis-
fying the above. So, we consider M
n
+
q
2
n
. If this number is a lower
bound for S, we call this M
n+1
. Otherwise we let M
n+1
to be the same
as M
n
. So, by choice, we still have M
n+1
a lower bound for S and we
CONSTRUCTION OF NUMBER SYSTEMS 25
also have M
n
M
n+1
. Since M
n+1
M
n
= 0 or q/2
n
, we also have
M
n+1
M
n
q/2
n
. So, we only need to verify the last requirement.
For this again we look at the two cases when M
n+1
= M
n
+
q
2
n
or
M
n
. In the rst case, we take s
n+1
= s
n
. Then
s
n+1
M
n+1
= s
n
M
n
q
2
n
<
q
2
n1
q
2
n
=
q
2
n
,
which is what we want. In the case, M
n+1
= M
n
, we know that M
n
+
q
2
n
is not a lower bound for S and thus there exists an s
n+1
S such that
s
n+1
< M
n
+
q
2
n
. Since M
n
is a lower bound, we have,
M
n
s
n+1
< M
n
+
q
2
n
.
Subtracting M
n
, we get s
n+1
M
n
<
q
2
n
, which is what we want. Thus
recursively we can dene the sequence M
n
, satisfying the properties
stated above.
If n m, we have,
|M
n
M
m
| = M
n
M
m
= (M
n
M
n1
) + (M
n1
M
n2
) + + (M
m+1
M
m
)
q
2
n1
+
q
2
n2
+ +
q
2
m
(3)
=
q
2
m
1 +
1
2
+ +
1
2
nm2
+
1
2
nm1
<
q
2
m
2 =
q
2
m1
Given > 0, choose an N N so that q/2
N1
< . This can be done
by lemma 2.6. If n m N, by equation 3, we get,
|M
n
M
m
| <
q
2
m1
q
2
N1
< .
This proves that {M
n
} is a Cauchy sequence and so = [{M
n
}] is a
real number.
Next, we check that is a lower bound for S. For this, let s S.
and let > 0 be given. Then we may choose an N
1
N so that
q/2
N
1
1
< /2 as before. Since M
N
1
is lower bound for S, we have
M
N
1
s. If we write s = [{u
n
}] for a Cauchy sequence {u
n
}, there
exists an N
2
N so that for all n N
2
, u
n
M
N
1
> /2, by
denition of inequality discussed earlier. Now, let N = max{N
1
, N
2
}.
If n, m N, we get, using equation 3,
u
n
M
m
= u
n
M
N
1
+ M
N
1
M
m
>
2
q
2
N
1
1
> .
26 N. MOHAN KUMAR
This proves that s.
Finally we check that is an inmum for S. So, let x be a lower
bound for S. We must show that x . We prove this by contradiction.
If this is not true, then x > and let us write x = [{x
n
}] as usual. So,
there exists an > 0 and N
1
N so that for all n, m N
1
,
x
n
M
m
> . (4)
Choose as before an N
2
so that q/2
N
2
1
< /3. Then by equation 2, we
have an s S so that s M
N
2
< q/2
N
2
1
, /3. Writing this s = [{u
n
}],
there exists an N
3
N so that for all n N
3
, u
n
M
N
2
/3 < /3.
We rewrite this as,
M
N
2
u
n
>
2
3
(5)
Now, let N = max{N
1
, N
2
, N
3
}. Then for all n, m N, we have, using
equations 2, 4 and 5,
x
n
u
m
= (x
n
M
N
) + (M
N
M
N
2
) + (M
N
2
u
m
)
> + 0
2
3
=
3
.
Thus by denition, we get that x > s. This is a contradiction, since x
was a lower bound and hence x s for all s S.
N
x
l
<
N
+ (8)
Notice that since x
l
S
N
, l > N. Putting these three equations
together, we get, for n N,
|x x
n
| = |x
N
+
N
x
l
+ x
l
x
n
|
|x
N
| +|
N
x
l
| +|x
l
x
n
|
< + + =
Now, we only need to prove that this x is unique. I leave it as an
exercise.
Denition 10. If {x
n
} is a Cauchy sequence of real numbers and x is
the unique real number we found in the above theorem, we call x the
limit of the sequence {x
n
} and write x = limx
n
. For a set S, if it has
an inmum, we denote it by inf S and similarly, if it has a supremum
denote it by sup S.
Exercise 8. (1) Let x
1
x
2
x
3
be a sequence (of real
numbers) which is bounded above. Show that {x
n
} is a CS and
limx
n
= sup{x
1
, x
2
, x
3
, . . .}.
(2) Let {x
n
} be a CS and assume that m is a lower bound for the set
{x
n
} and M an upper bound. Then show that m limx
n
M.
Theorem 5.4. Let S be an innite bounded set. That is, S is innite
and there exists an M > 0 such that for all s S, |s| M. Then
there exists an x R such that, for any > 0, there are innitely
many elements s S such that |x s| < .
The proof is on similar lines as above and I will not prove it.
By now, it should be clear to you, that while the arguments are not
dicult, they can be rather tedious. These arguments repeat them-
selves in several guises.
CONSTRUCTION OF NUMBER SYSTEMS 29
6. Continuous functions
In this section we study continuous functions from R to R. You
should do these for functions dened in an open interval, but I will not
go into it in any detail since it is mostly routine. We start with the
denition of a continuous function at a point x R.
Denition 11. A function f : R R is called continuous at a point
x R if for any CS, {x
n
}, with limx
n
= x, the sequence {f(x
n
)}
is a CS. A function is continuous on R (or any open interval) if it is
continuous at every point of R (respectively, at every point of the open
interval).
As usual, we will write [a, b] for a < b, the closed interval, which is
the set of all x R such that a x b. Similarly, open and half-closed
intervals can be dened.
Before we give the usual examples of continuous functions, let me
prove some easy lemmas.
Lemma 6.1. If f, g are continuous functions on R, so is f +g and fg,
where (f + g)(x) = f(x) + g(x) and (fg)(x) = f(x)g(x) for all x R.
Proof is just an application of lemma 5.2.
Lemma 6.2. If f is continuous at x and {x
n
} is any CS with limx
n
=
x, then limf(x
n
) = f(x).
Proof. Consider a new sequence {y
n
} dened as follows. For n = 2m
1, dene y
n
= x
m
and for n = 2m dene y
n
= x. It is easy to check
that then {y
n
} is a CS and limy
n
= x. So, by continuity, {f(y
n
)} is
a CS. Let y = limf(y
n
). So, given any > 0, there exists an N such
that for n N, we have |f(y
n
) y| < . But, if n N and n is
even, since y
n
= x, we get |f(x) y| < . But, since was arbitrary,
this can happen only if y = f(x). Now, taking 2m 1 = n N, one
has y
n
= x
m
and so we get |f(x
m
) f(x)| < , which implies that
limf(x
n
) = f(x).