Calc1 forInfAndStatStudents
Calc1 forInfAndStatStudents
Calc1 forInfAndStatStudents
Lecture Notes
Originally Created for the Class of Winter Semester 2010/2011 at LMU Munich,
Revised and Extended for Several Subsequent Classes
Contents
1 Foundations: Mathematical Logic and Set Theory 5
1.1 Introductory Remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Propositional Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1 Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.2 Logical Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.3 Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 Set Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4 Predicate Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Real Numbers 46
4.1 The Real Numbers as a Complete Totally Ordered Field . . . . . . . . . 46
E-Mail: [email protected]
1
CONTENTS 2
5 Complex Numbers 52
5.1 Definition and Basic Arithmetic . . . . . . . . . . . . . . . . . . . . . . . 52
5.2 Sign and Absolute Value (Modulus) . . . . . . . . . . . . . . . . . . . . . 55
5.3 Sums and Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.4 Binomial Coefficients and Binomial Theorem . . . . . . . . . . . . . . . . 58
6 Polynomials 62
6.1 Arithmetic of K-Valued Functions . . . . . . . . . . . . . . . . . . . . . . 62
6.2 1-Dimensional Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.3 n-Dimensional Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . 66
References 206
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 5
Mathematical logic is a large field in its own right. As indicated before, a rigorous
introduction is beyond the scope of this class the interested reader may refer to [EFT07]
and references therein. Here, we will just introduce some basic concepts using common
English (rather than formal symbolic languages a concept explained in books like
[EFT07]).
As mentioned before, mathematics establishes the truth or falsehood of statements. By
a statement or proposition we mean any sentence (any sequence of symbols) that can
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 6
reasonably be assigned a truth value, i.e. a value of either true, abbreviated T, or false,
abbreviated F. The following example illustrates the difference between statements and
sentences that are not statements:
Example 1.1. (a) Sentences that are statements:
Every dog is an animal. (T)
Every animal is a dog. (F)
The number 4 is odd. (F)
2 + 3 = 5. (T)
2 < 0. (F)
x + 1 > 0 holds for each natural number x. (T)
The fourth sentence in Ex. 1.1(b) is not a statement, as it can not be said to be either
true or false without any further knowledge on x. The fifth sentence in Ex. 1.1(b) is
not a statement as it lacks any meaning and can, hence, not be either true or false. It
would become a statement if given a definition of what it means for a natural number
to be green.
The next step now is to combine statements into new statements using logical operators,
where the truth value of the combined statements depends on the truth values of the
original statements and on the type of logical operator facilitating the combination.
The simplest logical operator is negation, denoted . It is actually a so-called unary
operator, i.e. it does not combine statements, but is merely applied to one statement.
For example, if A stands for the statement Every dog is an animal., then A stands
for the statement Not every dog is an animal.; and if B stands for the statement The
number 4 is odd., then B stands for the statement The number 4 is not odd., which
can also be expressed as The number 4 is even.
To completely understand the action of a logical operator, one usually writes what is
known as a truth table. For negation, the truth table is
A A
T F (1.1)
F T
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 7
that means if the input statement A is true, then the output statement A is false; if
the input statement A is false, then the output statement A is true.
We now proceed to discuss binary logical operators, i.e. logical operators combining
precisely two statements. The following four operators are essential for mathematical
reasoning:
Conjunction: A and B, usually denoted A B.
Disjunction: A or B, usually denoted A B.
Implication: A implies B, usually denoted A B.
Equivalence: A is equivalent to B, usually denoted A B.
Here is the corresponding truth table:
A B AB AB AB AB
T T T T T T
T F F T F F (1.2)
F T F T T F
F F F F T T
When first seen, some of the assignments of truth values in (1.2) might not be completely
intuitive, due to the fact that logical operators are often used somewhat differently in
common English. Let us consider each of the four logical operators of (1.2) in sequence:
For the use in subsequent examples, let A1 , . . . , A6 denote the six statements from Ex.
1.1(a).
Conjunction: Most likely the easiest of the four, basically identical to common language
use: A B is true if, and only if, both A and B are true. For example, using Ex. 1.1(a),
A1 A4 is the statement Every dog is an animal and 2 + 3 = 5., which is true since
both A1 and A4 are true. On the other hand, A1 A3 is the statement Every dog is
an animal and the number 4 is odd., which is false, since A3 is false.
Disjunction: The disjunction A B is true if, and only if, at least one of the statements
A, B is true. Here one already has to be a bit careful A B defines the inclusive or,
whereas or in common English is often understood to mean the exclusive or (which is
false if both input statements are true). For example, using Ex. 1.1(a), A1 A4 is the
statement Every dog is an animal or 2 + 3 = 5., which is true since both A1 and A4
are true. The statement A1 A3 , i.e. Every dog is an animal or the number 4 is odd.
is also true,
since A1 is true. However, the statement A2 A5 , i.e. Every animal is a
dog or 2 < 0. is false, as both A2 and A5 are false.
As you will have noted in the above examples, logical operators can be applied to
combine statements that have no obvious contents relation. While this might seem
strange, introducing contents-related restrictions is unnecessary as well as undesirable,
since it is often not clear which seemingly unrelated statements might suddenly appear
in a common context in the future. The same occurs when considering implications and
equivalences, where it might seem even more obscure at first.
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 8
Equivalence: A B means A is true if, and only if, B is true. Once again, using
input statements from Ex. 1.1(a), we see that A1 A4 , i.e. Every dog is an animal
is equivalent to 2 + 3 = 5., is true as well as A2 A3 , i.e. Every animal is a dog is
equivalent to the number 4 is odd.. On the other hand, A4 A5 , i.e. 2 + 3 = 5 is
equivalent to 2 < 0, is false.
Analogous to the situation of implications, A B is not really useful if the truth values
of both A and B are known a priori, but can be a powerful tool to prove B to be true
or false by establishing the truth value of A. It is obviously more powerful than the
implication as illustrated by the following example (compare with Ex. 1.2):
Example 1.3. Suppose we know Sasha is the tallest member of a group of children.
Then the statement A Sasha is a girl. is equivalent to the statement B The tallest
kid in the group is a girl. As in Ex. 1.2, if we can establish Sasha to be a girl, then we
also know B to be true. However, in contrast to Ex. 1.2, if we find Sasha to be a boy,
we know B to be false.
Remark 1.4. In computer science, the truth value T is often coded as 1 and the truth
value F is often coded as 0.
1.2.3 Rules
Note that the expressions in the first row of the truth table (1.2) (e.g. A B) are not
statements in the sense of Sec. 1.2.1, as they contain the statement variables (also known
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 9
A B A B B (A B) (B)
(1.3)
T F F T T
(b) The propositional formula A (A), also known as the law of the excluded middle,
has the remarkable property that its truth value is T for every possible choice of
truth values for A:
A A A (A)
T F T (1.4)
F T T
Formulas with this property are of particular importance.
Notation 1.7. We write (A1 , . . . , An ) if, and only if, the propositional formula
contains precisely the n statement variables A1 , . . . , An .
Definition 1.8. The propositional formulas (A1 , . . . , An ) and (A1 , . . . , An ) are called
equivalent if, and only if, (A1 , . . . , An ) (A1 , . . . , An ) is a tautology.
Lemma 1.9. The propositional formulas (A1 , . . . , An ) and (A1 , . . . , An ) are equiva-
lent if, and only if, they have the same truth value for all possible assignments of truth
values to A1 , . . . , An .
Proof. If (A1 , . . . , An ) and (A1 , . . . , An ) are equivalent and Ai is assigned the truth
value ti , i = 1, . . . , n, then (A1 , . . . , An ) (A1 , . . . , An ) being a tautology implies it
has truth value T. From (1.2) we see that either (A1 , . . . , An ) and (A1 , . . . , An ) both
have truth value T or they both have truth value F.
If, on the other hand, we know (A1 , . . . , An ) and (A1 , . . . , An ) have the same truth
value for all possible assignments of truth values to A1 , . . . , An , then, given such an
assignment, either (A1 , . . . , An ) and (A1 , . . . , An ) both have truth value T or both
have truth value F, i.e. (A1 , . . . , An ) (A1 , . . . , An ) has truth value T in each case,
showing it is a tautology.
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 10
For all logical purposes, two equivalent formulas are exactly the same it does not
matter if one uses one or the other. The following theorem provides some important
equivalences of propositional formulas. As too many parentheses tend to make formulas
less readable, we first introduce some precedence conventions for logical operators:
Convention 1.10. takes precedence over , , which take precedence over , .
So, for example,
(A B B A) C (A D)
is the same as
A (B) (B) (A) (C) A (D) .
Theorem 1.11. (a) (A B) A B. This means one can actually define impli-
cation via negation and disjunction.
(b) (A B) (A B) (B A) , i.e. A and B are equivalent if, and only if, A
is both necessary and sufficient for B. One also calls the implication B A the
converse of the implication A B. Thus, A and B are equivalent if, and only if,
both A B and its converse hold true.
Proof. Each equivalence is proved by providing a truth table and using Lem. 1.9.
(a):
A B A A B A B
T T F T T
T F F F F
F T T T T
F F T T T
(i):
A B A B A B (A B) A B
T T F F T F F
T F F T F T T
F T T F F T T
F F T T F T T
(j): Exercise.
(k):
A A A
T F T
F T F
(l):
A B A B A B B A
T T F F T T
T F F T F F
F T T F T T
F F T T T T
Having checked all the rules completes the proof of the theorem.
The importance of the rules provided by Th. 1.11 lies in their providing proof techniques,
i.e. methods for establishing the truth of statements from statements known or assumed
to be true. Instead of discussing these techniques right now, we will rather discuss each
new technique of proof whenever we first encounter it subsequently in an application.
At that time, the connection with the corresponding rule of Th. 1.11 will be pointed
out.
In subsequent proofs, we will also frequently use so-called transitivity of implication as
well as transitivity of equivalence (we will encounter equivalence again in the context
of relations in Sec. 1.3 below). In preparation for the transitivity rules, we need to
generalize implication to propositional formulas.
Proof. According to Def. 1.12, the rules can be verified by providing truth tables that
show that, for all possible assignments of truth values to the propositional formulas on
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 12
the left-hand side of the implications, either the left-hand side is false or both sides are
true. (a):
A B C A B B C (A B) (B C) A C
T T T T T T T
T F T F T F T
F T T T T T T
F F T T T T T
T T F T F F F
T F F F T F F
F T F T F F T
F F F T T T T
(b):
A B C A B B C (A B) (B C) A C
T T T T T T T
T F T F F F T
F T T F T F F
F F T T F F F
T T F T F F F
T F F F T F F
F T F F F F T
F F F T T T T
Having checked both rules, the proof is complete.
Definition 1.16. The sets M and N are equal, denoted M = N , if, and only if, M and
N have precisely the same elements.
Definition 1.16 means we know everything about a set M if, and only if, we know all its
elements.
Definition 1.17. The set with no elements is called the empty set; it is denoted by the
symbol .
Example 1.18. For finite sets, we can simply write down all its elements,
for example,
A := {0}, B := {0, 17.5}, C := {5, 1, 5, 3}, D := {3, 5, 1}, E := {2, 2, 2}, where the
symbolism := is to be read as is defined to be equal to.
Note C = D, since both sets contain precisely the same elements. In particular, the
order in which the elements are written down plays no role and a set does not change if
an element is written down more than once.
If a set has many elements, instead of writing down all its elements, one might use
abbreviations such as F := {4, 2, . . . , 20, 22, 24}, where one has to make sure the
meaning of the dots is clear from the context.
Definition 1.19. The set A is called a subset of the set B (denoted A B and also
referred to as the inclusion of A in B) if, and only if, every element of A is also an
element of B (one sometimes also calls B a superset of A and writes B A). Please
note that A = B is allowed in the above definition of a subset. If A B and A 6= B,
then A is called a strict subset of B, denoted A ( B.
If B is a set and P (x) is a statement about an element x of B (i.e., for each x B,
P (x) is either true or false), then we can define a subset A of B by writing
A := {x B : P (x)}. (1.6)
This notation is supposed to mean that the set A consists precisely of those elements of
B such that P (x) is true (has the truth value T in the language of Sec. 1.2).
Example 1.20. (a) For each set A, one has A A and A.
(b) If A B, then A = {x B : x A}.
(c) We have {3} {6.7, 3, 0}. Letting A := {10, 8, . . . , 8, 10}, we have {2, 0, 2} =
{x A : x3 A}, = {x A : x + 21 A}.
Remark 1.21. As a consequence of Def. 1.16, the sets A and B are equal if, and only
if, one has both inclusions, namely A B and B A. Thus, when proving the equality
of sets, one often divides the proof into two parts, first proving one inclusion, then the
other.
Definition 1.22. (a) The intersection of the sets A and B, denoted A B, consists of
all elements that are in A and in B. The sets A, B are said to be disjoint if, and
only if, A B = .
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 14
(b) The union of the sets A and B, denoted A B, consists of all elements that are in
A or in B (as in the logical disjunction in (1.2), the or is meant nonexclusively). If
A and B are disjoint, one sometimes writes A B and speaks of the disjoint union
of A and B.
(c) The difference of the sets A and B, denoted A\B (read A minus B or A without
B), consists of all elements of A that are not elements of B, i.e. A \ B := {x
A: x / B}. If B is a subset of a given set A (sometimes called the universe in
this context), then A \ B is also called the complement of B with respect to A.
In that case, one also writes B c := A \ B (note that this notation suppresses the
dependence on A).
As mentioned
earlier, it will
often be unavoidable
to consider sets of sets. Here are first
examples: , {0}, {0, 1} , {0, 1}, {1, 2} .
Definition 1.24. Given a set A, the set of all subsets of A is called the power set of A,
denoted P(A) (for reasons explained in Appendix A.3, the power set is sometimes also
denoted as 2A ).
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 15
So far, we have restricted our set-theoretic examples to finite sets. However, not sur-
prisingly, many sets of interest to us will be infinite (we will have to postpone a math-
ematically precise definition of finite and infinite to Sec. 2). We will now introduce the
most simple infinite set.
Definition 1.26. The set N := {1, 2, 3, . . . } is called the set of natural numbers. More-
over, we define N0 := {0} N.
Proof. In each case, the proof results from the corresponding rule of Th. 1.11:
(a):
Th. 1.11(c)
xAB xAxB x B x A x B A.
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 16
Remark 1.29. The correspondence between Th. 1.11 and Th. 1.28 is no coincidence.
One can actually prove that, starting with an equivalence of propositional formulas
(A1 , . . . , An ) (A1 , . . . , An ), where both formulas contain only the operators , , ,
one obtains a set-theoretic rule (stating an equality of sets) by reinterpreting all state-
ment variables A1 , . . . , An as variables for sets, all subsets of a universe U , and replacing
by , by , and by U \ (if there are no multiple negations, then we do not need
the hypothesis that A1 , . . . , An are subsets of U ). The procedure also works in the op-
posite direction one can start with a set-theoretic formula for an equality of sets and
translate it into two equivalent propositional formulas.
Set theory using Cantors definition given at the beginning of this section is known
as naive set theory. Unfortunately, it is not free of contradictions. The most famous
one is known as Russells antinomy and is described in Appendix A.2. To avoid such
contradictions, in modern mathematics, one restricts the construction of sets according
to certain rules or axioms. The result is so-called axiomatic set theory, described, e.g.,
in [Kun80].
That means we are interested in statements involving universal quantification via the
quantifier for all (one also often uses for each or for every instead), existential
quantification via the quantifier there exists, or both. The quantifier of universal
quantification is denoted by and the quantifier of existential quantification is denoted
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 17
by . Using these symbols as well as N and R to denote the sets of natural and real
numbers, respectively, we can restate (1.11) as
P (x), (1.13a)
xA
P (x). (1.13b)
xA
In (1.13), A denotes a set and P (x) is a sentence involving the variable x, a so-called
predicate of x, that becomes a statement (i.e. becomes either true or false) if x is substi-
tuted with any concrete element of the set A (in particular, P (x) is allowed to contain
further quantifiers, but it must not contain any other quantifier involving x one says
x must be a free variable in P (x), not bound by any quantifier in P (x)).
The universal statement (1.13a) has the truth value T if, and only if, P (x) has the truth
value T for all elements x A; the existential statement (1.13b) has the truth value T
if, and only if, P (x) has the truth value T for at least one element x A.
V W
Remark 1.31. Some people prefer to write instead of and instead of .
xA xA xA xA
Even though this notation has the advantage of emphasizing that the universal statement
can be interpreted as a big logical conjunction and the existential statement can be
interpreted as a big logical disjunction, it is significantly less common. So we will stick
to and in this class.
Remark 1.32. According to Def. 1.30, the existential statement (1.13b) is true if, and
only if, P (x) is true for at least one x A. So if there is precisely one such x, then
(1.13b) is true; and if there are several different x A such that P (x) is true, then
(1.13b) is still true. Uniqueness statements are often of particular importance, and one
sometimes writes
! P (x) (1.14)
xA
for the statement there exists a unique x A such that P (x) is true. This notation
can be defined as an abbreviation for
P (x) P (y) x = y . (1.15)
xA yA
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 18
Remark 1.34. As for propositional calculus, we also have some important rules for
predicate calculus:
(a) Consider the negation of a universal statement, P (x), which is true if, and
xA
only if, P (x) does not hold for each x A, i.e. if, and only if, there exists at least
one x A such that P (x) is false (such that P (x) is true). We have just proved
the rule
P (x) P (x). (1.17a)
xA xA
(b) If A, B are sets and P (x, y) denotes a predicate of both x and y, then P (x, y)
xA yB
and P (x, y) both hold true if, and only if, P (x, y) holds true for each x A
yB xA
and each y B, i.e. the order of two consecutive universal quantifiers does not
matter:
P (x, y) P (x, y) (1.19a)
xA yB yB xA
(b) As a more complicated example, consider the negation of the uniqueness statement
(1.14), i.e. of (1.15):
! P (x) P (x) P (y) x = y
xA xA yA
(1.17b), Th. 1.11(a)
P (x) P (y) x = y
xA yA
Th. 1.11(i)
P (x) P (y) x = y
xA yA
(1.17a)
P (x) P (y) x = y
xA yA
Th. 1.11(j),(k)
P (x) P (y) x 6= y . (1.22)
xA yA
So how to decode the expression, we have obtained at the end? It states that
there are two possibilities: The first is that P (x) holds true for each x A. The
is, indeed, at least one x A such that P (x) is true. But then
second is that there
P (y) x 6= y must also be true, that means there must be at least a second,
yA
different, element y A such that P (y) is true. These are, indeed, precisely the
two cases that can occur if ! P (x) is false.
xA
1 FOUNDATIONS: MATHEMATICAL LOGIC AND SET THEORY 20
(d) The following example shows that different quantifiers do, in general, not commute
(i.e. do not yield equivalent statements when commuted):
While the statement
y>x (1.24a)
xR yR
is true (for each real number x, there is a bigger real number y, e.g. y := x + 1 will
do the job), the statement
y>x (1.24b)
yR xR
is false (for example, since y > y is false). In particular, (1.24a) and (1.24b) are not
equivalent.
Remark 1.36. One can make the following observations regarding the strategy for
proving universal and existential statements:
(a) To prove that P (x) is true, one must check the truth of P (x) for every element
xA
x A examples are not enough!
(b) To prove that P (x) is false, it suffices to find one x A such that P (x) is
xA
false such an x is then called a counterexample and one counterexample is always
enough to prove P (x) is false!
xA
(c) To prove that P (x) is true, it suffices to find one x A such that P (x) is true
xA
such an x is then called an example and one example is always enough to prove
P (x) is true!
xA
The subfield of mathematical logic dealing with quantified statements is called predicate
calculus. In general, one does not restrict the quantified variables to range only over
elements of sets (as we have done above). Again, we refer to [EFT07] for a deeper
treatment of the subject.
As an application of quantified statements, let us generalize the notion of union and
intersection:
Definition 1.37. Let I 6= be a nonempty set, usually called an index set in the present
context. For each i I, let Ai denote a set (some or all of the Ai can be identical).
Proof. We prove (c) and (e) and leave the remaining proofs as an exercise.
(c):
!
\ ()
x Ai M x M x Ai x Ai x M
iI iI
iI
\
x (Ai M ).
iI
To justify the equivalence at (), we make use of Th. 1.11(b) and verify and . For
note that the truth of x M implies x Ai x M is true for each i I. If x Ai
is true for each i I, then x Ai x M is still true for each i I. To verify , note
that the existence of i I such that x M implies the truth of x M x Ai .
iI
If x M is false for each i I, then x Ai must be true for each i I, showing
x M x Ai is true also in this case.
iI
(e):
\
xM\ Ai x M x Ai x M x
/ Ai
iI iI
iI
[
x M \ Ai x (M \ Ai ),
iI
iI
2 FUNCTIONS AND RELATIONS 22
2.1 Functions
Definition 2.1. Let A, B be sets. Given x A, y B, the set
n o
(x, y) := {x}, {x, y} (2.1)
is called the ordered pair (often shortened to just pair) consisting of x and y. The set of
all such pairs is called the Cartesian product A B, i.e.
A = A = , (2.3a)
{1, 2} {1, 2, 3} = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3)} (2.3b)
6 {1, 2, 3} {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2), (3, 1), (3, 2)}.
= (2.3c)
Definition 2.3. Given sets A, B, a function or map f is an assignment rule that assigns
to each x A a unique y B. One then also writes f (x) for the element y. The set A
is called the domain of f , denoted D(f ), and B is called the range of f , denoted R(f ).
The information about a map f can be concisely summarized by the notation
f : A B, x 7 f (x), (2.5)
2 FUNCTIONS AND RELATIONS 23
where x 7 f (x) is called the assignment rule for f , f (x) is called the image of x, and
x is called a preimage of f (x) (the image must be unique, but there might be several
preimages). The set
graph(f ) := (x, y) A B : y = f (x) (2.6)
is called the graph of f (not to be confused with pictures visualizing the function f ,
which are also called graph of f ). If one wants to be completely precise, then one
identifies the function f with the ordered triple (A, B, graph(f )).
The set of all functions with domain A and range B is denoted by F(A, B) or B A , i.e.
F(A, B) := B A := (f : A B) : A = D(f ) B = R(f ) . (2.7)
Caveat: Some authors reserve the word map for continuous functions, but we use func-
tion and map synonymously.
f (T ) := {f (x) B : x T } (2.8)
f 1 (U ) := {x A : f (x) U } (2.9)
(c) f is called injective or one-to-one if, and only if, every y B has at most one
preimage, i.e. if, and only if, the preimage of {y} has at most one element:
1
f injective f {y} = ! f (x) = y
yB xA
x1 6= x2 f (x1 ) 6= f (x2 ) . (2.10)
x1 ,x2 A
(d) f is called surjective or onto if, and only if, every element of the range of f has a
preimage:
(e) f is called bijective if, and only if, f is injective and surjective.
2 FUNCTIONS AND RELATIONS 24
f ({1, 2}) = {5, 4} = f 1 ({1, 2}), h1 ({2, 4, 6}) = {1, 2, 3, 4, 5, 6}, (2.13)
Example 2.6. (a) For each nonempty set A, the map Id : A A, Id(x) := x, is
called the identity on A. If one needs to emphasize that Id operates on A, then one
also writes IdA instead of Id. The identity is clearly bijective.
(b) Let A, B be nonempty sets. A map f : A B is called constant if, and only if,
there exists c B such that f (x) = c for each x A. In that case, one also writes
f c, which can be read as f is identically equal to c. If f c, 6= T A, and
U B, then (
A for c U ,
f (T ) = {c}, f 1 (U ) = (2.14)
for c / U.
f is injective if, and only if, A = {x}; f is surjective if, and only if, B = {c}.
There are several important rules regarding functions and set-theoretic operations. How-
ever, we will not make use of them in this class, and the interested student can find
them in Appendix A.5.
2 FUNCTIONS AND RELATIONS 25
f : N R, n 7 n2 , (2.17a)
g : N R, n 7 2n. (2.17b)
We obtain f (N) = {1, 4, 9, . . . } D(g), g(N) = {2, 4, 6, . . . } D(f ), and the composi-
tions
showing that composing functions is, in general, not commutative, even if the involved
functions have the same domain and the same range.
h (g f ) = (h g) f. (2.19)
(g f )1 (W ) = f 1 (g 1 (W )). (2.20)
W P(D)
The maps
(
n/2 if n even,
g1 : N N, g1 (n) := (2.22b)
1 if n odd,
(
n/2 if n even,
g2 : N N, g2 (n) := (2.22c)
2 if n odd,
both constitute left inverses of f . It follows from Th. 2.12(c) below that f does not
have a right inverse.
The maps
both constitute right inverses of f . It follows from Th. 2.12(c) below that f does
not have a left inverse.
the inverse is
3 for n = 1,
1 for n = 2,
g 1 : N N, g 1 (n) := (2.24c)
2 for n = 3,
n for n/ {1, 2, 3}.
2 FUNCTIONS AND RELATIONS 27
While Examples 2.11(a),(b) show that left and right inverses are usually not unique,
they are unique provided f is bijective (see Th. 2.12(c)).
Theorem 2.12. Let A, B be nonempty sets.
(c) f : A B is invertible if, and only if, f is bijective. In this case, the right inverse
and the left inverse are unique and both identical to the inverse.
Proof. (a): If f is surjective, then, for each y B, there exists xy f 1 {y} such that
f (xy ) = y. Define
g : B A, g(y) := xy (2.25)
(note to the interested reader: the definition of g is, in general, not as unproblematic
as it might seem g is a so-called choice function, and its definition makes use of the
axiom of choice, see Appendix A.4). Then, for each y B, f (g(y)) = y, showing g is
a right inverse of f . Conversely, if g : B A is a right inverse of f , then, for each
y B, it is y = f (g(y)), showing that g(y) A is a preimage of y, i.e. f is surjective.
(b): Fix a A. If f is injective, then, for each y B with f 1 {y} 6= , let xy denote
the unique element in A satisfying f (xy ) = y. Define
(
xy for f 1 {y} 6= ,
g : B A, g(y) := (2.26)
a otherwise.
thereby proving the uniqueness of left and right inverse for bijective maps.
Theorem 2.13. Consider maps f : A B, g : B C. If f and g are both injective
(resp. both surjective, both bijective), then so is g f . Moreover, in the bijective case,
one has
(g f )1 = f 1 g 1 . (2.28)
Proof.
2 FUNCTIONS AND RELATIONS 28
Definition 2.14. (a) Given an index set I and a set A, a map f : I A is sometimes
called a family (of elements in A), and is denoted in the form f = (ai )iI with
ai := f (i). When using this representation, one often does not even specify f and
A, especially if the ai are themselves sets.
(b) A sequence in a set A is a family of elements in A, where the index set is the set of
natural numbers N. In this case, one writes (an )nN or (a1 , a2 , . . . ). More generally,
a family is called a sequence, given a bijective map between the index set I and a
subset of N.
(c) Given a family of sets (Ai )iI , we define the Cartesian product of the Ai to be the
set of functions
( ! )
Y [
Ai := f : I Aj : f (i) Ai . (2.29)
iI
iI jI
QI has precisely n elements with n N, then the elements of the Cartesian product
If
iI Ai are called (ordered) n-tuples, (ordered) triples for n = 3.
Example
T 2.15. (a) Using
S the notion of family, we can now say that the intersection
iI Ai and union iI Ai as defined in Def. 1.37 are the intersection and union of
the family of sets (Ai )iI , respectively. As a concrete example, let us revisit (1.26b),
where we have
\
(An )nN , An := {1, 2, . . . , n}, An = {1}. (2.30)
nN
Y n
Y
A = A{1,2...,n} =: A =: An (2.32)
iI i=1
2.2 Relations
Definition 2.16. Given sets A and B, a relation is a subset R of A B (if one wants
to be completely precise, a relation is an ordered triple (A, B, R), where R A B).
If A = B, then we call R a relation on A. One says that a A and b B are related
according to the relation R if, and only if, (a, b) R. In this context, one usually writes
a R b instead of (a, b) R.
Example 2.17. (a) The relations we are probably most familiar with are = and .
The relation R of equality, usually denoted =, makes sense on every nonempty set
A:
R := (A) := {(x, x) A A : x A}. (2.33)
The set (A) is called the diagonal of the Cartesian product, i.e., as a subset of
A A, the relation of equality is identical to the diagonal:
x R x, (2.38)
xA
i.e. if, and only if, each x is related to y if, and only if, y is related to x.
(c) R is called antisymmetric if, and only if,
(x R y y R x) x = y , (2.40)
x,yA
i.e. if, and only if, the only possibility for x to be related to y at the same time that
y is related to x is in the case x = y.
2 FUNCTIONS AND RELATIONS 30
i.e. if, and only if, the relatedness of x and y together with the relatedness of y and
z implies the relatedness of x and z.
Example 2.19. The relations = and on R (or N) are reflexive, antisymmetric, and
transitive; = is also symmetric, whereas is not; < is antisymmetric (since x < yy < x
is always false) and transitive, but neither reflexive nor symmetric. The relation
R := (x, y) N2 : (x, y are both even) (x, y are both odd) (2.42)
S := {(x, y) N2 : y = x2 } (2.43)
is not transitive (for example, 2 S 4 and 4 S 16, but not 2 S 16), not reflexive, not sym-
metric; it is only antisymmetric.
Definition 2.20. A relation R on a set A is called an equivalence relation if, and only
if, R is reflexive, symmetric, and transitive. If R is an equivalence relations, then one
often writes x y instead of x R y.
Example 2.21. (a) The equality relation = is an equivalence relation on each A 6= .
(b) The relation R defined in (2.42) is an equivalence relation on N.
S
(c) Given a disjoint union A = iI Ai with every Ai 6= (which is sometimes called a
decomposition of A), an equivalence relation on A is defined by
x y x Ai y Ai . (2.44)
iI
called the equivalence class of x; each y [x] is called a representative of [x]. One
verifies that the properties of guarantee
[x] = [y] x y [x] [y] = (x y) . (2.46)
The set of all equivalence classes I := A/ := {[x] : x A} is called the quotient set
S
of A by , and A = iI Ai with Ai := i for each i I is the desired decomposition
of A.
Definition 2.22. A relation R on a set A is called a partial order if, and only if, R is
reflexive, antisymmetric, and transitive. If R is a partial order, then one usually writes
x y instead of x R y. A partial order is called a total or linear order if, and only if,
for each x, y A, one has x y or y x.
2 FUNCTIONS AND RELATIONS 31
Notation 2.23. Given a (partial or total) order on A 6= , we write x < y if, and
only if, x y and x 6= y, calling < the strict order corresponding to (note that the
strict order is never a partial order).
(a) x A is called lower (resp. upper) bound for B if, and only if, x b (resp. b x)
for each b B. Moreover, B is called bounded from below (resp. from above) if, and
only if, there exists a lower (resp. upper) bound for B; B is called bounded if, and
only if, it is bounded from above and from below.
(b) x B is called minimum or just min (resp. maximum or max) of B if, and only if,
x is a lower (resp. upper) bound for B. One writes x = min B if x is minimum and
x = max B if x is maximum.
(c) A maximum of the set of lower bounds of B (i.e. a largest lower bound) is called
infimum of B, denoted inf B; a minimum of the set of upper bounds of B (i.e. a
smallest upper bound) is called supremum of B, denoted sup B.
Example 2.25. (a) For each A R, the usual relation defines a total order on A.
For A = R, we see that N has 0 and 1 as lower bound with 1 = min N = inf N. On
the other hand, N is unbounded from above. The set M := {1, 2, 3} is bounded
with min M = 1, max M = 3. The positive real numbers R+ := {x R : x > 0}
have inf R+ = 0, but they do not have a minimum (if x > 0, then 0 < x/2 < x).
defines a partial order on A that is not a total order (for example, neither (1, 2)
(2, 1) nor (2, 1) (1, 2)). For the set
B := (1, 1), (2, 1), (1, 2) , (2.48)
we have inf B = min B = (1, 1), B does not have a max, but sup B = (2, 2) (if
(m, n) A is an upper bound for B, then (2, 1) (m, n) implies 2 m and
(1, 2) (m, n) implies 2 n, i.e. (2, 2) (m, n); since (2, 2) is clearly an upper
bound for B, we have proved sup B = (2, 2)).
A different order on A is the so-called lexicographic order defined by
In contrast to the order from (2.47), the lexicographic order does define a total
order on A.
is also a partial order on A. Moreover, using obvious notation, we have, for each x A,
Proof. Reflexivity, antisymmetry, and transitivity of clearly imply the same properties
for , respectively. Moreover
proving (2.51a). Analogously, we obtain (2.51b). Next, (2.51c) and (2.51d) are implied
by (2.51a) and (2.51b), respectively. Finally, (2.51e) is proved by
Proof. Exercise.
Definition 2.28. Let A, B be nonempty sets with partial orders, both denoted by
(even though they might be different). A function f : A B, is called (strictly)
isotone, order-preserving, or increasing if, and only if,
x < y f (x) f (y) (resp. f (x) < f (y)) ; (2.52a)
x,yA
Functions that are (strictly) isotone or antitone are called (strictly) monotone.
Proposition 2.29. Let A, B be nonempty sets with partial orders, both denoted by .
(c) If the order on A is total and f : A B is invertible and strictly isotone (resp.
antitone), then f 1 is also strictly isotone (resp. antitone).
Induction is based on the fact that N satisfies the so-called Peano axioms:
P2: There exists an injective map S : N N \ {1}, called the successor function (for
each n N, S(n) is called the successor of n).
P3: If a subset A of N has the property that 1 A and S(n) A for each n A, then
A is equal to N. Written as a formula, the third axiom is:
1 A S(A) A A = N .
AP(N)
Remark 3.1. In Def. 1.26, we had introduced the natural numbers N := {1, 2, 3, . . . }.
The successor function is S(n) = n + 1. In axiomatic set theory, one starts with the
Peano axioms and shows that the axioms of set theory allow the construction of a
set N which satisfies the Peano axioms. One then defines 2 := S(1), 3 := S(2), . . . ,
n + 1 := S(n). The interested reader can find more details in Appendix B.1.
Remark 3.3. To prove some (n) for each n N by induction according to Th. 3.2
consists of the following two steps:
(b) Perform the inductive step, i.e. prove that (n) (the induction hypothesis) implies
(n + 1).
12
Base Case (n = 1): 1 = 2
, i.e. (1) is true.
n(n+1)
Induction Hypothesis: Assume (n), i.e. 1 + 2 + + n = 2
holds.
Induction Step: One computes
(n) n(n + 1) n(n + 1) + 2n + 2
1 + 2 + + n + (n + 1) = +n+1=
2 2
2
n + 3n + 2 (n + 1)(n + 2)
= = , (3.4)
2 2
i.e. (n + 1) holds and the induction is complete.
Proof. If, for each n N, we use (n) to denote (m), then (3.5) is equivalent to
1mn
(n) (n + 1) , i.e. to Th. 3.2(b) with replaced by . Thus, Th. 3.2 implies
nN
(n) holds true for each n N, i.e. (n) holds true for each n N.
Corollary 3.6. Let I be an index set. Suppose, for each i I, (i) is a statement. If
there is a bijective map f : N I and (a) and (b) both hold, where
(a) f (1) is true,
(b) f (n) f (n + 1) ,
nN
Apart from providing a widely employable proof technique, the most important ap-
plication of Th. 3.2 is the possibility to define sequences inductively, using so-called
recursion:
3 NATURAL NUMBERS, INDUCTION, AND THE SIZE OF SETS 36
(i) x1 = x.
Proof. To prove uniqueness, let (xn )nN and (yn )nN be sequences in A, both satisfying
(i) and (ii), i.e.
x1 = y1 = x and (3.6a)
xn+1 = fn (x1 , . . . , xn ) yn+1 = fn (y1 , . . . , yn ) . (3.6b)
nN
We prove by induction (in the form of Cor. 3.5) that (xn )nN = (yn )nN , i.e.
xn = yn : (3.7)
nN | {z }
(n)
(b) For each a R and each d R, we define the following arithmetic progression (also
called arithmetic sequence) recursively by
a1 := a, an+1 := an + d, (3.11a)
nN
(c) For each a R and each q R \ {0}, we define the following geometric progression
(also called geometric sequence) recursively by
x1 := a, xn+1 := xn q, (3.12a)
nN
For the time being, we will continue to always specify A and the gn or fn in subsequent
recursive definitions, but in the literature, most of the time, the gn or fn are not provided
explicitly.
Example 3.9. (a) The Fibonacci sequence consists of the Fibonacci numbers, defined
recursively by
F0 := 0, F1 := 1, Fn+1 := Fn + Fn1 , (3.13a)
nN
So we obtain
fn : An A, fn (a1 , . . . , an ) := a1 + + an , (3.14a)
one obtains
x1 = 1, x2 = f1 (1) = 1, x3 = f2 (1, 1) = 2, x4 = f3 (1, 1, 2) = 4,
(3.14b)
x5 = f4 (1, 1, 2, 4) = 8, x6 = f5 (1, 1, 2, 4, 8) = 16, . . .
3 NATURAL NUMBERS, INDUCTION, AND THE SIZE OF SETS 38
Definition 3.10. (a) Summation Symbol: On A = R (or, more generally, on every set
where an addition + : A A A is defined), define recursively, for each given
(possibly finite) sequence (a1 , a2 , . . . ) in A:
1
X n+1
X n
X
ai := a1 , ai := an+1 + ai for n 1, (3.15a)
i=1 i=1 i=1
i.e.
fn : An A, fn (x1 , . . . , xn ) := xn + an+1 . (3.15b)
In (3.15a), one can also use other symbols for i, except a and n; for a finite sequence,
n needs to be less than the maximal index of the finite sequence.
More generally, if I is an index set and : {1, . . . , n} I a bijective map, then
define n
X X
ai := a(i) . (3.15c)
iI i=1
(b) Product Symbol: On A = R (or, more generally, on every set where a multiplication
: A A A is defined), define recursively, for each given (possibly finite)
sequence (a1 , a2 , . . . ) in A:
1
Y n+1
Y n
Y
ai := a1 , ai := an+1 ai for n 1, (3.16a)
i=1 i=1 i=1
i.e.
fn : An A, fn (x1 , . . . , xn ) := xn an+1 . (3.16b)
In (3.16a), one can also use other symbols for i, except a and n; for a finite sequence,
n needs to be less than the maximal index of the finite sequence.
More generally, if I is an index set and : {1, . . . , n} I a bijective map, then
define n
Y Y
ai := a(i) . (3.16c)
iI i=1
Example 3.11. (a) Given a, d R, let (an )nN be the arithmetic sequence as defined
in (3.11a). It is an exercise to prove by induction that
an = a + (n 1)d, (3.17a)
nN
n
X n n
Sn := ai = (a1 + an ) = 2 a + (n 1) d , (3.17b)
nN
i=1
2 2
(b) Given a R and q R \ {0}, let (xn )nN be the geometric sequence as defined in
(3.12a). We will prove by induction that
xn = a q n1 ,
(3.18a)
nN
n n n1
(
X X X na for q = 1,
Sn := xi = (a q i1 ) = a q i = a (1qn ) (3.18b)
nN
i=1 i=1 i=0 1q
for q 6= 1,
Definition 3.12. (a) The sets A, B are defined to have the same cardinality or the
same size if, and only if, there exists a bijective map : A B. One can show
that this defines an equivalence relation on every set of sets (see Th. A.7 of the
Appendix).
3 NATURAL NUMBERS, INDUCTION, AND THE SIZE OF SETS 40
(b) The cardinality of a set A is n N (denoted #A = n) if, and only if, there exists
a bijective map : A {1, . . . , n}. The cardinality of is defined as 0, i.e.
# := 0. A set A is called finite if, and only if, there exists n N0 such that
#A = n; A is called infinite if, and only if, A is not finite, denoted #A = (in the
strict sense, this is an abuse of notation, since is not a cardinality for example
#N = and #P(N) = , but N and P(N) do not have the same cardinality, since
the power set P(A) is always strictly bigger than A (see Th. 3.20 below) #A =
is merely an abbreviation for the statement A is infinite). The interested student
finds additional material regarding the uniqueness of finite cardinality in Th. A.8
and Cor. A.9, and regarding characterizations of infinite sets in Th. A.10 of the
Appendix.
(c) The set A is called countable if, and only if, A is finite or A has the same cardinality
as N. Otherwise, A is called uncountable.
Theorem 3.13. Let A 6= be a finite set.
Proof. For #A = 0, i.e. A = , (a) and (b) are trivially true, since A has neither
strict subsets nor elements. For #A = n N, we use induction to prove (a) and (b)
simultaneously, i.e. we show
#A = n #B {0, . . . , n 1} # A \ {a} = n 1 .
nN BP(A)\{A} aA
| {z }
(n)
Base Case (n = 1): In this case, A has precisely one element, i.e. B = A \ {a} = , and
# = 0 = n 1 proves (1).
Induction Step: For the induction hypothesis, we assume (n) to be true, i.e. we assume
(a) and (b) hold for each A with #A = n. We have to prove (n + 1), i.e., we consider
A with #A = n + 1. From #A = n + 1, we conclude the existence of a bijective map :
A {1, . . . , n + 1}. We have to construct a bijective map : A \ {a} {1, . . . , n}.
To this end, set k := (a) and define the auxiliary function
n + 1 for x = k,
f : {1, . . . , n + 1} {1, . . . , n + 1}, f (x) := k for x = n + 1,
x for x
/ {k, n + 1}.
(i) f is injective.
(ii) f is surjective.
(iii) f is bijective.
Lemma 3.15. For each finite set A (i.e. #A = n N0 ) and each B A, one has
#(A \ B) = #A #B.
Base Case (m = 1): (1) is precisely the statement provided by Th. 3.13(b).
Induction Step: For the induction hypothesis, we assume (m) with 1 m < n. To
prove (m + 1), consider B A with #B = m + 1. Fix an element b B and set
B1 := B \ {b}. Then #B1 = m by Th. 3.13(b), A \ B = (A \ B1 ) \ {b}, and we compute
Th. 3.13(b) (m)
#(A \ B) = # (A \ B1 ) \ {b} = #(A \ B1 ) 1 = #A #B1 1
= #A #B,
Proof. The assertion is clearly true if A or B is empty. If A and B are nonempty, then
there exist m, n N such that #A = m and #B = n, i.e. there are bijective maps
f : A {1, . . . , m} and g : B {1, . . . , n}.
We first consider the case AB = . We need to construct a bijective map h : AB
{1, . . . , m + n}. To this end, we define
(
f (x) for x A,
h : A B {1, . . . , m + n}, h(x) :=
g(x) + m for x B.
The bijectivity of f and g clearly implies the bijectivity of h, proving #(A B) =
m + n = #A + #B.
Finally, we consider the case of arbitrary A, B. Since A B = A (B \ A) and B \ A =
B \ (A B), we can compute
#(A B) = # A (B \ A) = #A + #(B \ A)
Lem. 3.15
= #A + # B \ (A B) = #A + #B #(A B),
thereby establishing the case.
Theorem 3.17. If (A1 , . . . , An ), n N, is a finite sequence of finite sets, then
n
Y n
Y
# Ai = # A1 An = #Ai . (3.21)
i=1 i=1
Proof. If at least one Ai is empty, then (3.21) is true, since both sides are 0.
The case where all Ai are nonempty is proved by induction over n, i.e. we know ki :=
#Ai N for each i {1, . . . , n} and show by induction
n
Y n
Y
# Ai = ki .
nN
i=1 i=1
| {z }
(n)
Q1 Q1
Base Case (n = 1): i=1 Ai = #A1 = k1 = i=1 ki , i.e. (1) holds.
Induction Step: From the induction
Qn hypothesis (n),Qn we obtain a bijective map :
A {1, . . . , N }, where A := i=1 Ai and N := i=1 ki . To prove (n + 1), we need
to construct a bijective map h : A An+1 {1, . . . , N kn+1 }. Since #An+1 = kn+1 ,
there exists a bijective map f : An+1 {1, . . . , kn+1 }. We define
h : A An+1 {1, . . . , N kn+1 },
h(a1 , . . . , an , an+1 ) := f (an+1 ) 1 N + (a1 , . . . , an ).
Since and f are bijective, and since every m {1, . . . , N kn+1 } has a unique rep-
resentation in the form m = a N + r with a {0, . . . , kn+1 1} and r {1, . . . , N }
(exercise), h is also bijective. This proves (n + 1) and completes the induction.
3 NATURAL NUMBERS, INDUCTION, AND THE SIZE OF SETS 43
Theorem 3.18. For each finite set A (i.e. #A = n N0 ), one has #P(A) = 2n .
Base Case (n = 0): For n = 0, we have A = , i.e. P(A) = {}. Thus, #P(A) = 1 = 20 ,
proving (0).
Induction Step: Assume (n) and consider A with #A = n + 1. Then A contains
B := A \ {a}, we then
at least one element a. For know #B = n from Th. 3.13(b).
Moreover, setting M := C {a} : C P(B) , we have the disjoint decomposition
P(A) = P(B) M. As the map : P(B) M, (C) := C {a}, is clearly bijective,
P(B) and M have the same cardinality. Thus,
Th. 3.16 (n)
#P(A) = #P(B) + #M = #P(B) + #P(B) = 2 2n = 2n+1 ,
thereby proving (n + 1) and completing the induction.
Remark 3.19. In the proof of the following Th. 3.20, we will encounter a new proof
technique that we did not use before, the so-called proof by contradiction, also called
indirect proof. It is based on the observation, called the principle of contradiction, that
A A is always false:
A A A A
T F F (3.22)
F T F
Thus, one possibility of proving a statement B to be true is to show B A A for
some arbitrary statement A. Since the right-hand side of the implication is false, the
left-hand side must also be false, proving B is true.
Theorem 3.20. Let A be a set. There can never exist a surjective map from A onto
P(A) (in this sense, the size of P(A) is always strictly bigger than the size of A; in
particular, A and P(A) can never have the same size).
We conclude the section with a number of important results regarding the natural
numbers and countability.
Theorem 3.21. (a) Every nonempty finite subset of a totally ordered set has a mini-
mum and a maximum.
(b) Every nonempty subset of N has a minimum.
Proof. Since is countable, we may assume A 6= . From Th. 3.21(b), we know that
every nonempty subset of N has a min. We recursively define a sequence in A by
(
min A if A \ {ai : 1 i n} 6= ,
a1 := min A, an+1 :=
an if A \ {ai : 1 i n} = .
(i) A is countable.
(ii) There exists an injective map f : A N.
(iii) There exists a surjective map g : N A.
Proof. Directly from the definition of countable in Def. 3.12(c), one obtains (i)(ii) and
(i)(iii). To prove (ii)(i), let f : A N be injective. Then f : A f (A) is
bijective, and, since f (A) N, f (A) is countable by Prop. 3.22, proving A is countable
as well. To prove (iii)(i), let g : N A be surjective. According to Th. 2.12(a), g
has a right inverse f : A N, i.e. g f = IdA . But this means g is a left inverse for f ,
showing f is injective according to Th. 2.12(b). Then A is countable by an application
of (ii).
Qn
Theorem 3.24. If (A1 , . . . , An ), n N, is a finite family of countable sets, then i=1 Ai
is countable.
3 NATURAL NUMBERS, INDUCTION, AND THE SIZE OF SETS 45
Proof. We first consider the special case n = 2 with A1 = A2 = N and show the map
: N N N, (m, n) := 2m 3n ,
Proof. It suffices to consider the case that all Ai are nonempty. Moreover, according to
Prop. 3.23(iii), it suffices to construct a surjective map : N A. Also according
to Prop. 3.23(iii), the countability of I and the Ai provides us with surjective maps
f : N I and gi : N Ai . Define
4 Real Numbers
Lemma 4.2. A total order on a nonempty set A is complete if, and only if, every
nonempty subset B of A that is bounded from below has an infimum.
Proof. According to Lem. 2.26, it suffices to prove one implication. We show that (4.1)
implies that every nonempty B bounded from below has an infimum: Define
Then every b B is an upper bound for C and (4.1) implies there exists s = sup C A.
To verify s = inf B, it remains to show s C, i.e. that s is a lower bound for B.
However, every b B is an upper bound for C and s = sup C is the min of all upper
bounds for C, i.e. s b for each b B, showing s C.
Definition 4.3. Let A be a nonempty set with a map
: A A A, (x, y) 7 x y (4.3)
(called a composition on A, the examples we have in mind are addition and multiplication
on R). Then A is called a group with respect to if, and only if, the following three
conditions are satisfied:
x e = x.
xA
(iii) For each x A, there exists an inverse element x A, i.e. an element x A such
that
x x = e.
A is called a commutative or abelian group if, and only if, it is a group and satisfies the
additional condition:
4 REAL NUMBERS 47
(+ is called addition and is called multiplication; often one writes xy instead of x y).
Then A is called a field if, and only if, the following three conditions are satisfied:
(i) A is a commutative group with respect to +. The neutral element with respect
to + is denoted 0.
(ii) A\{0} is a commutative group with respect to . The neutral element with respect
to is denoted 1.
(iii) Distributivity:
x (y + z) = x y + x z. (4.5)
x,y,zA
If A is a field and is a total order on A, then A is called a totally ordered field if, and
only if, the following condition is satisfied:
Finally, A is called a complete totally ordered field if, and only if, A is a totally ordered
field that is complete in the sense of Def. 4.1.
Theorem 4.5. There exists a complete totally ordered field R (it is called the set of
real numbers). Moreover, R is unique up to isomorphism, i.e. if A is a complete totally
ordered field, then there exists an isomorphism : A R, i.e. a bijective map :
A R, satisfying
Proof. To really prove the existence of the real numbers by providing a construction is
tedious and not easy. One possible construction is provided in Appendix B. For several
different existence proofs as well as for a proof of uniqueness in the above sense, see
[EHH+ 95, Ch. 2].
4 REAL NUMBERS 48
Theorem 4.6. The following statements and rules are valid in the set of real numbers
R (and, more generally, in every field):
(a) Inverse elements are unique. For each x R, the unique inverse with respect to
addition is denoted by x. Also define y x := y + (x). For each x R \ {0}, the
unique inverse with respect to multiplication is denoted by x1 . For x 6= 0, define
the fractions xy := y/x := yx1 with numerator y and denominator x.
(e) x 0 = 0.
(f ) x(y) = (xy).
(i) xy = 0 x = 0 y = 0.
a b ad + bc a b ab a/c ad
+ = , = , = ,
c d cd c d cd b/d bc
(g): xy = ((xy)) = (x(y)) = ((y)x) = (y)(x), where (f) was used twice.
(h): x(y z) = x(y + (z)) = xy + x(z) = xy xz.
(i): If xy = 0 and x 6= 0, then y = 1 y = x1 xy = x1 0 = 0.
(j): One computes
a b ad + bc
+ = ac1 + bd1 = add1 c1 + bcc1 d1 = (ad + bc)(cd)1 =
c d cd
and
a b ab
= ac1 bd1 = ab(cd)1 =
c d cd
and
a/c ad
= ac1 (bd1 )1 = ac1 b1 d = ad(bc)1 = ,
b/d bc
completing the proof.
Theorem 4.7. The following statements and rules are valid in the set of real numbers
R (and, more generally, in every totally ordered field):
(a) x y x y.
(e) If 0 < x < y, then x/y < 1, y/x > 1, and 1/x > 1/y.
and, for z 0,
(4.6b)
x y 0 y x 0 (y x)(z) = xz yz xz yz.
(c): From (4.6b), one obtains x2 0. From Th. 4.6(i), one then gets x2 > 0.
(d): If x > 0, then x1 < 0 implies the false statement 1 = xx1 < 0, i.e. x1 > 0. The
case x < 0 is treated analogously.
4 REAL NUMBERS 50
(e): Using (d), we obtain from 0 < x < y that x/y = xy 1 < yy 1 = 1 and 1 = xx1 <
yx1 = y/x.
(f): x < y x + u < y + u and u < v y + u < y + v; both combined yield
x + u < y + v.
(g): 0 < x < y 0 < u < v xu < yu yu < yv xu < yv.
(h): Since 0 < and 1 > 0, x < y implies
x = x + (1 )x < x + (1 )y < y + (1 )y = y,
A + B := {a + b : a A b B}, (4.8a)
A := {a : a A}. (4.8b)
Proof. Exercise.
and philosophy and is completely irrelevant. Any two models of N will always produce
equivalent results, since they must both satisfy the three Peano axioms.
For a = b, one says that the intervals defined by (4.11a) (4.11d) are degenerate or
trivial, where [a, a] = {a}, ]a, a[=]a, a] = [a, a[= it is sometimes convenient to have
included the degenerate cases in the definition. It is sometimes also useful to abandon
the restriction a b, to let c := min{a, b}, d := max{a, b}, and to define
[a, b] := [c, d], ]a, b[:=]c, d[, ]a, b] :=]c, d], [a, b[:= [c, d[. (4.11i)
Theorem 4.10 (Archimedean Property). Let , x be real numbers. If > 0 and x > 0,
then there exists n N such that n > x.
5 COMPLEX NUMBERS 52
Proof. We conduct the proof by contradiction: Suppose x is an upper bound for the set
A := {n : n N}. Since the order on R is complete, according to (4.1), there exists
s R such that s = sup A. In particular, s is not an upper bound for A, i.e. there
exists n N satisfying n > s . But then (n + 1) > s in contradiction to s = sup A.
This shows x is not an upper bound for A, thereby establishing the case.
5 Complex Numbers
Theorem 5.2. (a) The set of complex numbers C with addition and multiplication as
defined in Def. 5.1 forms a field, where (0, 0) and (1, 0) are the neutral elements
with respect to addition and multiplication, respectively,
z := (x, y) (5.4a)
(b) Defining subtraction and division in the usual way, for each z, w C, by w z :=
w + (z), and w/z := wz 1 for z 6= (0, 0), respectively, all the rules stated in Th.
4.6 are valid in C.
It is customary to identify R with (R), as it usually does not cause any confusion.
One then just writes x instead of (x, 0).
Proof. All computations required for (a) and (c) are straightforward and are left as
an exercise; (b) is a consequence of (a), since Th. 4.6 and its proof are valid in every
field.
Notation 5.3. The number i := (0, 1) is called the imaginary unit (note that, indeed,
i2 = i i = (0, 1) (0, 1) = (0 0 1 1, 0 1 + 1 0) = (1, 0) = 1). Using i, one obtains
the commonly used representation of a complex number z = (x, y) C:
where one calls Re z := x the real part of z and Im z := y the imaginary part of z.
Moreover, z is called purely imaginary if, and only if, Re z = 0.
Remark 5.4. There does not exist a total order on C that makes C into a totally
ordered field (i.e. no total order on C can be compatible with addition and multiplication
in the sense of (4.6)): Indeed, if there were such a total order on C, then all the rules
of Th. 4.7 had to be valid with respect to that total order . In particular, 0 < 12 = 1
and 0 < i2 = 1 had to be valid by Th. 4.7(c), and, then, 0 < 1 + (1) = 0 had to
be valid by Th. 4.7(f). However, 0 < 0 is false, showing that there is no total order on
C that satisfies (4.6). Caveat: Of course, there do exist total orders on C, just none
compatible with addition and multiplication for example, the lexicographic order on
R R (defined as it was in (2.49) for N N) constitutes a total order on C.
Definition and Remark 5.5. Conjugation: For each complex number z = x + iy, we
define its complex conjugate or just conjugate to be the complex number z := x iy.
We then have the following rules that hold for each z = x + iy, w = u + iv C:
(c) z = z x + iy = x iy y = 0 z R.
5 COMPLEX NUMBERS 54
Notation 5.6. Exponentiation with Integer Exponents: Define recursively for each
z C and each n N0 :
(a) z m+n = z m z n .
(b) z n wn = (zw)n .
(c) (z m )n = z m n .
Proof. (a): First, we prove the statement for each m N0 by induction: The base case
(m = 0) is z n = z n , which is true. For the induction step, we compute
(5.8) ind. hyp. (5.8)
z m+1+n = z z m+n = z z m z n = z m+1 z n ,
completing the induction step. The above prove allows n < 0 for z 6= 0. Interchanging
m and n covers the case m < 0 and n 0. If m < 0 and n < 0, then
(5.8) (5.8)
z m+n = z (mn) = (z 1 )mn = (z 1 )m (z 1 )n = z m z n .
(c): First, we prove the statement for each n N0 by induction: The base case (n = 0)
is (z m )0 = 1 = z 0 , which is true. For the induction step, we compute
(5.8) ind. hyp. (a)
(z m )n+1 = z m (z m )n = z m z m n = z m n+m = z m (n+1) ,
completing the induction step. From (a), we also have (z m )1 = z m for z 6= 0. Thus,
for n < 0 and z 6= 0:
(5.8) n
(z m )n = (z m )1 = (z m )n = z (m)(n) = z m n ,
It is emphasized that the sign function is only defined for real numbers (cf. Rem.
5.4)!
where the term absolute value is often preferred for real numbers z R and the
term modulus is often preferred if one also considers complex numbers z
/ R.
Proof. We carry out the proofs for z, w C. However, for z, w R, everything can
easily be shown directly from (5.11), without making use of square roots.
Let z = x + iy with x, y R.
(a): If z 6= 0, then x 6= 0 or y 6= p 0, i.e. x2 > 0 or y 2 > 0 by Th. 4.7(c), implying
x2 + y 2 > 0 by Th. 4.7(f), i.e. |z| = x2 + y 2 > 0.
(b): Since a := |z| R+0 , we have |a| = a2 = a = |z|.
p p
(c): Since z = x iy, we have |z| = x2 + (y)2 = x2 + y 2 = |z|.
(d): It is x = Re z, y = Im z. Let a := max{|x|, |y|}. As remarked in Def. and Rem.
5.8, the square root function is increasing and, thus, taking square roots in the chain of
inequalities a2 x2 + y 2 (|x| + |y|)2 implies a |z| |x| + |y| as claimed.
(e): As remarked in Def. and Rem. 5.8, the square root function is injective, and, thus,
(e) follows from
Def. and Rem. 5.5(a)
|zw|2 = zw zw = zwz w = z z ww = |z|2 |w|2 .
|z|
i.e. |w1 | = |w|1 . Now (f) follows from (e): | wz | = |zw1 | = |z||w1 | = |z||w|1 = |w|
.
(g) follows from
|z + w|2 = (z + w)(z + w) = z z + wz + z w + ww
Def. and Rem. 5.5(b)
= |z|2 + 2 Re(z w) + |w|2
(d) 2
|z|2 + 2|z w| + |w|2 = |z| + |w| ,
once again using that the square root function is increasing.
(h): Using (g), we obtain
|z| = |z w + w| |z w| + |w| |z| |w| |z w|,
|w| = |w z + z| |z w| + |z| (|z| |w|) |z w|,
implying |z| |w| |z w| by (5.11) (notice |z| |w| R).
Remark 5.12. Each complex number (x, y) = x + iy can be visualized as a point in
the so-called complex plane, where the horizontal x-axis represents real numbers and
the veritcal y-axis represents purely imaginary numbers. Then the addition of complex
numbers is precisely the vector addition of 2-dimensional vectors in the complex plane,
and conjugation is represented by reflection through the x-axis. Moreover, the modulus
|z| of a complex number is precisely its distance from the origin (0, 0), and |z w|
is the distance between the points z = (x, y) and w = (u, v) in the plane. Complex
multiplication can also be interpreted geometrically in the plane: If denotes the angle
that the vector representing z = (x, y) forms with the x-axis, and, likewise, denotes
the angle that the vector representing w = (u, v) forms with the x-axis, then zw is
the vector of length |zw| that forms the angle + with the x-axis (we will better
understand this geometrical interpretation of complex multiplication later (see Def. and
Rem. 8.29), when writing complex numbers in the polar form z = x + iy = |z| exp(i),
making use of the exponential function exp).
Proof. In each case, the proof can be conducted by an easy induction. We carry out
(c) and leave the other cases as exercises. For (c), the base case (n = 0) is provided by
the true statement w0+1 z 0+1 = w z = (w z)z 0 w00 . For the induction step, one
computes
n+1 n
!
X X
(w z) z j wn+1j = (w z) z n+1 w0 + z j wn+1j
j=0 j=0
n
X
n+1
= (w z)z + (w z) w z j wnj
j=0
ind. hyp.
= (w z) z n+1 + w(wn+1 z n+1 ) = wn+2 z n+2 ,
n=0: 1
n=1: 1 1
n=2: 1 2 1
(5.15)
n=3: 1 3 3 1
n=4: 1 4 6 4 1
n=5: 1 5 10 10 5 1
The entries of the nth row of Pascals triangle are denoted by n0 , . . . , nn . One also
observes that one obtains each entry of the (n + 1)st row, except the first and last entry,
by adding the corresponding entries in row n to the left and to the right of the considered
entry in row n + 1. The first and last entry of each row are always set to 1. This can
be summarized as
n n n+1 n n
= = 1, = + for k {1, . . . , n} . (5.16)
nN0 0 n k k1 k
The following Def. 5.14 provides a different and more general definition of binomial
coefficients. We will then prove in Prop. 5.15 that the binomial coefficients as defined
in Def. 5.14 do, indeed, satisfy (5.16).
Definition 5.14. For each C and each k N0 , we define the binomial coefficient
k
Y +1j ( 1) ( k + 1)
:= 1, := = for k N. (5.17)
0 k j=1
j 1 2k
Proof. (a): The first identity is part of the definition in (5.17). For the second identity,
we first observe, for each k N,
Y k k1
+1j +1k Y+1j +1k
= = = , (5.20)
k j=1
j k j=1
j k1 k
5 COMPLEX NUMBERS 60
which implies
+1k +1
+ = 1+ =
k1 k k1 k k1 k
k1 k
+1Y+1j Y+2j +1
= = = . (5.21)
k j=1 j j=1
j k
(b): 00 = 1 according to (5.17). For n N, (5.19) is proved by induction. The base
1+11
1
case (n = 1) is provided by the true statement 1 = 1 = 1. For the induction step,
one computes
n+1Y n+1+1j n
n+1 n+1Yn+1j n ind. hyp.
= = = = 1, (5.22)
n+1 j=1
j n + 1 j=1
j n
Proof. We first prove the special case w = 1 by induction on n. The base case (n = 0)
is provided by the correct statement (z + 1)0 = 1 = 00 z 00 10 . For the induction step,
we compute
n
n+1 n ind. hyp.
X n nk
(z + 1) = (z + 1)(z + 1) = (z + 1) z
k=0
k
n n
Th. 5.13(a) X n nk X n n+1k
= z + z
k=0
k k=0
k
n+1 n
X n n+1k
X n n+1k
= z + z
k=1
k 1 k=0
k
n
Th. 5.13(a) n n+1 X n n n+1k n 0
= z + + z + z
0 k=1
k1 k n
n
Prop. 5.15 n + 1 n+1 X n + 1 n+1k n+1 0
= z + z + z
0 k=1
k n+1
n+1
X n + 1 n+1k
= z , (5.24)
k=0
k
completing the induction and proving the special case. For the general case, first consider
w = 0. Then (5.23) is proved by
n
X n nk k
z 0 = z n0 00 = z n 1 = z n = (z + 0)n . (5.25)
k=0
k
5 COMPLEX NUMBERS 61
The binomial theorem can now be used to infer a few more rules that hold for the
binomial coefficients:
Corollary 5.17. One has the following identities:
n
X n n n n
= + + + = 2n , (5.27a)
nN0
k=0
k 0 1 n
n
X n k n n n n n
(1) = + + + (1) = 0. (5.27b)
nN
k=0
k 0 1 2 n
Proof. (5.27a) is just (5.23) with z = w = 1; (5.27b) is just (5.23) with z = 1 and
w = 1.
The formulas provided by the following proposition are also sometimes useful.
Proposition 5.18. (a) For each C and each k N0 :
k
X +j +1 +k +k+1
= + + + = . (5.28)
j=0
j 0 1 k k
Proof. The induction proofs of (a) and (b) are left as exercises. For (c), one computes
k k k
X n+j (5.29) X (n + j)! (5.29) X n + j
= =
j=0
n j=0
n!(n + j n)! j=0
j
(5.28) n + k + 1 (5.29) (n + k + 1)! n+k+1
= = = ,
k k!(n + 1)! n+1
thereby establishing the case.
6 POLYNOMIALS 62
6 Polynomials
Notation 6.2. If A is any nonempty set, then one can add and multiply arbitrary
functions f, g : A K, and one can define several further operations to create new
functions from f and g:
One calls f + and f the positive part and the negative part of f , respectively. For
R-valued functions f , we have
|f | = f + + f . (6.1l)
The aj are called the coefficients of P . The largest number d n such that ad 6= 0 is
called the degree of P , denoted deg(P ). If all coefficients are 0, then P is called the zero
6 POLYNOMIALS 63
polynomial; the degree of the zero polynomial is defined as 1 (in Th. 6.6(b) below, we
will see that each polynomial of degree n N0 is uniquely determined by its coefficients
a0 , . . . , an and vice versa).
Polynomials of degree 0 are constant. Polynomials of degree 1 have the form
P (x) = a + bx and are called affine functions (often they are also called linear functions,
even though this is not really correct for a 6= 0, since every function P that is linear (in
the sense of linear algebra) must satisfy P (0) = 0). Polynomials of degree 2 have the
form P (x) = a + bx + cx2 and are called quadratic functions.
Each K such that P () = 0 is called a zero or a root of P .
A rational function is a quotient P/Q of two polynomials P and Q.
Remark 6.4. Let K and let P, Q be polynomials. Then P , P +Q, and P Q defined
according to Not. 6.2 are polynomials as well. More precisely, if = 0 or P 0, then
P = 0; if P 0, then P + Q = Q; if Q 0, then P + Q = P ; if P 0 or Q 0, then
P Q = 0. If 6= 0 and
n
X m
X
P (x) = aj x j , Q(x) = bj xj ,
j=0 j=0 (6.3)
with deg(P ) = n 0, deg(Q) = m 0, n m 0,
which completes the induction step. There is a notational issue in the second and third
line in of the above computation, since, in both lines, the bm+1 in the first sum is the
actual bm+1 from Q, but bm+1 = 0 in the second sum in both lines, which is due to the
induction hypothesis being applied for m < m+1. This is actually used when combining
both sums in the last step, computing, for m + 1 Pj m + n: ajm1 bm+1 xj + ajm1
0 xj = ajm1 bm+1 xj . For j = m + n + 1, one has m+n+1
k=0 ak bm+n+1k = an bm+1 , since
bm+n+1k = 0 for n > k and ak = 0 for k > n.
Finally, deg(P Q) = m + n follows from cm+n = am bn 6= 0.
Theorem 6.5. (a) For each polynomial P given in the form of (6.3) and each K,
we have the identity
Xn
P (x) = bj (x )j , (6.5)
j=0
where
n
X k kj
bj = ak , in particular b0 = P (), b n = an . (6.6)
j{0,...,n}
k=j
j
Proof. (a): For = 0, there is nothing to prove. For 6= 0, defining the auxiliary
variable := x , we obtain x = + and
n n X k n n
X
k (5.23)
X k kj j X X k kj j
P (x) = ak ( + ) = ak = ak
k=0 k=0 j=0
j k=0 j=0
j
n X n n n
X k kj j X X k kj j
= ak = ak , (6.8)
j=0 k=0
j j=0 k=j
j
6 POLYNOMIALS 65
which is (6.5).
(b): According to (a), we have
n
X n1
X
j1
P (x) = P () + (x ) Q(x), with Q(x) = bj (x ) = bj+1 (x )j , (6.9)
j=1 j=0
proving (b).
Theorem 6.6. (a) If P is a polynomial with n := deg(P ) 0, then P has at most n
zeros.
Proof. (a): For n = 0, P is constant, but not the zero polynomial, i.e. P a0 6= 0 with
no zeros as claimed. For n N, the proof is conducted by induction. The base case
(n = 1) is provided by the observation that deg(P ) = 1 implies P is the affine function
with P (x) = a0 + a1 x, a1 6= 0, i.e. P has precisely one zero at = a0 /a1 . For the
induction step, assume deg(P ) = n + 1. If P has no zeros, then the assertion of (a)
holds true. Otherwise, P has at least one zero K, and, according to Th. 6.5(b),
there exists a polynomial Q such that deg(Q) = n and
From the induction hypothesis, we gather that Q has at most n zeros, i.e. (6.10) implies
P has at most n + 1 zeros, which completes the induction.
(b): If P (xj ) = Q(xj ) at n + 1 distinct points xj , then each of these points is a zero of
P Q. Thus P Q is a polynomial of degree n with at least n + 1 zeros. Then (a)
implies deg(P Q) = 1, i.e. P Q is the zero polynomial, i.e. aj bj = 0 for each
j {0, . . . , n}.
Remark 6.7. Let P be a polynomial with n := deg(P ) 0. According to Th. 6.6(a), P
has at most n zeros. Using Th. 6.5(b) for an induction shows there exists k {0, . . . , n}
and a polynomial Q of degree n k such that
k
Y
P (x) = Q(x) (x j ) = (x 1 )(x 2 ) (x k )Q(x), (6.11a)
j=1
j exist). It can also occur that some of the j in (6.11a) are identical. Thus, we can
rewrite (6.11a) as
l
Y
P (x) = Q(x) (x j )mj = (x 1 )m1 (x 2 )m2 (x l )ml Q(x), (6.11b)
j=1
Pl
where 1 , . . . , l , l {0, . . . , k}, are the distinct zeros of P , and mj N with j=1 mj =
k. Then mj is called the multiplicity of the zero j of P .
The degree of P , still denoted deg(P ), is the largest number d k such that there is p
with |p| = d and ap 6= 0. If all ap = 0, i.e. if P 0, then P is the (n-dimensional) zero
polynomial and, as for n = 1, its degree is defined to be 1. A rational function is once
again a quotient of two polynomials.
Example 6.9. Writing x, y, z instead of x1 , x2 , x3 , xy 3 z, x2 y 2 , x2 y, x2 , y, 1 are examples
of monomials of degree 5, 4, 3, 2, 1, and 0, respectively, P (x, y) := 5x2 y 3x2 + y 1
and Q(x, y, z) := xy 3 z 2x2 y 2 + 1 are polynomials of degree 3 and 5, respectively,
and P (x, y)/Q(x, y, z) is a rational function defined for each (x, y, z) K3 such that
Q(x, y, z) 6= 0.
7.1 Sequences
Recall from Def. 2.14(b) that a sequence in K is a function f : N K, in this context
usually denoted as f = (zn )nN or (z1 , z2 , . . . ) with zn := f (n). Sometimes the sequence
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 67
also has the form (zn )nI , where I 6= is a countable index set (e.g. I = N0 ) different
from N (in the context of convergence (see the following Def. 7.1), I must be N or it
must have the same cardinality as N, i.e. finite I are not permissible).
Definition 7.1. The sequence (zn )nN in K is said to be convergent with limit z K if,
and only if, for each > 0, there exists an index N N such that |zn z| < for every
index n > N . The notation for (zn )nN converging to z is limn zn = z or zn z for
n . Thus, by definition,
The sequence (zn )nN in K is called divergent if, and only if, it is not convergent.
Example 7.2. (a) For every constant sequence (zn )nN = (a)nN with a K, one has
limn zn = limn a = a: Since, for each n N, |zn a| = |a a| = 0, one can
choose N = 1 for each > 0.
1
(b) limn n+a = 0 for each a C: Here zn := 1/(n + a) (if n = a, then set zn := w
with w C arbitrary). Given > 0, choose an arbitrary N N with N 1 + |a|.
Then, for each n N , we compute |n + a| = |n (a)| |n |a|| = n |a| >
N |a| 1 , and, thus, |zn | = |n + a|1 < as desired.
(c) ((1)n )nN is not convergent: We have zn = 1 for each even n and zn = 1 for each
odd n. Thus, for each z 6= 1 and each even n, |zn z| = |1 z| > |1 z|/2 =: > 0,
i.e. z is not a limit of (zn )nN . However, z = 1 is also not a limit of the sequence,
since, for each odd n, |zn 1| = | 1 1| = 2 > 1 =: > 0, proving that the
sequence has no limit.
Theorem 7.3. (a) Let (zn )nN be a sequence in C. Then (zn )nN is convergent in C
if, and only if, both (Re zn )nN and (Im zn )nN are convergent in R. Moreover, in
that case,
lim xn = z z R. (7.3)
n
Proof. (a): Suppose (zn )nN converges to z C. Then, given > 0, there exists N N
such that, for each n > N , |zn z| < . In consequence, for each n > N ,
Th. 5.11(d)
| Re zn Re z| = | Re(zn z)| |zn z| < , (7.4)
argument: Given > 0, there exists N N such that, for each n > N , | Re zn x| < /2
and | Im zn y| < /2, implying, for each n > N ,
(b) According to Th. 7.3(a) and Ex. 7.2(c), the sequence ( n1 + (1)n i)nN is divergent.
For q = 0, there is nothing to prove. For 0 < |q| < 1, it is |q|1 > 1, i.e. h := |q|1 1 > 0.
Thus, for each > 0 and N 1/(h), we obtain
(7.6)
n>N |q|n = (1 + h)n 1 + nh > nh > 1/ |q n | = |q|n < . (7.9)
plane with center z and radius , whereas, for K = R, B (z) =]z , z + [ is the
open interval with center z and length 2). More generally, a set U K is called
a neighborhood of z if, and only if, there exists > 0 with B (z) U (so, for
example, for > 0, B (z) is always a neighborhood of z, whereas R and [z , [
are neighborhoods of z for K = R, but not for K = C ([z , [ not even being
defined for z
/ R); the sets {z}, {w K : Re w Re z}, {w K : Re w Re z +}
are never neighborhoods of z).
(b) If (n) is a statement for each n N, then (n) is said to be true for almost all
n N if, and only if, there exists a finite subset A N such that (n) is true for
each n N \ A, i.e. if, and only if, (n) is always true, with the possible exception
of finitely many cases.
Remark 7.8. In the language of Def. 7.7, the sequence (zn )nN converges to z if, and
only if, every neighborhood of z contains almost all zn .
Definition 7.9. The sequence (zn )nN in K is called bounded if, and only if, the set
{|zn | : n N} is bounded in the sense of Def. 2.24(a).
Proposition 7.10. Let (zn )nN be a sequence in K.
(a) Limits are unique, that means if z, w K such that limn zn = z and limn zn =
w, then z = w.
(b) If (zn )nN is convergent, then it is bounded.
(a) If (bn )nN is a sequences in C such that there exists C R+ with |bn | C|zn | for
almost all n, then limn bn = 0.
(b) If (cn )nN is a bounded sequence in C, then limn (cn zn ) = 0.
Proof. (a): Given > 0, there exists N N such that |zn | < /C and |bn | C|zn | for
each n > N . Then, for each n > N , |bn | C|zn | < , proving limn bn = 0.
(b): If (cn )nN is bounded, then there exists C R+ such that |cn | C for each n N.
Thus, |cn zn | C|zn | for each n N, implying limn (cn zn ) = 0 via (a).
Example 7.12. The sequences ((1)n )nN and (b)nN with b C are bounded. Since,
1
for each a C, limn n+a = 0 by Example 7.2(b), we obtain
(1)n b
lim = lim =0 (7.10)
n n + a n n + a
Theorem 7.13. (a) Let (zn )nN and (wn )nN be sequences in C. Moreover, let z, w C
with limn zn = z and limn wn = w. We have the following identities:
(b) Let (xn )nN and (yn )nN be sequences in R. Moreover, let x, y R with limn xn =
x and limn yn = y. Then
(c) If, in the situation of (b) (i.e. for real sequences), xn yn holds for almost all
n N, then x y. In particular, if almost all xn 0, then x 0.
(7.11b): Given > 0, there exists N N such that, for each n > N , |zn z| < /2 and
|wn w| < /2, implying
(7.11c): Let M1 := max{|z|, 1}. According to Prop. 7.10(b), there exists M2 R+ such
that M2 is an upper bound for {|wn | : n N}. Moreover, given > 0, there exists
N N such that, for each n > N , |zn z| < /(2M2 ) and |wn w| < /(2M1 ), implying
|zn wn zw| = (zn z)wn + z(wn w)
M2 M1 (7.13c)
n>N
|wn | |zn z| + |z| |wn w| < + = .
2M2 2M1
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 71
(7.11d): We first consider the case, where all zn = 1. Given > 0, there exists N N
such that, for each n > N , |wn w| < |w|2 /2 and |wn w| < |w|/2 (since w 6= 0 for
this case), implying |w| |w wn | + |wn | < |w|/2 + |wn | and |wn | > |w|/2. Thus,
1 1 wn w 2 |wn w| 2 |w|2
=
< = . (7.13d)
n>N wn w wn w |w|2 |w|2 2
Proof. (7.16) follows by simple inductions from (7.11b) and (7.11c), respectively.
Theorem 7.16 (Sandwich Theorem). Let (xn )nN , (yn )nN , and (an )nN be sequences
in R. If xn an yn holds for almost all n N, then
Proof. Given > 0, there exists N N such that, for each n > N , xn an yn ,
|xn x| < , and |yn x| < , implying
1
lim = 0. (7.19)
n n!
Definition 7.18. Let (xn )nN be a sequence in R. The sequence is said to diverge to
(resp. to ), denoted limn xn = (resp. limn xn = ) if, and only if, for
each K R, almost all xn are bigger (resp. smaller) than K. Thus,
Proof. We treat the increasing case; the decreasing case is proved completely analo-
gously. If A is bounded and > 0, let K := sup A ; if A is unbounded, then let
K R be arbitrary. In both cases, since K can not be an upper bound, there exists
N N such that xN > K. Since the sequence is increasing, for each n > N , xN xn ,
showing | sup A xn | < in the bounded case, and xn > K in the unbounded case.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 73
Proof. Let (wn )nN be a subsequence of of (zn )nN , i.e. there is a strictly increasing
function : N N such that wn = z(n) . If limn zn = z, then, given > 0, there
is N N such that zn B (z) for each n > N . For N choose any number from N that
is N and in (N). Take M := 1 (N ) (where 1 : (N) N). Then, for each
n > M , one has (n) > N N , and, thus, wn = z(n) B (z), showing limn wn = z.
Let (wn )nN be a reordering of (zn )nN , i.e. there is a bijective function : N N
such that wn = z(n) . Let and N be as before. Define
As is bijective, it is (n) > N for each n > M . Then, for each n > M , one has
wn = z(n) B (z), showing limn wn = z.
Example 7.25. The sequence ((1)n )nN has cluster points 1 and 1.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 74
Proposition 7.26. A point z K is a cluster point of the sequence (zn )nN in K if,
and only if, the sequence has a subsequence converging to z.
Proof. If (wn )nN is a subsequence of (zn )nN , limn wn = z, then every B (z), > 0,
contains infinitely many wn , i.e. infinitely many zn , i.e. z is a cluster point of (zn )nN .
Conversely, if z is a cluster point of (zn )nN , then, inductively, define : N N as
follows: For (1), choose the index k of any point zk in B1 (z) (such a point exists, since
z is a cluster point of the sequence). Now assume that n > 1 and that (m) have already
been defined for each m < n. Let M := max{(m) : m < n}. Since B 1 (z) contains
n
infinitely many zk , there must be some zk B 1 (z) such that k > M . Choose this k as
n
(n). Thus, by construction, is strictly increasing, i.e. (wn )nN with wn := z(n) is a
subsequence of (zn )nN . Moreover, for each > 0, there is N N such that 1/N < .
Then, for each n > N , wn B 1 (z) B 1 (z) B (z), showing limn wn = z.
n N
y = limk ynjk . Since x = limk xnjk as well, we now have limk znjk = x + iy =: z,
i.e. S has a subsequence converging to z. According to Prop. 7.26, z is a cluster point
of S.
Definition 7.28. A sequence (zn )nN in C is defined to be a Cauchy sequence if, and
only if, for each R+ , there exists N N such that |zn zm | < for each n, m > N ,
i.e.
(zn )nN Cauchy + |zn zm | < . (7.25)
R N N n,m>N
Theorem 7.29. The sequence (zn )nN in C is convergent if, and only if, it is a Cauchy
sequence.
Proof. Suppose the sequence is convergent with limn zn = z. Then, given > 0,
there is N N such that zn B 2 (z) for each n > N . If n, m > N , then |zn zm |
|zn z| + |z zm | < 2 + 2 = , establishing that (zn )nN is a Cauchy sequence.
Conversely, suppose the sequence is a Cauchy sequence. Using similar reasoning as in
the proof of Prop. 7.10(b), we first show the sequence is bounded. If the sequence is
Cauchy, then there exists N N such that |zn zm | < 1 for all n, m > N . Thus, the
set A := {|zn | : |zn zN +1 | 1} {|z1 |} R+
0 is nonempty and finite. According to
Th. 3.21(a), A has an upper bound M . Then max{M, |zN +1 | + 1} is an upper bound for
{|zn | : n N}, showing that the sequence is bounded. From Th. 7.27, we obtain that
the sequence has a cluster point z. It remains to show limn zn = z. Given > 0,
choose N N such that |zn zm | < /2 for all n, m > N . Since z is a cluster point,
there exists k > N such that |zk z| < /2. Thus,
|zn z| |zn zk | + |zk z| < + = , (7.26)
n>N 2 2
proving limn zn = z.
We claim S is not a Cauchy sequence and, thus, not convergent by Th. 7.29: For each
N N, we find n, m > N such that sn sm > 1/2, namely m = N +1 and n = 2(N +1):
2(N +1)
X 1 1 1 1
s2(N +1) sN +1 = = + + +
k=N +2
k N +2 N +3 2(N + 1)
1 1
> (N + 1) = . (7.28)
2(N + 1) 2
While we have just seen that S is not convergent, it is clearly increasing, i.e. Th. 7.19
implies S is unbounded and limn sn = . Sequences defined by longer and longer
sums are known as series and will be studied further in Sec. 7.3 below. The series of the
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 76
present example is known as the harmonic series. It has become famous as the simplest
example of a series that does not converge even though its summands converge to 0. In
terms of the notation introduced in Sec. 7.3 below, we have shown
X 1 1 1
=1+ + + = . (7.29)
k=1
k 2 3
7.2 Continuity
7.2.1 Definitions and First Examples
Roughly, a function is continuous if a small change in its input results in a small change
of its output. For functions defined on an interval, the notion of continuity makes
precise the idea of a function having no jump no discontinuity at some point x in
its domain. For example, we would say the sign function of (5.9) has precisely one
jump one discontinuity at x = 0, whereas quadratic functions (or, more generally,
polynomials) do not have any jumps they are continuous.
Definition 7.31. Let M C. If M , then a function f : M K is said to be
continuous in if, and only if, for each > 0, there is > 0 such that the distance
between the values f (z) and f () is less than , provided the distance between z and
is less than , i.e. if, and only if,
+ + |z | < |f (z) f ()| < . (7.30)
R R zM
Moreover, f is called continuous if, and only if, f is continuous in every M . The set of
all continuous functions from f : M K is denoted by C(M, K), C(M ) := C(M, R).
Example 7.32. (a) Every constant map f : M K, 6= M C, is continuous: In
this case, given , we can choose any > 0 we want, say := 42: If , z M , then
|f () f (z)| = 0 < , which holds independently of , in particular, if | z| < .
(b) Every affine function f : K K, f (z) := az + b is continuous: For a = 0, this
follows from (a). For a 6= 0, given > 0, choose := /|a|. Then,
|z | < = f (z) f () = az + b a b
|a|
. (7.31)
,zK
= |a| |z | < |a| =
|a|
(c) The sign function of (5.9) is not continuous: It is continuous in each R\{0}, but
not continuous in 0: If 6= 0, then, given > 0, choose := ||. If |x | < , then
sgn(x) = sgn(), i.e. | sgn(x) sgn()| = 0 < , proving continuity in . However,
at 0, for := 1/2, we have
1
sgn(0) sgn(/2) = |0 1| = 1 > = , (7.32)
>0 2
showing sgn is not continuous in 0.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 77
Some subtleties arise from the possibility that f can be defined on subsets of C with
very different properties. The notions introduced in Def. 7.33 help to deal with these
subtleties.
Definition 7.33. Let M C.
(a) The point z C is called a cluster point or accumulation point of M if, and only if,
each -neighborhood of z, R+ , contains infinitely many points of M , i.e. if, and
only if,
+ #(M B (z)) = . (7.33)
R
Then B (z) M = {z}, showing z is an isolated point of M . Finally, the union in (7.34)
is clearly disjoint.
Lemma 7.35. Let M C, f : M K. If is an isolated point of M , then f is
always continuous in .
Proof. Independently of the concrete definition of f , we know there is > 0 such that
B () M = {}. In other words, if z M with |z | < , then z = , implying
|f (z) f ()| = 0 < for each > 0, showing f to be continuous in .
Example 7.36. (a) The sign function restricted to the set M :=], 1]{0}[1, [,
i.e.
1
for x [1, [,
sgn(x) = 0 for x = 0,
1 for x ] , 1]
is continuous: As in Ex. 7.32(c), one sees that sgn is continuous in each M \{0}.
However, now it is also continuous in 0, since 0 is an isolated point of M .
(b) Every function f : N K is continuous, since every n N is an isolated point of
N (due to {n} = N B 1 (n)).
2
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 78
To make available the power of the results on convergent sequences from Sec. 7.1 to
investigations regarding the continuity of functions, we need to understand the relation-
ship between both notions. The core of this relationship is the contents of the following
Th. 7.37, which provides a criterion allowing one to test continuity in terms of convergent
sequences:
We can now apply the rules of Th. 7.13 to see that all the arithmetic operations defined
in Not. 6.2 preserve continuity:
Proof. Let (zn )nN be a sequence in M such that limn zn = . Then the continuity
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 79
For the fourth case, i.e. for f /g, one might need to discard some initial part of the
sequence ((f /g)(zn ))nN to make sure that all the g(zn ) 6= 0. If f, g are both R-valued,
then we also have
and, finally, the continuity of f + and f follows from the continuity of max(f, g).
f = Re f + i Im f, (7.37)
Example 7.40. (a) The continuity of the absolute value function z 7 |z| on K can be
concluded directly from (7.11e) and, alternatively, from combining the continuity
of f : K K, f (z) = z, according to Ex. 7.32(b), with the continuity of |f |
according to Th. 7.38.
P
(b) Every polynomial P : K K, P (x) = nj=0 aj xj , aj K, is continuous: First
note that every monomial x 7 xj is continuous on K by (7.11g). Then Th. 7.38
implies the continuity of x 7 aj xj on K. Now the continuity of P follows from
(7.16a) or, alternatively, by an induction from the f + g part of Th. 7.38.
(c) Let P, Q : K K, be polynomials and let A := Q1 {0} the set of all zeros of
Q (if any). Then the rational function (P/Q) : K \ A K is continuous as a
consequence of (b) plus the f /g part of Th. 7.38.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 80
Proof. Let Df and assume f is continuous in and g is continuous in f (). If (zn )nN
is a sequence in Df such that limn zn = , then the continuity of f in implies that
limn f (zn ) = f (). Then the continuity of g in f () implies limn g(f (zn )) =
g(f ()), thereby establishing the continuity of g f in .
Subsets A of C (and even subsets of R) can be extremely complicated. If the set A has
one or more of the benign properties defined in the following, then this can often be
exploited in some useful way (we will see an important example in Th. 7.54 below).
(a) A is called bounded if, and only if, A = or the set {|z| : z A} is bounded in R
in the sense of Def. 2.24(a), i.e. if, and only if,
A BM (0).
M R+
(b) A is called closed if, and only if, every sequence in A that converges in C has its
limit in A (note that is, thus, closed).
(c) A is called compact if, and only if, A is both closed and bounded.
Example 7.43. (a) Clearly, and sets containing single points {z}, z C are com-
pact. The sets C and R are simple examples of closed sets that are not bounded.
(b) Let a, b R, a < b. Each bounded interval ]a, b[, ]a, b], [a, b[, [a, b] is, indeed,
bounded (by M := max{|a|, |b|}). If (xn )nN is a sequence in [a, b], converging
to x R, then Th. 7.13(c) shows a x b, i.e. x [a, b] and [a, b] is, indeed,
closed. Analogously, one sees that the unbounded intervals [a, [ and ] , a] are
also closed. On the other hand, open and half-open intervals are not closed: For
sufficiently large n, the convergent sequence (b n1 )nN is in [a, b[, but limn (b
1
n
) = b / [a, b[, and the other cases are treated analogously. In particular, only
intervals of the form [a, b] (and trivial intervals) are compact.
(c) For each > 0 and each z C, the set B (z) is bounded (since B (z) B+|z| (0)
by the triangle inequality), but not closed (since, for sufficiently large n N,
(z + n1 )nN is a sequence in B (z), converging to z +
/ B (z)). In particular,
B (z) is not compact.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 81
Proposition 7.44. (a) Finite unions of bounded (resp. closed, resp. compact) sets are
S if A1 , . . . , An C, n N, are bounded
bounded (resp. closed, resp. compact), i.e.
(resp. closed, resp. compact), then A := nj=1 Aj is also bounded (resp. closed, resp.
compact).
(b) Arbitrary (i.e. finite or infinite) intersections of bounded (resp. closed, resp. com-
pact) sets are bounded (resp. closed, resp. compact), i.e. if I 6= is an arbitrary
set and, for each j I, Aj C is bounded (resp. closed, resp. compact), then
index T
A := jI Aj is also bounded (resp. closed, resp. compact).
Many more examples of closed sets can be obtained as preimages of closed sets under
continuous maps according to the following remark:
Remark 7.46. In Calculus II, it will be shown in the more general context of maps f
between metric spaces that a map f is continuous if, and only if, all preimages f 1 (A)
under f of closed sets A are closed. Here, we will only prove the following special case:
f : C K continuous and A K closed f 1 (A) C closed. (7.38)
Indeed, suppose f is continuous and A K is closed. If (zn )nN is a sequence in f 1 (A)
with limn zn = z C, then (f (zn ))nN is a sequence in A. The continuity of f then
implies limn f (zn ) = f (z) and, then, f (z) A, since A is closed. Thus, z f 1 (A),
showing f 1 (A) is closed.
Example 7.47. (a) For each z C and each r > 0, the closed disk B r (z) := {w C :
|z w| r} with radius r and center z is, indeed, closed by (7.38), since
B r (z) = f 1 [0, r], (7.39)
where f is the continuous map f : C R, f (w) := |z w|. Since B r (z) is clearly
bounded, it is also compact.
(b) For each z C and each r > 0, the circle (also called a 1-sphere) Sr (z) := {w C :
|z w| = r} with radius r and center z is closed by (7.38), since Sr (z) = f 1 {r},
where f is the same map as in (7.39). Moreover, Sr (z) is also clearly bounded, and,
thus, compact.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 82
Proof. If K is closed and bounded, and (zn )nN is a sequence in K, then the boundedness,
the Bolzano-Weierstrass Th. 7.27, and Prop. 7.26 yield a subsequence that converges to
some z C. However, since K is closed, z K.
Conversely, assume every sequence in K has a subsequence that converges to some
limit z K. Let (zn )nN be a sequence in K that converges to some w C. Then this
sequence must have a subsequence that converges to some z K. However, according to
Prop. 7.23, it must be w = z K, showing K is closed. If K is not bounded, then there
exists a sequence (zn )nN in K such that limn |zn | = . Every subsequence (znk )kN
then still has the property that limk |znk | = , in particular, each subsequence is
unbounded and can not converge to some z C (let alone in K).
Caveat 7.49. In Calculus II, we will generalize the notion of compactness to subsets of
so-called metric spaces, defining a set K to be compact if, and only if, every sequence
in K has a subsequence that converges to some limit in K. While it remains true that
every compact set is closed and bounded, the converse does not(!) hold in general metric
spaces (in general, even in closed sets, there exist bounded sequences that do not have
convergent subsequences).
One reason that compact sets are useful is that real-valued continuous functions on
compact sets assume a maximum and a minimum, which is the contents of Th. 7.54
below. In preparation, we now define maxima and minima for real-valued functions.
Definition 7.50. Let M C, f : M R.
(a) Given z M , f has a (strict) global min at z if, and only if, f (z) f (w) (f (z) <
f (w)) for each w M \ {z}. Analogously, f has a (strict) global max at z if, and
only if, f (z) f (w) (f (z) > f (w)) for each w M \{z}. Moreover, f has a (strict)
global extreme value at z if, and only if, f has a (strict) global min or a (strict)
global max at z.
(b) Given z M , f has a (strict) local min at z if, and only if, there exists > 0
such that f (z) f (w) (f (z) < f (w)) for each w {w M : |z w| < } \ {z}.
Analogously, f has a (strict) local max at z if, and only if, there exists > 0 such
that f (z) f (w) (f (z) > f (w)) for each w {w M : |z w| < } \ {z}.
Moreover, f has a (strict) local extreme value at z if, and only if, f has a (strict)
local min or a (strict) local max at z.
Remark 7.51. In the context of Def. 7.50, it is immediate from the respective definitions
that f has a (strict) global min at z M if, and only if, f has a (strict) global max
at z. Moreover, the same holds if global is replaced by local. It is equally obvious
that every (strict) global min/max is a (strict) local min/max.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 83
Proof. If (wn )nN is a sequence in f (K), then, for each n N, there is some zn K
such that f (zn ) = wn . As K is compact, there is a subsequence (an )nN of (zn )nN
with limn an = a for some a K. Then (f (an ))nN is a subsequence of (wn )nN and
the continuity of f yields limn f (an ) = f (a) f (K), showing that (wn )nN has a
convergent subsequence with limit in f (K). By Th. 7.48, we have therefore established
that f (K) is compact.
According to the definition of the inf and sup as largest lower bound and smallest upper
bound, respectively, for each n N, there must be elements xn , yn K such that
m xn m + n1 and M n1 yn M . Since the compact set K is also closed, we get
m = limn xn K and M = limn yn K.
Example 7.55. On an unbounded set, a continuous function does not necessarily have
a global max or a global min, as one can already see from x 7 x. An example for a
continuous function on a bounded, but not closed, interval, that does not have a global
max is f : ]0, 1] R, f (x) := 1/x, which is continuous by Th. 7.38.
Proof. If f (a) = f (b), then there is nothing to prove. If f (a) < f (b) and ]f (a), f (b)[,
then consider the auxiliary function g : [a, b] R, g(x) := f (x). Then g is
continuous with g(a) = f (a) > 0 and g(b) = f (b) < 0. According to Bolzanos
Th. 7.56, there exists ]a, b[ such that g() = f () = 0, i.e. f () = as claimed.
If f (b) < f (a) and ]f (b), f (a)[, then consider the auxiliary function g : [a, b] R,
g(x) := f (x). Then g is continuous with g(a) = f (a) > 0 and g(b) = f (b) < 0.
Once again, according to Bolzanos Th. 7.56, there exists ]a, b[ such that g() =
f () = 0, i.e. f () = .
Theorem 7.58. If I R is an interval (of one of the 8 types listed in (4.11)) and
f : I R is continuous, then f (I) is also an interval (it can degenerate to a single
point if f is constant). More precisely, if 6= I = [a, b] is a compact interval, then
6= f (I) = [min f (I), max f (I)]; if I is not a compact interval, then one of the following
9 cases occurs:
f (I) = R, (7.41a)
f (I) =] , sup f (I)], (7.41b)
f (I) =] , sup f (I)[, (7.41c)
f (I) = [inf f (I), [ (7.41d)
f (I) = [inf f (I), sup f (I)], (7.41e)
f (I) = [inf f (I), sup f (I)[, (7.41f)
f (I) =] inf f (I), [, (7.41g)
f (I) =] inf f (I), sup f (I)], (7.41h)
f (I) =] inf f (I), sup f (I)[. (7.41i)
Proof. If I is a compact interval, then we merely combine Th. 7.54 with Th. 7.57.
Otherwise, let f (I). If f (I) has an upper bound, then Th. 7.57 implies [, sup f (I)[
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 85
f (I) and f (I) [, [ [, sup f (I)]. If f (I) does not have an upper bound, then Th.
7.57 implies f (I) [, [= [, [. Analogously, one obtains f (I)] , ] =] , ]
or f (I)] , ] = [inf f (I), ] or f (I)] , ] =] inf f (I), ],showing that there
are
precisely the 9 possibilities of (7.41) for f (I) = f (I)] , ] f (I) [, [ .
The above results will have striking consequences in the following Sec. 7.2.5.
Theorem 7.60. Let I R be an interval (of one of the 8 types listed in (4.11)). If
f : I R is continuous and strictly increasing (resp. decreasing), then f has an
inverse function f 1 defined on the interval J := f (I), i.e. f 1 : J I, and f 1 is
also continuous and strictly increasing (resp. decreasing).
Remark and Definition 7.61 (Roots). We are now in a position to fulfill the promise
made in Def. and Rem. 5.8, i.e. to prove the existence of unique roots for nonnegative
real numbers: For each n N, the function f : R+ n
0 R, f (x) := x , is continuous
+ +
and strictly increasing with J := f (R0 ) = R0 . Then Th. 7.60 implies the existence
of a continuous and strictly increasing inverse function f 1 : R+ +
0 R0 . For each
1
x R+ 0 , we call f
1
(x) the nth root of x and write n x := x n := f 1 (x). Then
1
( n x)n = (x n )n = x is immediate from the definition. Caveat: By definition, roots are
always nonnegative and they are only defined for nonnegative numbers (when studying
complex numbers and C-valued functions more deeply in the field of Complex Analysis,
one typically extends the notion of root, but we will not
pursue thisroute in thisclass).
As anticipated in Def. and Rem. 5.8, one also writes x instead of 2 x and calls x the
square root of x.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 86
Remark and Definition 7.62. It turns out that 2 (and many other roots)
are not
rational numbers, i.e. 2 by contradiction: If 2 Q, then
/ Q. This is easily proved
there exist natural numbers m, n N such that 2 = m/n. Moreover, by canceling
possible
factors of 2, we may assume at least one of the numbers m, n is odd. Now
2 = m/n implies m2 = 2n2 , i.e. m2 and, thus, m must be even. In consequence, there
exists p N such that m = 2p, implying 2n2 = m2 = 4p2 and n2 = 2p2 . Thus n2 and n
must also be even, in contradiction to m, n not both being even.
The elements of R \ Q are called irrational numbers. It turns out that most real num-
bers are irrational numbers one can show that Q is countable, whereas R \ Q is not
countable (actually, every interval contains countably many rational and uncountably
many irrational numbers, see Appendix E, in particular, Th. E.1(c) and Cor. E.4).
Theorem 7.63 (Inequality Between the Arithmetic Mean and the Geometric Mean).
If n N and x1 , . . . , xn R+
0 , then
x1 + + xn
n
x1 xn , (7.42)
n
where the left-hand side is called the geometric mean and the right-hand side is called
the arithmetic mean of the numbers x1 , . . . , xn . Equality occurs if, and only if, x1 =
= xn .
Proof. If at least one of the xj is 0, then (7.42) becomes the true statement 0 x1 ++x
n
n
with strict equality if at least one xj > 0. If x1 = = xn = x, then (7.42) also holds
since both sides are equal to x. Thus, for the remainder of the proof, we assume all
xj > 0 and not all xj are equal. First, we consider the special case, where x1 ++x
n
n
= 1.
Since not all xj are equal, there exists k with xk 6= 1. We prove (7.42) by induction for
n {2, 3, . . . } in the form
n
! n
X Y
xj = n xk 6= 1 xj < 1. (7.43)
k{1,...,n}
j=1 j=1
Base Case (n = 2): Since x1 + x2 = 2, 0 < x1 , x2 and not both x1 and x2 are equal to
1, there is > 0 such that x1 = 1 + and x2 = 1 , i.e. x1 x2 = 1 2 < 1, which
Pn+1 the base case. Induction Step: We now have n 2 and 0 < x1 , . . . , xn+1
establishes
with j=1 xj = n + 1 plus the existence of k, l {1, . . . , n + 1} such that xk = 1 + ,
xl = 1 with , > 0. Then define y := xk + xl 1 = 1 + . One observes y > 0
(since < 1) and
n+1
X n+1
X n+1
Y
ind. hyp.
y+ xj = 1 + xj = n y xj 1 (7.44)
j=1, j=1 j=1,
j6=k,l j6=k,l
(we can not exclude equality as y and all the remaining xj might be equalQto 1). Since
xk xl = (1 + )(1 ) = 1 + = y < y, (7.44) implies n+1 j=1 xj < 1,
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 87
concluding the induction proof of (7.43). It remains to consider the case x1 ++x n
n
=>
0, not all xj equal. One estimates
r
x1 xn special case x1 + + xn x1 + + xn
n
x1 xn = n < = , (7.45)
n n
completing the proof of the theorem.
Corollary 7.64. For each a R+
0 \ {1}, n {2, 3, . . . }, p {1, . . . , n 1}:
n p a1
ap < 1 + (a 1); p = 1 yields n
a<1+ . (7.46)
n n
Proof. The simple application
v
u np
n
u Y Th. 7.63 p a + n p p
p
a = a
n
t p 1 < = 1 + (a 1) (7.47)
j=1
n n
It is an exercise to show
1
lim = 0. (7.50)
n n
Now this together with 1 n
n1+ 2 and the Sandwich Th. 7.16 proves (7.48).
n
Example 7.66 (Eulers Number). We use Th. 7.63 to prove the limit
n
1
e := lim 1 + (7.51)
n n
exists. It is known as Eulers number. One can show it is an irrational number (see
Appendix F.1) and its first digits are e = 2.71828 . . . It is of exceptional importance for
analysis and mathematics in general, as it pops up in all kinds of different mathematical
contexts. From Th. 7.63, we obtain
n+1
x n x n x
1+ =1 1+ < 1+ , (7.52)
nN x[n,[, n n n+1
x6=0
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 88
where we have used that, on both sides of the inequality in (7.52), there are n + 1 factors
having the same sum, namely n + 1 + x; and the inequality in (7.42) is strict, unless
all factors are equal. We now apply (7.52) to the sequences (an )nN , (bn )nN , (cn )nN ,
where n n
1 1
an := 1 + , bn := 1 ,
n n
1
!n+1 n+1 :
(7.53)
nN
c := b1 = 1 1
n n+1 1 = 1+
n+1 n
Applying (7.52) with x = 1 and x = 1, respectively, yields (an )nN and (bn )nN are
strictly increasing, and (cn )nN is strictly decreasing. On the other hand, an < cn holds
for each n N, showing (an )nN is bounded from above by c1 , and (cn )nN is bounded
from below by a1 . In particular, Th. 7.19 implies the convergence of both (an )nN and
(cn )nN . Moreover, limn cn = limn an (1 + 1/n) = e 1 = e, which, together with
an < e < cn for each n N, can be used to compute e to an arbitrary precision.
Definition 7.67. Let A R be a subset of the real numbers. Then A is called dense
in R if, and only if, every -neighborhood of every real number contains a point from A,
i.e. if, and only if,
+ A B (x) 6= .
xR R
(b) R \ Q is dense in R.
(c) For each x R, there exist sequences (rn )nN and (sn )nN in the rational numbers
Q such that x = limn rn = limn sn , (rn )nN is strictly increasing and (sn )nN
is strictly decreasing.
Proof. (a): Since each B (x) is an interval, it suffices to prove that every interval ]a, b[,
a < b, contains a rational number. If 0 ]a, b[, then there is nothing to prove. Suppose
0 < a < b and set := b a > 0. Choose n N such that 1/n < and let
k k
q := max : kN <b .
n n
Then q Q and a < q < b. If a < b < 0, choose and n as above, but let
k k
q := min : k N > a .
n n
(c): Using (a), for each n N, we choose rational numbers rn and sn such that
1 1 1 1
rn x , x , sn x + ,x + .
n n+1 n+1 n
Then, clearly, (rn )nN is strictly increasing, (sn )nN is strictly decreasing, and the Sand-
wich Th. 7.16 implies x = limn rn = limn sn .
Definition and Remark 7.69 (Exponentiation). In Not. 5.6, we had defined ax for
(a, x) C N0 and for (a, x) (C \ {0}) Z. We will now extend the definition to
(a, x) R+ R (later, we will further extend the definition to (a, z) R+ C). The
present extension to (a, x) R+ R is accomplished in two steps first, in (a), for
rational x, then, in (b), for irrational x.
For this definition to make sense, we have to check it does not depend on the special
representation of x, i.e., we have to verify x = nk = nmkm
with k Z and m, n N
k km
implies a = a . To this end, observe, using Rem. and Def. 7.61,
n nm
k
n km
nm
(a n )nm = ( ak )nm = akm and (a nm )nm = ( akm )nm = akm , (7.55)
k km
proving a n = a nm (here, as in Rem. and Def. 7.61, we used that 7 N is one-
to-one on R+0 for each N N). The exponentiation rules of Th. 5.7 now extend to
rational exponents in a natural way, i.e., for each a, b > 0 and each x, y Q:
ax+y = ax ay , (7.56a)
ax bx = (ab)x , (7.56b)
(ax )y = ax y . (7.56c)
For the proof, by possibly multiplying numerator and denominator by some natural
number, we can assume x = k/n and y = l/n with k, l Z and n N. Then
k+l Th. 5.7(a) k l Th. 5.7(b)
(ax+y )n = (a n )n = ak+l = ak al = (a n )n (a n )n = (ax ay )n ,
proving (7.56a);
Th. 5.7(b) k k Th. 5.7(b) k Th. 5.7(c)
(ax bx )n = (a n )n (b n )n ak bk = (ab)k = (ab) n n = ((ab)x )n ,
proving (7.56b);
Th. 5.7(c)
l
n k Th. 5.7(c) k Th. 5.7(c)
x y n2 x n
((a ) ) = ((a ) ) n = ((a n )l )n = ((a n )n )l = akl
kl 2 2
= (a n2 )n = (ax y )n ,
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 90
proving (7.56c).
Moreover, we obtain the following monotonicity rules for each a, b R+ and each
x, y Q:
x x
a<b a <b , (7.57a)
x>0
a < b ax > b x , (7.57b)
x<0
x < y ax < ay , (7.57c)
a>1
x < y ax > ay . (7.57d)
0<a<1
If x = k/n with k, n N and a < b, then a1/n < b1/n according to Rem. and
Def. 7.61, which, in turn, implies ax = (a1/n )k < (b1/n )k = bx , proving (7.57a); and
a1 > b1 implies ax = (a1 )x > (b1 )x = bx , proving (7.57b). If x < y, set q :=
y x > 0. Then 1 < a and (7.57a) imply 1 = 1q < aq , i.e. ax < ax aq = ay , proving
(7.57c). Similarly, 0 < a < 1 and (7.57a) imply aq < 1q = 1, i.e. ay = ax aq < ax ,
proving (7.57d).
The following estimates will also come in handy: For a R+ and x, y Q:
For x 1, (7.58) is proved by ax < ax+1 < x ax+1 + 1; for x < 1, write x = p/n
with p, n N and p < n, and apply (7.46) to obtain ax < 1 + x(a 1) < 1 + xa <
1 + x ax+1 . For the proof of (7.59), first consider a > 1. Moreover, by possibly
renaming x and y, we may assume x < y, i.e. z := y x > 0. Thus, (7.58) holds
with x replaced by z. Multiplying the resulting inequality by ax yields
proving (7.59) for a > 1. For a = 1, it is clearly true, and for a < 1, it is a1 > 1,
i.e.
|ax ay | = |(a1 )x (a1 )y | |y x| (a1 )m+1 ,
finishing the proof of (7.59).
For this definition to make sense, we have to know such sequences (qn )nN exist,
which we do know from Th. 7.68(c). We also know from Th. 7.68(c) that there
exists an increasing sequence (qn )nN in Q converging to x, in particular, bounded
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 91
by x. Then, by (7.57c) and (7.57d), respectively, (aqn )nN is increasing for a > 1
and decreasing for 0 < a < 1. Moreover, the sequence is bounded from above by
aN with N N, N > x, for a > 1; and bounded from below by 0 for 0 < a < 1.
In both cases, Th. 7.19 implies convergence of the sequence to some limit that we
may call ax . However, we still need to verify that, for each sequence (rn )nN in Q
with limn rn = x, the sequence (arn )nN converges to the same limit ax in R. If
limn rn = x, then limn |qn rn | = 0. Since (rn )nN and (qn )nN are bounded,
(7.59) implies
+ |aqn arn | L |qn rn |, (7.61)
LR nN
Proof. Given x, y R, let (pn )nN and (qn )nN be sequences in Q such that limn pn =
x and limn qn = y.
We start by verifying (7.59). As we can assume (pn )nN and (qn )nN to be monotone,
we may also assume pn , qn [m, m] for each n N. Then the rational case of (7.59)
implies
|apn aqn | L |pn qn |,
nN
and Th. 7.13(c) establishes the case. Then (7.63) also follows, since
0 |axn ax | L |xn x| 0.
to obtain ay = ax ah > ax , i.e. (7.57c). If 0 < a < 1 and x < y, then (1/a)x < (1/a)y ,
yielding (7.57d). For (7.57a), consider x > 0 and 0 < a < b. Then
x
b bx b
>1 x
= > 1 b x > ax ,
a a a
proving (7.57a). If x < 0 and 0 < a < b, then ax = (1/a)x > (1/b)x = bx , proving
(7.57b).
Finally, it remains to verify (7.58). For x 1, the proof for rational x still works for
irrational x. For 0 < x < 1, one uses the usual sequence (qn )nN in Q with limn qn = x
and obtains (recalling a > 1)
(7.46)
ax = lim aqn lim 1 + qn (a 1) = 1 + x(a 1) < 1 + x ax+1 ,
n n
proving (7.58).
Definition 7.71 (Exponential and Power Functions). (a) Each function of the form
f : R+ R, f (x) := x , R, (7.64)
is called a power function. For > 0, the power function is extended to x = 0 by
setting 0 := 0; for Z, it is defined on R \ {0}; for N0 even on R.
(b) Each function of the form
f : R R+ , f (x) := ax , a > 0, (7.65)
is called a (general) exponential function. The case where a = e with e being Eulers
number from (7.51) is of particular interest and importance. Most of the time, when
referring to an exponential function, one actually means x 7 ex . It is also common
to write exp(x) instead of ex .
Theorem 7.72. (a) Every power function as defined in Def. 7.71(a) is continuous on
its respective domain. Moreover, for each > 0, it is strictly increasing on [0, [;
for each < 0, it is strictly decreasing on ]0, [.
(b) Every exponential function as defined in Def. 7.71(b) is continuous. Moreover, for
each a > 1, it is strictly increasing; for each 0 < a < 1, it is strictly decreasing.
Proof. (a): The monotonicity claims are provided by (7.57a) and (7.57b), respectively.
For each N0 , the power function is a polynomial, for each Z, a rational function,
i.e. continuity is provided by Ex. 7.40(b) and Ex. 7.40(c), respectively. For a general
R, the continuity proof on R+ will be postponed to Ex. 7.76(a) below, where it can
be accomplished more easily. So it remains to show the continuity in x = 0 for > 0.
However, if (xn )nN is a sequence in R+ with limn xn = 0 and k N with 1/k ,
1/k
then, at least for n sufficiently large such that xn 1, 0 < xn xn by (7.57d). Then
1/k
the continuity of x 7 x1/k implies limn xn = 0 and the Sandwich Th. 7.16 implies
limn xn = 0, proving continuity in x = 0.
(b): Everything has already been proved continuity is provided by (7.63), monotonicity
is provided by (7.57c) and (7.57d).
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 93
Remark and Definition 7.73 (Logarithm). According to Th. 7.72(b), for each a
R+ \ {1}, the exponential function f : R R+ , f (x) := ax , is continuous and strictly
monotone with f (R) = R+ (verify that the image is all of R+ as an exercise). Then
Th. 7.60 implies the existence of a continuous and strictly monotone inverse function
f 1 : R+ R. For each x R+ , we call f 1 (x) the logarithm of x to base a and write
loga x := f 1 (x). The most important special case is where the base is Eulers number,
a = e. This is called the natural logarithm. Bases a = 2 and a = 10 also carry special
names, binary and common logarithm, respectively. The notation is
however, the notation in the literature varies one finds log used instead of ln, lb, and
lg; one also finds lg instead of lb. So you always need to verify what precisely is meant
by either notation.
loga 1 = 0, (7.67a)
aR+ \{1}
loga a = 1, (7.67b)
aR+ \{1}
aloga x = x, (7.67c)
aR+ \{1} xR+
loga ax = x, (7.67d)
aR+ \{1} xR
1
+ loga n
x= loga x, (7.67h)
+
aR \{1} xR nN n
logb x = (logb a) loga x. (7.67i)
a,bR+ \{1} xR+
Proof. All the rules are easy consequences of the logarithm being defined as the inverse
function to f : R R+ , f (x) := ax .
(7.67a): It is loga 1 = f 1 (1) = 0, as f (0) = a0 = 1.
(7.67b): It is loga a = f 1 (a) = 1, as f (1) = a1 = a.
(7.67c): It is aloga x = f (f 1 (x)) = x.
(7.67d): It is loga ax = f 1 (f (x)) = x.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 94
(7.67e): It is loga (xy) = f 1 (xy) = f 1 f (loga x + loga y) = loga x + loga y, since
(7.67c)
f (loga x + loga y) = aloga x+loga y = aloga x aloga y = xy.
(7.67f): It is loga (xy ) = f 1 (xy ) = f 1 f (y loga x) = y loga x, since
(7.67c)
f (y loga x) = ay loga x = (aloga x )y = xy .
(7.67g) is just a combination of (7.67e) and (7.67f): loga (x/y) = loga (xy 1 ) = loga x
loga y.
(7.67h) is just a special case of (7.67f): loga n x = loga x1/n = n1 loga x.
(7.67i): One computes
(7.67f) (7.67c)
(logb a) loga x = logb aloga x = logb x.
Thus, we have verified all the rules and concluded the proof.
f : R+ R, f (x) := x = e ln x , (7.68)
is continuous, which follows from Th. 7.41, since f = exp ( ln), ln is continuous
by Cor. 7.74, and exp is continuous by Th. 7.72(b).
7.3 Series
7.3.1 Definition and Convergence
Series are a special type of sequences, namely sequences whose members arise from
summing up the members of another sequence. We have, on occasion, already encoun-
tered series, for example the harmonic series (sn )nN , whose members sn were defined
in (7.27). In the present section, we will study series more systematically.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 95
Definition 7.77. Given a sequence (an )nN in K (or, more generally, in any set A,
where an addition is defined), the sequence (sn )nN , where
n
X
sn := aj , (7.69)
nN
j=1
The anPare called the summands of the series, the sn its partial sums. Moreover, each
series j=k aj with k N is called a remainder (series) of the series (sn )nN .
The example of the remainder series already shows that it is useful to allow countable
index sets other than N. Thus, if (aj )jI , where I is a countable index set and : N
I a bijective map, then define
X X
aj := a(j) (7.71)
jI j=1
For sequences in K, the notion of convergence is available, and, thus, it is also available
for series arising from real or complex sequences (as such series are, again, sequences in
K).
Definition 7.78. If (sn )nN is a series with the sn defined as in (7.69) and with sum-
mands aj K, then the series is called convergent with limit s K if, and only if,
limn sn = s in the sense of (7.1). In that case, one writes
X
aj = s (7.72)
j=1
and calls s the sum of thePseries. The series P is called divergent if, and only if, it is
not convergent. We write j=1 aj = (resp.
j=1 aj = ) if, and only if, (sn )nN
diverges to (resp. ) in the sense of Def. 7.18.
P
Caveat 7.79. One has to use care as the symbol j=1 aj is used with two completely
different meanings. If it is used according to (7.70), then it means a sequence; if it is
used according to (7.72), then it means a real or complex number (or, possibly, or
). It should always be clear from the P context, if it means a sequence or a number.
For example, in the statement the series j=1 2
j
is convergent, it means a sequence;
P j
whereas in the statement j=1 2 = 1, it means a number.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 96
P
Example 7.80. (a) For each q C with |q| < 1, j
j=0 q is called a geometric series.
From (3.18b) (the reader is asked to go back and check that (3.18b) andPits proof,
indeed, remain valid for each q C), we obtain the partial sums sn = nj=0 q j =
1q n+1
1q
Since |q| < 1, we know limn q n+1 = 0 from Ex. 7.6. Thus, the series is
.
convergent with
X 1 q n+1 1
q j = lim sn = lim = . (7.73)
|q|<1 n n 1 q 1 q
j=0
(a) Linearity:
X
X
X
( aj + bj ) = aj + bj . (7.75)
,C
j=1 j=1 j=1
(c) Monotonicity:
X
X
aj , b j R aj b j aj bj . (7.77)
jN
j=1 j=1
P P
(d) Each P
remainder series P j=n+1 a j , n N, converges, and, letting S := j=1 aj ,
sn := nj=1 aj , rn := a
j=n+1 j , one has
S = sn + rn , lim an = lim rn = 0. (7.78)
nN n n
Proof. (a) follows from the first two identities of Th. 7.13(a), (b) is due to
X n
X n
X n
X
X
Def. and Rem. 5.5(a) (7.11f)
aj = lim aj = lim aj = lim aj = aj ,
n n n
j=1 j=1 j=1 j=1 j=1
(c) follows from Th. 7.13(c), and, for (d), one computes
lim an = lim (sn sn1 ) = S S = 0,
n n
Xk
rn = lim aj = lim (sk sn ) = S sn ,
nN k k
j=n+1
lim rn = lim (S sn ) = S S = 0,
n n
completing the proof.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 97
P P
(b) If j=1 aj is divergent, then j=1 |bj | is divergent as well.
Proof. Since
Pn(b) is merely the P contraposition of (a), it suffices toP
prove (a). ToP
this end,
let sn := j=1 aj and tn := j=1 |bj | be the partial sums of j=1 aj and
n
j=1 |bj |,
respectively. Since (tn )nN converges, it must be a Cauchy sequence by Th. 7.29. Thus,
|tn tm | = |bm+1 | + + |bn | <
R+ N N, n>m>N
N k
that means the error made when approximating the limit by the partial sum sn has the
same sign as the first neglected summand an+1 , and its absolute value is less than |an+1 |.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 98
Proof. We first consider the case where a1 > 0, i.e. where there exists a strictly de-
creasing sequence of positive numbers (bn )nN such that an = (1)n+1 bn . As the bn are
strictly decreasing, we obtain bn bn+1 > 0 for each n N, such that the sequences
(un )nN and (vn )nN , defined by
n
X
un := s2n = (b2j1 b2j ) = (b1 b2 ) + (b3 b4 ) + + (b2n1 b2n ),
nN
j=1
n
X
vn := s2n+1 = b1 (b2j b2j+1 )
nN
j=1
Pj=1 (aj ) = (a1 ) for a suitable ]0, 1[. However, this then yields, as before,
j=1 aj = a1 .
P
Applying the above result to each remainder series j=n+1 aj , n N, completes the
proof of (7.81) and the theorem.
Example 7.86. (a) Each of the following alternating series clearly converges, as the
Leibniz criterion of Th. 7.85 clearly applies in each case:
X (1)j+1 1 1
=1 + +..., (7.82a)
j=1
j 2 3
X (1)j+1 1 1
=1 + +..., (7.82b)
j=1
2j 1 3 5
X (1)j+1 1 1 1
= + +... (7.82c)
j=1
ln(j + 1) ln 2 ln 3 ln 4
P
an exercise to show that
It is P j=1 dj is an alternating series with limn dn = 0
and j=1 dj = .
P
Definition
P 7.87. The series j=1 aj in C is said to be absolutely convergent if, and
only if, j=1 |a j | is convergent.
P
Corollary 7.88. Every absolutely convergent series j=1 aj is also convergent and
satisfies the triangle inequality for infinite series:
X X
aj |aj |. (7.83)
j=1 j=1
Proof. The corollary is given by the special case aj = bj for each j N of Th. 7.83(a).
P
Theorem 7.89. We consider the series j=1 aj in C.
P
(a) If +
Pcj is a convergent series such that cj R0 and |aj | cj for each j N,
j=1
then j=1 aj is absolutely convergent.
(c): If there is q ]0, 1[ and N N such that an+1
an
q for each n > N , then,
letting C := |aN +1 |, an induction
P P shows |aN +1+k | Cq k for each k N, i.e., by (7.73),
C N +1
j=1 |aj | is bounded by 1q + j=1 |aj | and, thus, convergent. If there is N N such
that an+1
an
1 for each n > N , then |an | |aN +1 | > 0 for each n > N , showing (an )nN
P
does not converge to 0 and proving the divergence of j=1 aj .
p
Caveat 7.90. In (7.84a), it does not suffice to have n |an | < 1 to conclude convergence,
and, likewise, | an+1 an
| < 1 does not suffice in (7.85a): As a counterexample, consider
p
the harmonic series, which does not converge, but n 1/n < 1 for each n 2 and
1/(n+1) n
1/n
= n+1 < 1 for each n N.
P
Example 7.91. (a) For each z C with |z| < 1and each p N0 , the series p n
n=1 n z
is absolutely convergent: We have limn n p
n = 1 as a consequence of Ex. 7.65.
p p
This implies limn |an | = limn n |z|n = |z| < 1. Thus, the root test of
n n p
Thus, the ratio test of (7.85a) applies and proves absolute convergence of the series
for |z| < e. For |z|
> e, (7.85b) applies and proves divergence. Since, according to
1 n
Ex. 7.66, 1 + n < e for each n N, (7.85b) applies to prove divergence also for
|z| = e.
In general, one has to use care when dealing with infinite series, as convergence properties
and even the limit in case of convergence can depend on the order of the summands (in
obvious contrast to the situation of finite sums). For real series that are convergent,
but not absolutely convergent, one has the striking Riemann rearrangement theorem
(provided as Th. C.2 of the Appendix), that states one can choose an arbitrary number
S R {, } and reorder the summands such that the new series converges to S
(actually, Th. C.2 says even more, namely that one can prescribe an entire interval of
cluster points for the rearranged series). However, the situation is better for absolutely
convergent series. In the present section, we will prove results that show the sum of
absolutely convergent series does not depend on the order of the summands.
P P
Theorem 7.92. Let j=1 aj and j=1 bj be
Pseries in C such that (bn )nN is a reordering
of (an )nN inPthe sense P
P of Def. 7.21. If j=1 aj is absolutely convergent, then so is
b
j=1 j and a
j=1 j = b
j=1 j .
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 101
Pn Pn Pn
Proof. Let sn := j=1 aj , sn := j=1 |aj |, and tn := j=1 bj denote the respective
partial sums. We will show that limn (sn tn ) = 0. Given > 0, since (sn )nN is a
Cauchy sequence by Th. 7.29, there exists N N, such that
Since (bn )nN is a reordering of (an )nN , there exists a bijective map : N N such
that bn = a(n) for each n N. Since is bijective, there exists M N such that
{1, 2, . . . , N + 1} {1, 2, . . . , M }. Then n > M implies (n) > N + 1, and
since all aj with j N +1 occur in both sn and tn and cancel in sn tn (i.e. all aj that do
not cancel must have an index j > N + 1). So we have shown that limn (sn tn ) = 0,
which, in turn, implies
X
X
X
bj = lim tn = lim (tn sn + sn ) = 0 + aj = aj .
n n
j=1 j=1 j=1
Pn P P
ApplyingPthis to sn := j=1 |aj | yields j=1 |bj | = j=1 |aj |, proving absolute conver-
gence of j=1 bj .
Theorem 7.93. Let I be an arbitrary infinite countable index set and let
[
I= In (7.87)
nN
X X
X
aj = a . (7.88)
jI n=1 In
Proof. The proof needs some work and is provided in Appendix C.2.
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 102
Example 7.94. We apply Th. 7.93 to so-called double series, i.e. to series with index
set I := N N. The following notation is common:
X X
amn := a(m,n) , (7.89)
m,n=1 (m,n)NN
where one writes amn (also am,n ) instead of a(m,n) . Recall from Th. 3.24 that N N is
countable. In general, the convergence properties of the double series and, if it exists,
the value of the sum, will depend on the chosen bijection : N N N.
However, we will now assume our double series to be absolutely convergent. Then Th.
7.92 guarantees the sum does not depend on the chosen bijection and we can apply Th.
7.93. Applying Th. 7.93 to the decompositions
[
NN= {(m, n) : n N}, (7.90a)
mN
[
NN= {(m, n) : m N}, (7.90b)
nN
[
NN= {(m, n) N N : m + n = k}, (7.90c)
kN
yields
X X
X X
X
(7.90a) (7.90b)
a(m,n) = amn = amn
(m,n)NN m=1 n=1 n=1 m=1
X X X
X k1
(7.90c)
= amn := am,km . (7.91)
k=2 m+n=k k=2 m=1
X
X
X
|am bn | = |am | B = AB < ,
m=1 n=1 m=1
7 LIMITS AND CONVERGENCE OF REAL AND COMPLEX NUMBERS 103
P
i.e. m,n=1 am bn is absolutely convergent according to Th. 7.93(b)(iii). Now the second
equality in (7.92) is just the third equality in (7.91), and the first equality in (7.92) also
follows from (7.91):
X
! !
X X X X X X
am b n = am b n = am bn = am bm ,
m,n=1 m=1 n=1 m=1 n=1 m=1 m=1
We are mostly used to representing real numbers in the decimal system. For example,
we write
395 X
x= = 131.6 = 1 102 + 3 101 + 1 100 + 6 10n , (7.93a)
3 n=1
where
X
n (7.73) 1 1 2
6 10 = 6 1 1 =6 = .
n=1
1 10 9 3
The decimal system represents real numbers as, in general, infinite series of decimal
fractions. Digital computers represent numbers in the dual system, using base 2 instead
of 10. For example, the number from (7.93a) has the dual representation
X
x = 10000011.10 = 27 + 21 + 20 + 2(2n+1) , (7.93b)
n=0
Representations with base 16 (hexadecimal) and 8 (octal) are also of importance when
working with digital computers. More generally, each natural number b 2 can be used
as a base.
Definition 7.96. Let b 2 be a natural number.
is called a b-adic series. The number b is called the base or the radix, and the
numbers d are called digits.
8 CONVERGENCE OF K-VALUED FUNCTIONS 104
(b) If x R+0 is the sum of the b-adic series given by (7.94), than one calls the b-adic
series a b-adic representation or a b-adic expansion of x.
If one introduces the additional requirement that 0 6= dN , then each x > 0 has either a
unique b-adic representation or precisely two b-adic representations. More precisely, for
0 6= dN and x > 0, the following statements are equivalent:
(iii) There exists a b-adic representation of x such that dn = 0 for each n n0 for
some n0 < N .
(iv) There exists a b-adic representation of x such that dn = b 1 for each n n0 for
some n0 N .
Example 7.98. Every natural number has precisely two decimal (i.e. 10-adic) repre-
sentations. For instance,
X
n (7.73) 1 1
2 = 2.0 = 1.9 = 1 + 9 10 = 1+9 1 1 =1+9 , (7.96)
n=1
1 10 9
(a) We say (fn )nN converges pointwise to f : M K if, and only if, limn fn (z) =
f (z) for each z M , i.e. if, and only if,
|fn (z) f (z)| < . (8.1)
zM R+ N N n>N
(a) The series converges pointwise to f : M K if, and only if, it (i.e. (sn )nN )
converges pointwise in the sense of Def. 8.1(a). In that case, we use the notation
X
f= fj . (8.10)
j=1
If (8.10) holds, then the series is sometimes called a series expansion of f , in par-
ticular, a power series expansion if the series happens to be a power series.
P
Analogous to the situation of series in K, the notation j=1 fj is also used with
two different meanings it can mean the sequence of partial sums as in (8.8) or, in
the case of convergent series, the limit function as in (8.10) (cf. Caveat 7.79).
(b) The series converges uniformly to f : M K if, and only if, it converges uniformly
in the sense of Def. 8.1(b).
P
Corollary 8.7. Consider a function series j=1 fj with fj : M K, 6= M C.
(a) The series converges uniformly to some f : PM K if, and only if, for each
n N and each z M , the remainder series j=n+1 fj (z) in K converges to some
rn (z) K such that
+ |rn (z)| < . (8.11)
R N N n>N zM
8 CONVERGENCE OF K-VALUED FUNCTIONS 107
P
(b) If j=1 aj is a convergent series in R+
0 , then the condition
P
implies uniform convergence of j=1 fj .
In (8.15), lim sup denotes the pso-called limit superior, which is defined as the largest
cluster point of the sequence ( n |an |)nN if the sequence is bounded (cf. Th. 7.27) and
if the sequence is unbounded. As the limit superior can be 0 or , we also define
1/0 := and 1/ := 0 in (8.15).
One has the simpler formula
an
r = lim , (8.16)
n an+1
provided all an are nonzero and provided the limit in (8.16) either exists in R+
0 or is .
Proof. For the proof of (8.15), we apply theproot test from Th. 7.89(b). Here, for the
root test, we have to consider the sequence ( n |an ||z|n )nN . As a consequence of (7.11a)
and Prop. 7.26, lim supn (xn ) = lim supn xn for each > 0 and each sequence
(xn )nN in R (with := , this also holds if the limit superior is infinite). Thus,
p p
lim sup n |an ||z|n = |z| lim sup n |an | = |z| L.
n n
If |z| > 1/L, then |z| L > 1 and (7.84b) applies, i.e. (8.13b) holds for r = 1/L. If
|z| < 1/L, then |z| L < 1, and, recalling the Bolzano-Weierstrass Th. 7.27, one sees that
(7.84a) applies, i.e. (8.13a) holds for r = 1/L.
P
Next, if 0 < r0 < r, then j
j=0 |aj r0 | converges according to (8.13a). Since, for each
z Br0 (0) and each j N, we have |aj z j | |aj r0j |, (8.14) is a consequence of Cor.
8.7(b).
The validity of (8.16) follows from the ratio test of Th. 7.89(c): If all an 6= 0 and z 6= 0,
then
an+1 z n+1 an+1 |z|
lim = |z| lim =
an .
n an z n n an
limn an+1
an
If |z| < l := limn an+1 , then |z|/l < 1, i.e. (7.85a) applies, proving (8.13a) for r = l.
If |z| > l, then |z|/l > 1, i.e. (7.85b) applies, proving (8.13b) for r = l.
8 CONVERGENCE OF K-VALUED FUNCTIONS 109
P
Corollary 8.10. If j
j=0 aj z , aj K, is a power series with radius of convergence
r ]0, ], then the function
X
f : Br (0) K, f (z) := aj z j , (8.17)
j=0
which, for each Z, follows from (7.48) and Th. 7.13(a), and, then, for all R
from the Sandwich Th. 7.16.
Let us investigate what can happen for |z| = r = 1 for some cases: The series
P n
n=1 z ( = 0) is divergent for each z C with z = 1 by the observation that
(z )nNPdoes not converge to 0 for n (as |z n | = 1 for each n N); the
n
series n=1 n
1 n
z ( = 1) is the harmonic series, i.e. divergent, for z = 1, but
convergent for z = 1 according to Ex. 7.86(a).
P P z n
(b) The radius of convergence of both zn
n=0 n! and n=0 nn is r = by (8.16) and
(8.15), respectively, since
an
lim = lim (n + 1)! = lim (n + 1) = , (8.19a)
n an+1 n n! n
r
pn n 1 1
lim sup |an | = lim n
= lim = 0. (8.19b)
n n n n n
P
(c) The radius of convergence of n
n=0 n! z is r = 0 by (8.16), since
an n! 1
lim = lim = lim = 0. (8.20)
n an+1 n (n + 1)! n n + 1
P
Caveat 8.12. Theorem 8.9 does not claim the uniform convergence of aj z j on
P j=0
Br (0), which is usually not true (e.g., it is an exercise to show that j=0 z j does not
converge uniformlyPon B1 (0)). Theorem 8.9 also claims nothing about the convergence
j
or divergence of j=0 aj z for |z| = r, which has to be determined case by case (cf. Ex.
8.11(a)).
P j
Definition and Remark 8.13. Given two power series p := j=0 aj z and q :=
P j
j=0 bj z in K, we define their Cauchy product
j
X X
j
p q := cj z , where cj := ak bjk = a0 bj + a1 bj1 + + aj b0 . (8.21)
j=0 k=0
8 CONVERGENCE OF K-VALUED FUNCTIONS 110
Note that we have not assumed any convergence of the series so far, i.e. p, q, and p q
are not K-valued functions, but sequences of K-valued functions according to Def. 8.5
(sequences of polynomials, actually). Sometimes one also calls the Cauchy product p q
the convolution of p and q.
Now, if we do assume p and q to have some nonzero radii of convergence, say rp , rq
]0, ], respectively, then, by (8.13a), both series are absolutely convergent for each
z Br (0), where r := min{rp , rq }. Thus, the functions
X
X
j
f : Br (0) K, f (z) := aj z , g : Br (0) K, g(z) := bj z j , (8.22)
j=0 j=0
From Ex. 8.11(b), we already know the radius of convergence of the power series in
(8.24) is , such that the function in (8.24) is well-defined.
For the time being, we also redefine Eulers number as e := exp(1) > 1 > 0 and, for each
x R+ , ln x := logexp(1) (x). This, as well as calling the function of (8.24) exponential
function, will be justified as soon as we will have proved
n X
1 1 1 1 1
lim 1 + = = 1 + + + + ... (8.25)
n n n=0
n! 1! 2! 3!
and
X xn x2 x3
ex = =1+x+ + + ... (8.26)
xR
n=0
n! 2! 3!
in (8.36) of Th. 8.18 and in Th. 8.16(c) below, respectively.
Proposition 8.15. If a continuous function E : R R satisfies
Proof. First, a = E(1) = E(0 + 1) = E(0)E(1) = E(0) a and a > 0 shows E(0) = 1.
1
Then, for each x R, 1 = E(0) = E(x x) = E(x)E(x), i.e. E(x) = E(x) ,
showing E(x) 6= 0 for each x R. Thus, E(1) > 0, the continuity of E, and the
intermediate value Th. 7.57 imply E(x) > 0 for each x R. Next, an induction shows
n
E(n x) = E(x) : (8.29)
xR nN
showing (8.28) holds for each x Q+ . Then (8.28) also holds for each x R+ , since, if
(qn )nN is a sequence in Q+ with limn qn = x, then the continuity of E implies
ax = lim aqn = lim E(qn ) = E(x).
n n
Finally, if x R , then
1
ax = (ax )1 = E(x) = E(x),
completing the proof that (8.28) holds for each x R.
Theorem 8.16. We consider the exponential function exp as defined in (8.24). The
following holds:
Proof. (a) holds by Cor. 8.10; for (b), we compute (using (7.92)),
X
exp(z) exp(w) = cn ,
n=0
n n ;
z,wC
X z j wnj 1 X n j nj (5.23) (z + w)n
where cn = = z w =
j=0
j! (n j)! n! j=0 j n!
(8.30)
and then (c) is an immediate consequence of (a), (b), and Prop. 8.15.
8 CONVERGENCE OF K-VALUED FUNCTIONS 112
Theorem 8.18. We consider the exponential function exp as defined in (8.24). With
ez := exp(z) for each z C and ln x := logexp(1) (x) for each x R+ (cf. Th. 8.16(c)
and Def. and Rem. 8.14), we have the following limits:
ez 1
lim = 1 z M := C \ {0} , (8.32)
z0 z
ln(1 + x)
lim = 1 x M :=] 1, [\{0} , (8.33)
x0 x
1
lim ln(1 + x) x = x M := {x R : 1 + x > 0} \ {0} , (8.34)
R x0
1
lim (1 + x) x = e x M := {x R : 1 + x > 0} \ {0} , (8.35)
R x0
x n x
X xn
lim 1 + =e = . (8.36)
xR n n n=0
n!
where, in the last step, it was used that limk xk = 0 and the continuity of f implies
limk f (xk ) = ln 1 = 0.
Similarly, but simpler, one obtains (8.34) and (8.35) (exercise). Finally, for the sequence
(xn )nN with xn := 1/n, (8.35) implies (8.36).
Definition 8.19 (Exponentiation with Complex Exponents). For each (a, z) R+ C,
we define
az := exp(z ln a), (8.37)
where exp is the function defined in (8.24). For a = e, (8.37) yields ez = exp(z), i.e.
(8.37) is consistent with (8.26).
8 CONVERGENCE OF K-VALUED FUNCTIONS 113
Theorem 8.20. (a) The first two exponentiation rules of (7.56) still hold for each
a, b > 0 and each z, w C:
az+w = az aw , (8.38a)
az bz = (ab)z . (8.38b)
f : C C, f (z) := az , (8.39a)
g : R+ C, g(x) := x , (8.39b)
is continuous.
proving (8.38b).
(b): The continuity of both functions follows from the continuity of exp (according to
Th. 8.16(a)) and from the fact that continuity is preserved by compositions (according
to Th. 7.41): The exponential function f , given by f (z) = ez ln a , is the composition of
the continuous functions z 7 z ln a and w 7 ew , whereas (analogous to Ex. 7.76(a)),
the power function g, given by g(x) = e ln x , is the composition g = exp ( ln), where
ln is continuous by Cor. 7.74.
(c): We have to show that
z n X z k
lim 1 + = 0.
n n k=0
k!
8 CONVERGENCE OF K-VALUED FUNCTIONS 114
where
K1 n
X n
zk z k X n |z|k X |z|k
Rn := , Sn := , T := .
nN
k=0
k nk k! k=K
k nk k=K
k!
We proceed to estimate each of the three terms Rn , Sn , and T , starting with the last:
X |z|k X (|z| + 1)k
T = < < .
k=K
k! k=K
k! 3
We then obtain n
X n |z|k X |z|k
Sn = =T < .
nK
k=K
k nk k=K
k! 3
To estimate Rn , we first compute the limit
k k
n 1 1 Y nk+j 1 Y 1
lim k
= lim = 1= ,
n k n k! n j=1 n k! j=1 k!
(a) sin and cos are well-defined and continuous: For both series and each z C, we can
estimate the absolute value of the nth summand by the nth summand of the series
for the exponential function e|z| (cf. (8.36)), which we know to be convergent from
Ex. 8.11(b). Thus, by Th. 8.9, both series in (8.41) have radius of convergence
and are continuous by Cor. 8.10.
(b) cos : R R (i.e. cosR ) has a smallest positive zero R+ . We define := 2.
One can show is an irrational number (see Appendix F.2) and its first digits are
= 3.14159 . . .
To see cos has a smallest positive zero and to obtain a first (very coarse) estimate,
note
k
x xk+1 x
> 1> k+1>x ,
xR+ kN k! (k + 1)! k+1
k k+1
x
showing xk! > (k+1)! holds for each k 2 and each x ]0, 3[. In particular, the
summands of the series in (8.41) converge monotonically to 0 (for k 2) and, since
8 CONVERGENCE OF K-VALUED FUNCTIONS 116
the series are alternating for x 6= 0, Th. 7.85 applies and (7.81) yields
x2 x2 x4
f (x) := 1 2 < cos x < 1 2 + 24 =: g(x),
(8.42)
0<x<3 x3 x3 x5
x < sin x < x + .
6 6 120
The zeros of x 7 f p(x) are 2,p2, i.e. 2p is its smallest positive zero;pthe zeros
p
of x 7 g(x) are 6 2 3, 6 + 2 3, 6 2 3, 6 + 2 3, i.e. 6 2 3
is its smallest positive zero. Thus, as f (0) = g(0) = 1, the intermediate value Th.
7.57 implies cos has a smallest positive zero and
q
1.4 < 2 < := < 6 2 3 < 1.6 (8.43)
2
Theorem 8.22. We have the following identities:
Proof. (8.44a) is immediate from (8.41) since, for z = 0, all summands of the sine
series are 0 and all summands of the cosine series are 0, except the first one, which is
(1)0 00
0!
= 1.
(8.44b) is also immediate from (8.41), since (z)2n+1 = (1)2n+1 z 2n+1 = z 2n+1 and
(z)2n = (1)2n z 2n = z 2n .
8 CONVERGENCE OF K-VALUED FUNCTIONS 117
(8.44c) and (8.44d) can be verified using the Cauchy product: According to (7.92),
X X
sin z cos w = cn , cos z sin w = dn ,
n=0 n=0
n j 2j+1 nj 2(nj)
X (1) z (1) w
where cn = , ,
z,wC
j=0
(2j + 1)! (2(n j))!
n
j
X (1) z (1) 2j nj 2(nj)+1
w
dn = ,
j=0
(2j)! (2(n j) + 1)!
(1)n (z + w)2n+1
= ,
(2n + 1)!
c0 = 1 and
n n1
X (1)n z 2j w2(nj) X (1)n1 z 2j+1 w2(n1j)+1
cn dn1 =
nN
j=0
(2j)! (2(n j))! j=0 (2j + 1)! (2(n 1 j) + 1)!
n n1
X (1)n z 2j w2n2j X (1)n z 2j+1 w2n(2j+1)
= +
j=0
(2j)! (2n 2j)! j=0 (2j + 1)! (2n (2j + 1))!
2n 2n
X z j w2nj
n (1)n X 2n j 2nj
= (1) = z w
j=0
j! (2n j)! (2n)! j=0 j
(1)n (z + w)2n
= ,
(2n)!
proving (8.44d).
(8.44e): One computes for each z C:
(8.44d)
(sin z)2 + (cos z)2 = cos z cos(z) sin z sin(z) = cos(z z) = cos 0 = 1.
(8.44f): cos 2 = 0 and cos x > 0 for 0 x < 2 hold according to the definition of in
Def. and Rem. 8.21(b). Then
2 (8.44e) 2 (/2)3 (8.43) (1.6)3
sin = 1 cos = 1 and sin > > 1.4 > 0.7 > 0.
2 2 2 2 6 6
For both series on the right-hand side and each z C, we can estimate the absolute
value of each summand by the corresponding summand of the exponential series for e|z|
(cf. (8.36)), showing they have radius of convergence and are continuous by Cor. 8.10.
In particular, their continuity in z = 0 proves (8.44j).
Theorem 8.23. One has sin(R) = cos(R) = [1, 1], i.e. the range of both sine and
cosine is [1, 1]. Moreover, for each k Z:
h i
sin is strictly increasing on + 2k, + 2k , (8.45a)
2 2
3
sin is strictly decreasing on + 2k, + 2k , (8.45b)
2 2
cos is strictly increasing on [(2k 1), 2k], (8.45c)
cos is strictly decreasing on [2k, (2k + 1)], (8.45d)
which, due to (8.44e), can be summarized (and visualized) by saying that, if x runs from
2k to 2(k + 1), then (cos x, sin x) runs once counterclockwise through the unit circle,
starting at (1, 0).
Proof. From (8.44e), we know sin(R) [1, 1] and cos(R) [1, 1]. As
(8.44f) (8.44b) (8.44a) (8.44h)
sin = 1, sin = 1, cos 0 = 1, cos = cos 0 = 1,
2 2
the continuity of sine and cosine together with the intermediate value Th. 7.57 implies
sin(R) = cos(R) = [1, 1].
3 2 4
From (8.42), we know 0 < x x6 < sin x and cos x < 1 x2 + x24 < 1 for each x ]0, 2 ],
implying
We now come to important complex number relations between sine, cosine, and the
exponential function.
Theorem 8.24. One has the following formulas, relating the (complex) sine, cosine,
and exponential function:
eiz = cos z + i sin z (Euler formula), (8.46a)
zC
eiz + eiz
cos z = , (8.46b)
zC 2
eiz eiz
sin z = . (8.46c)
zC 2i
Proof. Exercise.
As a first application of (8.46), we can now determine all solutions to the equation
ez = 1 and all zeros (if any) of exp, sin, and cos:
Theorem 8.25. The set of (complex) solutions to the equation ez = 1 consists precisely
of all integer multiples of 2i, the exponential function has no zeros (neither in R nor
in C), and the set of all (real or complex) zeros of sine and cosine consists of a discrete
set of real numbers. More precisely:
exp1 {1} = {2ki : k Z}, (8.47a)
exp1 {0} = , (8.47b)
sin1 {0} = {k : k Z}, (8.47c)
cos1 {0} = (2k + 1) 2 : k Z . (8.47d)
Proof. We start by considering the zeros of the functions cos, sin : R R: Due to
(8.44f), cos x > 0 for each x [0, 2 [ such that cos(x) = cos x (by (8.44b)) implies 2
to be the only zero of cos in the interval ] 2 , 2 ]. Then, since cos(x + ) = cos x for
each x R by (8.44h), 2 and 2 + are the only zeros of cos in the interval ] 2 , 2 + ],
and, thus, using that cos has period 2 according to (8.44i), adding integer multiples of
2 to 2 and 2 + must generate precisely all zeros of cos : R R, i.e.
R cos1 {0} = 2 + k : k Z = (2k + 1) 2 : k Z .
Since, by (8.44g), sin x = cos(x + 2 ) for each x R, we also obtain
R sin1 {0} = 2 + x : x R cos1 {0} = {k : k Z}.
We consider (8.47a) next. If k Z, then
k (8.46a) k
e2ki = e2i = cos(2) + i sin(2) = 1k = 1,
proving . For the remaining inclusion, assume z exp1 {1}, i.e. ez = 1, and write
z = x + iy with x, y R. Then
(8.46a) p (8.44e)
1 = |ez | = ex |eiy | = ex cos y + i sin y| = ex (sin y)2 + (cos y)2 = = ex ,
8 CONVERGENCE OF K-VALUED FUNCTIONS 121
first implying x = 0 and, then, using (8.46a) once again, 1 = ez = eiy = cos y + i sin y
implies cos y = 1 and sin y = 0, i.e. y {2k : k Z}, proving .
To finish the proof of (8.47c), assume sin z = 0. Then eiz = cos z = cos(z) = eiz ,
implying e2iz = 1 and, by (8.47a), there is k Z such that 2iz = 2ki, i.e. z = k,
proving (8.47c). Since, by (8.44g), cos z = sin(z + 2 ) for each z C, we also obtain
(8.47d):
cos1 {0} = 2 + z : z sin1 {0} = (2k + 1) 2 : k Z .
Finally, if z = x + iy with x, y R, then |ez | = ex |eiy | = ex 6= 0 proves (8.47b).
Definition and Remark 8.26. We define tangent and cotangent by
sin z
tan : C \ cos1 {0} C, tan z := , (8.48a)
| {z } cos z
C \ {(2k + 1) 2 : k Z} by (8.47d)
cos z
cot : C \ sin1 {0} C, cot z := , (8.48b)
| {z } sin z
C \ {k : k Z} by (8.47c)
respectively. Since sine and cosine are both continuous, tangent and cotangent are also
both continuous on their respective domains. Both functions have period , since, for
each z in the respective domains,
sin(z + ) (8.44h) sin z (8.44h) cos z
tan(z + ) = = = tan z, cot(z + ) = = cot z.
cos(z + ) cos z sin z
(8.49)
Since
1 1
lim sin = sin = 1 lim cos = cos = 0
n 2 n 2 n 2 n 2
1 1
cos >0 lim tan = ,
2 n n 2 n
1 1
lim sin + = sin = 1 lim cos + = cos =0
n 2 n 2 n 2 n 2
1 1
cos + >0 lim tan + = ,
2 n n 2 n
1 1 1
lim sin = sin 0 = 0 lim cos = cos 0 = 1 sin >0
n n n n n
1
lim cot = ,
n n
1 1
lim sin = sin = 0 lim cos = cos = 1
n n n n
1 1
sin >0 lim cot = ,
n n n
8 CONVERGENCE OF K-VALUED FUNCTIONS 122
On ]0, 2 [, sin is strictly increasing and cos is strictly decreasing, i.e. tan is strictly
increasing and cot is strictly decreasing. Since tan(x) = sin(x)/ cos(x) = tan(x),
on ] 2 , 0[, tan is strictly increasing and cot is strictly decreasing. Taking into account
the signs of tan and cot on the respective intervals and their -periodicity according to
(8.49) proves (8.50).
Definition and Remark 8.27. Since we have seen sin to be strictly increasing on
[ 2 , 2 ] with range [1, 1], cos to be strictly decreasing one [0, ] with range [1, 1], tan
to be strictly increasing on ] 2 , 2 [ with range R, and cot to be strictly decreasing one
]0, [ with range R; and since all four functions are continuous, Th. 7.60 implies the
existence of inverse functions, denoted by
arcsin : [1, 1] [/2, /2], (8.51a)
arccos : [1, 1] [0, ], (8.51b)
arctan : R ] /2, /2[, (8.51c)
arccot : R ]0, [, (8.51d)
respectively, where all four inverse functions are continuous, arcsin is strictly increasing,
arccos is strictly decreasing, arctan is strictly increasing, and arccot is strictly decreasing.
Of course, using (8.45) and (8.50), respectively, one can also obtain the inverse functions
on different intervals, and, in the literature, such inverse functions are, indeed, considered
as well. Somewhat confusingly, it is common to denote all these different functions by
the same symbols, namely the ones introduced in (8.51). Here, we will not need to pursue
this any further, i.e. we will only consider the inverse functions precisely as defined in
(8.51), which are also known as the principle inverse functions of sin, cos, tan, and cot,
respectively.
:= arccos ,
In consequence,
z (8.46a)
= + i = cos + i sin = ei ,
r
as desired. If y 0, then the above shows the existence of R such that z = x iy =
rei = r cos + ir sin . Letting := , we, once again, have z = r cos ir sin =
rei = rei , as desired, completing the existence proof for the representation (8.52).
Now assume (8.52) holds with r 0. Then
p
|z| = r|ei | = r (sin )2 + (cos )2 = r.
Finally, if r ei1 = r ei2 with r > 0, then ei(1 2 ) = 1, i.e. i(1 2 ) {2ki : k Z}
by (8.47a).
Definition and Remark 8.29. The representation of z C given by (8.52) is called its
polar form, where (r, ) are also called polar coordinates of z, is called an argument of
z. For z 6= 0, one can fix the argument uniquely by the additional requirement [0, 2[
(but one also finds other choices, for example ] , ], in the literature). The above
terminology is consistent with the common use of calling (r, ) polar coordinates of the
vector z = (x, y) R2 (= C) (in contrast to the Cartesian coordiantes (x, y)), where r
constitutes the distance of the point z = (x, y) from the origin (0, 0) and is the angle
between the vector z = (x, y) and the x-axis (cf. the three introductory paragraphs
of the previous Sec. 8.4). As promised, we can now better understand the geometric
interpretation of complex multiplication already described in Rem. 5.12: If z1 = r1 ei1
and z2 = r2 ei2 , then z1 z2 = r1 r2 ei(1 +2 ) , i.e. complex multiplication, indeed, means
multiplying absolute values and adding arguments.
Corollary 8.30. If z C, then |z| = 1 holds if, and only if, there exists R such
that z = ei in other words, the map
Corollary 8.31 (Roots of Unity). For each n N, the equation z n = 1 has precisely n
distinct solutions 1 , . . . , n C, where
(8.46a) k2 k2
k := ek2i/n = cos + i sin = 1k . (8.56)
k=1,...,n n n
The numbers 1 , . . . , n defined in (8.56) are called the nth roots of unity.
Proof. It is kn = ek2i = 1 for each k {1, . . . , n} and the 1 , . . . , n are all distinct
by Cor. 8.30, since, for k, l {1, . . . , n} with k 6= l, (k l)/n / Z. As 1 , . . . , n are
n
n distinct zeros of the polynomial P : C C, P (z) := z 1, and P has at most n
zeros by Th. 6.6(a), 1 , . . . , n constitute all solutions to z n = 1.
We are now in a position to prove one of the central results of analysis and algebra,
namely the fundamental theorem of algebra. The following proof does not need any tools
beyond the ones provided by this class it is actually mainly founded on continuous
functions attaining a min and a max on compact sets according to Th. 7.54 and the
existence of nth roots of unity according to Cor. 8.31.
P (z) = z n + an1 z n1 + + a1 z + a0 .
zC
Claim 1. The function |P | attains its global min on C, i.e. there exists z0 C such that
|P | is minimal in z0 .
Proof. Proceeding by contraposition, we assume P (z0 ) 6= 0 and show that |P | does not
have a min in z0 . We need to construct z1 C such that |P (z1 )| < |P (z0 )|. To this end,
define
P (z0 + z)
p : C C, p(z) := .
P (z0 )
Then p is still a polynomial of degree n. Since p(0) = 1,
n
X
p(z) = 1 + bj z j , bk 6= 0.
k{1,...,n} bk ,...,bn C zC
j=k
Write b1 1
k in polar form, i.e. bk = re
i
with r R+ and C. Define
:= k r ei/k i.e. k = rei = b1
k
and
n
X
k
q : C C, q(z) := p(z) = 1 + bk + bj j z j = 1 z k + z k+1 S(z),
j=k+1
|S(z)| C.
CR+ zB 1 (0)
Letting
c := min{1, C 1 },
one obtains k+1
z S(z) C |z|k+1 < |z|k
0<|z|<c
and, thus,
|q(x)| 1 xk + xk+1 S(x) < 1 xk + xk = 1.
x]0,c[
Thus, finally,
|P (z0 + x)|
= |p(x)| = |q(x)| < 1,
x]0,c[ |P (z0 )|
showing |P | does not have a min in z0 . N
(the 1 , . . . , n are precisely all the zeros of P , some or all of which might be identical).
9 Differential Calculus
f (x) f ()
x
df () f (x) f () f ( + h) f ()
f () := x f () := := lim = lim . (9.1)
dx x x h0 h
Note both limits occurring in (9.1) are, indeed, identical, since the sequence (xk )kN in
]a, b[ converges to if, and only if, the sequence (hk )k with hk := xk converges
9 DIFFERENTIAL CALCULUS 127
to 0. The number in (9.1) (if it exists) is also called a differential quotient, whereas
f (x)f ()
x
is known as a difference quotient.
f is called differentiable if, and only if, it is differentiable at each ]a, b[. In that case,
one calls the function
f : ]a, b[ K, x 7 f (x), (9.2)
the derivative of f .
Remark 9.2. In the situation of Def. 9.1, the complex-valued function f : ]a, b[ C
is differentiable at ]a, b[ if, and only if, both functions Re f, Im f : ]a, b[ R are
differentiable, and, in that case
and that, by (7.2) a sequence (zn )nN in C converges to C if, and only if, both
limn Re zn = Re and limn Im zn = Im hold.
Definition 9.3. If f : ]a, b[ R as in Def. 9.1 is differentiable at ]a, b[, then the
graph of the affine function
i.e. the line through (, f ()) with slope f () is called the tangent to the graph of f at
.
Theorem 9.4. If f : ]a, b[ K as in Def. 9.1 is differentiable at ]a, b[, then it is
continuous at . In particular, if f is everywhere differentiable, then it is everywhere
continuous.
Proof. Let (xk )kN be a sequence in ]a, b[\{} such that limk xk = . Then
(xk ) f (xk ) f ()
lim f (xk ) f () = lim = 0 f () = 0, (9.6)
k k xk
proving the continuity of f in .
Example 9.5. (a) For each a, b K, the affine function f : R K, f (x) := ax + b,
is differentiable with f (x) = a for each x R: If x R and (hk )kN is a sequence
with hk 6= 0 such that limk hk = 0, then
f (x + hk ) f (x) a(x + hk ) + b ax b a hk
lim = lim = lim = a. (9.7)
k hk k hk k hk
(c) The sine and the cosine function f, g : R R, f (x) := sin x, g(x) := cos x, are
differentiable with f (x) = cos x and g (x) = sin x for each x R: If x R and
(hk )kN is a sequence with hk 6= 0 such that limk hk = 0, then
f (0 + n1 ) f (0)
lim 1 = lim 1 = 1, (9.10a)
n n
n
1 1
f (0 n
) f (0) n
lim = lim = 1, (9.10b)
n n1 n 1
n
f (0+h)f (0)
showing that h
does not have a limit for h 0.
Theorem 9.6. Let a < b, f, g : ]a, b[ K (a = , b = is admissible), and
]a, b[. Assume f and g are differentiable at .
f ()g() f ()g () g ()
(f /g) () = , in particular (1/g) () = .
(g())2 (g())2
9 DIFFERENTIAL CALCULUS 129
(f )( + hk ) (f )() f ( + hk ) f ()
lim = lim
k hk k hk
f ( + hk ) f ()
= lim = f ().
k hk
For (b), one computes
(f g)( + hk ) (f g)()
lim
k hk
f ( + hk )g( + hk ) f ()g( + hk ) + f ()g( + hk ) f ()g()
= lim
k hk
f ( + hk ) f () g( + hk ) g()
= lim g( + hk ) lim + f () lim
k k hk k hk
= f ()g() + f ()g (),
where, in the last equality, we used the continuity of g in according to Th. 9.4.
For (d), one first proves the special case f 1 by
The cases n = 0, 1 are provided by Ex. 9.5(a). To complete the induction Pn proofj of
(9.11), we carry out the induction step for each n N: Writing P (x) = j=0 aj x +
an+1 x xn and applying the induction hypothesis as well as the rules of Th. 9.6 yields
n
X n+1
X
j1 n n1
P (x) = j aj x + an+1 (1 x + x n x )= j aj xj1 ,
j=1 j=1
(b) Clearly, the derivatives of rational functions P/Q with polynomials P and Q can
be computed from (9.11) and the quotient rule of Th. 9.6(d).
(c) The functions tan and cot as defined in (8.48) and restricted to R \ cos1 {0} and
R \ sin1 {0}, respectively, are differentiable and one obtains
1
tan : R \ cos1 {0} R, tan x = = 1 + (tan x)2 , (9.12a)
| {z } (cos x)2
R\{(2k+1) 2 : kZ}
1
cot : R \ sin1 {0} R, cot x = = (1 + (cot x)2 ) : (9.12b)
| {z } (sin x)2
R\{k: kZ}
One merely needs the derivatives of sin and cos from Ex. 9.5(c) and the quotient
rule of Th. 9.6(d):
cos x cos x sin x( sin x) (8.44e) 1 (8.44e)
tan x = 2
= = 1 + (tan x)2 ,
(cos x) (cos x)2
sin x sin x cos x cos x (8.44e) 1 (8.44e)
cot x = = = (1 + (cot x)2 ).
(sin x)2 (sin x)2
Theorem 9.8 (Derivative of Inverse Functions). Let a < b, I :=]a, b[ (a = , b =
is admissible). If f : I R is differentiable and strictly increasing (resp. decreasing),
then f has a continuous, strictly increasing (resp. decreasing) inverse function f 1 de-
fined on the interval J := f (I), i.e. f 1 : J I, and, for each I with f () 6= 0,
f 1 is differentiable at := f () with
1 1
(f 1 ) () = = . (9.13)
f () f f 1 ()
Proof. As a differentiable function, f is continuous by Th. 9.4, i.e. Th. 7.60 provides
all the present assertions, except differentiability at and (9.13). Let (yk )kN be a
sequence in J \ {} such that limk yk = . Then, as f 1 is bijective and continuous,
(f 1 (yk ))kN is a sequence in I \ {} such that limk f 1 (yk ) = , and one obtains
f 1 (yk ) f 1 () f 1 (yk ) f 1 () 1
lim = lim = , (9.14)
k yk k f f 1 1
(yk ) f f () 1
f f ()
Let (xk )kN be a sequence in ]a, b[\{} such that limk xk = . One obtains
g f (xk ) g f () (9.17) g f (xk ) f (xk ) f ()
lim = lim
k xk k xk
f (xk ) f ()
= lim g f (xk ) lim
k k xk
= f ()g (f ()), (9.18)
9 DIFFERENTIAL CALCULUS 132
Proof. Suppose f has a local max at . Then there exists > 0 such that |h| < implies
f ( + h) f () 0. Now let (hk )kN be a sequence in ]0, [ with limk hk = 0. Then
f ( hk ) f () 0 for all k N implies
f ( + hk ) f () f ( hk ) f ()
f () = lim 0, f () = lim 0, (9.22)
k hk k hk
showing f () = 0. Now, if f has a local min at , then f has a local max at , and
f () = (f ) () = 0 establishes the case.
Remark 9.15. For f : R R, f (x) := x3 , it is f (0) = 0, but f does not have a local
min or max at 0, showing that, while being necessary for an differentiable function f to
have a local extremum at , f () = 0 is not a sufficient condition for such an extremum
at . Points with f () = 0 are sometimes called stationary or critical points of f .
Now, we first prove an important special case of the mean value theorem:
f (b) f (a)
: [a, b] R, (x) := f (x) (x a), where := . (9.24)
ba
Since f is continuous on [a, b] and differentiable on ]a, b[, so is . Moreover (a) = f (a) =
(b), i.e. Rolles Th. 9.16 applies and yields ]a, b[ satisfying 0 = () = f () ,
proving (9.23).
9 DIFFERENTIAL CALCULUS 134
Proof. If c < a < b < d and f 0 (resp. f 0, resp. f 0), then (9.23) implies
f (b) f (a) (resp. f (b) f (a), resp. f (b) = f (a)). Moreover, strict inequalities for f
yield strict inequality between f (b) and f (a).
Lemma 9.19. Let a < b, f : ]a, b[ R, ]a, b[, and assume f is differentiable at .
If f () > 0 (resp. f () < 0), then there exists > 0 such that ] , + []a, b[ and
f (a1 ) < f () < f (b1 ) resp. f (a1 ) > f () > f (b1 ) .
a1 ],[ b1 ],+[
Proof. If there does not exist > 0 such that f (a1 ) < f () < f (b1 ) for each a1 ] , [
and each b1 ], + [, then then there exists a sequence (xk )kN in ]a, b[\{} such that
limk xk = and
f (xk ) f ()
0,
kN xk
showing f () 0. Analogously, one obtains that f () 0 provided there does not exist
> 0 such that f (a1 ) > f () > f (b1 ) for each a1 ] , [ and each b1 ], + [.
Theorem 9.20 (Sufficient Conditions for Extrema). Let c < d, let f : ]c, d[ R be
differentiable, and assume f () = 0 for some ]c, d[.
(a) If f (x) > 0 for each x ]c, [ and f (x) < 0 for each x ], d[, then f has a strict
max at . Likewise, if f () exists and is negative, then f has a strict max at .
(b) If f (x) < 0 for each x ]c, [ and f (x) > 0 for each x ], d[, then f has a strict
min at . Likewise, if f () exists and is positive, then f has a strict min at .
Proof. We just present the proof for (a); (b) is proved analogously. If f (x) > 0 for each
x ]c, [, then (9.23) shows f () f (a) > 0 for each c < a < ; analogously, if f (x) < 0
for each x ], d[, then (9.23) shows f () f (b) > 0 for each < b < d. Altogether, we
have shown f to have a strict max at . If f () exists and is negative, then Lem. 9.19
yields the existence of > 0 such that f is positive on ] , [ and negative on ], + [.
Applying what we have already proved with c := and d := + establishes the
case.
Example 9.21. One obtains
f : R R, f (x) := x ex , (9.25a)
f : R R, f (x) = ex + x ex = (1 + x) ex , (9.25b)
f : R R, f (x) = 2ex + x ex = (2 + x) ex . (9.25c)
9 DIFFERENTIAL CALCULUS 135
From Th. 9.14, we know that f can have at most one extremum, namely at = 1,
where f () = 0. Since f () = ex > 0, Th. 9.20(b) implies that f has a strict min at
1.
Theorem 9.22. Let a < b. If f, g : [a, b] R are continuous on the compact interval
[a, b], differentiable on the open interval ]a, b[, and g (x) 6= 0 for each x ]a, b[, then
there exists ]a, b[ such that
f (b) f (a) f ()
= . (9.26)
g(b) g(a) g ()
Proof. First note that the mean value Th. 9.17 and g 6= 0 imply g(b) g(a) 6= 0. Define
the auxiliary function
f (b) f (a)
h : [a, b] R, h(x) := f (x) g(x) g(a) . (9.27)
g(b) g(a)
Then h is continuous on [a, b] and differentiable on ]a, b[. Moreover, h(a) = f (a) = h(b).
Applying Th. 9.17 to h, yields the existence of some ]a, b[ satisfying h () = 0.
However, (9.27) implies h () = 0 is equivalent to (9.26).
LHopitals rule is a result that can help to determine (function) limits (cf. Def. 8.17).
Theorem 9.23 (LHopitals Rule). Let R and either I =]a, [ with a < or
I :=], b[ with < b. Moreover, assume f, g : I R are differentiable, g (x) 6= 0 for
each x I, and one of the following two conditions (a), (b) is satisfied:
(b) limx g(x) = or limx g(x) = , where Def. 8.17 is extended to the case
{, } in the obvious way.
Then
f (x) f (x)
lim = lim = . (9.28)
x g (x) x g(x)
Proof. First, we assume (a). Consider the case R. Since f and g are continuous, (a)
implies f and g remain continuous, if we extend them to by letting f () := g() = 0.
This extension will now allow us to apply Th. 9.22 to f and g. To prove (9.28), let
9 DIFFERENTIAL CALCULUS 136
(xk )kN be a sequence in I with limk xk = . Then (9.26) yields, for each k N,
some k ]xk , [ if xk < and some k ], xk [ if < xk , satisfying
f (xk ) f (xk ) f () f (k )
= = . (9.29)
g(xk ) g(xk ) g() g (k )
f (x)
From the Sandwich Th. 7.16, we obtain limk k = , i.e. (9.29) and limx g (x)
=
imply limx fg(x)
(x)
= (also for {, }). Now consider the case {, }
and let (xk )kN be as before. If = , then choose 1 c I and set I :=]0, c1 [; if
= , then choose 1 c I and set I :=]c1 , 0[. We apply what we have already
proved above to the auxiliary functions
f (x)
proving limx g(x)
= .
We now assume (b), still letting (xk )kN be as before. Note that g 6= 0 implies g
is injective by Rolles Th. 9.16. Then the intermediate value theorem implies g is
either strictly increasing or strictly decreasing. We proceed with the proof for the case
I =]a, [, the proof for I =], b[ can be done completely analogous. We first consider
the case where g is strictly increasing, i.e. limx g(x) = . Assume R and > 0.
(x)
Then limx fg (x) = and limx g(x) = imply
f (x)
g(x) > 0 < <+ .
c]a,[ x]c,[ 2 g (x) 2
Since limk xk = , there exists N0 N such that, for each k > N0 , c < xk < . Next,
according to Th. 9.22,
f (xk ) f (c) f (k )
< = <+ .
k>N0 k ]c,xk [ 2 g(xk ) g(c) g (k ) 2
that means
f (xk )
< < + ,
k>N g(xk )
f (x)
proving limx g(x)
= . For = and given n N, the argument is similar:
(x)
limx fg (x) = and limx g(x) = imply
f (x)
g(x) > 0 n< .
c]a,[ x]c,[ g (x)
As before, since limk xk = , there exists N0 N such that, for each k > N0 ,
c < xk < . Again, according to Th. 9.22,
f (xk ) f (c) f (k )
n< = .
k>N0 k ]c,xk [ g(xk ) g(c) g (k )
and
f (c) n g(c) f (xk )
n+ < .
k>N0 g(xk ) g(xk )
Since limk g(xk ) = ,
f (c) n g(c)
< 1,
N N0 k>N g(xk )
that means
f (xk )
n1< ,
k>N g(xk )
f (x)
proving limx g(x)
= . If = , then, using what we have already shown,
Example 9.24. (a) Applying LHopitals rule to f : ] /2, /2[ R, f (x) := tan x,
g : ] /2, /2[ R, g(x) := ex 1, with = 0 yields
tan x 1 + tan2 x 1
lim x
= lim x
= =1 (9.30)
x0 e 1 x0 e 1
(note g (x) = ex 6= 0 for each x ] /2, /2[).
(b) It can happen that a single application of LHopitals rule does not, yet, yield a
useful result, but that a repeated application does. An example is provided by
considering > 0, n N, and f : R+ R, f (x) := e x , g : R+ R,
g(x) := xn , := . Applying LHopitals rule n times yields
e x n e x
+ lim = lim = (9.31)
R nN x xn x n!
(note g (k) (x) = n(n 1) (n k + 1)xnk 6= 0 for each k {1, . . . , n} and each
x R+ ).
(c) It can also happen that even repeated applications of LHopitals rule do not
help at all, even though limx fg(x)(x)
does exist and the hypotheses of Th. 9.23
are all satisfied. A simple example is given by f : R R, f (x) := ex , g :
R R, g(x) := 2ex , and = . Even though limx fg(x) (x)
= 21 , one has
limx f (n) (x) = limx g (n) (x) = 0 for every n N.
other words, making use of the positive and negative parts f + and f of f = f + f
as defined in (6.1i) and (6.1j), respectively, we would like our integral to satisfy
Z Z Z
f= +
f f . (10.2)
M M M
Difficulties arise from the fact that both the function f and the set M can be extremely
complicated. To avoid dealing with complicated sets M , we restrict ourselves to the
situation of integrals over compact intervals, i.e. to integrals over sets of the form M =
[a, b]. Moreover, we will also restrict ourselves to bounded functions f , which we now
define:
and
N
X N
X
r(, f ) := mj |Ij | = mj (xj xj1 ), (10.7a)
j=1 j=1
N
X N
X
R(, f ) := Mj |Ij | = Mj (xj xj1 ), (10.7b)
j=1 j=1
where r(, f ) is called the lower Riemann sum and R(, f ) is called the upper Riemann
sum associated with and f . If is tagged by := (t1 , . . . , tN ), then we also define
the intermediate Riemann sum
N
X N
X
(, f ) := f (tj ) |Ij | = f (tj )(xj xj1 ). (10.7c)
j=1 j=1
Note that, for a = b, all the above sums are empty and we have r(, f ) = R(, f ) =
(, f ) = 0.
(a) Define
J (f, I) := sup r(, f ) : is a partition of I , (10.8a)
J (f, I) := inf R(, f ) : is a partition of I . (10.8b)
We call J (f, I) the lower Riemann integral of f over I and J (f, I) the upper
Riemann integral of f over I.
(b) The function f is called Riemann integrable over I if, and only if, J (f, I) = J (f, I).
If f is Riemann integrable over I, then
Z b Z Z b Z
f (x) dx := f (x) dx := f := f := J (f, I) = J (f, I) (10.9)
a I a I
is called the Riemann integral of f over I. The set of all functions f : I R that
are Riemann integrable over I is denoted by R(I).
(10.7) implies
is the number of interior nodes that occur in . Then, for each partition of I, the
following holds:
Proof. We carry out the proof of (10.15a) the proof of (10.15b) can be conducted
completely analogous. Consider the case = 1 and let be the single element of
( ) \ {a, b}. If (), then + = , and (10.15a) is trivially true. If
/ (),
then xk1 < < xk for a suitable k {1, . . . , N }. Define
I := [xk1 , ], I := [, xk ] (10.16)
and
m := inf{f (x) : x I }, m := inf{f (x) : x I }. (10.17)
Then we obtain
r( + , f ) r(, f ) = m |I | + m |I | mk |Ik | = (m mk ) |I | + (m mk ) |I |.
(10.18)
Together with the observation
(10.18) implies
0 r( + , f ) r(, f ) 2M |I | + |I | 2M ||. (10.20)
r(, f ) R( , f ). (10.22)
(d) For each sequence of partitions (n )nN of I such that limn |n | = 0, one has
Proof. (a): For a = b, there is nothing to prove, so let a < b. Let (n )nN be a sequence
of partitions of I, n = (xn,0 , . . . , xn,Nn ), In,j := [xn,j1 , xn,j ], satisfying limn |n | =
0. Note that, for each n N and each j {1, . . . , Nn },
mn,j (f + g) = inf{f (x) + g(x) : x In,j }
inf{f (x) : x In,j } + inf{g(x) : x In,j }
= mn,j (f ) + mn,j (g), (10.32a)
Mn,j (f + g) = sup{f (x) + g(x) : x In,j }
sup{f (x) : x In,j } + sup{g(x) : x In,j }
= Mn,j (f ) + Mn,j (g), (10.32b)
mn,j (f ) = inf{f (x) : x In,j }
R
(
(4.9d) inf{f (x) : x In,j } = mn,j (f ) for 0,
= (10.32c)
sup{f (x) : x In,j } = Mn,j (f ) for < 0,
Mn,j (f ) = sup{f (x) : x In,j }
R
(
(4.9c) sup{f (x) : x In,j } = Mn,j (f ) for 0,
= (10.32d)
inf{f (x) : x In,j } = mn,j (f ) for < 0.
Nn
X
(10.23) (10.7a)
J (f, I) = lim r(n , f ) = lim mn,j (f ) |In,j |
R n n
j=1
(
(10.32c) limn r(n , f ) = J (f, I) for 0,
= (10.33c)
limn R(n , f ) = J (f, I) for < 0,
Nn
X
(10.23) (10.7b)
J (f, I) = lim R(n , f ) = lim Mn,j (f ) |In,j |
R n n
j=1
(
(10.32d) limn R(n , f ) = J (f, I) for 0,
= (10.33d)
limn r(n , f ) = J (f, I) for < 0.
Thus, if f and g are both Riemann integrable over I, then we obtain J (f + g, I)
J (f, I)+J (g, I) = J (f, I)+J (g, I) J (f +g, I), i.e., by Th. 10.10(c), (f +g) R(I);
and J (f, I) = J (f, I) = J (f, I) for 0, J (f, I) = J (f, I) = J (f, I) for
< 0, i.e. (f ) R(I) in each case. In particular, for each , R,
Z Z Z
(f + g) = J (f + g, I) = J (f, I) + J (g, I) = f + g, (10.34)
I I I
proving (10.27).
(b): Once again, for a = b, there is nothing to prove, so let a < b. For M = 1, there is
still nothing to prove. For N = 2, we have a = y0 < y1 < y2 = b. Consider a sequence
(n )nN of partitions of I, n = (xn,0 , . . . , xn,Nn ), such that limn |n | = 0 and
y1 (n ) for each n N. Define n := (xn,0 , . . . , y1 ), n := (y1 , . . . , xn,Nn ). Then n
and n are partitions of J1 and J2 , respectively, and limn |n | = limn |n | = 0.
Moreover,
r(, f ) = r(n , f ) + r(n , f ), R(, f ) = R(n , f ) + R(n , f ) ,
nN
implying
R R J (f,RI) = J (f, J1 )+J (f, J2 ) and J (f, I) = J (f, J1 )+J (f, J2 ). This proves
I
f = J1 f + J2 f provided f R(I) R(J1 ) R(J2 ). So it just remains to show the
claimed equivalence between f R(I) and f R(J1 ) R(J2 ). If f R(J1 ) R(J2 ),
then J (f, I) = J (f, J1 )+J (f, J2 ) = J (f, J1 )+J (f, J2 ) = J (f, I), showing f R(I).
Conversely, J (f, I) = J (f, I) implies J (f, J1 ) = J (f, J1 ) + J (f, J2 ) J (f, J2 )
J (f, J1 ), showing J (f, J1 ) = J (f, J1 ) and f R(J1 ); f R(J2 ) follows completely
analogous. The general case now follows by induction on M .
(c): If f, g : I R are bounded and f g, then, for each partition of I, r(, f )
r(, g) and R(, f ) R(, g) are immediate from (10.7). As these inequalities are
preserved when taking the sup and the inf, respectively, all claims of (c) are established.
(d): We will see in Th. 10.17(b)
R below,
R that f R R(I)R implies |f | R(I). Since f |f |
and f |f |, (c) implies I f I |f | and I f I |f |, i.e. (10.30).
(e): We compute
Z (c)
Z (c)
Z
(10.11) (10.11)
m |I| = m f M = M |I|, (10.35)
I I I
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 146
Proof. Suppose, for each > 0, there exists a partition of I such that (10.36) is
satisfied. Then
J (f, I) J (f, I) R(, f ) r(, f ) < , (10.37)
showing J (f, I) J (f, I). As the opposite inequality always holds, we have J (f, I) =
J (f, I), i.e. f R(I) as claimed. Conversely, if f R(I) and (n )nN is a sequence of
partitions of I with limn |n | = 0, then (10.24a) implies that, for each > 0, there
is N N such that R(n , f ) r(n , f ) < for each n > N .
The previous theorem will allow us to prove that every continuous function on [a, b] is
Riemann integrable. However, we will also need to make use of the following result:
and |f (xn ) f (yn )| 0 . Then the sequence (xn )nN is bounded and the Bolzano-
Weierstrass Th. 7.27 provides a convergent subsequence (x(n) )nN , i.e. there is R
with limn x(n) = . Clearly, [a, b] and (10.40) implies limn y(n) = as
well. However, due to |f (x(n) ) f (y(n) )| 0 > 0, the sequences f (x(n) ) nN and
f (y(n) ) nN can not both converge to f (), showing that f can not be continuous.
Proof. (a): For a = b, there is nothing to prove, so let a < b. First note that, if f
is continuous on I = [a, b], then f is bounded by Th. 7.54. Moreover, f is uniformly
continuous due to Prop. 10.13. Thus, given > 0, there is > 0 such that |x y| <
implies |f (x) f (y)| < /|I| for each x, y I. Then, for each partition of I satisfying
|| < , we obtain
N N
X X
R(, f ) r(, f ) = (Mj mj )|Ij | |Ij | = , (10.41)
j=1
|I| j=1
as || < implies |x y| < for each x, y Ii and each j {1, . . . , N }. Finally, (10.41)
implies f R(I) due to Riemanns integrability criterion of Th. 10.12.
(b): Suppose f : [a, b] R is increasing. Then f is bounded, as f (a) f (x) f (b)
for each x [a, b]. Moreover, if = (x0 , . . . , xN ) is a partition of I as in Def. 10.3, then
N
X N
X
R(, f ) r(, f ) = (Mj mj )|Ij | = f (xj ) f (xj1 ) |Ij | || f (b) f (a) .
j=1 j=1
(10.42)
Thus, given > 0, we have R(, f ) r(, f ) < for each partition of I satisfying
|| < /(f (b) f (a)). In consequence, f R(I), once again due to Riemanns integra-
bility criterion of Th. 10.12. If f is decreasing, then f is increasing, and Th. 10.11(a)
establishes the case.
Definition and Remark 10.16. Let M R. A function f : M R f is called
Lipschitz continuous in M with Lipschitz constant L if, and only if,
|f (x) f (y)| L |x y|. (10.43)
LR+ x,yM
0
Every Lipschitz continuous function is, indeed, continuous, since, if M and (yn )nN
is a sequence in M with limn yn = , then (10.43) implies
|f () f (yn )| L | yn |, (10.44)
nN
proving limn f (yn ) = f (). Moreover, it is not too much harder to prove Lipschitz
continuous functions are even uniformly continuous,but we will not pursue this right
now. On the other hand, f : R+ 0 R, f (x) := x, is an example of a continuous
function (actually, even uniformly continuous) that is not Lipschitz continuous.
Theorem 10.17. Let a, b R, a b, I := [a, b].
(c) If f, g R(I), then f g, max(f, g), min(f, g) R(I). If, in addition, there exists
> 0 such that g(x) for each x I, then f /g R(I). For the product and the
quotient, the result remains true for C-valued f, g (see Th. G.4(a)).
Proof. (a): Let f R(I) and let : f (I) R be Lipschitz continuous. Then there
exists L 0 such that
(x) (y) L |x y| for each x, y f (I). (10.45)
As f R(I), given > 0, Th. 10.12 provides a partition of I such that R(, f )
r(, f ) < /L, and we obtain
N
X
R(, f ) r(, f ) = Mj ( f ) mj ( f ) |Ij |
j=1
N
X
L Mj (f ) mj (f ) |Ij |
j=1
= L R(, f ) r(, f ) < . (10.46)
We provide two variants of the fundamental theorem with slightly different flavors: In
the first variant, Th. 10.19(a), we start with a function f , obtain another function F
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 149
and
Z x
F (x) = F (c) + F (t) dt for each c, x I. (10.50b)
c
Both (a) and (b) extend to the C-valued situation (see Th. G.6).
Now, given > 0, the continuity of f in allows us to find > 0 such that |(f (t)f ()| <
/2 for each t with |t | < . Thus, for each h with |h| < , we obtain
Z
1 +h h
|A(h)| f (t) f () dt < , (10.53)
h 2h
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 150
Theorem 10.22. Let a, b R, a < b, I := [a, b]. If f, g C 1 (I), then the following
integration by parts formula holds:
Z b Z b
b
f g = [f g]a f g. (10.58)
a a
The theorem extends to the situation where f is C-valued (see Th. G.8).
According to Th. 10.19(a) and the chain rule of Th. 9.10, we obtain
(F ) : I R, (F ) (x) = (x)f ((x)). (10.64)
Thus, we can apply (10.50a), which yields
Z (b) Z b
f = F ((b)) F ((a)) = (f ) , (10.65)
(a) a
proving (10.62).
R 1 2
Example 10.25. We compute the integral 0 t 1 t dt using the change of variables
x := (t) := 1 t, (t) = 1:
Z 1 Z 0 Z 1
2
2
t 1 t dt = (1 x) x dx = ( x 2x x + x2 x) dx
0 1 0
" 3 5 7
#1
2x 2 4x 2 2x 2 16
= + = . (10.66)
3 5 7 105
0
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 152
Before we can define improper Riemann integral, we define, in partial extension of Def.
8.17:
Definition 10.28. Let M R. If M is unbounded from above (resp. below, then
f : M K is said to tend to K (or to have the limit K) for x (resp., for
x ) (denoted by limx f (x) = ) if, and only if, for each sequence (k )kN in M
with limk k = (resp. with limk k = ), the sequence (f (k ))kN converges
to K, i.e.
lim f (x) = lim k = lim f (k ) = . (10.67)
x (k )kN in M k k
(a) Let I := [c, b[, f Rloc (I), and assume b = or f is unbounded. Consider the
function Z x
F : I R, F (x) := f.
c
If the limit Z x
lim F (x) = lim f (10.68)
xb xb c
exists in R, then we define
Z Z b Z b Z x
f := f (t) dt := f := lim f.
I c c xb c
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 153
(b) Let I :=]a, c], f Rloc (I), and assume a = or f is unbounded. Consider the
function Z c
F : I R, F (x) := f.
x
If the limit Z c
lim F (x) = lim f (10.69)
xa xa x
exists in R, then we define
Z Z c Z c Z c
f := f (t) dt := f := lim f.
I a a xa x
(c) Let I =]a, b[ , f Rloc (I). If the conditions of both (a) and (b) hold, i.e. (i) (iv),
where
then we define Z Z Z Z Z
b b c b
f := f (t) dt := f := f+ f.
I a a a c
All the above limits of Riemann integrals (if they exist) are called improper Riemann
integrals. In each case, if the limit exists, we call f improperly Riemann integrable and
write f R(I).
Remark 10.30. (a) The definitions in Def. 10.29 are consistent with what occurs if
the limits are proper Riemann integrals: Let a, c, b R, a < c < b, and f R[a, b].
Then Z Z Z Z
x b c c
lim f= f and lim f= f. (10.70)
xb c c xa x a
implying
Z xk Z b Z b Z b Z b
Th. 10.11(b)
lim f = lim f f = f 0= f.
k c k c xk c c
R
(b) In Def. 10.29(c), it can occur that f does not exist, even though the limit
Rx
limx x f exists: For example, if f : R R, f (x) = x, then f Rloc (R), and,
for each sequence (xk )kN in R such that limk xk = and each c R, one has
Z xk 2 xk
t x2 x2k
lim t dt = lim = lim k = 0,
k x k 2 k 2
k xk
Z xk 2 xk
t x2 c 2
lim t dt = lim = lim k = ,
k c k 2 k 2
c
Z c 2 c
t c2 x2k
lim t dt = lim = lim = ,
k x k 2 k 2
k xk
Rx Rx Rc
i.e. limx x t dt = 0, but neither limx c t dt nor limx x t dt exists in
R.
(c) Let a < c1 < c2 < b (a = , b = is admissible). If I := [c1 , b[, f Rloc (I), and
Rb Rb
b = or f is unbounded, then c1 f exists if, and only if, c2 f exists. Moreover, if
the integrals exist, then Z Z Z
b c2 b
f= f+ f. (10.71a)
c1 c1 c2
Rb
Indeed, if (xk )k is a sequence in [c1 , b[ such that limk xk = b and if c1
f exists,
then Z Z Z Z Z
xk xk c2 b c2
Th. 10.11(b)
lim f = lim f f = f f,
k c2 k c1 c1 c1 c1
Rb Rb
proving c2
f exists and (10.71a) holds. Conversely, if c2 f exists, then
Z xk Z x k Z c2 Z b Z c2
Th. 10.11(b)
lim f = lim f+ f = f+ f,
k c1 k c2 c1 c2 c1
Rb
proving c1 f exists and (10.71a) holds. Analogously, one shows that if I :=]a, c2 ],
Rc Rc
f Rloc (I), and a = or f is unbounded, then a 1 f exists if, and only if, a 2 f
exists, where, if the integrals exist, then
Z c2 Z c2 Z c1
f= f+ f. (10.71b)
a c1 a
In particular, we see that neither the existence nor the value of the improper integral
in Def. 10.29(c) depends on the choice of c.
Example 10.31. (a) Let 0 < < 1. We claim that
Z 1 Z 1
1 1 1 1
dt = = yields dt = 2 . (10.72)
0 t 1 2 0 t
Indeed, if (xk )kN is a sequence in ]0, 1] such that limk xk = 0, then
Z 1 1 1
1 t 1 xk1 1
lim
dt = lim = lim = .
k x t k 1 k 1 1
k xk
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 155
showing the limit does not exist in R, but diverges to . Sometimes, this is stated
in the form Z 1
1
dt = . (10.73)
0 t
Then limt f (t) does not exist and f is not even bounded. However f R(R+
0)
and Z Z n+1/(n2n )
X X 1
f= n dt = 2n = 1 = 1.
0 n=1 n n=1
1 12
Proof. We conduct the proof for the case I = [c, b[ the case I =]a, b] can be shown
analogously, and the case I =]a, b[ then also follows. Let (xk )kN be a sequence in I
such that limk xk = b.
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 156
proving (b).
Before we can proceed to Prop. 10.35 about convergence criteria for improper integrals,
we need to prove the analogon of Th. 7.19 for limits of functions.
Proof. We prove (10.76a) for the case, where f is increasing the remaining case of
(10.76a) as well as (10.76b) can be proved completely analogous. Let (xk )kN be a
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 157
sequence in M \ {b} such that limk xk = b. We have to show that limk f (xk ) = ,
where := sup A for A bounded from above and := for A not bounded from above.
Seeking a contradiction, assume limk f (xk ) = does not hold. Due to the choice of
b, there then must be > 0 and a subsequence (yk )kN of (xk )kN such that (yk )kN is
strictly increasing and
(
if = sup A,
f (yk )
kN if = .
Proof. (a): We consider the case I = [c, b[ the proof for the case I =]a, c] is completely
R
analogous, and the case I =]a, b[ then also follows. First, suppose 0 f g, and I g
exists. Since 0 f , the function
Z x
+
F : [c, b[ R0 , F (x) := f,
c
is increasing. Due to
Z x Z x Z b
F (x) = f g g R+
0,
x[c,b[ c c c
F is also bounded from above (in the sense that {F (x) R: x [c, b[} is bounded from
x
above), i.e. Prop. 10.34 yields that limxb F (x) = limxb c f exists in R as claimed.
R
Now suppose 0 g f and I g diverges. As the function F above, the function
Z x
+
G : [c, b[ R0 , G(x) := g,
c
is increasing. Since we assume that limxb G(x) does not exist in R, Prop. 10.34 im-
plies limxb G(x) = . As a consequence, if (xk )kN is a sequence in [c, b[ such that
limk xk = b, then
Z xk Z xk
lim F (xk ) = lim f = lim g = ,
k k c k c
10 THE RIEMANN INTEGRAL ON INTERVALS IN R 158
R
showing that f diverges as well.
I
R R
(b): We assume I f to converge absolutely, i.e. I |f |Rmust exist inRR. Since 0 f + |f |
and 0 f |f |, R(a) then
R implies
R the existence of I f + and of I f . Thus, according
+
to Lem. 10.32(a), I f = I f I f must also exist.
Example 10.36. (a) We will use Prop. 10.35(a) to show that the improper integral
Z
2
et dt
0
exists. Indeed,
2
(t 1)2 = t2 2t + 1 0 t2 2t + 1 0 et e2t+1 ,
tR
and, since
Z Z x x
2t+1 2t+1 e2t+1 e e2x+1 e
e dt = lim e dt = lim = lim = ,
0 x 0 x 2 0
x 2 2
R t2
Prop. 10.35(a) implies that 0
e dt exists in R.
diverges. Indeed,
2
t2 0 et 1 ,
tR
and, since Z x
lim 1 dt = lim x = ,
x 0 x
R t2
Prop. 10.35(a) implies that 0
e dt = .
(c) We provide an example that shows an improper integral can converge without
converging absolutely: Consider the function
(
(1)n+1 for n t n + n1 , n N,
f : [0, [ R, f (t) := (10.77)
0 otherwise.
Then Z n Z k+ k1 n
X X 1 (7.74)
|f | = lim 1 dt = lim = , (10.78)
0 k
k=1 k k
k=1
k
R
showing 0
f does not converge absolutely. However, we will show
Z
X (1)j+1
f= =: > 0. (10.79)
0 j=1
j
A LOGIC AND SET THEORY 159
We know > 0 from Ex. 7.86(a) and Th. 7.85. Let (xk )kN be a sequence in R+ 0
such that limk xk = . Given > 0, choose K N such that K1 < 2 and N N
such that
xk > K. (10.80)
k>N
Then, for each k > N , there exists K1 N such that K < K1 xk < K1 + 1. Thus
Z xk KX 1 1
1 (1)j+1
f (t) dt = min xk K1 , + (10.81)
0 K1 j=1
j
and
X
(1)j+1
Z xk
1 (7.81) 1 1
f (t) dt = min xk K1 , < +
0
j=K
j K1 K1 K1
1
2
< < 2 = , (10.82)
K 2
thereby proving (10.79).
So suppose X
/ X. Then X is a set that does not contain itself. Thus, by the definition
of X, X X.
Perhaps you think Russells construction is rather academic, but it is easily translated
into a practical situation. Consider a library. The catalog C of the library should contain
all the librarys books. Since the catalog itself is a book of the library, it should occur
as an entry in the catalog. So there can be catalogs such as C that have themselves as
an entry and there can be other catalogs that do not have themselves as an entry. Now
one might want to have a catalog X of all catalogs that do not have themselves as an
entry. As in Russells antinomy, one is led to the contradiction that the catalog X must
have itself as an entry if, and only if, it does not have itself as an entry.
One can construct arbitrarily many versions, which we will not do. Just one more:
Consider a small town with a barber, who, each day, shaves all inhabitants, who do not
shave themselves. The poor barber now faces a terrible dilemma: He will have to shave
himself if, and only if, he does not shave himself.
is called the characteristic function of the set B (with respect to the universe A). One
also finds the notations 1B and 1B instead of B (note that all the notations supress
the dependence of the characteristic function on the universe A).
Proposition A.2. Let A be a set. Then the map
: P(A) {0, 1}A , (B) := B , (A.2)
is bijective (recall that P(A) denotes the power set of A and {0, 1}A denotes the set of
all functions from A into {0, 1}).
Proposition A.2 allows one to identify the sets P(A) and {0, 1}A via the bijective map
. This fact and recalling that one can define the number 2 as the set {0, 1} (cf. Rem.
1.27) explains the notation 2A for P(A).
A LOGIC AND SET THEORY 161
Definition A.3 (Axiom of Choice). The axiom of choice postulates, for each nonempty
set M, whose elements are all nonempty sets, the existence of a choice function, that
means a function that assigns, to each M M, an element m M . Thus, the axiom
of choice postulates the truth of the following implication for each set M:
/M S f (N ) N . (A.3)
f : M N N M
N M
Example A.4. For example, the axiom of choice postulates, for each nonempty set A,
the existence of a choice function on P(A) \ {} that assigns each subset of A one of its
elements.
The axiom of choice is remarkable since, at first glance, it seems so natural that one
can hardly believe it is not provable from the axioms in ZF. However, one can actually
show that it is neither provable nor disprovable from ZF (such a result is called an
independence proof and this particular independence proof is one of several included in
[Kun80]).
If you want to convince yourself that the existence of choice functions is, indeed, a tricky
matter, try to define a choice function on P(R) \ {} without AC (but do not spend too
much time on it one can show this is actually impossible to accomplish).
Proof. For (A.4b), which includes (A.4a) as a special case, one argues
!
\ \
yf Si x Si y = f (x) y f (Si ) y f (Si ).
xA iI iI
iI iI
The observation
x f 1 (U \ V ) f (x) U f (x)
/ V x f 1 (U ) \ f 1 (V ),
Example A.6. The following example shows that one can not, in general, replace
the four subset symbols in (A.4) by equalities: For the map f : {1, 2} {1, 2}, f (1) =
f (2) = 1, it is f ({1} {2}) = ( {1} = f ({1}) f ({2}), f (f 1 ({1, 2})) = {1} ( {1, 2},
f 1 (f ({1})) = {1, 2} ) {1}.
A.6 Cardinality
Theorem A.7. Let M be a set of sets. Then the relation on M, defined by
Proof. According to Def. 2.20, we have to prove that is reflexive, symmetric, and
transitive. According to Def. 3.12(a), A B holds for A, B M if, and only if, there
exists a bijective map f : A B. Thus, since the identity Id : A A is bijective,
A A, showing is reflexive. If A B, then there exists a bijective map f : A B,
and f 1 is a bijective map f 1 : B A, showing B A and that is symmetric.
If A B and B C, then there are bijective maps f : A B and g : B C.
Then, according to Th. 2.13, the composition (g f ) : A C is also bijective, proving
A C and that is transitive.
It is intuitively clear that finite cardinalities are uniquely determined. Still one has to
provide a rigorous proof. The key is the following theorem:
The next theorem provides two interesting, and sometimes useful, characterizations of
infinite sets:
Theorem A.10. Let A be a set. Then the following statements (i) (iii) are equivalent:
(i) A is infinite.
(ii) There exists M A and a bijective map f : M N.
(iii) There exists a strict subset B ( A and a bijective map g : A B.
One sometimes expresses the equivalence between (i) and (ii) by saying that a set is
infinite if, and only if, it contains a copy of the natural numbers. The property stated in
(iii) might seem strange at first, but infinite sets are, indeed, precisely those that identical
in size to some of their strict subsets (as an example think of the natural bijection n 7 2n
between all natural numbers and the even numbers).
Then the bijectivity of fn implies the bijectivity of fn+1 , and, since fn+1 Mn = fn holds
by definition of fn+1 ,
m n + 1 fn+1 Mm = fm
holds true as well. An induction also shows Mn = {m1 , . . . , mn } and fn (mn ) = n for
each n N. We now define
[
M := Mn = {mn : n N}, f : M N, f (mn ) := fn (mn ) = n. (A.10)
nN
(i) The sets A and B have the same cardinality (i.e. there exists a bijective map
: A B).
Proof. (i) trivially implies (ii), as one can simply set f := and g := 1 . It remains
to show (ii) implies (i). We first assume that A and B are disjoint. To define , we first
construct a suitable partition of A B, where the subsets of the partition are given via
sequences defined by using f and g. The idea is to assign a unique sequence (a) to
each a A and a unique sequence (b) to each b B by alternately applying f and g to
advance the sequence to the right and by alternately applying f 1 and g 1 to advance
the sequence to the left, if possible (for a given a A, g 1 (a) might not be defined and,
for a given b B, f 1 (a) might not be defined). Thus, for a A, (a) has the form
. . . , f 1 g 1 (a) , g 1 (a), a, f (a), g f (a) , . . . (A.12)
where the conditions in (A.13e) and (A.13g) include i+1 (a) to be defined for i + 1. By
induction, one shows i1 (a) A for each i > 0 odd, i1 (a) B for each i > 0 even,
i+1 (a) A for each ma i < 0 odd, and i+1 (a) B for each ma i < 0 even, such
that i (a) is well-defined by (A.13) for each i Ia (with Ia = Z if (A.13e) and (A.13g)
are never satisfied). Analogously, for each b B, we define (b) = (i (b))iIb recursively
by
where the conditions in (A.14e) and (A.14g) include i+1 (b) to be defined for i + 1. By
induction, one shows i1 (b) B for each i > 0 odd, i1 (b) A for each i > 0 even,
i+1 (b) B for each mb i < 0 odd, and i+1 (b) A for each mb i < 0 even, such
that i (b) is well-defined by (A.14) for each i Ib (with Ib = Z if (A.14e) and (A.14g)
are never satisfied). The (a) and (b) now allow us to define the sets
Sx := {i (x) : i Ix } A B. (A.15)
B
xA
A LOGIC AND SET THEORY 167
Moreover, we call x A B an A-stopper if, and only if, (x) terminates to the left
with some element in A; a B-stopper, if, and only if, (x) terminates to the left with
some element in B; and a non-stopper, if (x) does never terminate to the left thus,
x A-stopper Ix 6= Z (x A mx even) (x B mx odd) ,
x B-stopper Ix 6= Z (x A mx odd) (x B mx even) ,
x non-stopper Ix = Z. (A.16)
Next, we prove that the Sx form a partition of A B. Since, for each x A B,
x = 0 (x) Sx , it only remains to show
Sx = Sy Sx Sy = . (A.17)
B
x,yA
To verify (A.17), let z Sx . Then there exists i Ix such that z = 0 (z) = i (x) and
a simple inductions show k (z) = k+i (x) for each k Iz and ki (z) = k (x) for each
k Ix (in particular, i + Iz = Ix ), proving Sx = Sz .
We are now in a position to define the desired bijection : A B:
(
f (a) if a is an A-stopper or a non-stopper,
: A B, (a) := (A.19)
g 1 (a) if a is a B-stopper.
Indeed, is injective: If a1 , a2 {a A : a A-stopper or non-stopper} with a1 6= a2 ,
then (a1 ) 6= (a2 ) due to f being injective; if a1 , a2 {a A : a B-stopper} with
a1 6= a2 , then (a1 ) 6= (a2 ) due to g 1 being injective; and a1 , a2 A with a2 a B-
stopper and a1 not a B-stopper, Sa1 = Sf (a1 ) and Sa2 = Sg1 (a2 ) , i.e. (a2 ) is also a
B-stopper, whereas (a1 ) is not a B-stopper, in particular, (a1 ) 6= (a2 ). Moreover,
is also surjective: If b B is a B-stopper, then, due to Sb = Sg(b) , so is g(b), and
b = g 1 (g(b)) = (g(b)); if b B is not a B-stopper, then f 1 (b) is defined and in Sb ,
i.e. f 1 (b) is not a B-stopper, either, and b = f (f 1 (b)) = (f 1 (b)).
To conclude, the proof, we consider the case that A and B are not necessarily disjoint.
Since A {0} and B {1} are always disjoint with
f : A {0} B {1}, f(a, 0) := (f (a), 1), (A.20a)
g : B {1} A {0}, g(b, 0) := (g(b), 0), (A.20b)
still being injective if f, g are, the first part of the proof yields a bijective function
: A {0} B {1}. Then, using the clearly bijective functions
: A A {0}, (a) := (a, 0), (A.21a)
: B B {1}, (b) := (b, 1), (A.21b)
:= 1 : A B is also bijective.
A LOGIC AND SET THEORY 168
Remark A.12. The proof of the Schroder-Bernstein Th. A.11 is nonconstructive, since,
in general, one has no algorithm to determine if a given element is an A-stopper, a B-
stopper, or a non-stopper. However, as the following Ex. A.13 shows, in particular
situations, determining A-stoppers, B-stoppers, and non-stoppers does not have to be
difficult.
both being clearly injective, but not surjective. The goal is to, explicitly, find the
bijective map : A B, given by (A.19). As an intermediate step, we determine
which elements of A are non-stoppers, A-stoppers, and B-stoppers, and likewise for the
elements of B. Clearly 0 A and 0 B are non-stoppers. We will see that all other
elements are either A-stoppers or B-stoppers. The precise claim is
Since D2 B2 , all elements of D2 are B-stoppers, and, thus, so are all elements of C2 ,
proving C2 A2 . Since A = C1 C2 {0},
we then also obtain A1 = C1 and A2 = C2 .
Clearly, each even b N either has the form b = n 2k with odd n, k 1 (i.e. b D2 ) or
b = n4k with n odd and k N, i.e.
Since C1 = A1 , all elements of C1 are A-stoppers, and, thus, so are all elements of D1 .
Since B = D1 D2 {0},
we then also obtain B1 = D1 and B2 = D2 .
B CONSTRUCTION OF THE REAL NUMBERS 169
Now that we have identified explicit formulas for A1 and A2 , we can write the assignment
rule for the bijective : A B, given by (A.19), in the explicit form
0 if a = 0,
(a) := 4a if a = n 4k with n odd and k N0 , (A.26)
k
a if a = 2 n4 with n odd and k N0 .
Thus, starts out with the assignments
0 1 2 3 4 5 6 7 8
: ... (A.27)
0 4 2 12 16 20 6 28 8
Theorem A.14. Let A, B be nonempty sets. Using the axiom of choice (AC) of Def.
A.3, the following statements are equivalent:
(i) The sets A and B have the same cardinality (i.e. there exists a bijective map
: A B).
(ii) There exist an injective map f : A B and an injective map g : B A.
(iii) There exist a surjective map f : A B and a surjective map g : B A.
(iv) There exist an injective map f1 : A B and a surjective map f2 : A B.
(v) There exist an injective map g1 : B A and a surjective map g2 : B A.
Proof. The equivalences are an immediate consequence of combining Th. A.11 with Th.
A.14.
which postulates the existence of a set X, containing 0 and all natural numbers. The
axiom does not prevent X from containing additional elements, but we can now proceed
to define
N := {n X : n is a natural number}, N0 := N {0}. (B.1b)
Notation B.2. Define 0 := , 1 := S(0) = {0}, 2 := S(1) = {0, 1}, 3 := S(2) =
{0, 1, 2}, . . . , n + 1 := S(n) = n {n} = {0, 1, . . . , n}.
One can now prove that N (or N0 if one prefers, where 0 takes over the role of 1) satisfies
the Peano axioms P1 P3 of Sec. 3.1 (see [Kun80, Th. 1.7.16]). Theorem 3.7 allows to
define addition and multiplication on N0 via recursion:
Definition B.3. (a) For each m, n N0 , m + n is defined recursively by
This fits into the framework of Th. 3.7, using A := N0 , x1 := S(m), and, for each
n N, fn : An A, fn (x1 , . . . , xn ) := S(xn ) (due to the different initializations,
one obtains a different recursion for each m N0 ).
m 0 := 0, m 1 := m, m (n + 1) := m n + m. (B.3)
nN
This fits into the framework of Th. 3.7, using A := N0 , x1 := m, and, for each
m, n N, fm,n : An A, fm,n (x1 , . . . , xn ) := xn + m.
Theorem B.4. The set N0 of the natural numbers (including 0) with the maps of
addition and multiplication
+ : N0 N0 N0 , (x, y) 7 x + y,
: N0 N0 N0 , (x, y) 7 x y,
B CONSTRUCTION OF THE REAL NUMBERS 171
as defined in Def. B.3(a) and Def. B.3(b), respectively, satisfies Def. 4.3(i),(ii),(iv) for
both addition and multiplication, i.e. associativity, commutativity, and the existence of a
neutral element. This can be summarized as the statement that N0 forms a commutative
semigroup with respect to both addition and multiplication (however, no group, as the
existence of inverse elements is lacking). Moreover, distributivity, i.e. Def. 4.4(iii) is
also satisfied.
Proof. Detailed proofs can be found in [Lan65, Ch. 1, 2] and [Lan65, Ch. 1, 4]. As
examples, let us proof the associativity and commutativity of addition, i.e.
(k + m) + n = k + (m + n), (B.4a)
k,m,nN0
m + n = n + m. (B.4b)
m,nN0
The proof of (B.4a) is carried out by induction on n. The base case (n = 0) follows
from the first definition in (B.2): (k + m) + 0 = k + m = k + (m + 0) for every k, m N0 .
For the induction step, one computes, for every k, m, n N0 ,
(B.2) (B.2) ind. hyp.
(k + m) + (n + 1) = (k + m) + S(n) = S((k + m) + n) = S((k + (m + n))
(B.2) (B.2)
= k + S(m + n) = k + (m + S(n))
(B.2)
= k + (m + (n + 1)), (B.5)
Now, for the induction step of the induction on n, one computes, for every (m, n)
N0 N,
(B.2) (B.2) ind. hyp. (B.2)
m + (n + 1) = m + S(n) = S(m + n) = S(n + m) = n + S(m)
(B.2) base case (B.4a)
= n + (m + 1) = n + (1 + m) = (n + 1) + m, (B.6b)
nm : n + k = m. (B.7)
kN0
Theorem B.6. The relation defined in (B.7) constitutes a total order on N0 that is
compatible with addition and multiplication, i.e. it satisfies Def. 4.4(iv).
where x denotes the inverse of x with respect to +, then, given that P is closed under
+ (i.e. x, y P implies x + y P ),
yx : x y P {0} (B.9)
defines a total order on G that is compatible with addition, i.e. it satisfies (4.6a). More-
over, if a multiplication is also defined on G and P {0} is closed under this multipli-
cation, then is also compatible with multiplication, i.e. it satisfies (4.6b). Of course,
one refers to the elements of P as positive and to the elements of P as negative.
Proof. For each x G, one has xx = 0 P {0}, i.e. x x and the relation is reflexive.
If x, y G, x y and y x, then x y P {0} and (x y) = y x P {0},
and the disjointness of the union in (B.8) implies x y = 0, i.e. x = y, showing the
relation is antisymmetric. If x, y, z G with x y and y z, then y x P {0},
z y P {0}, and z x = z y +y x P {0} since P is closed under +, showing the
relation is transitive. So we have shown constitutes a partial order on G. It remains
to show the order is total. However, given the decomposition in (B.8), for each x, y G,
precisely one of the statements x y P (i.e. y < x), x y = 0 (i.e. x = y), x y P
(i.e. x < y) must be true, proving that the order is total. To see satisfies (4.6a), let
x, y, z G. If x y, then y x P {0}, i.e. y + z (x + z) = y + z z x P {0},
showing x+z y +z. The proof is completed by noting (4.6b) is precisely the statement
that P {0} is closed under multiplication.
B CONSTRUCTION OF THE REAL NUMBERS 173
B.3 Integers
As compared to our goal, the set of real numbers R, the set N0 still has three defi-
ciencies, namely the lack of inverse elements for addition, the lack of inverse elements
for multiplication, and that the order lacks completeness. The construction of the
integers will remedy (only) the first of the three deficiencies by providing the inverse
elements of addition.
Definition and Remark B.8. The relation on N0 N0 defined by
(a, b) (c, d) : a + d = b + c, (B.10)
constitutes an equivalence relation on N0 N0 (cf. Def. 2.20).
Definition B.9. (a) Define the set of integers Z as the set of equivalence classes of the
equivalence relation defined in (B.10), i.e.
Z := (N0 N0 )/ = [(a, b)] : (a, b) N0 N0 (B.11)
is the quotient set of N0 N0 with respect to (cf. Ex. 2.21(c)). To simplify
notation, in the following, we will write
[a, b] := [(a, b)] (B.12)
for the equivalence class of (a, b) with respect to .
(b) Addition on Z is defined by
+ : Z Z Z, [a, b], [c, d] 7 [a, b] + [c, d] := [a + c, b + d]. (B.13)
Subtraction on Z is defined by
: Z Z Z, [a, b], [c, d] 7 [a, b] [c, d] := [a, b] + [d, c]. (B.14)
For the definitions in Def. B.9(b) to make sense, one needs to check that they do not
depend on the chosen representatives of the equivalence classes. Moreover, one needs to
convince oneself that these definitions yield the desired familiar operations of addition
and subtraction. Let us start by verifying the independence of the representatives is the
following Lem. B.10.
Lemma B.10. The definitions in Def. B.9(b) do not depend on the chosen representa-
tives, i.e.
[a + c, b + d] = [a + c, b + d]
[a, b] = [a, b] [c, d] = [c, d] (B.15)
0
a,b,c,d,a,b,c,dN
and
[a, b] = [a, b] [c, d] = [c, d] . (B.16)
[a, b] [c, d] = [a, b] [c, d]
0
a,b,c,d,a,b,c,dN
B CONSTRUCTION OF THE REAL NUMBERS 174
means c + d = d + c,
Proof. (B.15): [a, b] = [a, b] means a + b = b + a, [c, d] = [c, d]
implying a + c + b + d = b + a + d + c, i.e. [a + c, b + d] = [a + c, b + d].
(B.16) is just (B.14) combined with (B.15).
Theorem B.11. The set of integers Z forms a commutative group with respect to ad-
dition as defined in Def. B.9(b), where [0, 0] is the neutral element, [b, a] is the inverse
element of [a, b] for each a, b N0 , and, denoting the inverse element of [a, b] by [a, b]
in the usual way, [a, b] [c, d] = [a, b] + ([c, d]) for each a, b, c, d N0 .
Proof. One easily verifies that associativity and commutativity of the addition on N0
imply the respective laws on Z. For every a, b N0 , one obtains [a, b]+[0, 0] = [a+0, b+
0] = [a, b], proving neutrality of [0, 0], whereas [a, b]+[b, a] = [a+b, b+a] = [a+b, a+b] =
[0, 0] (since (a+b, a+b) (0, 0)) shows [b, a] = [a, b]. Now [a, b][c, d] = [a, b]+([c, d])
is immediate from (B.14).
Remark B.12. The map
It is customary to identify N0 with (N0 ), as it usually does not cause any confusion.
One then just writes n instead of [n, 0] and n instead of [0, n] = [n, 0].
Lemma B.13. We have the disjoint decomposition
Z = N {0} Z , Z := N = {n Z : n N}. (B.19)
Proof. Note that, due to (B.10), an equivalence class remains the same if a natural
number is added or subtracted in both components: [a, b] = [a + m, b + m]. Thus, for
each x = [a, b] Z, if a > b, then x = [a b, 0] N; if a = b, then x = [0, 0] = 0; if
a < b, then x = [0, b a] = [b a, 0] Z . It just remains to verify that the union in
(B.19) is disjoint. However, if [n, 0] = [0, m] with m, n N0 , then n + m = 0, proving
n = m = 0, completing the proof.
Remark B.14. In the above construction, we obtained the commutative group (Z, +)
from the commutative semigroup (N0 , +). It is worth pointing out that the same con-
struction always works when, instead of with N0 , one starts with any commutative
semigroup (H, +) that satisfies the cancellation law a + c = b + c a = b, to obtain a
commutative group (G, +) and a monomorphism : H G.
Lemma B.16. The definition in Def. B.15 does not depend on the chosen representa-
tives, i.e.
[ac + bd, ad + bc] = [ac + bd,
[a, b] = [a, b] [c, d] = [c, d] ad+ bc] .
0
a,b,c,d,a,b,c,dN
(B.21)
Proof. As mentioned before, due to (B.10), an equivalence class remains the same if a
natural number is added or subtracted in both components. Thus, one computes
(B.10)
[ac + bd, ad + bc] = [ac + bd + bc, ad + bc + bc] = [(a + b)c + bd, ad + bc + bc]
(B.10)
= [(a + b)c + bd, ad + bc + bc] = [ad + ac + bd, ad + ad + bc]
= [a(d + c) + bd, ad + ad + bc] = [a(d + c) + bd, ad + ad + bc]
= [ac + (a + b)d, ad + ad + bc] = [ac + (a + b)d, ad + ad + bc]
(B.10)
= [ac + bd + bc, ad + bc + bc] = [ac + b(d + c), ad + bc + bc]
= [ac + b(d + c), ad + bc + bc] = [ac + bd,
ad + bc], (B.22)
lk : k l N0 . (B.25)
B CONSTRUCTION OF THE REAL NUMBERS 176
Theorem B.19. (a) The relation defined in (B.25) constitutes a total order on Z that
is compatible with addition and multiplication, i.e. it satisfies Def. 4.4(iv).
Proof. (a) follows from (B.25), (B.19), and Th. B.7 since N0 is closed under addition
and multiplication.
(b): According to Def. B.6, if m, n N with n < m, then m = n + k for some k N.
In consequence (m) = (n) + (k) by (B.18), i.e. (m) (n) = (k) N, proving
(n) < (m).
Definition B.21. (a) Define the set of rational numbers Q as the set of equivalence
classes of the equivalence relation defined in (B.26), i.e.
Q := Z (Z \ {0}) / = [(a, b)] : (a, b) Z (Z \ {0}) (B.27)
is the quotient set of Z(Z\{0}) with respect to (cf. Ex. 2.21(c)). As is common,
we will write
a
:= a/b := [(a, b)] (B.28)
b
for the equivalence class of (a, b) with respect to .
For the definitions in Def. B.21(b) to make sense, one needs to check that they do not
depend on the chosen representatives of the equivalence classes, and that the results of
both addition and multiplication are always elements of Q. All this is provided by the
following lemma.
Lemma B.22. The definitions in Def. B.21(b) do not depend on the chosen represen-
tatives, i.e.
!
a a c c ad + bc ad + bc
= = = (B.31)
a,c,a,cZ
b,d,b,dZ\{0} b b d d bd bd
and
a a c c ac ac
= = = . (B.32)
a,c,a,cZ
b,d,b,dZ\{0} b b d d bd bd
Furthermore, the results of both addition and multiplication are always elements of Q.
Proof. (B.31): a/b = a/b means ab = ab, c/d = c/d means cd = cd, implying
ad + bc ad + bc
(ad + bc)bd = bd(ad + bc), i.e. = (B.33)
bd bd
and
ac ac
acbd = bdac, = .
i.e. (B.34)
bd bd
That the results of both addition and multiplication are always elements of Q follows
from (B.23), i.e. from the fact that Z has no zero divisors. In particular, if b, d 6= 0, then
bd 6= 0, showing (ad + bc)/(bd) Q and (ac)/(bd) Q.
Theorem B.23. (a) The set of rational numbers Q with addition and multiplication as
defined in Def. B.21 forms a field, where 0/1 and 1/1 are the neutral elements with
respect to addition and multiplication, respectively, (a/b) is the additive inverse
to a/b, whereas b/a is the multiplicative inverse to a/b with a 6= 0.
(b) Defining subtraction and division in the usual way, for each r, s Q, by s r :=
s + (r) and s/r := sr1 , respectively, with r denoting the additive inverse of r
and r1 denoting the multiplicative inverse of r 6= 0, all the rules stated in Th. 4.6
are valid in Q.
(c) The map
k
: Z Q, (k) := , (B.35)
1
is a monomorphism, i.e. it is injective and satisfies
(k + l) = (k) + (l), (B.36a)
k,lZ
It is customary to identify Z with (Z), as it usually does not cause any confusion.
One then just writes k instead of k1 .
B CONSTRUCTION OF THE REAL NUMBERS 178
Proof. A detailed proof of (a) is provided in [Lan65, Ch. 2, 34]. Let us check the
claims regarding neutral and inverse elements:
a 0 a1+b0 a
+ = = , (B.37a)
b 1 b1 b
a a ab + b(a) Def. 4.4(iii) for Z (a a)b 0 (B.26) 0
+ = = = = , (B.37b)
b b b2 b2 b2 1
a 1 a1 a
= = , (B.37c)
b 1 b1 b
a b ab (B.26) 1
= = . (B.37d)
b a ba 1
(b) is a consequence of (a), since Th. 4.6 and its proof are valid in every field.
(c): The map is injective, as (k) = k/1 = (l) = l/1 implies k 1 = l 1, i.e. k = l.
Moreover,
k l k1+1l k+l
(k) + (l) = + = = = (k + l), (B.38a)
1 1 1 1
k l kl
(k) (l) = = = (kl), (B.38b)
1 1 1
completing the proof.
Q = Q+ {0}
Q , Q := Q+ = {r Q : r Q+ }, (B.40)
since
a/b Q+ (a > 0 b > 0) (a < 0 b < 0) , (B.41a)
a/b = 0 a = 0, (B.41b)
a/b Q (a > 0 b < 0) (a < 0 b > 0) . (B.41c)
sr : r s Q+ +
0 := Q {0}. (B.42)
Theorem B.26. (a) The relation defined in (B.42) constitutes a total order on Q that
is compatible with addition and multiplication, i.e. it satisfies Def. 4.4(iv); in other
words (Q, +, , ) constitutes a totally ordered field.
Proof. (a) follows from (B.42), (B.40), and Th. B.7, since it is immediate from (B.29)
and (B.30) that Q+ is closed under addition and multiplication.
(b) is a consequence of (a), since Th. 4.7 and its proof are valid in every totally ordered
field.
(c): According to Def. B.26, if k, l Z with l < k, then n := k l N. In consequence
(k) = (l) + (n) by (B.36a), i.e. (k) (l) = (n) = n/1 Q+ , proving (l) < (k).
Definition B.27. (a) Let S denote the set of all Cauchy sequences in Q, where we call
a sequence (rn )nN in Q a Cauchy sequence if, and only if,
which defers from (7.25) in that has to be from Q+ rather than from R+ .
+ : S S S, ((rn )nN , (sn )nN ) 7 (rn )nN + (sn )nN := (rn + sn )nN . (B.44)
Multiplication on S is defined by
: S S S, ((rn )nN , (sn )nN ) 7 (rn )nN (sn )nN := (rn sn )nN . (B.45)
As a consequence of the following Lem. B.28, addition and multiplication are well-
defined on S.
Lemma B.28. If (rn )nN and (sn )nN are Cauchy sequences in Q, so are (rn + sn )nN
and (rn sn )nN .
B CONSTRUCTION OF THE REAL NUMBERS 180
Proof. Note that, since the rational sequence (rn )nN is nothing but the function f :
N Q, f (n) = rn , addition and multiplication as defined in Def. B.27(b) is analogous
to the definition of addition and multiplication of real-valued functions in (6.1a), (6.1c),
respectively. It is an easy exercise to verify that these function operations always inherit
associativity, commutativity, and distributivity if these rules hold for the operations
defined on the function range (i.e. for + and on Q in our present situation of rational
sequences). The constant sequence (0, 0, . . . ) is the neutral element of addition on S
and (rn )nN = (rn )nN is the additive inverse of (rn )nN .
The reason that we need another step in our construction of R is the fact that S is not
a field: As soon as 0 occurs, even just once, in the sequence (rn )nN S, the sequence
does not have a multiplicative inverse (where the neutral element of multiplication is
obviously the constant sequence (1, 1, . . . )). The solution to this problem consists of
factoring out all sequences converging to 0.
Definition and Remark B.30. Let
n o
N := (rn )nN S : lim rn = 0 . (B.48)
n
Definition B.31. (a) Define the set of real numbers R as the set of equivalence classes
of the equivalence relation defined in (B.49), i.e.
R := S/ = {[(rn )nN ] : (rn )nN S} (B.50)
is the quotient set of S with respect to (cf. Ex. 2.21(c)).
(b) Addition on R is defined by
+ : R R R, [f ], [g] 7 [f ] + [g] := [f + g]. (B.51)
Multiplication on R is defined by
: R R R, [f ], [g] 7 [f ] [g] := [f g]. (B.52)
Once again, for the definitions in Def. B.31(b) to make sense, one needs to check that
they do not depend on the chosen representatives of the equivalence classes, and once
again, we provide a lemma providing this check:
Lemma B.32. The definitions in Def. B.31(b) do not depend on the chosen represen-
tatives, i.e.
f f N g g N f + g (f + g) N (B.53)
f,g,f,g
and
f f N g g N f g (fg) N . (B.54)
f,g,f,g
Proof. Let f = (rn )nN , g = (sn )nN , f = (rn )nN , g = (sn )nN be elements of S such
that f f N and g g N , i.e. limn (rn rn ) = limn (sn sn ) = 0.
Then (7.11b) implies 0 = limn rn + sn (rn + sn ) , proving (B.53).
To prove (B.54), one computes
lim rn sn rn sn = lim rn (sn sn ) sn (rn rn ) = 0, (B.55)
n n
where the last equality follows from the boundedness of (rn )nN and (sn )nN together
with Prop. 7.11(b).
#{n N : rn } N0 . (B.56c)
Q+
B CONSTRUCTION OF THE REAL NUMBERS 182
Proof. Let us first verify that the three statements in (B.56) are mutually exclusive. If
(B.56a) holds, then, for every Q+ , < rn < holds for almost all (in particular,
for infinitely many) n N, i.e. (B.56b) and (B.56c) are both false. If (B.56b) holds,
then (B.56a) must be false as we have just seen. Moreover, if rn holds for at most
finitely many n N, then rn > > 0 must hold for infinitely many n N, i.e. (B.56c)
is false.
Now suppose (B.56a) and (B.56b) are false. We have to show that (B.56c) is true. Since
(B.56a) is false, there exists > 0 and an increasing sequence of indices (nk )kN with
|rnk | > for each k N. Since (B.56b) is false, there is an increasing sequence of indices
(mk )kN with rmk < 1/k. Thus, since (rn )nN is a Cauchy sequence, only finitely many
rnk > and infinitely many rnk < . Now, if N N is such that |rn rm | < /2 for
all n, m > N and k0 N such that nk0 > N , then rn < /2 for each n > N (since
|rn rnk0 | < /2). Thus, (B.56c) holds with := /2.
Theorem B.34. (a) The set of real numbers R with addition and multiplication as
defined in Def. B.31 forms a field, where [(0, 0, . . . )] and [(1, 1, . . . )] are the neutral
elements with respect to addition and multiplication, respectively.
(b) The map
: Q R, (r) := (r, r, . . . ) , (B.57)
is a monomorphism, i.e. it is injective and satisfies
(r + s) = (r) + (s), (B.58a)
r,sQ
It is customary to identify Q with(Q), as it usually does not cause any confusion.
One then just writes r instead of (r, r, . . . ) .
Proof. (a): Clearly, Def. B.31(b) ensures the laws of associativity and commutativity
of addition and multiplication valid in S are preserved in R, and, likewise, the law of
distributivity. It is also immediate from (B.51) and (B.52), respectively, that [(0, 0, . . . )]
and [(1, 1, . . . )] are the respective neutral elements of addition and multiplication. More-
over, if f is the additive inverse of f S, then [f ] is the additive inverse of [f ] R.
It remains to show that each x = [(rn )nN ] 6= [(0, 0, . . . )] has a multiplicative inverse x1
in R. We claim x1 = [(sn )nN ], where
(
rn1 for rn 6= 0,
sn := (B.59)
nN 1 for rn = 0.
We need to verify [(sn )nN ] R, i.e. (sn )nN is a Cauchy sequence. We know (rn )nN is
a Cauchy sequence that does not converge to 0. Thus, according to Prop. B.33, there
exists > 0 and M N such that, for each n > M , we have |rn | > (in particular,
rn 6= 0). Let > 0. As (rn )nN is a Cauchy sequence, there exists N N such that
N M and, for each n, m > N , |rn rm | < 2 . Thus,
1 1 rn rm 2
|sn sm | = = < = , (B.60)
n,m>N rn rm rn rm 2
B CONSTRUCTION OF THE REAL NUMBERS 183
Proposition B.36. (a) The definition in (B.63) does not depend on the chosen repre-
sentatives (rn )nN .
(b) We have the decomposition
R = R+ {0}
R , R := R+ = {x R : x R+ }. (B.64)
Proof. (a): If (sn )nN S with limn (rn sn ) = 0, then |rn sn | < /2 for almost all
n N. Thus, since |sn | |rn | |rn sn |, we obtain sn > /2 for almost all n N, i.e.
#{n N : sn 2 } N0 .
(b) is an immediate consequence of Prop. B.33.
Definition B.37. For each x, y R, let
yx : x y R+ +
0 := R {0}. (B.65)
Theorem B.38. (a) The relation defined in (B.65) constitutes a total order on R that
is compatible with addition and multiplication, i.e. it satisfies Def. 4.4(iv); in other
words (R, +, , ) constitutes a totally ordered field.
(b) The map from (B.57) is strictly increasing.
Proof. (a) follows from (B.65), (B.64), and Th. B.7, once we have shown that R+ is
closed under addition and multiplication. Let (rn )nN S, (sn )nN S. If rn > 1 Q+
for almost all n N and sn > 2 Q+ for almost all n N, then rn + sn > 1 + 2 ,
showing R+ is closed under addition. Moreover, rn sn > 1 2 , showing R+ is closed under
multiplication.
(b): According to Def. B.38, if r, s Q with s < r, then q := r s Q+ . In
consequence (r) = (s) + (q) by (B.58a), i.e. (r) (s) = (q) = [(q, q, . . . )] R+ ,
proving (s) < (r).
B CONSTRUCTION OF THE REAL NUMBERS 184
Finally, we will show in Th. B.40 below that the order on R is complete. However,
we first need some additional auxiliary results.
Proposition B.39. (a) For each x R, there is (rn )nN S satisfying limn rn = x.
(b) Every (rn )nN S converges in R more precisely, limn rn = [(rn )nN ].
Proof. (a) and (b): If x = [(rn )nN ] with (rn )nN S, then, given > 0, choose N N
such that, for each m, n > N , one has |rn rm | < /2. Then, for each k > M , one has
|x rk | = |[(rn rk )nN ]| < , since |rn rk | < /2 for all n k, showing limn rn = x.
(c): Let (xn )nN be a Cauchy sequence in R. According to (a), for each n N, there
exists rn Q such that |xn rn | < n1 . Then (rn )nN is a Cauchy sequence: Given > 0,
choose k N such that k1 < 3 and |xn xm | < 3 for each n, m > k. Then
|rn rm | |rn xn | + |xn xm | + |xm rm | < + + = , (B.66)
n,m>k 3 3 3
showing (rn )nN is Cauchy. Thus, from (b), we obtain x R with limn rn = x. We
can now show, limn xn = x as well: Given > 0, choose N N such that N1 < 2 and
|x rn | < 2 for each n > N . Then
|x xn | |x rn | + |rn xn | < + = , (B.67)
n>N 2 2
showing limn xn = x and completing the proof.
Theorem B.40. The order on R is complete, i.e. (R, +, , ) constitutes a complete
totally ordered field.
Proof. Let 6= A R and let M R be an upper bound for A. We have to show that
A has a supremum in R. To this end, we recursively construct two Cauchy sequences
(xn )nN and (yn )nN in R such that (xn )nN is increasing, (yn )nN is decreasing, xn < yn ,
and limn (yn xn ) = 0. Let x1 A be arbitrary and y1 := M . Define
(
(xn + yn )/2 if (xn + yn )/2 is not an upper bound for A,
xn+1 :=
xn otherwise,
( (B.68)
nN
(xn + yn )/2 if (xn + yn )/2 is an upper bound for A,
yn+1 :=
yn otherwise.
Then, clearly, the xn are increasing, the yn are decreasing, and xn yn holds for each
n N. Moreover, letting d := M x1 0, a simple induction shows yn xn = d/2n1
and limn (yn xn ) = 0. Also, for m > n,
m1 m1 m1 m1n
X X
i d X i+n d X i 2d
xm xn = (xi+1 xi ) d 2 = n 2 = n 2 n, (B.69)
i=n i=n
2 i=n 2 i=0 2
C SERIES: ADDITIONAL MATERIAL 185
showing (xn )nN is a Cauchy sequence. Analogous, one sees that (yn )nN is a Cauchy
sequence. By Prop. B.39(c), we obtain s R such that s = limn xn = limn (yn
xn + xn ) = limn yn . We claim s = sup A. If s < y, then there is n N with
s yn < y, showing y / A, i.e. s is an upper bound for A. If y < s, then there is n N
with y < xn s, showing y is not an upper bound for A. Thus, s is the smallest upper
bound for A, i.e. s = sup A.
X
X
a+
j = a
j = . (C.2)
j=1 j=1
X
X
X
(C.3a),(7.75)
|aj | = a+
j + a
j , (C.4)
j=1 j=1 j=1
P P
and, in particular, j=1 aj is absolutely convergent. Conversely, if j=1 aj is absolutely
P + P
convergent, then j=1 aj and j=1 aj are convergent by (C.3c) and Th. 7.83(a).
C SERIES: ADDITIONAL MATERIAL 186
P P + P
(b): If j=1 aj and j=1 aj are convergent, then (C.3b) implies that
P j=1
P aj is also
convergent and, thus, j=1 aj absolutely convergent by (a). Likewise, if j=1 aj and
P P +
j=1 aP
j are convergent, then (C.3b) implies that j=1 aj isPalso convergent and, once
again, a
j=1 j absolutely convergent by (a). Therefore, if
j=1 aj is convergent, but
not absolutely convergent, then (C.2) must hold by (7.79).
Theorem
P C.2 (Riemann Rearrangement
P Theorem a.k.a. Riemann Series Theorem).
Let a
j=1 j be a series in R. If a
j=1 j is convergent, but not absolutely
P convergent,
then, given x, y R {, } with x y, there exists P a rearrangement j=1 bj of the
series (i.e. a reordering (bj )jN of (aj )jN ) such that j=1 bj has precisely all elements of
[x, y] as cluster points (where we call (resp. ) a cluster point of the real sequence
(tn )nN if, and only if, #{n N : tn < N } = (resp. #{n N : tn > N } = ) for
each N N). In particular,P choosing S := x = y R {, }, one can prescribe an
arbitrary limit S such that j=1 bj = S.
Proof. We first give a sketch of the proof to convey its fairly simple idea: According to
Prop. C.1(b), (C.2) must hold, where the a+ j and aj are as defined in (C.1). Thus, we
can define
k for x = , k for y = ,
xk := x for x R, yk := y for y R, (C.5)
kN
k for x = , k for y = ,
and, noting xk yk for almost all k N, alternate between adding summands a+ j until
the partial sum exceeds yk and subtracting summands a j until the partial sum falls
below xk . If k is sufficiently large such that xk yk , then, at each switching point (from
adding to subtracting or vice versa), the absolute value of the difference between the
last partial sum and xk or yk , respectively, is less than the value of the last contributing
nonzero summand. Since
lim a+j = lim aj = 0, (C.6)
j j
the partial sums corresponding to the switching points converge to the respective end-
points x or y, respectively, and precisely all points between x and y are cluster points.
We will now carry out the proof in detail. Note that we have
N = I + I , where (C.7a)
I + := {j N : aj 0}, (C.7b)
I := {j N : aj < 0}. (C.7c)
bj := a(j) , (C.8a)
jN
n
X
tn := bj . (C.8b)
nN
j=1
C SERIES: ADDITIONAL MATERIAL 187
The definition of will be recursive, and we will also need to recursively define an
auxiliary sequence (j )jN taking values in {1, 1}, serving as an accounting tool to
keep track if we are in the process of moving right (i.e. adding a+j ) or moving left (i.e.
subtracting aj ). Moreover, we need recursively defined auxiliary function : N N
to update the left and right boundaries xk and yk , respectively, to handle the first and
third case of (C.5) if need be. The recursion is initialized by
(1) := 1, (C.9a)
(
1 if t1 y1 ,
1 := (C.9b)
1 if t1 > y1 ,
(
1 if t1 y1 ,
(1) := (C.9c)
2 if t1 > y1 ,
and completed by
(
min I + \ {1, . . . , j 1} if j1 = 1,
(j) := (C.10a)
j>1 min I \ {1, . . . , j 1} if j1 = 1,
1 if j1 = 1 and tj y(j1) ,
1 if
j1 = 1 and tj > y(j1) ,
j := (C.10b)
j>1
1 if j1 = 1 and tj x(j1) ,
1 if j1 = 1 and tj < x(j1) ,
(j 1) if j1 = 1 and tj y(j1) ,
1 + (j 1) if
j1 = 1 and tj > y(j1) ,
(j) := (C.10c)
j>1
(j 1) if j1 = 1 and tj x(j1) ,
1 + (j 1) if j1 = 1 and tj < x(j1) .
We note that is well-defined, since, according to (C.2), both I + and I must have
infinitely many elements. Moreover, is injective, since, for j1 < j2 , (j2 ) 6= (j1 ) is
immediate from (C.10a). Finally, is also surjective: Otherwise, there is a smallest
n N \ {1} such that n / (N). Suppose n I + . Then, according to (C.10a), there
must be j0 N such that j = 1 for every j > j0 , i.e., according toP(C.10b) and
(C.10c), tj x(j0 ) R for each j > j0 , which is in contradiction to the
j=1 aj =
P
part of (C.2). Analogously, n I leads to a contradiction to the j=1 a+ j =P part
of (C.2), completing the Pproof of surjectivity of . So we have shown that P j=1 bj
is a rearrangement of j=1 aj as desired. We still need to verify that j=1 bj (i.e.
(tn )nN ) has precisely all elements of [x, y] as cluster points. To this end, first note
that, due to (C.2) and (C.5), limj x(j) = holds if, and only if, x = ; and
limj x(j) = holds if, and only if, x = ; and likewise for the y(j) and y. If
x = , then limj x(j) = and the bijectivity of together with (C.10b) and
(C.10c) implies
tj < x(j1) N, (C.11)
N N jN
C SERIES: ADDITIONAL MATERIAL 188
showing is a cluster point of (tn )nN . Now let [x, y] R and > 0. Due to (C.6),
Due to the bijectivity of together with (C.10b) and (C.10c), for each j0 N, there
exists j > max{j0 , N } such that tj1 tj , showing is a cluster point of (tn )nN .
On the other hand, if ] , x[, then x 6= . If x = , then limj tj = and
is not a cluster point of (tn )nN . If < x < , then let := (x )/2 and choose N as
in (C.13). Then, by (C.10b) and (C.10c), for each j > N , tj > x = + , showing
is not a cluster point of (tn )nN . Analogously, one sees that ]y, [ can not be a
cluster point of (tn )nN .
Proof
P of Th. 7.93. P (a): First P note that Th. 7.92 implies that, for absolutely convergent
jI aj , the limit jI aj = j=1 a(j) does not depend on the bijective map : N
I:
P For each bijective
P map : N I, (a(j) )jN is a reordering of (a(j) )jN and, thus,
j=1 a(j) = j=1 a(j) .
P
Analogously, the sums In a do not depend on the order of the indices in In .
P
Claim 3. If M I, then S(I) = S(M ) + S(I \ M ), where S(J) := jJ aj for each
J I.
proving
X k
X X
X
aj = S(I) = lim S(In ) = a ,
k
jI n=1 n=1 In
C SERIES: ADDITIONAL MATERIAL 190
which is (7.88).
P
(b): (i) implies (ii) with C := jI |aj | using Cl. 3 (with aj replaced by |aj |). (i)
implies (iii) using P (7.88) (with aj replaced by |aj |). (ii) implies (i) via (7.79), as C is an
n
upper bound P Pj=1 a(j) )nN for each bijection : N I. Finally, (iii) implies (ii)
for (
with C := n=1 In |a |, since, given a finite J I, there exists k N such that
J I1 Ik , i.e.
X k
X X X
X
|aj | |a | |a | = C,
jJ n=1 In n=1 In
Proof. One estimates, using the formula for the value of a geometric series:
X X X 1
dN bN (b 1) bN = (b 1)bN b = (b 1)bN 1 = bN +1 . (C.15)
=0 =0 =0
1 b
Note that (C.15) also shows that equality is achieved if all dn are equal to b 1. Con-
versely, if there is n {N, N 1, N 2, . . . } such that dn < b 1, then there is n N
such that dN n < b 1 and one estimates
X n1
X
X
dN bN < dN bN + (b 1)bN n + dN bN bN +1 , (C.16)
=0 =0 =n+1
Proof. By subtracting dN bN from both series, one can assume dN = 0 without loss of
generality. From Lem. C.3, we know
X
X
N
x= dN b = dN 1 bN 1 bN . (C.18a)
=0 =0
Combining (C.18a) and (C.18b) yields x = bN . Once again employing Lem. C.3, (C.18a)
also shows that dn = b 1 for each n N 1 as claimed. Since eN > 0 and en 0
for each n, equality in (C.18b) can only occur for eN = 1 and en = 0 for each n < N ,
thereby completing the proof of the lemma.
x := max{k Z : k x} (C.19)
Proof. The induction is carried out for all three statements of (C.22) simultaneously.
From (C.20), we know bN x < bN +1 , i.e. 1 bxN < b. Using (C.21a), this yields
dN {1, . . . , b 1} and 0 < x0 = dN bN = bN dN bN bxN = x as well as x x0 =
x dN bN = bN ( bxN dN ) < bN . For n 1, by induction, one obtains 0 x xn1 <
C SERIES: ADDITIONAL MATERIAL 192
b1+N n , i.e. 0 xx n1
bN n
< b. Using (C.21b), this yields dN n {0, . . . , b 1} and
xn = xn1 + dN n b N n
xn1 + bN n xx n1
bN n
= x. Moreover, by induction, 0 < xn1 =
Pn1 N N n
=0 dN b , such that (C.21b) implies Pn1 xn = xn1 + dNP n b xn1 > 0 and
N n N n N n
xn = xn1 + dN n b = dN n b + =0 dN b = =0 dN bN . Finally,
x xn = x xn1 dN n bN n = bN n ( xx n1
bN n
dN n ) bN n , completing the proof
of the claim. N
bN1 +1 . Since eN2 > 0, one must have eN2 = 1, and, in turn, en = 0 for each n < N2 .
Moreover, x = bN1 +1 and Lem. C.3 imply that dn = b 1 for each n {N1 , N1 1, . . . }.
Thus, for N2 > N1 , the value of N1 is determined by N2 and the values of all dn and en are
also completely determined, showing that there are precisely two b-adic representations
of x. Moreover, the dn have the property required in (iv) and the en have the property
required in (iii). The argument also shows that, for N1 > N2 , one must have N1 = N2 +1
with the en taking the values of the dn and vice versa. Once again, there are precisely
two b-adic representations of x; now the dn have the property required in (iii) and the
en have the property required in (iv).
It remains to consider the case N := N1 = N2 . Since, by hypothesis, the two b-adic
representations of x in (C.24) are not identical, there must be a largest index n N
such that dn 6= en . Thus, (C.24) implies
X
X
n
y := dn b = en bn . (C.26)
=0 =0
Now Lem. C.4 shows that there are precisely two b-adic representations of x, one having
the property required in (iii) and the other having property required in (iv).
Thus, in each case (N2 > N1 , N1 > N2 , and N1 = N2 ), we find that (i) implies (ii), (iii),
and (iv), thereby concluding the proof of the theorem.
In most cases, it is understood that we work only with decimal representations such
that there is no confusion about the meaning of symbol strings like 101.01. However,
in general, 101.01 could also be meant with respect to any other base, and, the number
represented by the same string of symbols does obviously depend on the base used.
Thus, when working with different representations, one needs some notation to keep
track of the base.
Notation C.6. Given a natural number b 2 and finite sequences
(dN1 , dN1 1 , . . . , d0 ) {0, . . . , b 1}N1 +1 , (C.27a)
N2
(e1 , e2 , . . . , eN2 ) {0, . . . , b 1} , (C.27b)
(p1 , p2 , . . . , pN3 ) {0, . . . , b 1}N3 , (C.27c)
N1 , N2 , N3 N0 (where N2 = 0 or N3 = 0 is supposed to mean that the corresponding
sequence is empty), the respective string
(dN1 dN1 1 . . .d0 )b for N2 = N3 = 0,
(C.28)
(dN1 dN1 1 . . .d0 . e1 . . . eN2 p1 . . . pN3 )b for N2 + N3 > 0
represents the number
N1
X N2
X X
X N3
d b + e b + p bN2 N3 . (C.29)
=0 =1 =0 =1
D TRIGONOMETRIC FUNCTIONS 194
One frequently needs to convert representations with respect to one base into represen-
tations with respect to another base. When working with digital computers, conversions
between bases 10 and 2 and vice versa are the most obvious ones that come up. Con-
verting representations is related to the following elementary remainder theorem and
the well-known long division algorithm.
Theorem C.8. For each pair of numbers (a, b) N2 , there exists a unique pair of
numbers (q, r) N20 satisfying the two conditions a = qb + r and 0 r < b.
D Trigonometric Functions
In the following theorem and its two corollaries, we will see that the set R of real numbers
is not countable, but has the same cardinality as the power set of N. Moreover, the same
is true for every nontrivial interval of real numbers.
Theorem E.2. Let a, b R with a < b. Recalling the notations F N, {0, 1} = {0, 1}N
for the set of sequences in {0, 1}, we obtain the following equalities of cardinalities:
(i): To prove #{0, 1}N = #P(N), we have to show the existence of a bijective map
f : {0, 1}N P(N). Given {0, 1}N , i.e. is a function : N {0, 1}, define
and we note
g (0, 0, . . . ) = 0, (E.8a)
g (1, 1, . . . ) = 1, (E.8b)
g(en ) = g(fn ) = 2n for each n N. (E.8c)
it follows from Th. 7.97 that (the following restrictions of f which, to simplify notation,
we also denote by f )
and
f : A B (E.11b)
are bijective, i.e. the full f of (E.9) is itself bijective, completing the proof of (ii).
(iii): To prove #] 1, 1[= #R, we have to show the existence of a bijective map f :
R ] 1, 1[. Since we know from Def. and Rem. 8.27 that arctan : R ] /2, /2[
is bijective, we can define
2 arctan x
f : R ]0, 1[, f (x) := . (E.12)
However, even though this provides a valid proof, arctan is a somewhat complicated
function (as it is defined via sin and cos, which are defined via power series). Thus, it
E CARDINALITY OF R AND SOME RELATED SETS 198
Proof. #R = #P(N) was proved in Th. E.2 and P(N) is uncountable by Th. 3.20.
Corollary E.4. If a, b R with a < b, then #(Q]a, b[) = #N and #(]a, b[ \Q) = #R,
i.e. ]a, b[ contains countably many rational and uncountably many irrational numbers.
F IRRATIONALITY OF e AND 199
Proof. Since Q]a, b[ Q, the claim #(Q]a, b[) = #N follows from Th. E.1(c), Prop.
3.22, and Th. 7.68(a).
To prove #(]a, b[ \Q) = #R, a bijection between ]a, b[ \Q and R can be constructed
analogous to the construction of f in step (ii) of the proof of Th. E.2, making use of the
fact that #]a, b[= #R and #Q = #N.
Theorem E.5. The set of complex numbers C = R R has the same cardinality as R:
#(R R) = #R = #P(N).
Proof. Let
A := {0, 1}N . (E.16)
By an application of Th. E.2, it suffices to prove #A = #(AA), which is accomplished
by showing the existence of a bijective map f : A A A. We define
f : A A A, f (xj )jN := (yj )jN , (zj )jN , (E.17a)
where
yj := x2j1 , (E.17b)
jN
zj := x2j , (E.17c)
jN
and
g : A A A, g (yj )jN , (zj )jN := (xj )jN , (E.18a)
where (
y(j+1)/2 for j odd,
xj := (E.18b)
jN zj/2 for j even.
Clearly, g = f 1 , proving that f is bijective as desired.
F Irrationality of e and
F.1 Irrationality of e
The following Prop. F.1, which will then be used to prove the irrationality of e in Th. F.2,
shows, in particular, that the series (8.26) can be used to efficiently compute accurate
approximations of e.
Proposition F.1. Defining
n1 j
X z
Rn (z) := ez , (F.1)
nN zC
j=0
j!
we have n
Rn (z) 2 |z|
|z| 1 , (F.2)
nN (n + 1)!
F IRRATIONALITY OF e AND 200
i.e. the error made when approximating ez by the partial sum (for |z| 1) is at most as
large as twice the modulus of the first missing summand.
2
in contradiction to 0 < |Rn (1)| n+1
< 1, which holds according to (F.2) (recalling
n 2).
F.2 Irrationality of
Theorem F.3. 2 is irrational (then, in particular, must be irrational as well).
Moreover, since f (1 x) = f (x) for each x R, and, thus, f (j) (1 x) = (1)j f (j) (x)
for each x R, we also have
f (j) (1) Z. (F.11)
jN0
Proof. If f is continuous, then Re f and Im f are both continuous, and, thus, the state-
ment follows from the real-valued case of Th. 10.15(a).
Theorem G.4. Let a, b R, a b, I := [a, b].
(a) If f, g R(I, C), then f, f g, R(I, C). If, in addition, there exists > 0 such that
|g(x)| for each x I, then f /g R(I, C).
(b) If f R(I, R) and : f (I) C is Lipschitz continuous, then f R(I, C).
(c) If f R(I, C) and : f (I) R is Lipschitz continuous, then f R(I, R).
f = (Re f, Im f ), (G.2a)
f g = (Re f Re g Im f Im g, Re f Im g + Im f Re g), (G.2b)
1/g = (Re g/|g|2 , Im g/|g|2 ), (G.2c)
G RIEMANN INTEGRAL FOR C-VALUED FUNCTIONS 203
everything follows from the real-valued case of Th. 10.11(a) and of Th. 10.17(b),(c),
where |g| > 0 guarantees |g|2 2 > 0).
(b): Assume to be L-Lipschitz, L 0. For each x, y f (I), one has
Th. 5.11(d)
| Re (x) Re (y)| |(x) (y)| L|x y|, (G.3a)
Th. 5.11(d)
| Im (x) Im (y)| |(x) (y)| L|x y|, (G.3b)
showing Re and Im are L-Lipschitz, such that Re( f ) and Im( f ) are Riemann
integrable by Th. 10.17(a).
(c): Assume to be L-Lipschitz, L 0. If f R(I, C), then Re f, Im f R(I, R), and,
given > 0, Riemanns integrability criterion of Th. 10.12 provides partitions 1 , 2 of
I such that R(1 , Re f ) r(1 , Re f ) < /2L, R(2 , Im f ) r(2 , Im f ) < /2L, where
R and r denote upper and lower Riemann sums, respectively (cf. (10.7)). Letting be
a joint refinement of 1 and 2 , we have (cf. Def. 10.8(a),(b) and Th. 10.10(a))
R(, Re f ) r(, Re f ) < /2L, R(, Im f ) r(, Im f ) < /2L. (G.4)
Recalling that, for each g : I R and = (x0 , . . . , xN ) RN +1 , N N, a = x0 <
x1 < < xN = b, Ij := [xj1 , xj ], it is
N
X N
X
r(, g) = mj |Ij | = mj (g)(xj xj1 ), (G.5a)
j=1 j=1
N
X N
X
R(, g) = Mj |Ij | = Mj (g)(xj xj1 ), (G.5b)
j=1 j=1
where
mj (g) := inf{g(x) : x Ij }, Mj (g) := sup{g(x) : x Ij }, (G.5c)
we obtain, for each j , j Ij ,
( f )(j ) ( f )(j )
Th. 5.11(d)
L f (j ) f (j ) L Re f (j ) Re f (j ) + L Im f (j ) Im f (j )
L Mj (Re f ) mj (Re f ) + L Mj (Im f ) mj (Im f ) , (G.6)
and, thus,
N
X
R(, f ) r(, f ) = Mj ( f ) mj ( f ) |Ij |
j=1
N N
(G.6) X X
L Mj (Re f ) mj (Re f ) |Ij | + L Mj (Im f ) mj (Im f ) |Ij |
j=1 j=1
(G.4)
= L R(, Re f ) r(, Re f ) + L R(, Im f ) r(, Im f ) < . (G.7)
Thus, f R(I, R) by Th. 10.12.
G RIEMANN INTEGRAL FOR C-VALUED FUNCTIONS 204
Proof. (a): One computes, using the real-valued case of Th. 10.11(a),
Z Z Z
(f ) = (Re Re f Im Im f ), (Re Im f + Im Re f )
I I I
Z Z Z Z
= Re Re f Im Im f, Re Im f + Im Re f
I I I I
Z
= f (G.11a)
I
and
Z Z Z Z Z Z Z
(f + g) = Re(f + g), Im(f + g) = Re f + Re g, Im g + Im g
I I I I I I I
Z Z Z Z Z Z
= Re f, Im f + Re g, Im g = f + g. (G.11b)
I I I I I I
N
X
Re f (j ), Im f (j ) |Ij |
j=1
N
X
= |f (j )| |Ij | =: (, |f |). (G.13)
j=1
Since the intermediate Riemann sums in (G.13) converge to the respective integrals by
(10.24b), one obtains
Z Z
(G.13)
f = lim (, Re f ), (, Im f ) lim (, |f |) = |f |, (G.14)
||0 ||0
I I
proving (G.10).
and
Z x
F (x) = F (c) + F (t) dt for each c, x I. (G.16b)
c
Proof. The case K = R was proved in Th. 10.19 and the case K = C then follows
by applying the case K = R to Re Fc and Im Fc (for (a)) and to Re F and Im F (for
(b)).
REFERENCES 206
Proof. If f, g C 1 (I, K), then, according to the product rule, f g C 1 (I, K) with
(f g) = f g + f g . Applying (G.16a), we obtain
Z b Z b Z b
[f g]ba = (f g) = f g+ f g, (G.18)
a a a
Proof. The case K = R was proved in Th. 10.24 and then the computation
Z Z Z !
(b) (b) (b)
f= Re f, Im f
(a) (a) (a)
Z b Z b Z b
= (Re f ) , (Im f ) = (f ) (G.20)
a a a
References
[EFT07] H.-D. Ebbinghaus, J. Flum, and W. Thomas. Einfuhrung in die math-
ematische Logik, 5th ed. Spektrum Akademischer Verlag, Heidelberg, 2007
(German).
[Kun80] Kenneth Kunen. Set Theory. Studies in Logic and the Foundations of
Mathematics, Vol. 102, North-Holland, Amsterdam, 1980.
[Lan65] Edmund Landau. Grundlagen der Analysis, 4th ed. American Mathemat-
ical Society, New York, 1965.
[Wal02] Wolfgang Walter. Analysis 2, 5th ed. Springer-Verlag, Berlin, 2002 (Ger-
man).