Real Analysis Via Sequences An Series. Charles Little, Teo Kee, Bruce Van Brunt
Real Analysis Via Sequences An Series. Charles Little, Teo Kee, Bruce Van Brunt
Real Analysis Via Sequences An Series. Charles Little, Teo Kee, Bruce Van Brunt
CharlesH.C.Little
KeeL.Teo
BrucevanBrunt
Real Analysis
via Sequences
and Series
Undergraduate Texts in Mathematics
Undergraduate Texts in Mathematics
Series Editors:
Sheldon Axler
San Francisco State University, San Francisco, CA, USA
Kenneth Ribet
University of California, Berkeley, CA, USA
Advisory Board:
123
Charles H.C. Little Kee L. Teo
Research Fellow and former Research Fellow and former
Professor of Mathematics Associate Professor of Mathenatics
Institute of Fundamental Sciences Institute of Fundamental Sciences
Massey University Massey University
Palmerston North, New Zealand Palmerston North, New Zealand
Springer Science+Business Media LLC New York is part of Springer Science+Business Media (www.
springer.com)
Preface
This book is a text on real analysis for students with a basic knowledge of calculus
of a single variable. There are many fine works on analysis, and one must ask
what advantages a new book brings. This one contains the standard material for
a first course in analysis, but our treatment differs from many other accounts in
that concepts such as continuity, differentiation, and integration are approached via
sequences. The main analytical concept is thus the convergence of a sequence, and
this idea is extended to define infinite series and limits of functions. This approach
not only has the merit of simplicity but also places the student in a position to
appreciate and understand more sophisticated concepts such as completeness that
play a central part in more advanced fields such as functional analysis.
The theory of sequences and series forms the backbone of this book. Much of
the material in the book is devoted to this theory and, in contrast to many other
texts, infinite series are treated early. The appearance of series in Chap. 3 has the
advantages that it provides many straightforward applications of the results for
sequences given in Chap. 2 and permits the introduction of the elementary tran-
scendental functions as infinite series. The disadvantage is that certain convergence
tests such as the integral test must be postponed until the improper integral is defined
in Chap. 7. The Cauchy condensation test is used in Chap. 3 to tackle convergence
problems where the integral test is normally applied. Although much of the material
in Chap. 2 is standard, there are some unusual features such as the treatment of
harmonic, geometric, and arithmetic means and the sequential definition of the
exponential function. In Chap. 3 we present results, such as the KummerJensen
test, Dirichlets test, and Riemanns theorem on the rearrangement of series, that are
often postponed or not treated in a first course in analysis.
Limits of functions are introduced in Chap. 4 through the use of convergent
sequences, and this concept is then used in Chaps. 5 and 6 to introduce continuity
and differentiation. As with any analysis book, results such as the intermediate-value
theorem and the mean-value theorem can be found in these chapters, but there are
also some other features. For instance, the logarithm is introduced in Chap. 5 and
then used to prove Gausss test for infinite series. In Chap. 6 we present a discrete
v
vi Preface
version of lHpitals rule that is seldom found in analysis texts. We conclude this
chapter with a short account of the differentiation of power series using differential
equations to motivate the discussion.
The Riemann integral is presented in Chap. 7. In the framework of elementary
analysis this integral is perhaps more accessible than, say, the Lebesgue integral,
and it is still an important concept. This chapter features a number of items beyond
the normal fare. In particular, a proof of Walliss formula followed by Stirlings
formula, and a proof that and e are irrational, appear here. In addition, there is
also a short section on numerical integration that further illustrates the definition of
the Riemann integral and applications of results such as the mean-value theorem.
Chapter 8 consists of a short account of Taylor series. Much of the analytical
apparatus for this topic is established earlier in the book so that, aside from Taylors
theorem, the chapter really covers mostly the mechanics of determining Taylor
series. There is an extensive theory on this topic, and it is difficult to limit oneself so
severely to these basic ideas. Here, despite the books emphasis on series, the authors
eschew topics such as the theorems of Abel and Tauber and, more importantly, the
question of which functions have a Taylor series. A full appreciation of this theory
requires complex analysis, which takes us too far afield.
The student encounters Newtons method in a first calculus course as an
application of differentiation. This method is based on constructing a sequence,
motivated geometrically, that converges (hopefully) to the solution of a given
equation. The emphasis in this first encounter is on the mechanics of the method
and choosing a sensible initial guess. In Chap. 9 we look at this method in the
wider context of the fixed-point problem. Fixed-point problems provide a practical
application of the theory of sequences. The sequence produced by Newtons method
is already familiar to the student, and the theory shows how problems such as error
estimates and convergence can be resolved.
The final chapter deals with sequences of functions and uniform convergence. By
this stage the reader is familiar with the example of power series, but those series
have particularly nice properties not shared generally by other series of functions.
The material is motivated by a problem in differential equations followed by various
examples that illustrate the need for more structure. This chapter forms a short
introduction to the field and is meant to prime the reader for more advanced topics
in analysis.
An introductory course in analysis is often the first time a student is exposed to
the rigor of mathematics. Upon reflection, some students might even view such a
course as a rite of passage into mathematics, for it is here that they are taught the
need for proofs, careful language, and precise arguments. There are few shortcuts
to mastering the subject, but there are certain things a book can do to mitigate
difficulties and keep the student interested in the material. In this book we strive to
motivate definitions, results, and proofs and present examples that illustrate the new
material. These examples are generally the simplest available that fully illuminate
the material. Where possible, we also provide examples that show why certain
conditions are needed. A simple counterexample is an exceedingly valuable tool
Preface vii
for understanding and remembering a result that is laden with technical conditions.
There are exercises at the end of most sections. Needless to say, it is here that the
student begins to fully understand the material.
The authors appreciate the encouragement and support of their wives. They also
thank Fiona Richmond for her help in preparing the figures. The work has also
benefited from the thoughtful comments and suggestions of the reviewers.
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Ordered Pairs, Relations, and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Induction and Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.5 Finite Sums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.1 Definitions and Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.2 Convergence of Sequences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.3 Algebra of Limits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.4 Subsequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.5 The Sandwich Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
2.6 The Cauchy Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
2.7 Monotonic Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
2.8 Unbounded Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
3 Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
3.2 Definition of a Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
3.3 Elementary Properties of Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
3.4 The Comparison Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
3.5 Cauchys Condensation Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
3.6 The Limit Comparison Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
3.7 The Ratio Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
3.8 The Root Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
3.9 The KummerJensen Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
3.10 Alternating Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
3.11 Dirichlets Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
3.12 Absolute and Conditional Convergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
3.13 Rearrangements of Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
3.14 Products of Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
ix
x Contents
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Chapter 1
Introduction
Classification: 03E15
1.1 Sets
To study analysis successfully, the reader must be conversant with some of the
basic concepts of mathematics. Foremost among these is the idea of a set. For our
purposes a set may be thought of as a collection of objects. This statement is too
imprecise to be regarded as a definition, and in fact it leads to logical difficulties,
but it does convey a mental image of a set that is satisfactory for our purposes. The
reader who wishes to delve into the nature of this concept more deeply is referred
to [10].
Sets are important in that they can be used to construct a host of mathematical
concepts. In fact, every mathematical object studied in this book can be constructed
from sets. We therefore begin this introductory chapter with some basic properties of
sets. Proofs are omitted because most of the properties are evident and their proofs
are straightforward.
First, the objects in a set X are called its elements or members. They are said
to be contained in X and to belong to X . If an object x is contained in X , then we
write x 2 X ; otherwise we write x X .
We shall assume the existence of a set with no elements. This set is denoted by ;,
and it is unique. It is said to be empty.
If X and Y are sets such that every element of X is also an element of Y , then
we say that X is a subset of Y and that it is included in Y . In this case we write
X Y ; otherwise we write X 6 Y . Note that ; X for every set X . The reasoning
is that since ; has no elements at all, it certainly has no elements that are not in X .
Therefore we can safely say, without fear of contradiction, that each of its elements
does belong to X . In particular, ; is a subset of itself, and in fact it is its only subset.
Observe also that every set includes itself. Moreover, if X , Y , Z are sets such that
X Y and Y Z, then X Z. In this case we write X Y Z.
If X and Y are sets such that X Y X , then X and Y contain exactly the
same elements. In this case we say that these sets are equal, and we write X D Y .
Otherwise X and Y are distinct, and we write X Y . Any set is equal to itself,
and if X D Y , then Y D X . Furthermore, if X; Y; Z are sets such that X D Y and
Y D Z, then X D Z. In this case we write X D Y D Z. Equal sets are treated as
identical since they contain the same elements.
The collection of all subsets of a given set X is another set, called the power
set of X . It is denoted by P.X /. For example, P.;/ is a set having ; as its only
element. This set is denoted by f;g. Moreover, P.f;g/ is a set containing only the
elements ; and f;g and is denoted by f;; f;gg.
If X is any set, we may replace the elements of X by other objects and thereby
construct a new set. For example, we may replace the unique element ; of the set
f;g by any object Y . We then have a new set whose only element is Y . This set is
denoted by fY g. Similarly, if we replace the elements ; and f;g of the set f;; f;gg
by objects Y and Z, respectively, then we obtain a new set whose only elements
are Y and Z. This set is denoted by fY; Zg. The notation may be extended to an
arbitrary number of objects.
If X is a set and P is a property that may be satisfied by some elements of X ,
then we can construct a subset of X whose elements are precisely the members of
X that do satisfy P . This set is denoted by fx 2 X j P g. For example, let X and
Y be sets, and let P be the property that x 2 Y , where x 2 X . Then fx 2 X j P g
is the set whose elements are the objects that are in both X and Y . This set is called
the intersection of X and Y and is denoted by X \ Y . If this intersection happens
to be empty, then the sets X and Y are disjoint. If S is a collection of sets (in other
words, a set whose elements are themselves sets), then the sets in S are said to be
mutually disjoint if the sets A and B are disjoint whenever A 2 S and B 2 S.
On the other hand, if P is the property that x Y , then fx 2 X j P g is the
set whose elements are the members of X that are not in Y . This set is denoted by
X Y and is called the complement of Y with respect to X .
Let S be a collection of sets. Then we may construct another set whose elements
are the objects that belong to at least one member of S. This set is called the union
of S. For example, if S D fX; Y g for some sets X and Y , then the union of S is the
set of all objects that are in X or Y . In particular, it contains all the objects that are
in both of those sets. It is denoted by X [ Y .
We may define the intersection of S as the set of all objects in the union of S that
belong to every set in S. If S D fX; Y g for some sets X and Y , then the intersection
of S is the set of all objects that are in both X and Y . Thus it is equal to X \ Y .
1.2 Ordered Pairs, Relations, and Functions 3
for all objects x; y; z. Thus .x; y; z/ technically is an ordered pair whose first
component is itself an ordered pair. This notation may be extended to an arbitrary
number of objects, as we shall see later.
If X and Y are sets, we may construct a set X Y whose elements are the ordered
pairs .x; y/ such that x 2 X and y 2 Y . This set is called the Cartesian product
of X and Y . A subset of X Y is called a relation from X to Y . Thus a relation is
just a set of ordered pairs. A relation from X to X is sometimes called a relation on
X . An example is the relation R on X such that .x; y/ 2 R if and only if x D y.
This relation is called the equality relation. Similarly, we may define the inclusion
relation by specifying that it contains the ordered pair .x; y/ if and only if x and y
are sets such that x y.
If R is a relation and x and y are objects, we often write xRy to indicate that
.x; y/ 2 R. For instance, we are already accustomed to using D to denote the
equality relation and writing x D y instead of .x; y/ 2 D. We also write x 6 R y
instead of .x; y/ R.
If R and S are relations and x; y; z are objects, then we write xRySz if xRy and
ySz. This notation may be extended to arbitrarily long chains of relations.
Some kinds of relations are of particular importance, and we discuss them now.
If R is a relation on a set X , then R is reflexive if xRx for each x 2 X . Examples
include the equality and inclusion relations. The relation R is symmetric if yRx
whenever x and y are members of X satisfying xRy. Equality has this property, but
inclusion does not. We also say that R is transitive if xRy whenever there is a z 2 X
for which xRzRy. Equality and inclusion both exhibit this property. A relation with
all three of these properties is an equivalence relation. Equality is such a relation,
but inclusion is not.
4 1 Introduction
f .X / D ff .x/ 2 Rf j x 2 X g:
Thus f .Df / D Rf .
If f is a real-valued function whose domain is a set of real numbers, then the
graph of f is the set of all points .x; f .x// in the Cartesian plane, where x 2 Df .
It is also the graph of the equation f .x/ D y.
Natural numbers are those used to count. The set f1; 2; : : :g of natural numbers is
denoted by N. We assume familiarity with the basic properties of these numbers
and simply highlight those that are of particular importance for our development
of analysis. The details of the development of natural numbers, integers, rational
numbers, and real numbers in terms of sets are given in [10] and will not be repeated
here.
The main properties of N that we require are that it contains the number 1 and
that every natural number has a successor in N. The successor of a natural number
n is denoted by n C 1. For example, the successor of 1 is 2 D 1 C 1 and that of 2
is 3 D 2 C 1. This notion of a successor for each natural number enables us to list
the natural numbers in order, beginning with 1. In fact, it can be shown that each
natural number n 1 is the successor of a unique natural number n 1. If Y is a
set of natural numbers such that 1 2 Y and n C 1 2 Y for each n 2 Y , then Y D N.
This observation can be applied to yield an important technique, called induc-
tion, for proving theorems about natural numbers. In this application, Y is the set
of all natural numbers for which the desired result is true. First, prove the desired
theorem for the natural number 1. (In other words, prove that 1 2 Y .) Then assume
that it is true for a particular natural number n (so that n 2 Y ) and prove it for n C 1
under this assumption. The conclusion that Y D N then shows that the theorem is
indeed true for all natural numbers. This idea is perhaps most easily visualized as
follows. Imagine a line of dominoes standing on end and close together so that the
line begins with a particular domino and extends indefinitely to the right of that first
domino. Knock the first domino onto the second. Then it is easy to see that all the
6 1 Introduction
dominoes will fall over, because the first domino will fall and every other domino
has one before it that will eventually knock it over. This picture captures the essence
of induction.
Before giving examples of induction at work, let us make some observations
about the pattern of a proof by induction. One approach to the use of induction to
prove a theorem about a natural number n, as we have seen, is to prove the theorem
for the natural number 1, then assume it for a particular natural number n (that is,
for a particular integer n 1), and finally prove it for n C 1. The assumption that
the theorem holds for a particular n is commonly called the inductive hypothesis.
We can in fact strengthen it by assuming that the theorem holds for all natural
numbers less than n as well. Equivalently, one could prove the theorem first for 1,
then assume as an inductive hypothesis that it holds for a particular integer n 1 (or
for all natural numbers less than n) where n 2, and finally prove it for n under
this assumption. Another observation is that the process of induction need not begin
with the natural number 1. In fact, it should begin with the smallest integer for which
the theorem is to be proved. In other words, suppose we wish to prove a theorem for
all integers n a for some fixed integer a. We start an inductive proof in this case
by proving the theorem for a. Then there are two equivalent ways to continue. One
is to assume as an inductive hypothesis that the theorem holds for some particular
integer n a (or for all integers k such that a k n) and then prove it for n C 1.
The alternative is to assume that it holds for n 1 for a particular integer n > a (or
for all integers k such that a k < n) and then prove it for n under this assumption.
Because of its importance, we now state the principle of induction formally as a
theorem. We denote the set of all integers by Z, so that
.1 C x/nC1 D .1 C x/n .1 C x/
n.n 1/ 2
1 C nx C x .1 C x/
2
1.3 Induction and Inequalities 7
n.n 1/ n.n 1/ 3
D 1 C .n C 1/x C n C x2 C x
2 2
2n C n2 n 2
1 C .n C 1/x C x
2
n.n C 1/ 2
D 1 C .n C 1/x C x ;
2
since n.n 1/x 3 =2 0. The proof by induction is now complete.
It follows that
.1 C x/n 1 C nx (1.2)
and
n.n 1/ 2
.1 C x/n > x (1.3)
2
hold for every nonnegative real number x and nonnegative integer n. Inequality (1.2)
is known as Bernoullis inequality. Both of these inequalities will be found to be
useful later. 4
Example 1.3.1 involved an inequality. It is assumed that the reader is conversant
with inequalities and can work with them comfortably. One of the salient points to
remember is that multiplication of both sides of an inequality by a negative number
causes a change in the direction of the inequality. For instance, if x < y, then
x > y. Similarly, if both sides of an inequality have the same sign, then taking
the reciprocals of both sides again induces a change in the direction of the inequality.
Thus 1=x > 1=y if either x < y < 0 or 0 < x < y.
Induction can be used to make definitions as well as to prove theorems. Let us
illustrate this point by defining finite sums inductively. Let m and n be integers with
n > m. If am ; amC1 ; : : : ; an are numbers, we define
X
m
aj D am
j Dm
and
X
n X
n1
aj D aj C an :
j Dm j Dm
Often we write
X
n
aj D am C amC1 C C an :
j Dm
8 1 Introduction
This quantity is called the sum of am ; amC1 ; : : : ; an , and those numbers are its
terms. We also define
X
n
aj D 0
j Dm
Y
m
aj D am
j Dm
and
Y
n Y
n1
aj D an aj
j Dm j Dm
This number is the product of am ; amC1 ; : : : ; an , and those numbers are its factors.
If m > n, then we define
Y
n
aj D 1
j Dm
anC1 D an a:
.ab/n D an b n (1.4)
for any real numbers a and b and natural number n, and similarly that
a n an
D (1.5)
b bn
am an D amCn (1.6)
for all n 2 N. If a 0, then these two rules may also be extended to the case where
m and n are any integers.
In order to extend these ideas, we need the following definition.
Definition 1.3.1. If n is a nonnegative integer and a0 ; a1 ; : : : ; an are constants, then
the function given by
X
n
aj x j (1.8)
j D0
X
n
aj c j D 0;
j D0
that 0 < y < x and apply the previous case with m odd.) We write a1=m D c. In
the case where m D 1, this definition is consistent with the equation a1 D a. In any
case, we have .a1=m /m D a, and so we refer to a1=m as the mth root of a. Note that
01=m D 0 and that a1=m has the same sign as a if a 0.
An arbitrary positive integer can be written in the form 2k m, where k and m are
nonnegative integers and m is odd. If n D 2k m, then we can show by induction
on k that each a 0 has a unique nonnegative nth root. Indeed, we have already
observed this fact if k D 0. Suppose that k > 0 and that a has a unique nonnegative
rth root c, where r D 2k1 m D n=2. Then
2 r 1 2r 1 n
1
aDc D
r
c 2 D c2 D c2 :
so that
1 1
1 1s
a rs D c s D a r :
m
1 m
a n D an :
This definition generalizes Eq. (1.9) and is consistent with the equation a1 D a in
the case where m D 1 or n D 1. It is also consistent with the equation a0 D 1 in the
case where m D 0. If m D jk and n D jl for some positive integers j; k; l, then
1 jk 1 j !k
jk 1 j 1 k k
a D a jl
jl D al D al D al ;
1.3 Induction and Inequalities 11
a result that is consistent with the equation jk=.j l/ D k= l. If a > 0, then we define
m 1 1 1 m
a n D m D
1 m
D an :
a n
an
it follows that
1 m
1 m
.am / n D a n D a n :
This result generalizes Eq. (1.7). Equation (1.6) also generalizes, since
p qm pn 1 qm 1 pn 1 qmCpn qmCpn m p
D a qn D a n C q :
m
a n a q D a qn a qn D a qn a qn D a qn
Therefore
m 1 1 1 1 m m
.ab/ n D ..ab/m / n D .am b m / n D .am / n .b m / n D a n b n ;
We have now defined the real number ax for every number a > 0 and every
rational power x. Later we shall extend this definition to the case where x is any real
number. In fact, similar ideas may be used to define wz for any complex numbers w
and z provided that if w is real, then it is positive.
As another example of an inductive definition, we may define the factorial n of
a nonnegative integer n by writing 0 D 1 and
n D n.n 1/
for all n 2 N.
Given objects x1 ; x2 ; : : : ; xn , where n > 1, we may define the ordered set
.x1 ; x2 ; : : : ; xn /
by induction: The ordered pair .x1 ; x2 / has already been defined, and for each n > 2
we let
X1 X2 Xn D .X1 X2 Xn1 / Xn :
The result is the collection of all ordered sets .x1 ; x2 ; : : : ; xn / such that xj 2 Xj for
each j . If Xj D X for each j , then we write
X n D X1 X2 Xn :
The absolute value of a real number x plays a prominent role in analysis. Denoted
by jxj, it is defined as x if x 0 and x otherwise. Thus it is always the case that
jxj 0 and that
p
jxj D x 2 D j xj:
For every a > 0 it is also easy to see that jxj < a if and only if a < x < a. From
these inequalities it follows that jxj > a if and only if x > a or x < a, and that
jx yj < a if and only if y a < x < y C a, where y is another real number. In
addition, observe that jxj x and jxj x for all real x. Thus jxj C jyj x C y
and jxj C jyj .x C y/, so that
jx C yj jxj C jyj:
Inequalities can be used to define intervals on the real line. If a and b are real
numbers with a < b, then we write
These sets are called intervals. The first is open and the second closed; the others
are half-open. It should be clear from the context whether the notation .a; b/
specifies an open interval or an ordered pair. The numbers a and b are called the
ends of each of these intervals. In addition, we write
These sets are also reckoned as intervals, and a is regarded as an end of each.
Let f be a real-valued function whose domain includes an interval I . Then f
is said to be increasing on I if f .x1 / < f .x2 / whenever x1 and x2 are numbers
in I such that x1 < x2 . If, on the other hand, f .x1 / f .x2 / for each such x1
and x2 , then f is nondecreasing on I . We define functions that are decreasing or
nonincreasing on I similarly. All these functions are said to be monotonic on I ,
and those that are increasing on I or decreasing on I are strictly monotonic on I .
Exercises 1.1.
1. Show that if a < b, then
a a C .1 /b b
jxyj D jxjjyj
jaQj D jaj . Q
n n
(a)
n n
(b) j D1 aj D j D1 jaj j.
P P
(c) nj D1 aj nj D1 jaj j.
p p
6. Prove that 2 is irrational by writing 2 D a=b, where a and b are positive
integers with no common factor, and obtaining a contradiction by showing that a
and b must both be even.
Throughout this book we will assume that any numbers we are working with are
complex unless an indication to the contrary is given by either the context or an
explicit statement. For example, the numbers a0 ; a1 ; : : : ; an ; x in the definition of a
polynomial (Definition 1.3.1) need not be real. As complex numbers might not be
as familiar to the reader as real numbers, we define them here and prove some basic
properties.
The equation
x 2 D 1 (1.10)
has no real solution. We seek to extend the real number system to include a number
i such that i 2 D 1 while preserving familiar operations such as addition and
multiplication. If we put x Ciy D 0, where x and y are real numbers, then x D iy,
so that x 2 D i 2 y 2 D y 2 and hence x D y D 0. Now if
x C iy D a C ib; (1.11)
x a C i.y b/ D 0:
1.4 Complex Numbers 15
The argument above shows that x a D y b D 0 and we conclude that Eq. (1.11)
holds if and only if x D a and y D b. Consequently x C iy may be identified with
the ordered pair .x; y/ of real numbers.
We therefore define a complex number as an ordered pair of real numbers.
Hence every complex number can be visualized as a point in the Cartesian plane. If
z D .x; y/, where x and y are real, then we define Re .z/ D x, and Im .z/ D y, and
we refer to x and y as the real and imaginary parts, respectively, of z. We define
addition and multiplication by the rules
.u; v/ C .x; y/ D .u C x; v C y/
and
respectively, where u; v; x; y are all real. These rules are motivated by the
calculations
and
Thus
.u; 0/ C .x; 0/ D .u C x; 0/
and
Therefore we may identify .x; 0/ with the real number x. In particular, it follows
that .0; 0/ D 0 and .1; 0/ D 1. Note also that
Re .w C z/ D Re .w/ C Re .z/
and
Im .w C z/ D Im .w/ C Im .z/
for any two complex numbers w and z. It is also worth observing that the addition of
complex numbers may be interpreted geometrically as vector addition. In Chap. 6
we will give a geometric interpretation of the multiplication of complex numbers.
16 1 Introduction
The required solution i to Eq. (1.10) is identified with the ordered pair .0; 1/.
According to our definition of multiplication, it has the desired property:
Note also that if x and y are real, then the definitions of addition and multiplication
do indeed give
These results show that the algebraic manipulation of complex numbers is identical
to that of real numbers with the additional rule that i 2 D 1. In particular, we have
the laws that
a C b D b C a; (1.12)
a C .b C c/ D .a C b/ C c; (1.13)
and
a.b C c/ D ab C ac (1.14)
for all complex numbers a; b; c. We summarise Eqs. (1.12) and (1.13) by asserting
that the addition of complex numbers is commutative and associative, respectively.
Similarly, multiplication of complex numbers is commutative and associative.
Equation (1.14) asserts that multiplication is distributive over addition.
We also define
w z D w C .z/
az2 C bz C c D 0;
1.4 Complex Numbers 17
where a; b; c; z are all complex numbers and a 0. As the left-hand side of this
equation is a polynomial of degree 2, the equation is said to be quadratic. It can be
solved for z by the following procedure. Since a 0, we have
bz c
0 D z2 C C
a a
b 2 b2 c
D zC 2C
2a 4a a
2
b b 2 4ac
D zC ;
2a 4a2
so that
b 2 b 2 4ac
zC D :
2a 4a2
Thus
b 1 p 2
zC D b 4ac;
2a 2a
and we conclude that
p
b b 2 4ac
zD :
2a
z D x C iy 0;
.x C iy/.x iy/ D x 2 C y 2 0;
and so
1 1 x iy x iy
D D D 2 :
z x C iy .x C iy/.x iy/ x C y2
18 1 Introduction
Thus if we define
x iy
z1 D ;
x2 C y2
then we have zz1 D 1. For every positive integer n we now define zn D .z1 /n if
z 0. This definition agrees with the equation z1 D z in the case where n D 1. We
also define w=z D wz1 for every complex number w.
We turn our attention now to two numbers that are associated with a given
complex number. The first is the conjugate of a complex number z D x C iy, where
x and y are real. The conjugate of z is defined as x iy and is denoted by zN. Thus
zN D z, and z D zN if and only if z is real. Geometrically, the function that maps z to zN
is a reflection about the x-axis.
If we also have w D u C iv, where u and v are real, then
Since
w z D w C .z/ D w
N C z D wN C .Nz/ D wN zN:
Moreover
and so
If z 0, then
x C iy
1=z D D 1=Nz;
x2 C y2
z C zN D 2x D 2Re .z/
1.4 Complex Numbers 19
and, similarly,
z zN D 2i Im .z/I
hence
z C zN
Re .z/ D
2
and
z zN
Im .z/ D :
2i
A further observation is that
We now define
p
jzj D x2 C y2:
zNz D jzj2 ;
p
jzj x 2 D jxj D jRe .z/j;
and, similarly,
p
jzj y 2 D jIm .z/j:
Moreover if z D x, then
p
jzj D x 2 D jxj:
This observation shows that jzj is a generalization of the absolute value of a real
number. It follows that
hence
jz wj D jw zj
jz cj D r;
where c is a complex number and r 0 is the equation of a circle with center c and
radius r.
We also have jzj 0 for all z, and jzj D 0 if and only if z D 0. In addition,
jzj D j zj D jNzj:
Since
jwzj2 D wz wz D wzwN
N z D wwzN
N z D jwj2 jzj2 D .jwjjzj/2 ;
we deduce that
jwzj D jwjjzj:
If z 0, it follows that
wz w
jwj D D jzj;
z z
and so
w
D jwj :
z jzj
jw C zj jwj C jzj
jw C zj2 D .w C z/w C z
D .w C z/.w
N C zN/
D wwN C wNz C zwN C zNz
D jwj2 C wNz C wNz C jzj2
jwj2 C 2jwNzj C jzj2
1.4 Complex Numbers 21
Thus
jwj D jw z C zj jw zj C jzj;
so that
jw zj jwj jzj:
jw zj jjwj jzjj :
The notion of an inequality for real numbers does not extend to complex
numbers. We have x 2 0 for all real x, but i 2 < 0. It is meaningless to write
w < z if either w or z is not real. The inequality jzj < a is equivalent to a < z < a
if and only if a and z are both real.
Throughout the book we will denote by Z, Q, R, and C the sets of integers,
rational numbers, real numbers, and complex numbers, respectively.
Let f and g be functions whose domains are subsets of C. For all z 2 Df \ Dg ,
we define
and
.fg/.z/ D f .z/g.z/:
22 1 Introduction
We also define
f f .z/
.z/ D
g g.z/
for all z 2 Df \ Dg such that g.z/ 0. Thus f C g, f g, fg, and f =g are all
functions. In addition, if c 2 C, then we define cf to be the function such that
for all z 2 Df .
Exercises 1.2.
1. Express in the form x C iy, where x and y are real,
(a) 3 C 4i C .1 i /.1 C i /;
(b) .2 5i /2 ;
12i
(c) 3C4i .
2. Compute i n for every integer n.
3. For every complex number z, find the real and imaginary parts of the following
expressions:
zC2
(a) z2i ;
(b) iz.
4. Let z D x C iy and w D a C ib, where x; y; a; b are real. Suppose that z2 D w.
Show that
a C jwj
x2 D
2
and
a C jwj
y2 D :
2
Deduce that
z D . C i /;
where
r
a C jwj
D ;
2
r
a C jwj
D ;
2
1.5 Finite Sums 23
jzj jzj
;
ju C vj jjuj jvjj
jz C wj D jzj C jwj
9. Show that
X
n
aj D am C amC1 C C an ;
j Dm
X
n X
n
ak D aj : (1.15)
kDm j Dm
X
n X
nCr
aj D akr :
j Dm kDmCr
X
nCr X
n
aj r D aj :
j DmCr j Dm
Moreover the associativity of addition shows that if m; n and r are integers such
that m r < n, then
X
n X
r X
n
aj D aj C aj :
j Dm j Dm j DrC1
X
n X
n X
n
.saj C tbj / D s aj C t bj : (1.16)
j Dm j Dm j Dm
1.5 Finite Sums 25
X
m
.saj C tbj / D sam C tbm
j Dm
X
m X
m
Ds aj C t bj :
j Dm j Dm
Now suppose that Eq. (1.16) holds for some integer n m. Then
X
nC1 X
n
.saj C tbj / D .saj C tbj / C sanC1 C tbnC1
j Dm j Dm
X
n X
n
Ds aj C t bj C sanC1 C tbnC1
j Dm j Dm
0 1 0 1
X
n X
n
D s@ aj C anC1 A C t @ bj C bnC1 A
j Dm j Dm
X
nC1 X
nC1
Ds aj C t bj ;
j Dm j Dm
X
n X
n
saj D s aj : (1.17)
j Dm j Dm
X
n X
n X
n
.aj C bj / D aj C bj ;
j Dm j Dm j Dm
X
n X
n X
n
.aj bj / D aj bj :
j Dm j Dm j Dm
26 1 Introduction
X
n X
n X
n
.aj C1 aj / D aj C1 aj
j Dm j Dm j Dm
X
nC1 X
n
D aj aj
j DmC1 j Dm
0 1
X
n X
n
D aj C anC1 @am C aj A
j DmC1 j DmC1
D anC1 am ;
X
n
.aj C1 aj / D anC1 am :
j Dm
This theorem in fact is intuitively clear, since the sum can be written as
X
n X
n
.aj aj C1 / D .aj C1 aj / D .anC1 am / D am anC1 :
j Dm j Dm
X
n X
n
1D .j C 1 j / D n C 1 m
j Dm j Dm
X
n
1 D n C 1 1 D n;
j D1
X
n
.2j C 1/:
j D1
.j C 1/2 j 2 D j 2 C 2j C 1 j 2
D 2j C 1:
In the telescoping property we therefore take aj D j 2 for each j and thereby obtain
X
n X
n
.2j C 1/ D ..j C 1/2 j 2 /
j D1 j D1
D .n C 1/2 1
D n2 C 2n:
X
n X
n X
n
.2j C 1/ D 2 jC 1
j D1 j D1 j D1
X
n
D2 j C n;
j D1
and so
X
n X
n
2 j D .2j C 1/ n
j D1 j D1
D n2 C 2n n
D n2 C n:
X
n
n.n C 1/
j D :
j D1
2
28 1 Introduction
X
n
n.n C 1/.2n C 1/
j2 D :
j D1
6
X
n
anC1 b nC1 b nC1 anC1
aj b nj D D ;
j D0
ab ba
X
n X
n
.a b/ aj b nj D .aj C1 b nj aj b nj C1 /
j D0 j D0
D anC1 b nC1 ;
X
n
anC1 1 1 anC1
aj D D ;
j D0
a1 1a
where 00 D 1.
There is one further theorem concerning finite sums that we include in this
section. It is called the binomial theorem and gives a formula for .a C b/n for every
nonnegative integer n. It furnishes another example of a proof by induction.
First we introduce some new notation. If n and r are integers such that 0 r n,
then we define
!
n n
D
r r.n r/
n.n 1/ .n r C 1/
D :
r
1.5 Finite Sums 29
For example,
!
n n
D D 1:
0 0n
Similarly,
!
n
D 1:
n
Because of their role in the binomial theorem, these numbers are often called the
binomial coefficients. They satisfy the following lemma.
Lemma 1.5.7. If n and r are positive integers and r n, then
! ! !
nC1 n n
D C :
r r r 1
t
u
Theorem 1.5.8 (Binomial Theorem). Let a and b be numbers and n a nonnegative
integer. Then
!
X n
n j nj
.a C b/ D
n
a b ; (1.18)
j D0
j
Proof. Both sides are equal to 1 if n D 0. Assume that the theorem holds for some
integer n 0. Then
Pn n.nC1/.2nC1/.3n2 C3n1/
(f) j D1 j4 D 30
;
Pn1 xnxn C.n1/x nC1
(g) j D1 jxj D 1x 2
for every real x 1.
2. Let n 2 N and let a1 ; a2 ; : : : ; an be real numbers such that 0 aj 1 for all j .
Prove that
Y
n X
n
.1 aj / 1 aj :
j D1 j D1
3. Discover and prove a theorem about the relative sizes of 3n and n, where n is a
positive integer.
4. A function f W R ! R is said to be convex if for all nonnegative real numbers 1
and 2 with sum equal to 1 we have
f .1 x1 C 2 x2 / 1 f .x1 / C 2 f .x2 /
5. Use the telescoping property to prove the following identities for all n 2 N:
Pn 1
j D1 j.j C2/ D 4 2 nC1 C nC2 ;
1 3 1 1
(a)
Pn p
(b) p 1
p D 1 C n C 1;
Pjn D1 j C j C1
(c) j D1 j j D .n C 1/ 1;
Pn 6j 3nC1
(d) j D1 .3j C1 2j C1 /.3j 2j / D 3 3nC1 2nC1 ;
Pn 1
j D1 j 2 C4j C3 D 12 2 nC2 nC3 ;
1 5 1 1
(e)
Pn
(f) j D1
p 1 p D 1 pnC1
1
;
Pn .j C1/ j
j Cj j C1
2 C1 D 2 2n.nC1/C2 ;
1 1
(g) j D1 4
Pn j Cj j
j D1 4j 4 C1 D 4 8n2 C8nC4 .
1 1
(h)
32 1 Introduction
6. Let d and a1 be numbers. Define aj for each integer j > 1 by the equation
aj C1 D aj C d , and suppose that aj 0 for all j 2 N. Find the sum
X
n
1
j D1
aj aj C1
for all n 2 N.
7. Prove that
X
n
j .j 2 C j C 1/ D n.n C 1/2 1
j D1
for all n 2 N.
8. Evaluate the sum
X
n
1
j 24
j D3
1 X
n
Sn n D jaj M
n C 1 j D1
Pn Pn
for all n, where Sn D j D0 aj and n D j D0 Sj for all n.
Chapter 2
Sequences
Classification: 40A05
Analysis is based on the notion of a limit, a concept that can be defined in terms of
sequences. Moreover, elementary functions, such as trigonometric, exponential, and
logarithm functions and many algebraic functions, can be approximated by using
sequences. With modern computers, such approximations can be made accurate
enough for most practical purposes.
A sequence is a function whose domain is the set of all integers greater than or equal
to some fixed integer. More formally, we have the following definition.
Definition 2.1.1. Let a be a fixed integer and A the set of all integers greater than
or equal to a. A function s from A into a set F is called a sequence in F. The images
of the members of A are called the terms of the sequence. They are ordered by
the ordering of A itself so that, for example, s.a/ is the first term of the sequence,
s.a C 1/ is the second, and so forth.
Throughout this book F will denote one of the three fields Q; R; or C. The
sequence will then be said to be rational, real, or complex, respectively. Results
established for complex sequences will therefore be valid for rational and real
sequences as they are special cases.
Given a sequence s W A ! F, we usually write sn instead of s.n/, where n 2 A.
Moreover we denote the sequence by fsn gn2A or simply fsn g if A is either clear from
the context or immaterial. If A is the set of all integers n a, then we also write the
sequence as fsn gna . Occasionally, the first few terms of the sequence may be listed
in order, so that we write sa ; saC1 ; : : :, for instance.
1; 1; 1; 1; : : : :
1 1 1
1; ; ; ; : : : :
2 3 4
4
Example 2.1.3 (Complex Harmonic Sequence). The sequence given by fi n =ngn1 is
1 i 1 i 1 i 1
i; ; ; ; ; ; ; ; : : : :
2 3 4 5 6 7 8
4
Example 2.1.4 (Geometric Sequence). If we temporarily adopt the convention that
00 D 1, then for all complex numbers a and r, the sequence given by farn gn0 is
Example 2.1.5 (Arithmetic Sequence). For each complex a and d the sequence
given by fa C ndgn0 is
a; a C d; a C 2d; a C 3d; : : : :
9 64 625
2; ; ; ;::::
4 27 256
We shall return to this sequence later. 4
Often, particularly in computer applications, a sequence is defined inductively
by specifying the first few terms and then defining the remaining terms by means
of the preceding ones. For example, the geometric sequence farn g can be defined
2.1 Definitions and Examples 35
inductively by writing s0 D a and sk D rsk1 for all k > 0. Likewise, the arithmetic
sequence fa Cndg can be defined by setting s0 D a and sk D sk1 Cd for all k > 0.
Example 2.1.7. A sequence that is often used in botany is the Fibonacci sequence
(see [6]). It is specified by putting F0 D F1 D 1 and
Fk D Fk1 C Fk2
1; 1; 2; 3; 5; 8; 13; 21; : : : :
p
pn 0. First, for convenience let us define D .1 C
for all 5/=2 and D
.1 5/=2. These are the solutions of the equation
x 2 x 1 D 0; (2.1)
p
so that 2 D C 1 and 2 D C 1. Since D 5, the required formula holds p
for n D 0. It also holds for n D 1, since 2 2 D C 1 . C 1/ D D 5.
Assuming that n > 1 and that the result holds for all positive integers less than n, it
follows that
Fn D Fn1 C Fn2
1
D p . n n C n1 n1 /
5
1
D p . n1 . C 1/ n1 . C 1//
5
1
D p . nC1 nC1 /;
5
as required. It is somewhat surprising that the formula yields an integer. The number
is known as the golden ratio. 4
sn1 C k
sn D
sn1 C 1
36 2 Sequences
k C 1 3k C 1 k 2 C 6k C 1
1; ; ; ;::::
2 kC3 4k C 4
We
p will see later (Example 2.3.2) that its terms give a good approximation for
k when n is large. For k D 2, the sequence was familiar to the ancient Greeks,
having appeared in Chapter 31 of the first volume of the manuscript Expositio rerum
mathematicarum ad legendum Platonem utilium by Theon of Smyrna in 130 AD.
The reader is invited to show by induction that
p p
p .1 C k/n C .1 k/n
sn D k p p (2.2)
.1 C k/n .1 k/n
for all n. 4
Remark. The reader may wonder how the expressions for the general term were
obtained in the two preceding examples. One method using matrices is given in [15].
Here is another way of obtaining the formula for the Fibonacci sequence. Let us
write
Fn D A n C B n
Fn D Fn1 C Fn2
that is,
A n2 . 2 1/ C B n2 . 2 1/ D 0:
For this purpose it is sufficient to take and to be the solutions of Eq. (2.1). This
observation gives the values for and in Example 2.1.7. Next, the initial condition
that F0 D F1 D 1 yields the equations
ACB D1
and
A C B D 1:
2.2 Convergence of Sequences 37
so that
AD1B D p :
5
We are often concerned with the limiting behavior of a sequence fsn g as n becomes
large. The process of enlarging n indefinitely is indicated by the notation n ! 1.
In what follows the sequences will be assumed to be complex unless an indication
to the contrary is given.
Definition 2.2.1. Let fsn g be a sequence and L a number. We say that fsn g
converges to L, and that L is the limit of fsn g, if for each " > 0 there exists an
integer N such that
lim sn D L
n!1
or sn ! L as n ! 1.
A sequence is said to be convergent if there exists a number to which it
converges. A sequence is said to diverge, and to be divergent, if it does not
converge.
In Definition 2.2.1 the integer N may of course depend on ". It is also clear that
the inequality n N may be replaced by the corresponding strict inequality, for
n N if and only if n > N 1.
Given L and " > 0, we may define the set of all z for which jz Lj < "
as the "-neighborhood of L. This set is denoted by N" .L/. Roughly speaking,
the definition of the convergence of a sequence to L says that for each pre-
scribed "-neighborhood of L, the terms of the sequence will eventually enter the
38 2 Sequences
neighborhood and remain there. In other words, the terms of the sequence become
arbitrarily close to L as n increases.
Note that the inequality jsn Lj < " is equivalent in R to
in
lim D 0:
n!1 n
for all n N . Since ji j D 1, we need 1=n < ", and so we choose any N > 1=" > 0.
For all n N we deduce that
1 1
< ";
n N
and the desired result follows. 4
Remark. The only property of i used in this proof is that ji j D 1. Hence the
argument can also be used to show that
1
lim D 0:
n!1 n
Example 2.2.3. We show that the sequence f.1/n g diverges. This result is intu-
itively clear, for the values of .1/n oscillate between 1 and 1 as n increases. The
distance between these numbers is 2, and so every number L must be at a distance
of at least 1 from one or the other of them. But if L were the limit of our sequence,
then the terms would become arbitrarily close to L as n increases. We infer that no
number can be the limit of the sequence, and the sequence therefore diverges.
We can also cast this intuitive argument in terms of neighborhoods. For every
number L we can choose " so small that the "-neighborhood of L does not contain
2.2 Convergence of Sequences 39
both 1 and 1. Therefore there is no term in the sequence beyond which the values
in the sequence remain in the "-neighborhood.
We now transform this intuition into a formal argument. Suppose the sequence
were to have a limit L, and choose any " such that 0 < " < 1. There would be an
integer N such that j.1/n Lj < " whenever n N , no matter whether n is even
or odd. It would follow that
j1 Lj < "
and
j1 C Lj D j 1 Lj < ":
Using the triangle inequality, we would therefore reach the contradiction that
4
Example 2.2.4. For every complex number z such that jzj < 1, we will show that
lim zn D 0:
n!1
1
D1Cp
jzj
.1 C p/n 1 C np
1
1 C Np > :
"
Then, for all n N , we have
n
1 1 1
D D .1 C p/n 1 C np 1 C Np > > 0;
jzn j jzj "
p p p
Remark. Since 1 < 5 < 3, we have 0 > 1 5 > 2. Thus j1 5j < 2, and
so
1 p5
< 1:
2
In fact, this approximation turns out to be accurate to within one decimal place for
all n 4.
Since the convergence of a sequence fsn g depends only on the behavior of the
terms sn where n is large, we would expect intuitively that the first few terms are
immaterial. This expectation is encapsulated in the following lemma.
Lemma 2.2.1. Let k be a positive integer. Then a sequence fsn g approaches a
number L as n approaches infinity if and only if fsnCk g also approaches L.
Proof. Suppose first that sn ! L as n ! 1 and choose " > 0. Since
lim sn D L;
n!1
there exists N such that jsn Lj < " whenever n N . But for each n N we
have n C k > n N , and so jsnCk Lj < ". Therefore
lim snCk D L;
n!1
as required.
Conversely, suppose snCk ! L as n ! 1. For every " > 0 there exists N such
that jsnCk Lj < " for all n N . Choose n N C k. Then jsn Lj < ", and we
conclude that sn ! L as n ! 1.
In view of this lemma, every theorem or definition concerning limits that
postulates sn to satisfy a specified property for all n will remain valid if in fact
sn satisfies the specified property only for all n greater than some fixed integer.
We show next that if a sequence converges, then the limit is unique. Certainly,
our intuition leads us to expect this result. The reasoning is akin to that used in
2.2 Convergence of Sequences 41
Example 2.2.3. If the sequence fsn g were to converge to two distinct numbers L1
and L2 , which are a distance jL1 L2 j apart, then each term sn would be at a distance
of at least jL1 L2 j=2 from one or the other of them. Therefore sn could not become
arbitrarily close to both L1 and L2 as n increases. In terms of neighborhoods, we
choose " so small that the "-neighborhoods of L1 and L2 are disjoint. It is therefore
impossible that as n increases the terms of the sequence enter both neighborhoods
and remain there. The proof of the uniqueness of the limit just formalizes this
intuitive argument.
Theorem 2.2.2. A sequence has at most one limit.
Proof. Let fsn g be a sequence with limits L1 and L2 and choose " > 0. Since sn
approaches L1 , there is an integer N1 such that
for all n N2 . For every n maxfN1 ; N2 g, both of the preceding inequalities hold.
For such n we therefore have
jL1 L2 j
"D > 0;
2
thereby obtaining the contradiction that jL1 L2 j < jL1 L2 j. We deduce that
L1 D L2 , as required.
The next proposition gives another way of expressing the definition of a limit of
a sequence. It is often more convenient to use
Proposition 2.2.3. Let fsn g be a sequence, L a number, and c a positive number.
Then limn!1 sn D L if and only if for each " > 0 there exists an integer N such
that
for all n N .
Proof. Since c" > 0, it is immediate from the definition of the limit that the stated
condition holds if limn!1 sn D L. Let us suppose therefore that for each " > 0
42 2 Sequences
there exists an integer N such that jsn Lj < c" for all n N . Choose " > 0.
Since "=c > 0, there exists N such that
"
jsn Lj < c D"
c
for all n N . Hence limn!1 sn D L. t
u
Sometimes we wish to consider more than one sequence, in which case the
following proposition is sometimes useful.
Proposition 2.2.4. Let fsn g and ftn g be sequences with respective limits K and
L. Then for each " > 0 there is an integer N such that both jsn Kj < " and
jtn Lj < " for all n N .
Proof. Given " > 0, there exists N1 such that jsn Kj < " for all n N1 .
Similarly, there exists N2 such that jtn Lj < " for all n N2 . If we now take
N D maxfN1 ; N2 g and choose n N , then n N1 and n N2 , so that both
required inequalities follow. t
u
Remark. This result can clearly be generalized to handle situations where more than
two sequences are under consideration.
Exercises 2.2.
1. Show from the definition that the following sequences are divergent:
(a) .1/n C n1 ;
n n
o
(b) 1C.1/
2
;
n
(c) i C 2n .
1
2. Show that
n
1Ci
lim D 0:
n!1 2
3. Suppose that xn > 0 for all n 2 N and that limn!1 xn D 0. Show that the set
S D fxn j n 2 Ng
for all n 2 N and x 2 R f1g. Find each real number x for which the sequence
fsn g is convergent and find the limit of the sequence.
2.3 Algebra of Limits 43
zn L
lim D 0;
n!1 zn CL
jzn j jLj
lim D0
n!1 jzn j C jLj
and limn!1 zn D L.
7. Let w be a complex number such that jwj 1 and let
wn
zn D
1 C w2n
for all n. Show that the sequence fzn g converges to 0. Is this statement still true
if jwj D 1?
so that
Setting
lim sn D L;
n!1
then
On the other hand, we observe from Example 2.2.3 that the converse does not
necessarily hold. Nevertheless, if limn!1 jsn j D 0, then for each " > 0 there exists
an integer N such that jsn j < " for all n N , and we conclude that limn!1 sn D 0:
We summarize these observations in the following proposition.
Proposition 2.3.2. 1. If limn!1 sn D L, then limn!1 jsn j D jLj.
2. If limn!1 jsn j D 0, then limn!1 sn D 0.
Proposition 2.3.3. Suppose fsn g is a real sequence such that
lim sn D L > c
n!1
for some number c. Then there exist numbers N and k > c such that sn > k for all
n N.
Proof. Choose " such that 0 < " < L c. There exists N such that jsn Lj < "
for all n N . For each such n we have
lim sn D L < c:
n!1
Then there exist numbers N and k < c such that sn < k for all n N .
Also, if fsn g is a real sequence such that
lim sn D L > 0;
n!1
2.3 Algebra of Limits 45
then we may take c D L=2 in Proposition 2.3.3 and infer the existence of a number
N such that sn > L=2 for all n N . A corresponding statement holds if L < 0.
Thus we have the following result.
Proposition 2.3.5. Let fsn g be a real sequence such that
lim sn D L 0:
n!1
1. If L > 0, then there is an integer N such that sn > L=2 for all n N .
2. If L < 0, then there is an integer N such that sn < L=2 for all n N .
Corollary 2.3.6. Let fsn g be a (real or complex) sequence such that
lim sn D L 0:
n!1
Then there is an integer N such that jsn j > jLj=2 for all n N .
Proof. From the hypothesis it follows that
lim .sn C tn / D K C LI
n!1
2.
lim sn tn D KLI
n!1
3.
sn K
lim D
n!1 tn L
and
1 1
lim D :
n!1 tn L
To this end, choose " > 0. There is an integer N2 such that jtn Lj < " for all
n N2 . For every n maxfN1 ; N2 g we therefore have
1
1 D L tn
t L Ltn
n
jtn Lj
D
jLjjtn j
1 2
< "
jLj jLj
2
D ";
jLj2
as required.
2.3 Algebra of Limits 47
sn 1 K
lim D lim sn lim D :
n!1 tn n!1 n!1 tn L
t
u
Note that the sequences fsn C tn g, fsn tn g, and fsn =tn g may converge even when
neither fsn g nor ftn g does so. For instance, f.1/n g and f.1/n1 g both diverge,
but f.1/n C .1/n1 g, f.1/n .1/n1 g, and f.1/n =.1/n1 g are all constant
sequences and therefore converge.
Before presenting some examples, we note three corollaries.
Corollary 2.3.8. Using the notation of the theorem, we have
lim .sn tn / D K L:
n!1
Proof. From parts (1) and (2) of the theorem, we infer that
D K C .1/L
D K L:
t
u
Corollary 2.3.9. Let sn ; tn ; K; L be as in the statement of the theorem.
1. If sn tn for all n, then K L.
2. If sn tn for all n, then K L.
Proof. 1. By Corollary 2.3.8 we have
lim .sn tn / D K L:
n!1
Corollary 2.3.10. Let fsn g be a real sequence converging to K, and let c be a real
constant.
1. If sn c for all n, then K c.
2. If sn c for all n, then K c.
Remark. It should not be thought that if sn > c for all n then K > c. For instance,
1=n ! 0 as n ! 1, but 1=n > 0 for all n > 0. Similarly, if sn < c for all n, then
we can conclude only that K c.
Example 2.3.1. Let
4n.4n C 3/
sn D
.4n C 1/.4n C 2/
As
1
lim D 0;
n!1 n
we may apply Theorem 2.3.7 to find that
4.4 C 0/
lim sn D D 1:
n!1 .4 C 0/.4 C 0/
4
Example 2.3.2. For every positive integer k we have
p p p p
j1 kj D k1< k C 1 D j1 C kj;
and so
1 pk
p < 1:
1 C k
Example 2.3.3. Let a and r be real numbers and suppose that jrj < 1. Let
X
n
1 r nC1
sn D rj D
j D0
1r
1
lim sn D :
n!1 1r
4
Moreover if p denotes a polynomial and fsn g is a sequence converging to L, then
Theorem 2.3.7 shows that
If p and q are polynomials such that q.L/ 0 and q.sn / 0 for all n, then it also
follows that
p.sn / p.L/
lim D :
n!1 q.sn / q.L/
We show next that the study of a complex sequence can be reduced to the study
of two real sequences.
Let fsn g be a complex sequence and suppose that sn D an C ibn for all n, where
each an and bn is real. Then the sequences fan g and fbn g are called the real and
imaginary parts, respectively, of fsn g. They satisfy the following theorem.
Theorem 2.3.11. A complex sequence converges to a number L if and only if its
real and imaginary parts converge, respectively, to the real and imaginary parts
of L.
Proof. Let sn D an C ibn for all n, where each an and bn is real. If the sequences
fan g and fbn g converge to A and B, respectively, then fsn g converges to A C iB, by
Theorem 2.3.7.
Conversely, suppose that
lim sn D L D A C iB;
n!1
where A and B are real. We must show that fan g and fbn g converge to A and B,
respectively. Choose " > 0. There exists N such that jsn Lj < " for all n N .
Recalling that jRe .z/j jzj for all z 2 C, we find that
for all n N . Similarly, jbn Bj < " for all n N , and the theorem follows. t
u
50 2 Sequences
X
m1
anm b m D .an b/ anj b mj 1
j D0
D .an b/Kn
even if an D b, where
X
m1
Kn D anj b mj 1
j D0
X
m1
D b m1 C anj b mj 1 :
j D1
Now Kn b m1 > 0 since an b mj 1 > 0 for each j > 0. Therefore
j
Remark. If sn > 0 for all n and L > 0, then the theorem also holds for each negative
integer m, for if m < 0, then m > 0 and
1 1
sn1=m D 1=m
! D L1=m :
sn L1=m
4
Example 2.3.5. For all integers n > 1 we have
1
1
D n !0
n1 1 1
n
as n ! 1. Hence
1
lim p D0
n!1 n1
by Theorem 2.3.13. 4
We conclude this section by showing that taking an arithmetic mean does not
alter the limit. In other words, the limit of a convergent sequence is also the limit of
the arithmetic mean of the terms of the sequence. This result is due to Cauchy. We
will give a corresponding result for geometric means later.
Theorem 2.3.14. If limn!1 sn D L, then
1X
n
lim sj D L:
n!1 n
j D1
52 2 Sequences
1X
n
lim tj D 0:
n!1 n
j D1
Since
for each " > 0 there is a positive integer N such that jtn j < " for each n N . For
all n N we also have
n
1 X 1X
n
tj jtj j
n n j D1
j D1
0 1
N 1
1 @X X n
D jtj j C jtj jA :
n j D1 j DN
1 X
n
< "C "
n j DN
n .N 1/
D "C "
n
2";
Exercises 2.3.
1. Find the limits
n p of othe following sequences:
np o
n1 nC.nC1/i
(a) p ; (g) ;
n
nC1
o
q nC3
1 n
p p
(b) nC3i
n
C 1Ci
; (h) n C k n where k 0;
in n n
p o
(c) nC2i
; (i) 2n
nC2
C inC1n ;
nCi n np o
(d) nC1
, (j) n2 C 1 n ;
n o p p p
i n
(e) 1
4
C 2
; (k) . n C 1 n/ n ;
n o n p o
.2n1/
(f) .2nC1/
; (l) n .n C a/.n C b/ .
2. Suppose that limn!1 xn D L > 0. Show that there is a number N such that
2.4 Subsequences
1 1 1 1 1 1 1
1; ; ; ; ; ; ; ; : : : :
4 9 16 25 36 49 64
1 1 1 1
; ; ; ;:::;
4 16 36 64
1 1 1
1; ; ; ; : : : :
9 25 49
4
54 2 Sequences
We show next that subsequences enjoy the same convergence behavior as the
parent sequence.
Theorem 2.4.1. If a sequence converges to a number L, then so does each of its
subsequences.
Proof. Given that fsn g is a sequence that converges to L, for every " > 0 there
exists an integer N such that jsn Lj < " for all n N . If fskn g is a subsequence
of fsn g, then jskn Lj < " whenever kn N . Since fkn g is an increasing sequence
in N, we have kn kN N for all n N . For all such n it therefore follows that
jskn Lj < ", and the proof is complete. t
u
This theorem provides a useful test for divergence of a sequence.
Corollary 2.4.2. Any sequence possessing subsequences that converge to distinct
limits must be divergent.
Example 2.4.2. Let sn D i n for all n. Since s4n D 1 and s4nC1 D i for all n, the
sequence fsn g has subsequences converging to distinct limits and hence diverges.
4
Example 2.4.3. The sequence
1
C .1/n
n
has subsequences
1
C1
2n
and
1
1
2n C 1
t
u
Exercises 2.4.
1. For all n 2 N let
(
n
if n is divisible by 3;
xn D n C1
2
n
12 otherwise.
is divergent.
3. Test the convergence of the following sequences:
n n
o
(a) 1C.1/
2Ci n
;
(b) .1/ 1 C n1 .
n
Sometimes a real sequence is flanked by two sequences that are known to converge
to the same limit. It is natural to expect that the given sequence also converges to
that limit. In this section we confirm that expectation. We begin with the following
special case.
Lemma 2.5.1. Let fan g and fbn g be real sequences such that 0 an bn for all
n. If limn!1 bn D 0, then limn!1 an D 0.
Proof. Choose " > 0. There is an integer N such that jbn j < " for all n N . For
each such n it follows that jan j jbn j < ". t
u
56 2 Sequences
Theorem 2.5.2 (Sandwich Theorem). Let fan g, fbn g, and fcn g be real sequences
such that an bn cn for all n. If
lim an D lim cn D L;
n!1 n!1
then
lim bn D L:
n!1
0 bn an cn an
lim .cn an / D L L D 0:
n!1
lim .bn an / D 0:
n!1
Thus
D 0CL
D L:
t
u
Example 2.5.1. We shall show that
lim n1=n D 1:
n!1
Let
sn D n1=n 1
2.5 The Sandwich Theorem 57
for all n > 0. It suffices to prove that the sequence fsn g is null. Note that sn 0 for
all positive n. Therefore
n.n 1/ 2
n D .sn C 1/n > sn
2
for all n > 0, by Eq. (1.3). Thus
2
sn2 <
n1
for all n > 1, and so
p
2
0 sn < p :
n1
The required result now follows from the sandwich theorem, since
1
lim p D0
n!1 n1
by Example 2.3.5. 4
Example 2.5.2. We show that
lim b 1=n D 1
n!1
1 b 1=n n1=n :
The required result follows in this case by using the previous example and the
sandwich theorem.
For b such that 0 < b < 1, we have 1=b > 1. Hence
1=n
1 1
lim D lim D 1:
n!1 b 1=n n!1 b
lim x n D 0:
n!1
Put
1x
pD > 0:
x
1
xD :
1Cp
1 1 1
0 < xn D < :
.1 C p/ n 1 C np np
Since
1
lim D 0;
n!1 np
Therefore
lim zn D 0
n!1
by Proposition 2.3.2(2). 4
Example 2.5.4. Given real numbers x1 ; x2 ; : : : ; xk , define
0 11=n
X
k
sn D @ jxj jn A
j D1
for all positive integers n. It is easy to show that the sequence fsn g converges to
X
k
Mn jxj jn kM n :
j D1
2.5 The Sandwich Theorem 59
The result now follows from the sandwich theorem applied to the inequalities
lim k 1=n M D M:
n!1
4
We conclude this section with more applications of the sandwich theorem.
Theorem 2.5.3. Suppose that fsn g and ftn g are sequences such that limn!1 sn D 0
and ftn g is bounded. Then
lim sn tn D 0:
n!1
Proof. Since ftn g is bounded, there exists M such that jtn j < M for all n. Hence
0 jsn tn j M jsn j ! 0 as n ! 1. Therefore jsn tn j ! 0 as n ! 1, by the
sandwich theorem, and the result follows. t
u
Theorem 2.5.4. Let fsn g be a sequence of nonzero real numbers and suppose that
snC1
lim D L < 1:
n!1 s
n
Then
lim sn D 0:
n!1
Proof. Taking
1L
"D > 0;
2
we find that there is an integer N such that
snC1
L < 1 L
s 2
n
and so
1CL
0 < jsnC1 j < jsn j:
2
An inductive argument therefore shows that
k
1CL
0 < jsN Ck j < jsN j
2
lim jsN Ck j D 0;
k!1
snC1 b nC1 n b
0< D n D :
sn .n C 1/ b nC1
for all n does not suffice to ensure that limn!1 sn D 0. For example, let
n
sn D
n1
for all n > 1. Then
1
lim sn D lim D 1;
n!1 n!1 1 1
n
but
The sandwich theorem can be used to prove that the limit of a convergent
sequence is also the limit of the geometric mean of the terms of the sequence. First
we establish the following lemma.
Lemma 2.5.5. Let fsn g be a sequence of positive numbers. For all integers n > 0
define
X
n
1
Hn D n ;
s
j D1 j
0 11=n
Y
n
Gn D @ sj A ;
j D1
and
1X
n
An D sj :
n j D1
Then Hn Gn An for all n, with equality holding for a given n if and only if
s1 D s 2 D : : : D s n .
Proof. Certainly, G1 D A1 . In order to prove that Gn An for a given n > 1,
we use induction on the number k of subscripts j n for which sj An . If
k D 0, then sj D An for all j n. In this case Gn D .Ann /1=n D An , as desired.
Assume therefore that k > 0 and that the result holds whenever fewer than k of the
62 2 Sequences
first n terms of a sequence are different from the arithmetic mean of those terms.
Since k > 0, we may assume without loss of generality that s1 < An , the argument
being similar if s1 > An . As An is the average of s1 ; s2 ; : : : ; sn , we may therefore
assume, again without losing generality, that s2 > An . The n numbers An ; s1 C
s2 An ; s3 ; s4 ; : : : ; sn have the same average An as s1 ; s2 ; : : : ; sn since they have the
same sum, but fewer than k of them are different from An . It therefore follows from
the inductive hypothesis that
But
An .s1 C s2 An / s1 s2 D An s1 C An s2 A2n s1 s2
D .An s1 /.s2 An /
> 0;
and so
s1 s2 < An .s1 C s2 An /:
Therefore
Gn D .s1 s2 : : : sn /1=n
< .An .s1 C s2 An /s3 s4 : : : sn /1=n
An ;
as required.
It follows that
0 11=n
Yn
1 X n
0<@ A 1 1
;
s
j D1 j
n s
j D1 j
and we have proved that Hn Gn . Once again, equality holds for n if and only if
s1 ; s2 ; : : : ; sn are equal. t
u
2.5 The Sandwich Theorem 63
Proof. With the notation of Lemma 2.5.5, Theorem 2.3.14 shows that An ! L as
n ! 1. Moreover
1 1
lim D ;
n!1 sn L
1X 1
n
1 1
D !
Hn n j D1 sj L
t
u
Exercises 2.5.
1. Test the sequence
2n in
C n
n 2
for convergence.
2. Show that the sequence
1=n
n C inwn
lim bn D 0:
n!1
64 2 Sequences
Show that
lim an D 0:
n!1
f.2n C 3n /1=n g
converges to 3.
6. Show that
1 X 1=j
n
lim j D 1:
n!1 n
j D1
Show that
lim xn1=n D L:
n!1
for all n N .
Proof. The necessity follows immediately by taking m D N in the definition. To
prove the sufficiency of the stated condition, choose " > 0. By hypothesis there is
an integer N such that
jsn sm j D jsn sN C sN sm j
jsn sN j C jsm sN j
< 2":
for all n N . The proof is now completed by the argument of Theorem 2.3.1,
replacing L by sN . t
u
Since the terms of a Cauchy sequence are ultimately close to one another, it is
intuitively clear that if some subsequence of the sequence converges to a number L,
then the whole sequence must converge to L.
Theorem 2.6.3. If fsn g is a Cauchy sequence with a subsequence that converges to
L, then fsn g also converges to L.
Proof. Let fskn g be a subsequence that converges to L and choose " > 0. There
exist N1 and N2 such that
N D maxfN1 ; N2 g:
and so
lim sn D L:
n!1
t
u
Theorem 2.6.4. Every convergent sequence is Cauchy.
Proof. Let fsn g be a sequence that converges to L and replace sN by L in the proof
of Theorem 2.6.1. t
u
But is it true that every Cauchy sequence converges? It is possible to find a
rational Cauchy sequence that converges to an irrational number. We have already
p
seen this phenomenon in Example 2.3.2. (It is shown in Exercises 1.1 that 2 is
irrational.) However, every real Cauchy sequence does converge to a real number. In
fact, one way of defining real numbers is via Cauchy sequences of rational numbers,
2.6 The Cauchy Principle 67
as is done in [10]. The first step is to define two sequences fsn g and ftn g to be
equivalent if the sequence fsn tn g is null. It can be shown that this notion defines
an equivalence relation on the set of all rational Cauchy sequences, and the real
numbers are defined as the corresponding equivalence classes. The convergence of
real Cauchy sequences and the fact that every real number is the limit of a rational
Cauchy sequence can be established as consequences. The property that all real
Cauchy sequences converge to real numbers is referred to as the completeness of
the real number system.
Let x and y be real numbers such that x < y. From the definition of the
real number field we see that .x C y/=2 is a limit of a Cauchy sequence of
rational numbers. Hence the interval
p .x;
p y/ contains at least one rational number.
Consequently, the interval .x= 2; y= 2/ contains a rational number r. We may
assume that r 0: If x < 0 <py, then replace y by 0. Thus the interval .x; y/
contains the irrational number r 2. We conclude that every open interval .x; y/,
where x < y, contains at least one rational number and at least one irrational
number. This condition is described as the density property of the real number
system.
The completeness property of real numbers is equivalent to another property
known as the supremum property. In order to explain it, we need some additional
definitions. A set S of real numbers is said to be bounded above if there exists a
real number b such that s b for all s 2 S . Any number b with this property is
called an upper bound of S . For example, 0 is an upper bound for the set of all
negative real numbers. Any positive number is also an upper bound for that set. An
upper bound b of S is the least upper bound or supremum of S if b c for every
upper bound c of S . The least upper bound of S , if it exists, is unique, for if b and
c are both least upper bounds of S , then b c and c b. It is denoted by sup S .
For example, if S is the set of all negative numbers, then sup S D 0. Sets that are
bounded below, lower bounds of such sets, and greatest lower bounds or infima
are defined analogously. The greatest lower bound of a set S , if it exists, is unique
and is denoted by inf S . If S is the range of a bounded sequence fsn g, then its least
upper bound is also denoted by supfsn g and its greatest lower bound by inffsn g.
The supremum property alluded to above asserts that every nonempty set of real
numbers that is bounded above has a least upper bound. The proof of the equivalence
of the completeness and supremum properties is our next goal. Before tackling it,
however, we insert an example of a Cauchy sequence.
Example 2.6.1. Let a and b be complex numbers. Define s0 D a, s1 D b, and
sn C sn1
snC1 D
2
for all n > 0. If a D b, then sn D a for all n. Suppose a b. It is not hard to show
by induction that
ba
snC1 sn D .1/n (2.3)
2n
68 2 Sequences
for all n 0. For every m and n such that n > m, the use of the telescoping property
combined with the triangle inequality shows that
X
n1
jsn sm j D .sj C1 sj /
j Dm
X
n1
jsj C1 sj j
j Dm
Xn1
jb aj
D
j Dm
2j
jb aj X 1
n1
D
2m j Dm 2j m
jb aj
< ;
2m1
since
X
n1
1 X
nm1
1 1 2nm
1
1
D D < 1 D 2:
j Dm
2j m j D0
2j 1 12 2
Example 2.2.4 shows that jb aj=2m1 ! 0 as m ! 1, and so for each " > 0 we
may choose N such that
jb aj
< ":
2N 1
For all m N and n > m N , it follows that
jb aj jb aj
jsn sm j < N 1 < ":
2m1 2
LCL
LD D L;
2
which does not give any information about L. Instead, we use induction to show
from Eq. (2.3) that for all k 0,
2.6 The Cauchy Principle 69
X
k1
ba
s2k D a C
j D0
22j C1
ba X 1
k1
D aC
2 j D0 4j
!
ba 1 4k
1
D aC
2 1 14
ba 4 1
D aC 1 k
2 3 4
2.b a/
!aC
3
a C 2b
D
3
a C 2b
lim sn D :
n!1 3
4
Theorem 2.6.5. The completeness property for real numbers implies the supremum
property.
Proof. Let S be a nonempty set of real numbers that is bounded above. We must
show that S has a least upper bound. If an element s 2 S happens to be an upper
bound of S , then s is in fact the least upper bound of S . We may therefore assume
that no member of S is an upper bound of S .
Since S is nonempty and bounded above, we may choose a0 2 S and an upper
bound b0 of S . By assumption, a0 is not an upper bound of S . If .a0 C b0 /=2
is an upper bound of S , then let a1 D a0 and b1 D .a0 C b0 /=2; otherwise let
a1 D .a0 C b0 /=2 and b1 D b0 . In both cases b1 is an upper bound of S , but a1 is
not. Proceeding inductively, we obtain a nested sequence
a0 ; b0 a1 ; b1 a2 ; b2 : : :
b0 a0
bn an D
2n
70 2 Sequences
and
b0 a0
0 bn bnC1
2nC1
for all n 0. For each positive integer p it therefore follows from the telescoping
property that
jbnCp bn j D bn bnCp
X
p1
D .bnCj bnCj C1 /
j D0
X
p1
b0 a0
j D0
2nCj C1
b0 a0 X 1
p1
D nC1
2 j D0
2j
b0 a0
< ;
2n
since
X
p1
1 1 21p
D < 2:
j D0
2j 1 12
Example 2.2.4 shows that 1=2n ! 0 as n ! 1. Given " > 0, we may therefore
choose N such that
b0 a0
< ":
2N
For all n N and all positive integers p it follows that
b0 a0 b0 a0
jbnCp bn j < n
< ";
2 2N
and we infer that fbn g is indeed a Cauchy sequence. A similar argument demon-
strates that fan g is also a Cauchy sequence.
By the completeness principle fan g and fbn g converge to some numbers a and b,
respectively. For all n we have an anC1 < bnC1 bn , and so
an a b bn ;
2.6 The Cauchy Principle 71
b0 a0
bn an D < b a:
2n
1
b < skn < M D b:
n
By the sandwich theorem it follows that
lim skn D b:
n!1
1
b<bC < M:
N
Thus
1
b<bC <M
N Cn
1
b < un b:
N Cn
is finite since
1
mb<bC < M:
N Cn
1 1
b < sk0 < b C ;
N N
2.6 The Cauchy Principle 73
and for each n > 0 there exists kn > kn1 such that
1 1
b < skn < b C :
N Cn N Cn
It follows from the sandwich theorem that
lim skn D b:
n!1
t
u
Corollary 2.6.8. Every bounded sequence of complex numbers has a convergent
subsequence.
Proof. Let fzn g be a bounded sequence of complex numbers. Then, for each n,
it follows that zn D xn C iyn for some real numbers xn and yn . Using the facts
that jRe .z/j jzj and jIm .z/j jzj for each complex number z, we deduce that
fxn g and fyn g are also bounded. By Theorem 2.6.7 fxn g has a subsequence, fxkn g,
that converges to some number a. Similarly, fykn g has a subsequence, fykln g, that
converges to some number b. The subsequence fxkln g of fxkn g also converges to a,
by Theorem 2.4.1. Hence fzkln g converges to a C ib. t
u
We have proved that if the supremum property holds, then every bounded
sequence contains a convergent subsequence. Since every Cauchy sequence is
bounded, a Cauchy sequence fsn g therefore has a convergent subsequence. It follows
by Theorem 2.6.3 that fsn g converges as well. In other words, the supremum
property implies completeness. For real numbers these two properties therefore
imply each other. Henceforth we assume they both hold, referring the reader to [10]
for a proof.
We now have the following theorem.
Theorem 2.6.9 (Cauchy Principle). A real sequence is convergent if and only if it
is a Cauchy sequence.
In fact, by considering separately the real and imaginary parts of the terms
of a complex sequence, one can show that this principle holds even for complex
sequences. The details are left as an exercise.
Roughly speaking, the Cauchy principle tells us that convergent sequences are
those whose terms are getting closer and closer. In particular, for a sequence to
converge it is necessary that the distance between successive terms diminishes. In
fact, if fsn g is convergent, then
lim .snC1 sn / D 0:
n!1
X n
1 1X1
n
s
tn D D !
j D1
2j 2 j D1 j 2
as n ! 1, and
X
n
1 s s
un D D s2n tn ! s D
j D1
2j 1 2 2
1
lim .un tn / > u1 t1 D > 0:
n!1 2
1
snC1 sn D !0
nC1
as n ! 1. 4
Example 2.6.3. The sequence fz g, where z is a complex number, is convergent if
n
Theorem 2.6.11. Let S be a set of numbers and b a number. The following two
statements are equivalent:
1. b is a limit point of S ;
2. for each " > 0,
S \ N" .b/ ;:
Proof. Let b be a limit point of S . Then there exists an injective sequence fsn g in S
converging to b. Choose " > 0. There exists N such that
1
0 < jsk1 bj <
2k1
and
jsk1 bj
"k D > 0:
2
for each j < k 1. Therefore jsk bj < jsj bj for each j < k, so that sk sj
for each such j . Moreover
jsk1 bj 1
0 < jsk bj < < k:
2 2
1
0 < jsn bj <
2n
for each n. By the sandwich theorem, the sequence fsn bg converges to 0, and so
lim sn D b:
n!1
t
u
A subset of C is closed if it contains all its limit points.
Example 2.6.4. Let a and b be real numbers with a < b. We can confirm that
the interval I D a; b satisfies this definition, thereby establishing agreement of
this terminology with that introduced earlier in connection with intervals. Indeed,
choose z D .x; y/ 2 C I . If y 0, then
N" .z/ \ I D ; (2.4)
for each positive " < jyj. Suppose therefore that z is real. If z < a, then Eq. (2.4)
holds for every positive " < a z. If z > b, then apply the same argument with
0 < " < z b. We conclude from Theorem 2.6.11 that I is closed.
A similar argument may be applied to show that the rectangle R D a; b c; d
is a closed set in R2 D C. Here a < b and c < d , and R is the set of points .x; y/
such that a x b and c y d . Choose a point z D .x; y/ 2 C R. Then for
some r > 0 at least one of the following cases arises:
x D b C r; x D a r; y D d C r; y D c r:
Choose such an r as small as possible, and let " D r=2 > 0. Then N" .z/ \ R D ;,
and so z is not a limit point of R. 4
Exercises 2.6.
1. Show from the definition that the sequence f1=n2 g is Cauchy.
2. Show that if for each " > 0 there exists N such that jxn xN j < " whenever
n > N , then fxn g is a Cauchy sequence.
3.(a) Let fxn g be a sequence and suppose there exists a constant r 2 .0; 1/ such
that
jxnC1 xn j r n
(b) Give an example of a divergent sequence fyn g with the property that
lim .ynC1 yn / D 0:
n!1
4. Show that if
inffjxn j j n 2 Ng > 0:
7. Show that a sequence fxn g is Cauchy if and only if for each " > 0 there exists N
such that
jxn xm j
<"
1 C jxn xm j
whenever n > m N .
3n C 1
sn D
2n 3
for all n 2.
78 2 Sequences
One approach is to show that snC1 sn < 0 for all n 2. This result follows
from the calculation
3.n C 1/ C 1 3n C 1
snC1 sn D
2.n C 1/ 3 2n 3
3n C 4 3n C 1
D
2n 1 2n 3
11
D
.2n 1/.2n 3/
< 0:
snC1 3n C 4 2n 3
D
sn 2n 1 3n C 1
6n2 n 12
D
6n2 n 1
< 1:
4
Example 2.7.2. We show by induction that the sequence fsn g is increasing, where
s1 D 1 and
p
sn D sn1 C 1
as required. 4
Our next goal is to show that a monotonic sequence is convergent if and only if
it is bounded. We need the following notions concerning unbounded sequences.
Definition 2.7.1. Let fsn g be a real sequence. We write
lim sn D 1
n!1
if for each M there exists N such that sn > M for all n N . We also say that sn
approaches infinity as n approaches infinity, and we write sn ! 1 as n ! 1.
2.7 Monotonic Sequences 79
Likewise, we write
lim sn D 1
n!1
if for each M there exists N such that sn < M for all n N . In this case we say
that sn approaches minus infinity as n approaches infinity, and we write sn ! 1
as n ! 1.
Remark 1. Clearly, we may assume that M > 0 in the former definition and that
M < 0 in the latter. We may also replace the inequalities sn > M and sn < M by
sn > cM and sn < cM, respectively, for all c 0.
Remark 2. Let tn D sn for all n. Then tn < M if and only if sn > M .
Consequently sn ! 1 as n ! 1 if and only if tn ! 1 as n ! 1.
Theorem 2.7.1. Let fsn g be a nondecreasing sequence. Then
lim sn D supfsn g
n!1
lim sn D 1
n!1
otherwise.
Proof. Suppose first that fsn g is bounded. Then its range has a least upper bound L.
We must show that sn ! L.
Choose " > 0. Then L " is not an upper bound of fsn g. Therefore there exists
N such that sN > L ". As fsn g is nondecreasing, sn sN for all n N . Thus
sn > L " for all such n. Hence
lim sn D L:
n!1
Finally, suppose the sequence is not bounded. Since s1 is a lower bound, fsn g
must not be bounded above. Thus for each M > 0 there exists N such that sN > M .
As fsn g is nondecreasing, we have sn sN > M for all n N , and it follows that
lim sn D 1:
n!1
t
u
80 2 Sequences
The next result can be proved in a similar way or by applying the previous result
to the sequence fsn g.
Theorem 2.7.2. Let fsn g be a nonincreasing sequence. Then
lim sn D inffsn g
n!1
lim sn D 1
n!1
otherwise.
Example 2.7.3. In Example 2.7.1 we saw that the sequence fsn g is decreasing,
where
3n C 1
sn D
2n 3
for all n 2. This sequence is bounded below by 0 and therefore converges to its
greatest lower bound. In fact, its limit is easily calculated:
3C 1
3
sn D n
!
2 3
n
2
as n ! 1. 4
Example 2.7.4. In Example 2.7.2 we saw that the sequence fsn g is increasing,
where s1 D 1 and
p
sn D sn1 C 1 (2.5)
for all n > 1. It is also easy to see by induction that the sequence is bounded above
by 2 and therefore converges to some number L. In order to find L, we begin by
taking limits of both sides of Eq. (2.5), thereby obtaining
p
LD L C 1:
Hence
L2 L 1 D 0;
and so
p
1 5
LD :
2
2.7 Monotonic Sequences 81
sn1 C k
sn D (2.6)
sn1 C 1
for all n > 1. Here kpis a positive integer. We saw in Example 2.3.2 that this
sequence converges to k. We now present a different proof. Note that the sequence
is the constant sequence f1g
p if k D 1, and so we assume that k > 1. Moreover
sn > 0 for all n, and s1 < k.
Suppose that
p sn1 C k
k < sn D
sn1 C 1
so that
p p p p
. k 1/sn1 < k k D k. k 1/I
hence
p
sn1 < k:
p p p p
Similarly, if sn < pk, then sn1 > k. Since s1 < k, it follows that sn < k if
subsequence fs2n g is bounded below by
n is odd and sn > k if n is even. Thus the p
p
k, whereas fs2nC1 g is bounded above by k. Moreover it is easy to see from the
recurrence relation (2.6) that
sn Ck
snC1 C k sn C1
Ck .k C 1/sn C 2k
snC2 D D sn Ck
D (2.7)
snC1 C 1 sn C1
C1 2sn C k C 1
p p
Thus snC2 > sn if sn < k, whereas snC2 < sn if sn > k. Hence fs2n g is
a decreasing subsequence and fs2nC1 g is increasing. Both of these subsequences
therefore converge.
Let L be the limit of the subsequence fs2n g. From Eq. (2.7) we see that
.k C 1/L C 2k
LD ;
2L C k C 1
whence
This equation must have a real solution for an , and so the discriminant
2
4anC1 4k
2
must be nonnegative. Hence anC1 k, and since anC1 > 0, it follows that
p
anC1 k (2.9)
for all n.
The sequence (excluding the first term) is nonincreasing: For all n > 1, we have
an2 C k k an2
anC1 an D an D 0:
2an 2an
2.7 Monotonic Sequences 83
an C hn
anC1 D
2
and
k 2k 2 2
hnC1 D D D D :
anC1 an C k
an
an
k
C 1
an
1
hn
C 1
an
Thus anC1 and hnC1 are the arithmetic and harmonic means, respectively, of an and
hn , so that hnC1 anC1 by Lemmap2.5.5. Note p also that an hn D k for all n. Thus
the geometric mean of an and hn is an hn D k, and both fan g and fhn g converge
to this number. The convergence of fhn g can also be confirmed by the observations
that it is a nondecreasing sequence (because fan g is nonincreasing) and bounded
above by maxfk=a1 ; a2 g: We have h1 D k=a1 and hn an a2 for all n > 1.
We next consider two sequences defined by arithmetic and geometric means.
These rapidly converging sequences were first studied by Lagrange and Gauss
independently in the eighteenth century and by Borchardt in 1888 in relation to
the computation of elliptic integrals. For a good discussion of this approach, see [5].
Example 2.7.7. Let a0 and g0 be positive numbers, and for all n 0 let
an C gn
anC1 D
2
and
p
gnC1 D an gn :
an anC1 gnC1 gn
for all n > 0. Thus fan g is a nonincreasing sequence bounded below by minfa0 ; g1 g
and fgn g is a nondecreasing sequence bounded above by maxfg0 ; a1 g. Both
sequences therefore converge.
84 2 Sequences
0 anC1 gnC1
anC1 gn
an gn
D :
2
By induction we deduce that
0 an gn
a1 g1
: (2.10)
2n1
From the sandwich theorem we conclude that
lim an D lim gn :
n!1 n!1
lim an g1 > 0:
n!1
n D an gn
p p p p
D an gn an C gn :
Then
so that
p p 2 p p 2
n2 D an C gn an gn
p p 2
D 2 an C gn nC1 :
nC1 1
2
D p p 2 ;
n 2 an C gn
so that
nC1 1
lim2
D :
n!1 8agm.a0 ; g0 /
n
We leave it to the reader to show that the sequences defined by the harmonic and
geometric means also converge to the same limit. These sequences are given by
2
hnC1 D 1
hn
C 1
gn
and
p
gnC1 D hn gn ;
1
hgm.h0 ; g0 / D :
1
agm ; 1
h0 g0
4
Recall that an empty product (a product with no factors) is defined to be 1. We
use this convention in the next example.
Example 2.7.8. Let
1 n nC1 n
sn D 1 C D
n n
for all n > 0. The sequence fsn g has been presented earlier as Example 2.1.6. We
shall show that it is increasing and bounded above.
86 2 Sequences
X n
n.n 1/ .n j C 1/
D
j D0
j nj
X n
1 1 2 j 1
D 1 1 1
j D0
j n n n
X n
1
j D0
j
X n
1
1C
j D1
2 1
j
X
n1
1
D 1C
j D0
2j
1 2n
1
D 1C
1 12
< 1C2
D 3:
Hence the sequence fsn g is bounded above by 3. Moreover for all n > 0 we have
X
nC1
1 1 2 j 1
snC1 D 1 1 1
j D0
j nC1 nC1 nC1
X n
1 1 2 j 1
> 1 1 1
j D0
j nC1 nC1 nC1
X n
1 1 2 j 1
1 1 1
j D0
j n n n
D sn ;
1 X 1
n1
1
sn 1 C 1 C C C
2 6 j D3 2j
X
n1
1 1 1
D 1C j
C
j D0
2 4 6
1
< 1C2
12
35
D :
12
because the sequence f.1 C 1=n/n g is increasing and converges to e. Therefore fsn g
is a bounded sequence, as required. t
u
2.7 Monotonic Sequences 89
Since f.1 C x=n/n g is a nondecreasing sequence of positive terms for n > jxj, it
follows that e x > 0 for all x 2 R. Note also that e 0 D 1 and e 1 D e.
Example 2.7.9. For all positive integers n define
X
n
xj
tn D ;
j D0
j
X n
xj 1 2 j 1
sn D 1 1 1
j D0
j n n n
X
n
xj
j D0
j
D tn :
X m
xj 1 2 j 1
> 1 1 1 :
j D0
j n n n
Hence
x n
e x D lim 1C
n!1 n
Xx
m j
1
2
j 1
lim 1 1 1
n!1
j D0
j n n n
X
m
xj
D
j D0
j
D tm :
90 2 Sequences
Thus we have sm tm e x for all positive integers m, and so it follows from the
sandwich theorem that
lim tn D e x :
n!1
4
Since ftn g is an increasing sequence when x > 0, we find that
ex > 1 C x > 1
Y
n X
n
.1 C aj / 1 C aj :
j D1 j D1
Proof. The result certainly holds if n D 1. Suppose therefore that n > 1 and that
the lemma holds for sets of fewer than n numbers satisfying the hypotheses. The
hypotheses imply that 1 C a1 0 and a1 aj > 0 for all j > 1. Therefore, using the
inductive hypothesis, we find that
Y
n Y
n
.1 C aj / D .1 C a1 / .1 C aj /
j D1 j D2
0 1
X
n
.1 C a1 / @1 C aj A
j D2
X
n X
n
D 1 C a1 C aj C a1 aj
j D2 j D2
X
n
> 1C aj ;
j D1
as required. t
u
Corollary 2.7.5. For each x 1 and each nonnegative integer n, we have
.1 C x/n 1 C nx:
2.7 Monotonic Sequences 91
Proof. We have already seen in Example 1.3.1 that this inequality holds for all
x 0. Suppose that 1 x < 0. The result holds for n D 0 if we take 00 D 1. For
all n > 0 it follows immediately from the lemma by taking aj D x for all j n.
t
u
Theorem 2.7.6. For all positive integers n define
X
n
xj
tn D ;
j D0
j
X n j 1
Y ! j
k jxj
1 1
j D2
n j
kD1
j 1
!!
X
n X k jxjj
1 1
j D2
n j
kD1
j 1
!
X
n X k jxjj
D
j D2
n j
kD1
X n
j.j 1/ jxjj
D
j D2
2n j
x 2 X jxjj 2
n
D
2n j D2 .j 2/
x 2 X jxjj
n2
D
2n j D0 j
92 2 Sequences
lim jtn sn j D 0;
n!1
: j ;
j D0
converges. Therefore
lim .tn sn / D 0
n!1
and so
t
u
We can also show that e is irrational. First let x D 1 and let m and n be positive
integers with n > m. Then e tm > e tn 0 and
X
n
1
tn tm D
j DmC1
j
1 Xn
1
D
.m C 1/ j DmC1 .m C 2/.m C 3/ j
1 X
nm1
1
D
.m C 1/ j D0 .m C 2/.m C 3/ .m C j C 1/
1 X
nm1
1
.m C 1/ j D0 .m C 1/j
1 1
<
.m C 1/ 1 mC1
1
1 mC1
D
.m C 1/ m
1
D :
mm
2.7 Monotonic Sequences 93
Thus
1
e tm D e tn C tn tm < e tn C ;
mm
and taking the limit as n ! 1 yields
1
0 < e tm : (2.11)
mm
If e were rational, then we could write e D p=q for some positive integers p
and q. Moreover e is not an integer since 2 < e < 3, and so q > 1. Putting m D q
in (2.11), we obtain
1
0 < q.e tq / < 1:
q
But
qe D p.q 1/
by assumption, and
X q
q
qtq D ;
j D0
j
snC1 .n C 1/ nn
D
sn .n C 1/nC1 n
n
n
D
nC1
1
D n
1 C n1
1
!
e
as n ! 1. Since e > 1, it follows from Theorem 2.5.4 that the sequence fsn g
converges to 0. 4
94 2 Sequences
Y n
j C1 j .n C 1/n
D
j D1
j n
x x n x m 1=n
1C 1C 2 D 1C e 1=n :
n n m
Using Example 2.5.2, we have
x
lim 1C D 1 D lim e 1=n :
n!1 n n!1
1
e x D :
ex
Proof. This result follows from the lemma by taking limits of both sides of the
identity
n
x n x n x2
1C 1 D 1 2 :
n n n
t
u
Thus e x e x D 1. This equation is a special case of the following law governing
exponents. Its proof is an adaptation of an argument due to Kemeny [9].
Theorem 2.7.9. For each x; y 2 R we have
e x e y D e xCy :
Note that the sequence fsn g converges to e x e y e z , and therefore so does the
subsequence fs2n1 g.
Suppose that xyz > 0. Then
xyz xyz
;
.2n 1/ 2 .2n 1/3
and so
2n1
xy C xz C yz xy C xz C yz C xyz 2n1
1C < s2n1 1 C ;
.2n 1/2 .2n 1/2
96 2 Sequences
since 2n 1 is odd. Therefore Lemma 2.7.7 and the sandwich theorem show that
lim s2n1 D 1:
n!1
Consequently,
e x e y e z D 1;
and so
1
ex ey D D e z D e xCy :
ez
Thus we have confirmed the theorem if xyz > 0.
We now distinguish three cases.
Case 1: Suppose x < 0 and y < 0. Then z > 0, so that xyz > 0. We conclude
that
e x e y D e xCy
in this case.
Case 2: If x > 0 and y > 0, then by case 1 we have
e x e y D e .xCy/ :
Thus
1 1
D ;
ex ey e xCy
and the result follows.
Case 3: If xy < 0, then we may assume without loss of generality that x < 0 < y.
Case 3.1: If x < y, then z < 0, so that xyz > 0.
Case 3.2: If x D y, then
e x e y D e x e x D 1 D e 0 D e xCy :
Case 3.3: If x > y, then z > 0. It therefore follows from case 1 that
e z e y D e x ;
and so
e x e y D e z D e xCy :
t
u
2.7 Monotonic Sequences 97
The function given by e x for all real x is called the exponential function and
often denoted by exp. Here are some of its properties.
Theorem 2.7.10. Let fan g be a sequence of real numbers.
1. If limn!1 an D 1, then
lim e an D 1:
n!1
2. If limn!1 an D a, then
lim e an D e a :
n!1
e an 1
lim D 1:
n!1 an
ex > 1 C x
for all x > 0. Choose M > 1. Since limn!1 an D 1, there exists N such that
an > M 1 > 0 for each integer n N . Thus
e an > 1 C an > M
lim e an D 1:
n!1
Since fan g is convergent, it is bounded. Let jan j < M for all n. For all positive
integers m and n we have
m j m j
X an X an
1 D
j D0 j j D1 j
X
m
jan jj
j D1
j
X
m
jan jj 1
D jan j
j D1
j
98 2 Sequences
X m
M j 1
jan j
j D1
.j 1/
X
m1
Mj
D jan j :
j D0
j
0 je an 1j jan je M :
lim je an 1j D 0;
n!1
whence
lim .e an 1/ D 0
n!1
3. As fan g converges, there exists M such that jan j < M for all n. Thus for all
integers m > 1 and n > 0 we have
0 1
1 X m
a
j
1 X m
a
j
@ n
A
1 1 D
n
1
a
n j D0 j an j D1 j
m j 1
X an
D 1
j D1 j
m1
X j
an
D 1
j D0 .j C 1/
m1
X a
j
D
n
j D1 .j C 1/
2.7 Monotonic Sequences 99
X
m1
jan jj 1
jan j
j D1
.j C 1/
X
m1
M j 1
< jan j
j D1
.j 1/
X
m2
Mj
D jan j :
j D0
j
We now complete the proof by an argument similar to that used in part (2): Taking
limits as m ! 1 yields
an
e 1
0 1 jan je M ;
a n
e xCan e x
lim D ex :
n!1 an
e xCan e x e x .e an 1/
lim D lim
n!1 an n!1 an
D ex :
t
u
Theorem 2.7.12. The exponential function is increasing.
Proof. If y > x, then y x > 0, so that e yx > 1; hence
e y D e yx e x > e x
as e x > 0. t
u
We have already shown that every bounded sequence has a convergent subse-
quence. We conclude this section by demonstrating that such a subsequence can be
chosen to be monotonic.
100 2 Sequences
1 3
sn 1 C
n 2
for all n 2, we see that 2 is a peak index. Similarly, 3 is not a peak index but 4 is.
Theorem 2.7.13. Every real sequence has a monotonic subsequence.
Proof. Let P be the set of peak indices for a real sequence fsn g.
Case 1: If P is finite, it must have an upper bound, N . We shall find an increasing
subsequence fskn g of fsn g. Let k1 D N C 1. Then k1 is not a peak index, and so
there exists k2 > k1 such that sk2 > sk1 . For some integer n > 1 we may now
assume the existence of integers k1 ; k2 ; : : : ; kn such that kj < kl and skj < skl
whenever j < l. Since kn > N , kn is not a peak index and so there exists knC1 >
kn such that sknC1 > skn . This observation completes the inductive definition of
the increasing subsequence fskn g of fsn g.
Case 2: If P is infinite, then for each positive integer n we may define kn to be
the nth peak index. It follows that sknC1 skn for all n 2 N, so that fskn g is a
nonincreasing subsequence of fsn g.
t
u
Exercises 2.7.
1. Let fan g and fbn g be sequences of positive numbers, and for all positive integers
m and n define
X
m
pn D aj nj
j D0
and
X
m
qn D b j nj :
j D0
(b) Show that if bm > am , then there exists N such that pn =qn < 1 for all
n N.
(c) Show that if bm < am , then there exists N such that pn =qn > 1 for all
n N.
2.7 Monotonic Sequences 101
xn2 C 3
xnC1 D
4
for all n > 0.
(a) Show that the sequence is nonincreasing if 1 < x1 < 3.
(b) Show that the sequence is nondecreasing if 0 x1 < 1 or x1 > 3.
(c) For each of the sequences in (a) or (b), find its limit if it converges.
(d) Study the convergence of the sequence for the following cases: x1 D 1,
x1 D 3, x1 < 0.
p
6. Let x1 D b and xnC1 D axn for all n > 0, where a > 0 and b > 0. Show that
fxn g converges and find its limit.
7. Let x1 D a and xnC1 D a C xn2 for all n > 0, where a 0. Discuss the
convergence of the sequence fxn g.
8. Let fan g be increasing and fbn g decreasing, and suppose that
1
0 bn an
2n
6.1 C xn /
xnC1 D
7 C xn
for all n > 0. Discuss the convergence of the sequence. (Consider the cases
c 2 and 0 < c < 2 separately.)
11. Consider a sequence given by
3xn C 1
xnC1 D
xn C 3
for all n > 0. Study the convergence of the sequence for the cases x1 1,
1 < x1 < 1, x1 D 1, and x1 > 1.
102 2 Sequences
X
2n
1
xn D :
k
kDnC1
Show that fxn g is nondecreasing and converges to a limit between 1=2 and 1.
14. Let x1 D 1 and
4 C 3xn
xnC1 D
3 C 2xn
for all n > 0. Show that the sequence fxn g is nondecreasing and bounded above
by 3=2, andp find its limit.
15. Let x1 D 2 and
q
p
xnC1 D 2C xn
and
22n1 .n 1/n
.2n/
are monotonic
p andpfind their limits.
17. Let k x1 < 3 k, where k > 0, and for each n > 0 define
1 k
xnC1 D xn C :
2 xn
2.7 Monotonic Sequences 103
Show that
p !2n
p p x1 k
xnC1 k 2 k p
2 k
p
and hence that the sequence converges to k.
18. Let h0 and g0 be positive numbers and let a0 D 1= h0 and b0 D 1=g0 . For all
n 0 define
2
hnC1 D ;
1
hn
C 1
gn
p
gnC1 D hn gn ;
an C bn
anC1 D ;
2
and
p
bnC1 D an bn :
Show that hn D 1=an and gn D 1=bn for all n and hence that
1
lim hn D lim gn D :
n!1 n!1 1
agm ; 1
h0 g0
and
2
ynC1 D 1
xnC1
C 1
yn
for all n 1. Prove that xn < xnC1 < ynC1 < yn for all n and deduce that both
sequences fxn g and fyn g converge to the same limit L, where 1=2 < L < 1.
20. Let x1 > 0 and y1 > 0, and define
x n C yn
xnC1 D
2
and
p
ynC1 D xnC1 yn
104 2 Sequences
for all n 1. Prove that the sequences fxn g and fyn g are monotonic and
converge to the same limit.
21. Show that the sequence
( nC1 )
1
1C
n
In the previous section we saw that a monotonic sequence is convergent if and only
if it is bounded. Specifically, if the sequence fsn g is nondecreasing and unbounded,
then limn!1 sn D 1, and if it is nonincreasing and unbounded, then limn!1 sn D
1. However it may be that a divergent sequence is bounded. An example is
furnished by the sequence f.1/n g. It may also be that limn!1 sn D 1, but
fsn g is not monotonic.
Example 2.8.1. Let
sn D n C 2.1/n
s2n D 2n C 2;
s2nC1 D 2n C 1 2 D 2n 1;
and
s2nC2 D 2n C 2 C 2 D 2n C 4:
sn n 2;
and so
lim sn D 1:
n!1
4
The next proposition is easy to establish.
2.8 Unbounded Sequences 105
Proposition 2.8.1. Suppose fsn g and ftn g are sequences and there exists N such
that tn sn for all n N .
1. If sn ! 1 as n ! 1, then tn ! 1 as n ! 1.
2. If tn ! 1 as n ! 1, then sn ! 1 as n ! 1.
Proof. The first part is immediate from Definition 2.7.1 and the fact that if, given
any number M , there exists N1 such that sn > M for all n N1 , then tn sn > M
for all n maxfN; N1 g. The proof of the second part is similar. t
u
At this point the reader may be wondering to what extent the symbols 1 and 1
may be treated as if they were numbers. We now attempt to answer that question by
studying the properties of limits of sums and products of unbounded sequences.
For sums we have the following theorem.
Theorem 2.8.2. Let fsn g and ftn g be sequences and L a number. If sn ! 1 and
either tn ! 1 or tn ! L as n ! 1, then sn C tn ! 1.
Proof. Choose a number M , and suppose first that tn ! 1. There exists N such
that sn > M and tn > M for all n N . Then sn C tn > 2M for all such n, as
required.
If tn ! L, then there exists N1 such that jtn Lj < 1 for all n N1 . For each
such n it follows that
tn > L 1:
sn > M L C 1
Suppose on the other hand that tn ! L. There exists N1 such that tn > L=2
for all n N1 . There also exists N such that sn > 2M=L for all n N . For all
n maxfN; N1 g it therefore follows that
2M L
sn tn > D M:
L 2
t
u
Again we use this theorem as a pretext for extending Theorem 2.3.7, this time by
writing 11 D 1L D L1 D 1, where L > 0. A corresponding result may be
proved in which sn ! 1: Simply apply the theorem to the sequence fsn g. Thus
we also write .1/ 1 D 1 .1/ D .1/ L D L .1/ D 1. Similarly,
replacing tn by tn gives the additional equations 1 .L/ D .L/ 1 D 1
and .1/ .1/ D .1/ .L/ D .L/ .1/ D 1.
On the other hand, we cannot ascribe meanings to 10 or .1/0. For example,
let k 0 and for all n > 0 define sn D kn and tn D 1=n. Then sn approaches 1 or
1 and tn approaches 0, but sn tn D k.
We prepare ourselves for the incorporation of division into this framework by
proving the following theorem.
Theorem 2.8.4. Let fsn g be a sequence of positive numbers.
1. We have sn ! 0 as n ! 1 if and only if 1=sn ! 1 as n ! 1.
2. Similarly, sn ! 1 as n ! 1 if and only if 1=sn ! 0 as n ! 1.
Proof. 1. Suppose first that sn ! 0 as n ! 1, and choose M > 0. There exists N
such that sn < 1=M for all n N . Thus 1=sn > M for all such n, and we have
proved that 1=sn ! 1 as n ! 1.
Conversely, suppose that 1=sn ! 1 as n ! 1, and choose " > 0. There
exists N such that 1=sn > 1=" for all n N . Hence sn < " for all such n, as
required.
2. Apply part (1) to the sequence f1=sn g.
t
u
The following corollary is immediate.
Corollary 2.8.5. Let fsn g be a sequence of nonzero terms. Then jsn j ! 1 as n !
1 if and only if 1=jsn j ! 0 as n ! 1.
Example 2.8.2. Let fan g be a sequence of real numbers, and suppose that
lim an D 1:
n!1
Then
lim .an / D 1:
n!1
2.8 Unbounded Sequences 107
1
lim e an D lim D 0:
n!1 n!1 e an
4
Example 2.8.3. Let sn D c for all positive integers n, where c is a fixed real
n
number. By Example 2.6.3 the sequence fsn g is convergent if and only if jcj < 1 or
c D 1. In fact,
lim sn D 1
n!1
1
lim D 0:
n!1 c n
4
Example 2.8.4. Let fsn g be a sequence of nonzero real numbers. Theorem 2.5.4
shows that if
snC1
lim D L < 1;
n!1 sn
then
lim sn D 0:
n!1
We turn now to the case where L > 1. By Proposition 2.3.3 there exist numbers
k > 1 and N such that
snC1
s >k
n
for all positive integers p. Since k > 1, we deduce from the previous example that
k p ! 1 as p ! 1, and so
lim jsN Cp j D 1
p!1
lim xn D 1:
n!1
lim xn D lim yn D 1:
n!1 n!1
lim .xn yn /
n!1
Classification: 40A05
3.1 Introduction
The theory of sequences can be combined with the familiar notion of a finite sum
to produce the theory of infinite series. The concept of a series is an attempt
to encapsulate the idea of a sum of infinitely many real or complex numbers.
Applications of series appear in many areas of pure and applied mathematics, and
the study of their properties forms a major part of analysis.
The idea of a series disturbed the ancients. In the fifth century BC, for example,
Zeno argued that it is impossible to walk from one place to another. For the walker
must first travel half the distance, then half the remaining distance, then half the
distance left after that, and so forth. The journey can never be completed, because
after each stage there is still some distance to go. The inference is that motion is
impossible!
Where did Zeno go wrong? He argued that in the first stage of the walk 1/2 of
the total distance must be covered, in the next stage 1/4 of the total distance, in the
third stage 1/8 of the distance, and so on. Zeno was thus attempting to add infinitely
many numbers, and concluded that the sum would be infinite. The absurdity of his
conclusion suggests that the sum of infinitely many numbers should not necessarily
be infinite. But at this juncture it is not really clear precisely what is meant by the
sum of infinitely many numbers. For us to be able to make progress, this notion
must be clarified. Specifically, to resolve Zenos paradox, we need a definition that
enables us to conclude that
1 1 1
C C C D 1: (3.1)
2 4 8
This problem is resolved through what is called the sequence of partial sums. In
other words, we construct a sequence whose first term is the first of the infinite set
of numbers to be added up, whose second term is the sum of the first two numbers to
be added up, and so forth. In general, the sum of the first n numbers in our infinite
set gives the nth term of the sequence of partial sums. The infinite sum, which is
called a series, is then defined as the limit of the sequence of partial sums, provided
of course that the limit exists.
For example, let us returnP to Zenos paradox. The sum of the first n terms on the
left-hand side of Eq. (3.1) is nj D1 1=2j . In this case the sequence of partial sums is
P
therefore f nj D1 1=2j gn1 . We now show that this sequence indeed converges to 1.
Setting a D 1=2 in Corollary 1.5.6, we have
X n
1 X
n1
1
j
D j C1
j D1
2 j D0
2
1X 1
n1
D
2 j D0 2j
!
1 1 2n
1
D
2 1 12
1
D 1 :
2n
P
Thus the sequence f nj D1 1=2j g converges to 1, as desired.
The use of series troubled many mathematicians in the 18th century. The
construction of an acceptable, rigorous theory took many decades and involved such
mathematicians as Weierstrass, Bolzano, Fourier, Cauchy, Dirichlet, Riemann, and
Dedekind. The theory did not reach its current form until the end of the 19th century.
Let us now formalize the concept of a series. Let fzn gn0 be a sequence of real or
complex numbers, and for each n let
X
n
Sn D zj :
j D0
or
z0 C z1 C :
In other words,
1
X X
n
zj D lim zj :
n!1
j D0 j D0
As in the case of finite sums, we note that the index j is a dummy variable in the
expression (3.2). Thus, if k is another index, then
1
X 1
X
zj D zk :
j D0 kD0
for each integer m for which zm ; zmC1 ; : : : are defined. It is also evident that if m r,
then
1
X X
r 1
X
zj D zj C zj :
j Dm j Dm j DrC1
In writing this equation we admit the possibility that both series diverge. However,
if one of them converges, then so does the other. When testing these series for
convergence, it therefore suffices to test just one of them.
It is seldom easy to determine the number, if any, to which a given series
converges. However, we do have the following theorem, which follows easily from
our earlier work on finite sums.
112 3 Series
by Corollary 1.5.6. Using the results of Examples 2.2.4 and 2.6.3, we find that the
series converges to 1=.1 z/ if jzj < 1 but diverges if jzj 1. t
u
The series considered in Theorem 3.2.1 is said to be geometric.
Example 3.2.1. The repeating decimal 0:22 : : : can be written as
1
X
0:2 C 0:02 C 0:002 C : : : D 2 aj
j D1
0 1
1
X
D 2@ aj 1A ;
j D0
4
The telescoping property can also sometimes be used to deduce the number to
which a given series converges. Specifically, we have the following result.
Theorem 3.2.2. The series
1
X
.zj C1 zj /
j D0
3.2 Definition of a Series 113
converges if and only if the sequence fzn g converges, and in that case
1
X
.zj C1 zj / D lim zn z0 :
n!1
j D0
X
n
.zj C1 zj / D znC1 z0
j D0
1 1 1
D
j.j C 1/ j j C1
telescopes. It converges to 1 0 D 1. 4
Example 3.2.3. Let a and b be complex numbers, and let z0 D a, z1 D b, and
zn1 C zn2
zn D
2
for all n 2. In Example 2.6.1 we showed that this sequence is Cauchy and
converges to .a C 2b/=3. We now give another way to find its limit.
Note first that
1
zn zn1 D .zn1 zn2 /
2
114 3 Series
X1 X1
1 n ba 2.b a/
.zn zn1 / D .b a/ D 1 D :
nD1 nD0
2 1 2 3
2.b a/
lim zn z0 D ;
n!1 3
whence
2.b a/ a C 2b
lim zn D a C D :
n!1 3 3
4
P1
Suppose a series j D1 zj converges to some number S . Then, by definition, the
sequence fSn g also converges to S , where
X
n
Sn D zj
j D1
for each n > 0. So does the subsequence fStn g, where ftn g is any increasing
sequence of positive integers. (See Theorem 2.4.1.) Now
X
tn X
n1 tX
kC1
Stn D zj D zj ;
j D1 kD0 j Dtk C1
1
X 1
X X
tkC1
zj D zj : (3.3)
j D1 kD0 j Dtk C1
This result shows that the terms of a convergent series may be grouped together by
means of parentheses without affecting the convergence of the series. In Eq. (3.3)
we group together first the terms
z1 ; z2 ; : : : ; zt1 ;
3.2 Definition of a Series 115
On the other hand, if some terms are already grouped together, then removal of the
parentheses used to group them may change a convergent series into a divergent
one. For example,
1
X 1
X
.1 1/ D 0 D 0;
j D0 j D0
which diverges because its partial sums alternate between 1 and 0. However, if the
series with the parentheses removed does converge to a number S , then the original
series must also converge to S , as we have just seen.
There is one important circumstance under which the removal of parentheses
does not alter the convergence of the series: let us suppose that aj 0 for each j .
Assuming that the series on the right-hand side of (3.3) converges when zj D aj
for all j > 0, by definition the sequence fStn g also converges to some number L,
where
X
n
Sn D aj
j D1
for each n > 0. Hence fStn g is bounded above. Now the sequences fSn g and fStn g
are nondecreasing, since aj 0 for each j . Therefore both sequences are bounded
above by L because for each n there exists an integer k such that n tk , and so
Sn Stk L. Being nondecreasing, P the sequence fSn g converges to some number
M L. In other words, the series 1 j D1 aj converges to M . But we also have
L M because Stk Sn M for all n tk . Thus we have proved the following
fact.
Theorem 3.2.3. Suppose that aj 0 for each j . If the series
1
X X
tkC1
aj
kD0 j Dtk C1
P1
converges to some number L, then so does j D1 aj .
116 3 Series
X1
1 1
j D0
xj xj C1
converges.
3. A decimal number is said to be repeating if there is a finite sequence of digits
that is repeated indefinitely.
(a) Express the repeating decimal 1:2323 : : : as a fraction.
(b) Show that every repeating decimal number is rational.
4. For all n 2 N let
X n
1
Sn D :
j D1
j
Show that
1
S2n Sn
2
and hence that fSn g is not Cauchy.
5. Let fxP
n g be a sequence of positive terms, and suppose that fSn g diverges, where
Sn D nj D0 xj for all n.
(a) Show that
8 9
<X n
xj =
: S2 ;
j D0 j
6. Show that
1
X 1
;
j D1
j.j C 1/ .j C k/
P1
8. Let fxn g be a sequence of positive terms. Show that j D0 xj converges if and
P
only if the sequence f nj D0 xj g is bounded.
Since the behavior of a series is determined by its sequence of partial sums, many
theorems about series can be derived from the analogous theorems about sequences.
For instance, our next theorem follows immediately from Theorem 1.5.2.
P P1
Theorem 3.3.1. Let 1 j D0 wj and j D0 zj be convergent series. Then, for all
numbers s and t ,
1
X 1
X 1
X
.swj C t zj / D s wj C t; zj : (3.4)
j D0 j D0 j D0
Note that the convergence of the series on the left-hand side of Eq. (3.4)
constitutes part of the conclusion of the theorem. However, as for sequences, the
series on the left-hand side may converge while the series on the right do not. For
instance, for s D t D 1 the series on the right-hand side both diverge if wj D 1 and
zj D 1 for all j , but the series on the left-hand side converges to 0.
The following theorem also is immediate from Theorem 2.3.11 and the definition
of series in terms of sequences of partial sums.
P P1
Theorem 3.3.2. A series 1 j D0 zj converges if and only if the series j D0 Re .zj /
P1
and j D0 Im .zj / both converge.
The following result gives a necessary condition for a series to be convergent.
P
Theorem 3.3.3. If the series 1 j D0 zj converges, then limn!1 zn D 0.
then
so that
t
u
The contrapositive of the theorem above is particularly useful in establishing the
divergence of a series. It is known as the nth-term test.
CorollaryP3.3.4 (nth-Term Test). If limn!1 zn does not exist or is nonzero, then
the series 1j D0 zj diverges.
P
For example, if jzj 1, then the series 1 j
j D0 z must diverge since
X1
1
j D1
j
diverges. A proof has been given in Example 2.6.2. We now present an alternative
proof. P
Let Sn D nj D1 1=j for all positive integers n. We use induction to show that
nC1
S2n >
2
for all nonnegative integers n. It will then follow that fSn g diverges, as it has a
divergent subsequence. Since S1 D 1 > 1=2, the required inequality certainly holds
for n D 0. We may therefore assume that n > 0 and that the result holds for n 1.
Then
3.3 Elementary Properties of Series 119
n
X2
1
S2n D
j D1
j
n1
2X n
1 X
2
1
D C
j D1
j j
j D2n1 C1
n
X
2
1
S2n1 C
2n
j D2n1 C1
n
n 1 X
2
> C n 1
2 2
j D2n1 C1
n 2n 2n1
D C
2 2n
nC1
D :
2
4
Remark. For every positive integer n we have
n
X2
1
S2n D
j D1
j
n
X2
1
D 1C
j D2
j
kC1
X
n1 2X
1
D 1C
j
kD0 j D2k C1
kC1
X
n1 2X
1
< 1C
2k
kD0 j D2k C1
kC1
X
n1
1
2X
D 1C 1
2k
kD0 j D2k C1
X
n1 k
2
D 1C
2k
kD0
120 3 Series
X
n1
D 1C 1
kD0
D 1 C n:
X1
1
z
j D0 j
diverges.
3. Is
1
X
.1/j 21=j
j D1
convergent?P
4. Show that 1 j D1 aj converges if and only if a D 0.
5. Prove that
1
X j2
j D0
7j 2C 11
diverges.
6. Evaluate the following sums:
P
(a) 1 .1/j C2j
j D0 3j I
P1
(b) j D1 52j j.j1C1/ :
P1
7. Let fxn g be a decreasing sequence of positive terms and suppose that j D0 xj
converges. Show that
lim nxn D 0:
n!1
This result is known as Pringsheims theorem. [Hint: Define m D n=2 for even
n and m D .n C 1/=2 for odd n. Then
Sn Sm nxn :
3.4 The Comparison Test 121
Often it is difficult or impossible to compute the partial sums for a series, and so it
is necessary to have some tests for convergence that do not depend on knowledge
of the partial sums. Many such tests require the series to contain only nonnegative
terms (which of course must be real). We devote the next few sections to such tests.
One of them is the comparison test, in which we compare the terms of a given series
with the corresponding terms of a series whose behavior is already known.
P P1
Theorem 3.4.1 (Comparison Test). Let 1 j D0 aj and j D0 bj be two series of
nonnegative terms, and suppose that aj bj for all j greater than or equal to
some nonnegative integer N . If the latter series converges, then so does the former.
P
Proof. We may assume that N D 0, since the series 1 j D0 bj converges if and
P1 P1 P1
only if j DN bj does so, and similarly for j D0 aj . Since the series j D0 bj
P
converges, so does the sequence f nj D0 bj g of partial sums. This is a nondecreasing
sequence since bj 0 for all j . If its limit is L then, since aj bj for all j , it
follows that
X
n X
n
aj bj L
j D0 j D0
P
for each n. Thus the nondecreasing sequence f nj D0 aj g is bounded above and
P1
hence converges. We conclude that the series j D0 aj converges. t
u
P1 P1
Corollary 3.4.2. Let j D0 aj and j D0 bj be series of nonnegative terms, and
suppose that aj bj whenever j N 0. If the former series diverges, then so
does the latter.
Remark. If a series of nonnegative terms converges, then the corresponding
sequence of partial sums is convergent and therefore bounded. Conversely, if
the sequence of partial sums is bounded, then, being nondecreasing, it converges
and so the series is convergent.
X1
1
jj
:
j D1
3
122 3 Series
P1aj D 1=.3 j / and bj D 1=3 for each j 1. Then aj bj for each j . But
j j
Set
j D0 bj is the convergent geometric series
1 j
X 1
:
j D0
3
P1 P1
Thus j D1 bj converges, and therefore so does j D1 aj by the comparison
test. 4
Exercises 3.3. 1. Show that
1
X 1
p
j D1
ej j
converges.
2. Show that
X1
1
p
j D1
j
diverges. P
3. Let fxn g be a sequence of positive terms and suppose that 1 j D0 xj converges.
P1 2
Show that j D0 xj converges.
P
4. Let fxn g be a sequence of positive terms. Show that 1 j D0 xj converges if and
only if
1
X xj
j D0
1 C xj
converges. P
5. Show that if 1 2
j D0 xj converges, then so does
1
X jxj j
:
j D1
j
6. Suppose that 0 < anC1 an for all n, where < 1. Show that
1
X a0
aj :
j D0
1
P1
7. Let fxn g be a sequence of positive terms. Show that if j D0 xj converges, then
so does
3.5 Cauchys Condensation Test 123
1
X p
xj xj C1 :
j D0
X1
xj
m
S
j D0 j
converges if and only if m > 1. (See question 5 at the end of Sect. 3.2.)
9. Let fan g be an increasing sequence of positive terms. Show that
X1
aj
1
j D0
aj C1
xn D anC1 an :/
P
11. Let fyn g be a bounded sequence of positive terms. Suppose that 1 x is
P1 j D0 j
a convergent series of nonnegative terms. Show that the series j D0 xj yj is
convergent.
1
X
2k a2k
kD0
a1 C .a2 C a2 / C .a4 C a4 C a4 C a4 / C :
124 3 Series
Thus
X1
2nC1 1
kC1
X
n 2X
aj D aj :
j D1 kD0 j D2k
X1
2kC1 X1
2kC1
aj a2k
j D2k j D2k
X1
2kC1
D a2k 1
j D2k
D 2k a2k :
It therefore follows from the comparison test and Theorem 3.2.3, because of the
assumption
P that aj 0 for all j , that if the condensed series converges, then so
does 1 j D1 aj .
On the other hand, for all n > 0 we can also write
n
X
2
aj D a1 C a2 C .a3 C a4 / C : : : C .a2n1 C1 C a2n1 C2 C : : : C a2n /
j D1
k
X
n X
2
D a1 C aj :
kD1 j D2k1 C1
D 2k1 a2k
1 k
D 2 a2k ;
2
and so
k
X
n X
n X
2
2 a2k 2
k
aj :
kD1 kD1 j D2k1 C1
P1
If the series j D1 aj converges, then so does
1
X X
2k
2aj ;
kD1 j D2k1 C1
and consequently the comparison test shows that the condensed series also con-
verges. t
u
Remark. We observe from the proof above that if
1
X
aj D S
j D1
and
1
X
2j a2j D T;
j D0
then S T 2S .
The next theorem, which generalizes Example 3.3.1, is an application of the
condensation test.
Theorem 3.5.2. For every rational number p, the series
X1
1
j p
j D1
This is a geometric series and converges if and only if 1=2p1 < 1. Hence the
condensed series, and therefore the given series, converges if and only if p 1 > 0,
as required. t
u
The series given in Theorem 3.5.2 is generally referred to as the p-series.
Exercises 3.4. 1. Using the knowledge gained so far, discuss the convergence of
the following series:
P1
(a) p1
j D2 j j 1 ;
P1 1
(b) j D0 aj2 Cb , where a > 0 and b > 0;
P1 1
(c) j D0 j .
Let fan g be a nonincreasing sequence of nonnegative terms. Prove that the series
2. P
1
j D0 aj converges if and only if the series
1
X
3j a3j
j D0
converges. (This result is in fact true if we replace 3 by any integer greater than
2 [12].) P
3. (a) The following result is a special case of a theorem in [1]. Let 1 j D1 aj be a
series of positive terms. Suppose that the set
maxfa2n ; a2nC1 g
n 2 N
an
is bounded below and above by l and L, respectively. Then the series
converges if L < 1=2 and diverges if l > 1=2.
Fill in the details in the following brief sketch of the proof. Suppose that
L < 1=2. As in Cauchys condensation test,
X1
2nC1 X
n
S2nC1 1 D aj D a1 C Tk ;
j D1 kD1
where
X1
2kC1
Tk D aj
j D2k
k 1
2X
D .a2j C a2j C1 /
j D2k1
2LTk1
.2L/k a1 :
3.6 The Limit Comparison Test 127
Deduce that the sequence fS2nC1 1 g converges, and hence that fSn g does so.
Similarly, prove the theorem for the case where l > 1=2.
(b) Use the theorem of part (a) to prove the convergence of the following
series:
P
i. 1 1
j D1 p for all rational p > 1;
P1 j .2j 1/
ii. j D1 22j 1 .j 1/.j C1/ .
[Hint: If an denotes the nth term of the series, then an > 1=.2n/.]
Our next test for convergence is often easier to apply than the comparison test. First,
however, we require some new notation.
Definition 3.6.1. Let fan g and fbn g be sequences of positive terms. Then an and bn
are said to be of the same order of magnitude if there is a positive number L such
that
an
lim D L:
n!1 bn
The basic intuitive idea is that if an << bn , then bn increases with n much faster
(or decreases much more slowly) than does an . Theorem 2.8.4 shows that an << bn
if and only if bn >> an . Moreover if fcn g is another sequence of positive terms
and an << bn << cn , then an << cn . This result follows immediately from the
observation that
an an bn
D :
cn b n cn
Proof. These results are immediate from Examples 2.5.5, 2.5.6, and 2.7.10. 4
We are now ready for our next convergence test, which is known as the limit
comparison test.
P P1
Theorem 3.6.1 (Limit Comparison Test). Let 1 j D0 aj and j D0 bj be series of
positive terms.
1. If an Lbn for some
P L > 0, then both series converge
P1or both diverge.
2. If an << bn and 1 b converges, then so does a .
Pj1D0 j P1j D0 j
3. If an >> bn and j D0 bj diverges, then so does j D0 aj .
Proof. 1. We are given that
an
lim D L > 0:
n!1 bn
Proposition 2.3.5 shows the existence of a number N1 such that an =bn > L=2
for all n N1 . Similarly, there exists N2 such that an =bn < L C L=2 D 3L=2
for all n N2 . Take N D maxfN1 ; N2 g and choose n N . Then
L an 3L
< < I
2 bn 2
hence
3Lbn
an < :
2
P1
We now apply the comparison test. Suppose j D0 bj is convergent. By
Theorem 3.3.1 the series
1
X 3Lbj
j D0
2
3.6 The Limit Comparison Test 129
P
also converges, whence 1 j D0 aj converges by the comparison test. Similarly, if
P1 P1
a
j D0 j converges, then so does b
j D0 j .
2. Suppose
an
lim D 0:
n!1 bn
for all n N . HenceP an < bn for all nP N , and we conclude from the
comparison test that 1 a
j D0 j converges if 1
j D0 bj does so.
3. This statement is equivalent to the previous one. u
t
Example 3.6.2. Test the series
1
X 1
j D0
.j C 1/.j C 2/
for convergence.
Solution. Let
1
an D
.n C 1/.n C 2/
for all n > 0. We show that an has the same order of magnitude as 1=n2 .
Accordingly, we put
1
bn D
n2
for all n > 0. Then
an n2
D !1
bn .n C 1/.n C 2/
P
as n ! 1. Thus an bn . As 1 j D1 bj converges by Theorem 3.5.2, so does
P1
j D0 aj by the limit comparison test. 4
130 3 Series
for convergence.
Solution. For all n 0 let
p p
an D . n C 1 n/2
p p p p !2
. n C 1 n/. n C 1 C n/
D p p
nC1C n
1
D p p ;
. n C 1 C n/2
and let
1
bn D
n
for all n > 0. Since
p p
bn . n C 1 C n/2
D
an n
p
2n C 1 C 2 n.n C 1/
D
n
r
1 1
D 2C C2 1C
n n
!4
P
as n ! 1, it follows that an bn =4. As 1 j D1 bj is the divergent harmonic series,
P1
j D0 aj diverges by the limit comparison test. 4
Example 3.6.4. Test the series
1
X 1
1
:
j D1 j 1C j
Solution. Taking
1
an D
1C n1
n
3.6 The Limit Comparison Test 131
and
1
bn D
n
for all n > 0, we have
1
bn n1C n
D D n1=n ! 1
an n
P P1
as n ! 1. Since 1 j D1 bj diverges, so does j D1 aj .
The reader should compare this result with that of Theorem 3.5.2. 4
Exercises 3.5. 1. Test the convergence of each of the following series:
P1 2j C1
(a) j D0 5j j ;
P1 p p
j C1 j
(b) j D1 j
;
P1 e 1=j
(c) j D1 j 2 ;
P1 1p
(d) p ;
j D3 j 3C j C3
P1 1=j p
(e) j D1 .e 1/ for every rational p [use Theorem 2.7.10(3)];
P1
(f) j D1 .e
1=j
1/p for every rational p;
P1 p
j D0 . j C 1
(g) 2 j /;
P1 p p
j C1 j
(h) p ;
j D1 j.j C1/
P1 1
(i) j D1 j 21=j .
2. Find all integers t such that
1
X 1
p
j D1
j 1Ct t
is convergent.
3. Let a > 0 and b > 0. Find all rational p such that
1
X 1
j D0
.aj C b/p
is convergent.
132 3 Series
lim .n/1=n D 1:
n!1
In order to use the comparison or limit comparison test effectively, we need a supply
of series whose convergence or divergence has already been established. We shall
therefore develop another test which involves only the terms of the series being
tested. Its proof uses the comparison test.
P
Theorem 3.7.1. Let 1 j D0 aj be a series of positive terms and suppose there exist
numbers r and N such that
anC1
r <1
an
Proof. In the first case we have anC1 ran for all n N . It follows by induction
that
aN Cj r j aN
P
for each positive integer j . Now the series 1 j
j D0 aN r converges since 0 P
< r < 1,
P1 1
and so j D0 aN Cj converges also, by the comparison test. Hence j D0 aj
converges.
In the second case we have anC1 an for all n N and the series diverges by
the nth-term test. t
u
3.7 The Ratio Test 133
P1
Corollary 3.7.2 (Ratio Test). Let j D0 aj be a series of positive terms and let
anC1
lim DL
n!1 an
for some number L. Then the series converges if L < 1 and diverges if L > 1.
Proof. If L < 1, then by Proposition 2.3.4 there exist numbers N1 and r < 1 such
that
anC1
<r
an
for all n N1 . The result therefore follows immediately from Theorem 3.7.1 in this
case.
On the other hand, suppose L > 1. There exists N2 such that anC1 =an > 1 for
all n N2 , and again the result follows from Theorem 3.7.1. t
u
Remark. No conclusion can be drawn P when L DP11in the ratio test. For example,
this is the case for both the series 1
j D1 1=j and j D1 1=j 2
, but the former series
diverges whereas the latter converges.
Example 3.7.1. Test the series
X1
.j C 3/2j C1
:
j D0
3j
Solution. Putting
.n C 3/2nC1
an D
3n
for all n 0, we have
anC1 .n C 4/2nC2 3n
D
an 3nC1 .n C 3/2nC1
2.n C 4/
D
3.n C 3/
2
!
3
as n ! 1. Hence the series converges by the ratio test. 4
134 3 Series
X1
x 2j
;
j D0
.2j /
where x 0.
Solution. With
x 2n
an D
.2n/
anC1 1 1
D ! < 1:
1 n
an 1C n e
X1
j
j D1
jj
3.7 The Ratio Test 135
n
lim D 0;
n!1 nn
as required. 4
P1
Exercises 3.6. 1. Let j D0 aj be a series of positive terms. Show that if anC1
an for all n, then the series diverges.
2. Test the convergence of the following series:
P1 j ej P1 .2j /
(a) j D1 j j ; (d) j D1 j j ;
P1 j 2 P1 .j /2
(b) j D1 j ; (e) j D0 .2j / ;
P1 2j j 2 P1 .j /2 3j
(c) j D1 j ; (f) j D0 .2j / .
3. (a) Suppose
P1 n > 0, and anC1 =an bnC1 =bn for all n. Show that
that an > 0, bP
1
j D0 a j converges if j D0 bj does. (Hint: Show that the sequence fan =bn g
is decreasing and use question 11 in the exercises at the end of Sect. 3.4.)
(b) Use part (a) to test the convergence of the following series:
P1 j j
i. j D1 jej j ;
P1 jj
ii. j D1 e j j .
a2n 1
lim <
n!1 an 2
and diverges if
a2nC1 1
lim > :
n!1 an 2
136 3 Series
A somewhat different application of the comparison test gives us another test called
the root test. Again, it is applicable only to series of nonnegative terms. Its proof is
similar to that of the ratio test.
P
Theorem 3.8.1. Let 1 j D0 aj be a series of nonnegative terms, and suppose that
1=n
there exist numbers r and N > 0 such that an r < 1 for all n N . Then the
series converges.
lim an1=n D L
n!1
for some number L. Then the series converges if L < 1 and diverges if L > 1.
1=n
Proof. If L < 1, then there exist numbers N1 > 0 and r < 1 such that an < r for
all n N1 . In this case the result follows immediately from Theorem 3.8.1.
1=n
On the other hand, suppose L > 1. There exists N2 such that an > 1 for all
n N2 . For each such n it follows that an > 1. Hence fan g cannot converge to 0
and the given series diverges. t
u
Remark. P1test, no2 inference may be drawn if L D 1. Consider the
P As in the ratio
series 1 j D1 1=j and j D1 1=j as in the remark following the introduction of the
ratio test. Using the fact that n1=n ! 1 as n ! 1 (Example 2.5.1), we see that
L D 1 for both series, but one series diverges and the other converges.
Example 3.8.1. Test the series
1
X j 2
j
:
j D1
j C1
Solution. Setting
n2
n
an D
nC1
3.8 The Root Test 137
lim an1=n D L:
n!1
Proof. Since an > 0 for all n, it follows that if L is a number then it must be
nonnegative.
Case 1: Suppose L > 0, and choose " 2 .0; L/. There exists N1 such that
anC1
L"< <LC"
an
Suppose that
for some m 2 N. Then, using inequality (3.5) and the fact that L " > 0, we
find that
.L"/mC1 aN1 < .L"/aN1 Cm < aN1 CmC1 < .LC"/aN1 Cm < .LC"/mC1 aN1 :
138 3 Series
Therefore inequality (3.6) holds for all positive integers m, by induction. Any
integer n > N1 can be written as n D N1 C m, where m D n N1 > 0, and so
inequality (3.6) can be rewritten as
aN1 aN1
.L "/n < an < .L C "/n :
.L "/N1 .L C "/N1
Thus,
1=n 1=n
aN1 aN1
.L "/ < an1=n < .L C "/ (3.7)
.L "/N1 .L C "/N1
for all n > N1 , since L " > 0. Denoting the left- and right-hand sides of
inequality (3.7) by sn and tn , respectively, and using the result of Example 2.5.2,
we find that sn ! L " and tn ! L C " as n ! 1. Therefore there exist N2
and N3 such that
and so
lim an1=n D L;
n!1
as required.
Case 2: Suppose L D 0. For every " > 0 there exists N such that
anC1
<"
an
aN Cm < "m aN
3.8 The Root Test 139
for large enough n, and the result follows in this case also.
Case 3: Suppose finally that
anC1
lim D 1;
n!1 an
for all such n. Arguing as in the previous cases, we see by induction that
aN
an > .M C 1/n
.M C 1/N
Letting
1
an D
2nC.1/n
for all n, we find that
(
1
if n is even;
an D 2nC1
1
2n1
if n is odd.
Hence
1
lim an1=n D < 1;
n!1 2
so that the series converges by the root test.
Note that the comparison test could also have been used, since an 1=2n1 for
every n. 4
Exercises 3.7. 1. Prove that
n
lim D e:
n!1 .n/1=n
The ratio test is an application of the comparison test. In fact, it is a special case of
a more general application due to Kummer and Jensen.
P
Theorem 3.9.1 (KummerJensen Test). Let 1 j D0 aj be a series of positive terms
and fbn g a sequence of positive terms. Let
anC1
cn D bn bnC1
an
for all n.
142 3 Series
P
1. If limn!1 cn > 0, then 1 j D0 aj converges.
P
2. If 1 1=b diverges and there exists N such that cn 0 for all n N , then
P1 j D0 j
j D0 aj diverges.
lim cn D L > 0
n!1
and choose r such that 0 < r < L. Then there exists N > 0 such that
anC1
cn D bn bnC1 > r
an
X
n
Sn D aj
j D0
for all n 0. Since aj > 0 for all j , the sequence fSn g of partial sums is
increasing. It therefore suffices to show that it is bounded above. Using (3.8) and
the telescoping property, for all integers m N we have
X
m
r.Sm SN 1 / D r an
nDN
X
m
< .an bn anC1 bnC1 /
nDN
D aN bN amC1 bmC1
< aN bN :
Hence
aN bN
Sm < C SN 1
r
for all such m, and the sequence fSn g is indeed bounded above, as desired.
3.9 The KummerJensen Test 143
2. By hypothesis, we have
an bn anC1 bnC1 0
aN bN
an ;
bn
P1 P1
and the divergence of j D0 1=bj implies that of j D0 aj by the comparison
test. t
u
The ratio test is obtained immediately by putting bn D 1 for all n. In view of
the limit comparison test, the divergence of the harmonic series shows that another
possibility is to have bn D n 1 for all n. We then obtain
anC1
cn D n 1 n
an
anC1
D n 1 1
an
Solution. Writing
m
.2n 1/
an D
22n1 .n 1/n
Thus
anC1
lim D 1;
n!1 an
no
an 0?
divergent
yes or uncertain
no
an +1
divergent convergent an 1?
yes
yes
an is a ratio of Try limit
comparison test divergent by
polynomials? nth term test
no
no
no
yes
Finished
Conclusion?
no
Qj
P1 p
3j C5 j C7 P1 kD1 .kCa1/
(g) j D0 j 3 C3j 3=2 C5 ; (p) j D1 Qj .kCb1/ for a > 0 and b > 0;
kD1
Qj
P1 1C2C:::Cj P1 2
kD1 .3k1/ .3kC1/
2
(h) j D1 j3
; (q) j D1 Qj
4
;
kD1 .3k/
P1 1 P1 .C1/.Cj 1/
(i) j D1 j 3C.1/j ; (r) j D1 j
for every real .
2. For each real define
!
D1
0
and
!
. 1/ . n C 1/
D
n n
converges
P if 0 and diverges if < 0.
3. Let 1 j D0 aj be a series of positive terms and let fbn g be a sequence of positive
terms. For all n define
an
cn D bn bnC1
anC1
and
an
rn D n 1 :
anC1
3.10 Alternating Series 147
Prove the following variants of the KummerJensen test and Raabes test:
(a) If cP
n > t > 0 for all n and some fixed t , then the series converges.
(b) If 1 j D0 1=bj diverges and cn 0 for all n, then the series diverges.
(c) If rn > t > 1 for all n and some fixed t , then the series converges.
(d) If rn 1 for all n, then the series diverges.
In the previous several sections we dealt with series of nonnegative terms. Clearly,
the results can be applied also if the terms are all negative. If neither of these
conditions obtains, the series may be difficult to handle. However, there is a
convenient test, due to Leibniz, that can be applied to what is known as an alternating
series.
Definition 3.10.1. The series
1
X
.1/j bj (3.9)
j D0
X
n
Sn D .1/j bj :
j D0
We need to show that the sequence fSn g converges. We achieve this result by proving
that the subsequences fS2n g and fS2nC1 g both converge to some number S and then
appealing to Theorem 2.4.3.
First we have
X
2nC1
S2nC1 D .1/j bj
j D0
X
2n
D b0 C .1/j bj b2nC1
j D1
X
n
D b0 C .b2j b2j 1 / b2nC1 :
j D1
148 3 Series
Note that b2nC1 > 0 and, since fbn g is nonincreasing, b2j b2j 1 for all j . Hence,
the sequence fS2nC1 g is bounded above by b0 . It is nondecreasing, because for all
n > 0 we have
D S 0
D S;
Setting
n
bn D
.n C 1/2
for all n > 0, we observe that the sequence fbn g converges to 0. To show that it is
nonincreasing, note first that
nC1 n
bnC1 bn D
.n C 2/ 2 .n C 1/2
.n C 1/3 n.n C 2/2
D :
.n C 1/2 .n C 2/2
for all n > 0, we confirm that the sequence fbn g is in fact decreasing. Hence the
given series converges by Leibnizs test. 4
Example 3.10.2. Let an D i n =n for all n > 0. Then Re .an / is equal to 0 if n is
odd, to 1=n if n is divisible by 4, and to 1=n otherwise. Thus
3.10 Alternating Series 149
1
X 1
X
ij .1/k
Re D ;
j D1
j 2k
kD1
P1
which also converges. Hence the series j D1 i j =j converges by Theorem 3.3.2.
The conjugate series
1
X .i /j
j D1
j
1
b2j 1 D
j C1
and
1
b2j D
.j C 1/2
for all j > 0. The sequence fbn g converges to 0, but it is not monotonic.
If the series were to converge, then we could obtain another convergent series by
grouping its terms in any way. However, by grouping the terms in pairs, we obtain
1
X 1
X
1 1 j
D ;
j D1
j C 1 .j C 1/2 j D1
.j C 1/2
and this series is divergent by the limit comparison test applied to the harmonic
series. 4
Often it is difficult to determine to what number S a convergent series converges,
but in the situation where Leibnizs test is applicable it is possible to approximate S .
Indeed, we see in the following theorem that if we attempt to approximate S by
taking the sum of the first few terms of the series, then the error is bounded above
by the absolute value of the first term omitted from the sum.
150 3 Series
Theorem 3.10.2. Let fbn g be a nonincreasing sequence of positive terms, and let
1
X
.1/j bj D S:
j D0
Then
jS Sn j bnC1
X
n
Sn D .1/j bj :
j D0
Proof. We saw in the proof of Theorem 3.10.1 that the sequence fS2nC1 g is
nondecreasing. Similarly, fS2n g is nonincreasing, since
for all n. Therefore S is an upper bound for fS2nC1 g and a lower bound for fS2n g.
Hence
0 S S2n1
S2n S2n1
D b2n ;
0 S2n S
S2n S2nC1
D .b2nC1 /
D b2nC1
Sn bnC1 S Sn C bnC1
3.10 Alternating Series 151
for all n 0. Moreover it is easily seen that the inequalities are strict if the sequence
fbn g is decreasing. In particular, since we then have b0 > b1 , it follows that S > 0.
Example 3.10.4. Consider
1
X .1/j
:
j D1
j2
This series converges to some number S by Leibnizs test, since the sequence f1=n2 g
is decreasing and converges to 0. We approximate S by the partial sum
X
n
.1/j
Sn D
j D1
j2
for some n > 0. If we require accuracy to within a given positive number ", then
according to Theorem 3.10.2, we need to choose n so that
1
< ":
.n C 1/2
1
n > p 1:
"
The exact value of the sum requires ideas that are beyond the scope of this book. 4
Exercises 3.9. 1. Determine the convergence of the following series:
P
(a) 1
2
j C1 j
j D1 .1/ j 3 C1
;
P1 C1
(b) j D1 .1/j C1 j.j C1/ ;
2j
P
(c) 1 j D0 .1/
j C1 j 5
7j C3
;
P1
(d) j D2 .1/j C1 .j 1=j 1/;
P
(e) 1 j D1 .1/
j C1 1=j
.a 1/, where a > 0;
j C1
P1 j C1
(f) j D1 .1/ 1C j
1
e ;
P1 .1/j i j
(g) j D1 pj .
152 3 Series
converges. Letting Sn be the nth partial sum of the series, find an upper bound
for jS15 S j.
3. Let fan g be a decreasing null sequence. Show that
1
X a1 C a2 C : : : C aj
.1/j C1
j D1
j
converges.
P P1
4. If 1 j D0 aj converges, does it follow that
j
j D0 .1/ aj converges? Give a
proof or a counterexample.
5. Determine the convergence of
1
X .1/j C1
:
j D0
j C 2 C .1/j
[Hint:
1 j C 2 .1/j
D :
j C 2 C .1/j .j C 2/2 1
All the tests we have learned so far help us to determine the convergence of series
whose terms are all positive or alternate in sign. In this section we provide a useful
test that does not require these assumptions. The proof relies on Abels partial
summation identity.
Lemma 3.11.1 (Abels Partial Summation Identity). Let fun g and fvn g be two
sequences of complex numbers, and let fUn g be a sequence such that Un Un1 D un
for all n 2 N. Then
X
n X
n1
uj vj D Un vn Um vmC1 Uj .vj C1 vj / (3.11)
j DmC1 j DmC1
whenever m < n.
3.11 Dirichlets Test 153
X
n X
n
uj vj D vj Uj Uj 1
j DmC1 j DmC1
X
n X
n
D vj Uj vj Uj 1
j DmC1 j DmC1
X
n1 X
n
D vj Uj C vn Un vmC1 Um vj Uj 1
j DmC1 j DmC2
X
n1 X
n1
D vn Un vmC1 Um C vj Uj vj C1 Uj
j DmC1 j DmC1
X
n1
D Un vn Um vmC1 Uj .vj C1 vj /:
j DmC1
t
u
The next result is due to Shiu [14].
Theorem 3.11.2. Let fun g and fvn g be sequences of complex numbers and suppose
that
P
1. 1 j D0 jvj C1 vj j converges,
2. fvn g converges to 0, and
3. there is a constant K such that
X
n
uj K
j D0
for all n 0.
P
Then 1 j D0 uj vj is convergent.
is Cauchy. Therefore by hypotheses (1) and (2) there exists N such that for all
n N we have
X
n
jvj C1 vj j < "
j DN C1
and
X
n
Sn D uj vj
j D0
and
X
n
Un D uj :
j D0
Thus jUn j K for all n 0, by hypothesis. For all integers m and n such that
n > m N , Abels identity therefore gives
X
n
jSn Sm j D uj vj
j DmC1
X
n1
jUn vn j C jUm vmC1 j C jUj jjvj C1 vj j
j DmC1
X
n1
Kjvn j C KjvmC1 j C K jvj C1 vj j
j DmC1
< 3K";
as it may be assumed that K > 0. The desired conclusion follows from Cauchys
criterion. t
u
Corollary 3.11.3 (Dirichlets Test). Let fun g be a complex sequence and let fvn g
be a real sequence. Suppose that
1. fvn g is monotonic and converges to 0, and
3.11 Dirichlets Test 155
for all n 0.
P
Then 1 j D0 uj vj is convergent.
converges. Choose " > 0. By condition (1), there exists N such that
X
n
Tn D jvj C1 vj j:
j D0
X
n
jTn Tm j D jvj C1 vj j
j DmC1
X
n
D .vj C1 vj /
j DmC1
D jvnC1 vmC1 j
jvnC1 j C jvmC1 j
< 2":
X1
zj
j D1
jp
We have seen the advantages of considering series whose terms are all nonnegative.
Given an arbitrary series, we may obtain a series of nonnegative terms by replacing
each term with its absolute value. If the resulting series converges, then so does the
original series. That is the content of our next theorem. We begin its proof with a
useful lemma.
P1
Lemma 3.12.1. Let fzn g be a sequence of complex numbers. Then j D0 jzj j
P1 P1
converges if and only if j D0 jRe .zj /j and j D0 jIm .zj /j converge.
3.12 Absolute and Conditional Convergence 157
Proof. In view of Lemma 3.12.1, we may assume that each zn is real. Thus we write
xn D zn for each n. Certainly,
0 xn C jxn j 2jxn j
P1
for each n. Given that j D0 jxj j converges, so does
1
X
.xj C jxj j/;
j D0
X1
ij
j D1
j2
158 3 Series
converges. 4
Example 3.12.2. Test the series
1
X j
.1/j :
j D1
2j
X1
j
j D1
2j
n C 1 2n nC1 1
nC1
D ! < 1:
2 n 2n 2
Hence the given series converges absolutely. 4
The work in this example suggests that the ratio test can be extended to series
whose terms are not necessarily positive or even real. In fact, we can prove the
following theorem.
P
Theorem 3.12.3 (Generalized Ratio Test). Let 1 j D0 zj be a series (not neces-
sarily real) and suppose that
znC1
lim DL
n!1 zn
for some number L. Then the series converges absolutely if L < 1 but diverges
if L > 1.
P
Proof. If L < 1, then the series 1 j D0 jzj j converges by the ratio test, and so
the given series is absolutely convergent. If L > 1, then, arguing as in the proof
of the ratio test, we see that the sequence fjzn jg cannot converge to 0. Hence the
sequence fzn g cannot converge to 0 either. Thus the given series fails the nth term
test and therefore cannot converge. t
u
There is also a generalized root test, which has a similar proof.
3.12 Absolute and Conditional Convergence 159
P1
Theorem 3.12.4 (Generalized Root Test). Let j D0 zj be a series and let
for some number L. Then the series converges absolutely if L < 1 but diverges if
L > 1.
Proof. If L < 1, then the series is absolutely convergent by the root test. If L > 1,
then, as in the proof of the root test, the sequence fzn g cannot converge to 0. t
u
P1 2
Theorem 3.12.5. Let fxn g and fyn g be real sequences, and suppose that j D0 xj
P P1
and 1 2
j D0 yj converge. Then the series j D0 xj yj is absolutely convergent.
5. Test the following series for absolute convergence and conditional conver-
gence:
P1 .1/j C1
(a) p
j D2 j j ;
P1 j
j C1 j C2
(b) j D0 .1/ 3j 1
;
P1 j
j D0 .j C 1/ for all real x 2;
2 x
(c) xC2
P1 j C1 .j i/ 2
(d) j D0 .1/ 2j
;
P1 i j
(e) j D1 j 3=2 .
160 3 Series
jan j C an
Pn D (3.12)
2
and
jan j an
Qn D (3.13)
2
jan j D 2Pn an
P
for all n, and so if 1 j D1 Pj were to converge, then it follows from Theorem 3.3.1
P1
that j D1 jaj j would converge. This conclusion would contradict the conditional
P P1
convergence of 1 j D1 aj . The proof that j D1 Qj diverges is similar.
Note also that if n > 1 and x1 ; x2 ; : : : ; xn are numbers such that
X
n1
xj S;
j D1
then
X
n X
n1
xj S D xn C xj S xn : (3.14)
j D1 j D1
3.13 Rearrangements of Series 161
Similarly, if
X
n1
xj S;
j D1
then
X
n X
n1
S xj D S xj xn xn : (3.15)
j D1 j D1
X
M1
Pj > S:
j D1
P
Certainly M1 exists: The sequence f nj D1 Pj g is nondecreasing and therefore
cannot be bounded above since it diverges. Next let N1 be the smallest positive
integer such that
X
M1 X
N1
Pj Qj < S I
j D1 j D1
P1
N1 also exists since j D1 Qj diverges. In fact, the choice of N1 shows that
X
M1 X
N 1 1
Pj Qj S I
j D1 j D1
hence
0 1
X
M1 X
N1
0<S @ Pj Qj A .QN1 / D QN1
j D1 j D1
by (3.15).
162 3 Series
M1 ; M2 ; : : : ; Mn ; N1 ; N2 ; : : : ; Nn
where
0 1
X
n1 X
MkC1
X
NkC1
Tn D @ Pj Qj A
kD0 j DMk C1 j DNk C1
X
MnC1
Tn C Pj > S
j DMn C1
and letting NnC1 be the smallest integer greater than Nn such that
X
MnC1
X
NnC1
TnC1 D Tn C Pj Qj < S I
j DMn C1 j DNn C1
both MnC1 and NnC1 exist. The choice of NnC1 implies that
NnC1 1
X
MnC1
X
Tn C Pj Qj S;
j DMn C1 j DNn C1
so that
by (3.15).
We must show that the resulting series converges to S . This goal is achieved by
studying the partial sum Tn and those between Tn and TnC1 . From the choice of
MnC1 and inequalities (3.16) it follows that
X
m
0 S Tn Pj QNn (3.17)
j DMn C1
3.13 Rearrangements of Series 163
for each m such that Mn < m < MnC1 , since Pj 0 for all j . Moreover the choice
of MnC1 also shows that
X
MnC1
0 < Tn C Pj S PMnC1 ; (3.18)
j DMn C1
by (3.14), whence
X
MnC1
X
m
0 Tn C Pj Qj S PMnC1 (3.19)
j DMn C1 j DNn C1
for all m such that Nn < m < NnC1 . From (3.163.19) we find that the partial sums
in question all differ from S by an amount no greater than
maxfPMnC1 ; QNn g:
P
But the sequence fan g converges to 0 by the convergence of 1 j D1 aj . Hence fjan jg
also converges to 0 and therefore so do its subsequences fPMnC1 g and fQNn g, as
required. P
Its easier to construct a divergent series from the terms of the series 1 j D1 aj .
Defining Pn and Qn as before, let K1 be the smallest positive integer such that
X
K1
Pj Q1 > 1:
j D1
Suppose that K1 ; K2 ; : : : ; Kn have been defined for some positive integer n so that
0 1
X
n1 X
KkC1
@ Pj QkC1 A > n;
kD0 j DKk C1
where K0 D 0. Let KnC1 be the smallest integer greater than Kn such that
0 1
X
n X
KkC1
@ Pj QkC1 A > n C 1:
kD0 j DKk C1
X
n
Sn D zj ;
j D0
X
n
Sn0 D jzj j;
j D0
X
n
Tn D wj ;
j D0
and
X
n
Tn0 D jwj j:
j D0
Every convergent
P1 sequence is bounded, and so Pthere exists M such that Sn0 M
1
for all n. As j D0 jwj j is a rearrangement of j D0 jzj j, we also have Tn0 M for
P
all n. Hence 1 j D0 wj is absolutely convergent.
Let
1
X
SD zj
j D0
and
1
X
T D wj :
j D0
It remains only to show that S D T . Choose " > 0. We can find N such that
jS Sn j < "
and
and the sum Tp includes z0 ; z1 ; : : : ; zn among its terms. Now choose m > n so large
that every term of Tp is also a term of Sm . Thus Sm Tp is a summation whose
terms form a subset of fznC1 ; znC2 ; : : : ; zm g, so that
Hence
jS T j jS Sm j C jSm Tp j C jTp T j
< 3":
X
q
X
n
D aj bk :
kDp j Dm
166 3 Series
a0 b0 a0 b1 a0 b2 a0 bq1 a0 bq
a1 b0 a1 b1 a1 b2 a1 bq1 a1 bq
a2 b0 a2 b1 a2 b2 a2 bq1 a2 bq
.. .. .. .. .. ..
. . . . . .
an1 b0 an1 b1 an1 b2 an1 bq1 an1 bq
an b0 an b1 an b2 an bq1 an bq
Pn Pq
Fig. 3.2 The terms of . j Dm aj /. kDp bk /
X
n X
q
D aj bk :
j Dm kDp
X
n X q
D aj bk ;
j Dm kDp
X
n X
n X
2n X
t
aj bk D as bts :
j D0 kD0 tD0 sD0
If n > q, then we may set bk D 0 for all k > q and apply the result of the
calculation above. Similarly, if n < q, then we set aj D 0 for all j > n. In both
cases we reach the conclusion that
X
n X
q
XX
nCq
t
aj bk D as bts ;
j D0 kD0 tD0 sD0
X
nmCqp
X
t
D asCm btsCp :
tD0 sD0
X
n X
q
X X
nCq
up
aj bk D av buv ;
j Dm kDp uDmCp vDm
since t C p s D u m s D u v.
168 3 Series
Using Eq. (1.15), we may summarize the result of this calculation in the
following theorem.
Theorem 3.14.1. For integers m; n; p; q such that m n and p q, we have
p
X
n X
q
X jX
nCq
aj bk D ak bj k ;
j Dm kDp j DmCp kDm
X
n X
q
XX
nCq j
aj bk D ak bj k ;
j D0 kD0 j D0 kD0
and
1
X
BD bj :
j D0
Thus we need to find the sum of all products of the form aj bk for nonnegative
integers j and k. This sum may be written as the series
1 j 1
!
X X
j
X
aj bk C al bj (3.21)
j D0 kD0 lD0
D a0 b0 C a1 b0 C a1 b1 C a0 b1 C a2 b0 C a2 b1 C a2 b2 C a0 b2 C a1 b2 C :
For each nonnegative integer n let An ; Bn ; Sn be the nth partial sums of A, B, and
the series (3.21), respectively. Thus,
X
n1
An D aj
j D0
and
X
n1
Bn D bj :
j D0
3.15 Introduction to Power Series 169
Sn2 D An Bn :
For each nonnegative integer n let Tn be the sum of the absolute values of the
first n terms of series (3.21). Since A and B are absolutely convergent, we find that
T n T n2
X
n1 X
n1
D jaj j jbj j
j D0 j D0
1
X 1
X
jaj j jbj j:
j D0 j D0
Thus the series (3.21) converges absolutely. Since fSn2 g is a subsequence of fSn g,
we find that
1 j 1
!
X Xj
X
aj bk C al bj D lim Sn
n!1
j D0 kD0 lD0
D lim Sn2
n!1
D lim An Bn
n!1
D AB:
Because of the absolute convergence of this series, Dirichlets theorem shows that
every rearrangement must also converge absolutely to AB. We have now proved the
following theorem.
P1 P1
Theorem 3.14.2. If j D0 aj and j D0 bj converge absolutely to A and B,
respectively, then
1 X
X j
ak bj k D AB
j D0 kD0
.n C 1/3
D jxj
n.n C 2/2
! jxj
as n ! 1. Hence the series converges absolutely if jxj < 1. If jxj > 1, then there
exists N such that janC1 j > jan j for all n N . Thus the series fails the nth-term test
and therefore diverges. (If x is not real, it is also immediate from these arguments
that the series converges absolutely if jxj < 1 and diverges if jxj > 1.)
It remains to check the cases where x D 1. With x D 1, we obtain the
alternating series
X1
.1/j j
;
j D1
.j C 1/2
We use the limit comparison test, comparing this series with the harmonic series.
Putting an D n=.n C 1/2 and bn D 1=n for all n > 0, we find that
an n2
D !1
bn .n C 1/2
as n ! 1. Hence an bn and our series diverges by the limit comparison test.
We conclude that the given series converges if and only if 1 x < 1. The
convergence is absolute if jxj < 1 but not if x D 1. 4
Example 3.15.2. Test the series
1
X
j j .z 1/j :
j D0
as n ! 1. Hence the series converges absolutely by the ratio test if jzj < 1 and
diverges by the nth-term test if jzj > 1. We have already seen in Example 3.11.1
that the series converges if jzj D 1 and z 1. If z D 1, then the series is harmonic
and therefore diverges. 4
Example 3.15.4. We have already seen in Theorem 2.7.6 that the series
1
X xj
j D0
j
Our next theorem shows that there are three possibilities: The power series (3.22)
converges absolutely for all z; it converges only when z D c; or there exists a
positive number r such that the power series converges absolutely if jz cj < r
and diverges if jz cj > r. The number r in the third case is called the radius of
convergence of the power series. We write r D 0 in the second case, and in the
first case we say that the power series has an infinite radius of convergence. Thus
every power series in a real variable has associated with it an interval on which it
converges (provided we consider each real number to constitute an interval and the
set R of all real numbers also to be an interval). This interval is called the interval
of convergence of the power series. In our four examples above, the respective
intervals of convergence are 1; 1/, f1g, 1; 1/, and R. Similarly, a power series
in a complex variable has associated with it a circle of convergence in the interior
of which the power series is absolutely convergent and in the exterior of which it
diverges.
But we are getting ahead of ourselves. The result referred to in the previous
paragraph still needs to be proved. First, though, observe that we can simplify the
expression (3.22) by substituting w D z c. This change of variable shows that
there is no loss of generality in assuming that c D 0.
P
Theorem 3.15.1. For the power series 1 j
j D0 aj z one of the following possibilities
must hold:
1. the series converges only when z D 0;
2. the series is absolutely convergent for all z;
3. there exists r > 0 such that the series converges absolutely whenever jzj < r and
diverges whenever jzj > r.
Proof. Certainly the power series converges when z D 0. We may also choose a
particular w 0 for which it converges, for if no such w exists, then possibility (1)
obtains.
We show first that
1
X
aj zj (3.23)
j D0
converges absolutely for each z such that jzj < jwj. Since
1
X
aj wj
j D0
lim jan wn j D 0:
n!1
3.15 Introduction to Power Series 173
converges. Hence
1
X
jaj zj j
j D0
Solution. Set
2 C .i /n n
an D z
n2
converges, the given series is absolutely convergent by the comparison test. Suppose
therefore that jzj > 1. Since
174 3 Series
jzjn
jan j
n2
for all n > 0, it follows from Example 2.5.5 that the sequence fan g does
not converge to 0 and the given series therefore diverges. Hence the radius of
convergence is 1.
Note that the ratio test could not have been applied in this example, since
anC1
lim
n!1 an
1
X 1
X 1
X
s aj zj C t bj z j D .saj zj C t bj zj /
j D0 j D0 j D0
1
X
D .saj C t bj /zj :
j D0
1
X 1
X 1 X
X j
aj zj bj z j D ak zk bj k zj k
j D0 j D0 j D0 kD0
1 X
X j
D ak bj k zj :
j D0 kD0
P1
Exercises 3.12. 1. Consider the power series j D0 cj .z c/j , where cj 0 for
all j .
(a) If
cnC1
lim D L;
n!1 c
n
prove that the radius of convergence of the series is 1=L (take 1=L D 1 if
L D 0 and 1=L D 0 if L D 1).
3.16 The Exponential, Sine, and Cosine Functions 175
(b) If
be R1 ; R2 ; R, respectively.
(a) Show that if R1 R2 , then R D minfR1 ; R2 g.
(b) Give an example with the property that R > R1 D R2 .
P
3. Can the power series 1 j D0 cj .z 2/ converge at 0 but diverge at 3?
j
4. For each of the following series find all real x for which the series converges:
P1 j xj
P1 1 j
j D0 22j 1 C 32j x ;
1
(a) j D1 .1/ j ; (f)
P1 j j
P1 j j
(b) j D1 j 2 x ; (g) j D0 j j x ;
P1 j x 2j P 1 j .xC4/
j
(c) j D0 .1/ .2j / ; (h) j D1 .1/ j 2j
;
P1 .j /2 j P1 j j
(d) j D0 .2j / x ; (i) j D1 .j C1/.j C2/ x ;
P1 x j P1 x j
(e) p p
j D1 j ; (j) j D1 j j .
5. For each of the following series find all complex z for which the series converges:
P1 j 2 P1 .zCi/j
(a) j D0 z ; (e) j D0 e j ;
P1 .i1/j j P1 j 2j
j D1 .1/ j .z i / ;
j
(b) j D1 j
z ; (f)
P1 j P1 z2j
j D0 2j .z i / ;
j
(c) (g) j D0 .3/j ;
P1
j D0 .3 C .1/ /z .
j j
(d)
P
6. Find the radius of convergence of the series 1 j D0 aj z , where a2j D 1 and
j
We now use the work of the previous section to generalize our earlier results
concerning the exponential function. Recall that, for real x,
1
X xj
ex D ;
j D0
j
176 3 Series
X1 j
z
ez D ;
j D0
j
noting that the series converges absolutely by the ratio test, since
nC1
z n z
.n C 1/ zn n C 1 ! 0:
D
With this definition it is easily seen that parts (2) and (3) of Theorem 2.7.10 are valid
also for complex sequences. In addition, we define exp.z/ D e z for all z 2 C, and
refer to exp as the exponential function.
Because of the absolute convergence of the series for e z , we may apply
Theorem 3.14.2 to prove that
0 10 1
1
X X1 j
wj z
ewez D @ A@ A
j D0
j j D0
j
X1 X j
wk zj k
D
j D0
k.j k/
kD0
1
!
X 1 X j
j
D wk zj k
j D0
j k
kD0
1
X .w C z/j
D
j D0
j
D e wCz
for all complex numbers w and z. This result generalizes Theorem 2.7.9. It follows
by an easy induction that
.e z /n D e nz
X1 2j 2j C1
j x j x
D .1/ C i.1/ : (3.24)
j D0
.2j / .2j C 1/
3.16 The Exponential, Sine, and Cosine Functions 177
and
1
X x 2j C1
sin.x/ D .1/j
j D0
.2j C 1/
for all real x, and the convergence of these power series is absolute. (See also
Example 3.7.2.) Thus
e ix D cos.x/ C i sin.x/
for all real x. We refer to cos and sin as the cosine and sine functions, respectively.
They will be given a geometric interpretation later.
We may generalize the definitions of the sine and cosine functions to complex
numbers. Thus
X1
j z
2j
z2j C1
e D
iz
.1/ C i.1/ j
j D0
.2j / .2j C 1/
D cos.z/ C i sin.z/;
where
1
X z2j
cos.z/ D .1/j
j D0
.2j /
and
1
X z2j C1
sin.z/ D .1/j
j D0
.2j C 1/
sin.z/ D sin.z/
and
cos.z/ D cos.z/
178 3 Series
sin.z/
tan.z/ D
cos.z/
for all z for which cos.z/ 0. The function so defined is called the tangent function.
1
g.z/ D
f .z/
for all z such that f .z/ is defined and nonzero. The function g is called the
reciprocal of f . The sine, cosine, and tangent functions and their reciprocals are
said to be trigonometric. The reciprocals of the sine, cosine, and tangent functions
are called the cosecant, secant, and cotangent functions, respectively. They are
denoted, respectively, by csc, sec, and cot. The parentheses around the arguments of
the trigonometric functions are usually omitted.
Since
e iz D cos z C i sin z
e iz e iz e 2iz 1
sin z D D :
2i 2ieiz
For instance, if x is real, then
e x C e x
cos ix D
2
and
e x e x i.e x e x /
sin ix D D ;
2i 2
3.16 The Exponential, Sine, and Cosine Functions 179
since i 2 D 1. Moreover
and
and, similarly,
It also follows by induction that if sin z D 0, then sin nz D 0 for every n 2 N, for if
this equation holds for a particular n 2 N, then
Furthermore
j sin xj 1
and
j cos xj 1:
hence
1 C cos 2z
cos2 z D :
2
In addition,
p
je iz j D cos2 z C sin2 z D 1:
je x e x j
j sin ixj D :
2
We therefore infer from Theorem 2.7.10(1) that the function j sin zj is unbounded.
Similarly, j cos zj is unbounded.
Note that if z D x C iy, where x and y are real, then
1 y i
cos z D .e C e y / cos x .e y e y / sin x:
2 2
If w and z are numbers such that tan w tan z D 1, then cos w cos z 0 and
sin w sin z
D 1;
cos w cos z
3.16 The Exponential, Sine, and Cosine Functions 181
so that
whence
sin.w C z/
tan.w C z/ D
cos.w C z/
sin w cos z C cos w sin z
D
cos w cos z sin w sin z
sin w cos zCcos w sin z
cos w cos z
D cos w cos zsin w sin z
cos w cos z
tan w C tan z
D :
1 tan w tan z
2 tan z
tan 2z D :
1 tan2 z
sin.z/
tan.z/ D D tan z:
cos.z/
sin x x: (3.27)
2. If x 2 R, then
x2 x2 x4
1 cos x 1 C : (3.28)
2 2 24
Proof. 1. We may assume that x < 1 since sin x 1 for all real x. Then the
sequence fx 2nC1 =.2n C 1/g is decreasing, and we may invoke inequality (3.10)
in the proof of Theorem 3.10.2, with n D 0, to conclude that sin x x.
2. We may assume that x > 0, since cos.x/ D cos x for all x and cos 0 D 1.
182 3 Series
In regard to the first inequality, we may assume also that x < 2, as cos x 1
for all real x. Then the sequence fx 2n =.2n/gn1 is decreasing, since
x 2nC2 .2n/ x2 1
2n D < <1
.2n C 1/ x .2n C 2/.2n C 1/ 3
x2
;
2
again using inequality (3.10) with n D 0. The first of the required inequalities
follows. p
For the second inequality we may assume that x < 2 3, since cos x 1.
The sequence fx 2n =.2n/gn1 is still decreasing, and we may appeal to
Theorem 3.10.2 to conclude that
x2 x4
0 cos x 1 C :
2 24
t
u
For ease of reference, in the following theorem we summarize some of the more
important results we have proved.
Theorem 3.16.2. Let w and z be complex numbers. Then
iz
cos z D e Ce
iz
1. 2
,
e iz e iz
2. sin z D 2i ,
3. sin.w C z/ D sin w cos z C cos w sin z,
4. cos.w C z/ D cos w cos z sin w sin z,
5. tan.w C z/ D 1tan tan wCtan z
w tan z
if cos w cos z cos.w C z/ 0,
6. sin 2z D 2 sin z cos z,
7. cos 2z D cos2 z sin2 z,
8. tan 2z D 1tan 2 z if cos z cos 2z 0,
2 tan z
3.16 The Exponential, Sine, and Cosine Functions 183
9. cos2 z C sin2 z D 1,
10. cos2 z D 1Ccos
2
2z
,
11. je j D 1.
iz
for all n 2 N and p 2 Q, the comparison test shows that the series
1
X sin j
(3.29)
j D1
jp
X1
zj
(3.30)
j D1
jp
converges for each p > 0 and each z 1 such that jzj D 1. In particular, if
z D e i D cos 1 C i sin 1;
However, sin 1 > 0 by the remark following Theorem 3.10.2, as the sequence
1
.2n C 1/
is decreasing.] Therefore the series (3.30) converges for this z, and since
zn D e i n D cos n C i sin n;
whenever 0 < p 1, the comparison test shows that it is enough to establish the
divergence of
1
X j sin j j
:
j D1
j
j sin nj an C bn
D ;
n 2
where
and
1
vn D
n
D j sin nj
1
for all n > 0, by the telescoping property. We conclude from Dirichlets test that
P 1
j D1 aj converges.
3.16 The Exponential, Sine, and Cosine Functions 185
P1
In order to verify the divergence of j D1 bj , note first that for all real numbers
and we have
Therefore
Consequently,
sin 1
bn >0
n
P1
for all n > 0, and the series j D1 bj diverges by comparison with the harmonic
series. 4
Example 3.16.2. Consider the series
1
X sin jx
j D1
j
Since
x
1
cos jx D cos j x
2 2
1
D cos j x
2
1
D cos .j 1/ C x ;
2
it follows that
X n x x
cos jx cos C jx
j D1
2 2
X n
1 1
D cos .j 1/ C x cos jC x
j D1
2 2
x 1
D cos cos nC x I
2 2
hence
X
n
cos x2 cos..n C 12 /x/
sin jx D
j D1
2 sin x2
Dirichlets test therefore implies that the series converges. (In fact, the previous
example shows that it is conditionally convergent if x D 1.) 4
Example 3.16.3. Let fan g be a null sequence of real numbers. We show that
sin an
lim D 1:
n!1 an
3.16 The Exponential, Sine, and Cosine Functions 187
X 1 2j
sin an an
D .1/j D 1 C an Rn
an j D0
.2j C 1/
Since fan g is convergent, there is an M such that jan j M for all n. Hence
1
X 2j 1
an
jRn j
.2j C 1/
j D1
X1
M 2j 1
j D1
.2j 1/
X1
M 2j C1
D
j D0
.2j C 1/
< eM :
Thus
sin an
lim D 1 C lim an Rn D 1:
n!1 an n!1
4
Exercises 3.13. 1. If u and v are any complex numbers, prove that
uCv uv
sin u sin v D 2 cos sin
2 2
and
uCv uv
cos u cos v D 2 sin sin :
2 2
Hence show that
and
for all n 2 N, to verify the convergence of series (3.29) for all rational p > 0.
3. Prove that if fan g is a decreasing null sequence, then
1
X
aj sin j
j D1
and
1
X
aj cos j
j D1
converge.
4. Let fan g be a null sequence of real numbers. Show that
lim cos an D 1
n!1
and
tan an
lim D 1:
n!1 an
e x e x
sinh x D
2
and
e x C e x
cosh x D ;
2
for each x, are called the hyperbolic sine and hyperbolic cosine functions,
respectively.
3.16 The Exponential, Sine, and Cosine Functions 189
cosh2 x sinh2 x D 1
for all x.
(b) Let z D x C iy, where x and y are real.
i. Prove the following:
A. sin z D sin x cosh y C i sinh y cos x.
B. j sinh yj j sin zj j cosh yj.
C. j sin zj2 D sin2 x C sinh2 y.
ii. For every c 2 R, show that the function f .z/ D sin z maps the line y D c
to an ellipse and the line x D c to a hyperbola.
6. Express sin i and cos i in the form x C iy where x and y are real.
7. Find the sum
1
X 1 3
sin cos j :
j D0
2j 2
X1
1
1 cos :
j D1
j
Classification: 26A03
4.1 Introduction
2x 2 2x
f .x/ D g.x/ D h.x/ D
x1
for all x 1, g.1/ D 1, and h.1/ D 2 (see Fig. 4.1). Thus Df D R f1g and
Dg D Dh D R. For each x 1,
2x.x 1/
f .x/ D g.x/ D h.x/ D D 2x:
x1
lim f .x/ D 2:
x!1
f ( x) g( x) h( x)
2 2 2
1 1 1
x x x
1 1 1
Likewise limx!1 g.x/ D 2 and limx!1 h.x/ D 2; the values of these functions at 1
are immaterial.
Roughly speaking, we can ensure that the distance between f .x/ and 2 is as
small as we please by choosing x close enough to 1 but distinct from 1. In other
words, given any sequence fsn g in R f1g that converges to 1, the sequence ff .sn /g
converges to 2.
lim e x D e a
x!a
eh 1 4
lim D 1:
h!0 h
Example 4.2.2. Let f .x/ D i 1=x for each x in the range of the sequence f1=ng.
Because this sequence is null, we see that 0 is an accumulation point of Df . We
now demonstrate that
lim f .x/
x!0
1
sn D
4n
and
1
tn D :
4n C 2
Thus
lim sn D lim tn D 0:
n!1 n!1
However,
i 1=sn D i 4n D 1n D 1
and
lim f .z/ D k:
z!c
194 4 Limits of Functions
Proof. Let fsn g be any sequence in Df fcg converging to c. Since ff .sn /g is the
constant sequence fkg, it converges to k. t
u
The next two propositions can be proved in a similar way. In both propositions
we take c to be an accumulation point of Df .
Proposition 4.2.3. Suppose that f .z/ D z for all z 2 Df . Then
lim f .z/ D c:
z!c
sin x
lim D 1:
x!0 x
lim f .z/ D LI
z!c
for each z 2 Df satisfying 0 < jz cj < . Moreover there exists N such that
jsn cj <
and jf .sn / Lj ". The sequence fsn g evidently converges to c, by Lemma 2.5.1.
However,
lim f .sn / LI
n!1
otherwise there would exist N such that jf .sn /Lj < " for all n N . We conclude
that condition (1) does not hold. t
u
Remark 1. If we use the notation
Nr .a/ D fz j jz aj < rg
and
where a is any number and r is a positive (real) number, then Theorem 4.3.1 shows
that
lim f .z/ D L
z!c
if and only if for every " > 0 there exists > 0 such that
a
r
r
( )
a
Remark 2. We can clearly assume that " < M and < M for some constant M .
And, as in Proposition 2.2.3, we can replace " by k", where k is a positive constant.
Remark 3. If x and c are real numbers, we often write the inequality jx cj < as
c < x < c C :
lim .z2 C 1/ D 2:
z!1
Proof. Choose " > 0. We need to find a corresponding > 0 such that
D minf1; "g:
4.3 Basic Properties of Limits 197
We conclude that
lim .z2 C 1/ D 2: 4
z!1
Example 4.3.2. Now let us prove that
1
lim D 1:
z!1 z
whenever
1
jzj > 1 ;
2
so that
1
< 2:
jzj
lim f .z/ D L:
z!c
Choose " > 0. There exists > 0 such that jf .z/ Lj < " for all z 2 Df satisfying
0 < jz cj < . Choose z and w in N .c/ \ Df . Then jf .z/ Lj < " and
jf .w/ Lj < ". Hence
lim f .z/ D L;
z!c
by definition. t
u
Exercises 4.1. 1. Let f be a function, c an accumulation point of Df , and L a
number. Suppose there exists a real K such that
jf .z/ Lj Kjz cj
We shall now write down some theorems that are useful for calculating limits. Most
of them follow from the corresponding theorems for sequences. In each theorem
we shall assume that the limit is being evaluated at an accumulation point for the
domain of the relevant function.
Theorem 4.4.1. Let f and g be functions, let K and L be numbers, and let c be an
accumulation point of Df \ Dg . Suppose that
lim f .z/ D K
z!c
and
lim g.z/ D L:
z!c
Then
1.
2.
3.
f .z/ K
lim D
z!c g.z/ L
if L 0 and there exists a neighborhood N .c/ such that g.z/ 0 for all
z 2 N .c/ \ Dg .
Proof. 1. It follows from the hypothesis that the sequence ff .sn /g converges to K
for every sequence fsn g in Df fcg converging to c. Similarly, fg.tn /g converges
to L for every sequence ftn g in Dg fcg converging to c.
Choose a sequence fsn g in
lim f n .z/ D Ln ;
z!c
4.4 Algebra of Limits 201
2.
1 1
lim D n
z!c f n .z/ L
if L 0 and there exists a neighborhood N .c/ such that f .z/ 0 for all
z 2 N .c/ \ Df .
Using parts (1) and (2) of the theorem, we also obtain the following corollary.
Corollary 4.4.3. Let
X
n
p.z/ D ak zk
kD0
then
lim g.x/ D L:
x!c
Proof. Let fsn g be a sequence in Df fcg converging to c. There exists N such that
0 < jsn cj < for all n N . For every such n we have
The hypotheses imply that f .sn / ! L and h.sn / ! L as n ! 1, and the result
now follows from the sandwich theorem. t
u
Example 4.4.1. Since
1
0 x sin jxj
x
202 4 Limits of Functions
for all x 0, and limx!0 jxj D 0, the sandwich theorem for functions
(Theorem 4.4.4) shows that
1
lim x sin D 0:
x!0 x
Similarly,
1
lim x cos D 0:
x!0 x 4
The next theorem is also analogous to a theorem on sequences from which it
follows immediately.
Theorem 4.4.5. If f is a function such that m f .x/ M and limx!c f .x/ D
L, then m L M .
Theorem 4.4.6. Let f be a function and let L and c be numbers such that L is
real. Suppose
lim f .z/ D L 0:
z!c
1. If L > 0, then there exists > 0 such that f .z/ > L=2 for all z 2 N .c/ \ Df .
2. If L < 0, then there exists > 0 such that f .z/ < L=2 for all z 2 N .c/ \ Df .
Proof. 1. There exists > 0 such that
L
jf .z/ Lj <
2
for all z 2 Df for which 0 < jz cj < . For all such z it follows that
L L
f .z/ > L D :
2 2
2. The proof of part (2) is similar. t
u
Theorem 4.4.7. Let u and v be real-valued functions. Define
Proof. If limz!c u.z/ D A and limz!c v.z/ D B, then the result follows from
Theorem 4.4.1. Conversely, suppose that Eq. (4.4) holds. Considering the real and
imaginary parts of f .z/ A iB, we see that
and
The proof now follows by an argument similar to the proof of Theorem 2.3.11. t
u
Exercises 4.2. 1. Find the following limits if they exist, giving reasons for any that
do not: p
x1
(a) limx!0 tansinxx
x
; (f) limx!1 x1 ;
(b) limx!0 sin x
sin x
for 0; (g) limx!0 sin cx
x
for c 2 R;
x n c n
(c) limx!c xc for n 2 N and c 2 R; (h) cos x1
limx!0 x ;
limz!0 .z1/z 1 ;
2 2 C1
(d) (i) limz!i zzi ;
e ix 1
(e) limx!0 x sin x1 C cos x1 ; (j) limx!0 x .
2. If z D x C iy, where x and y are real, find limz!0 .x 2 =z/.
In this section we restrict the domain of our function to a subset of R. For instance,
sometimes a function does not have a limit at a point a, but it would if the domain
were restricted to a set of numbers greater than a.
Example 4.5.1. Suppose that
(
1 if x > a;
h.x/ D
0 if x a.
Then
lim f .x/ D 1:
x!a
204 4 Limits of Functions
lim h.x/ D 1:
x!aC
lim h.x/ D 0:
x!a
Notice that
We shall see later that this observation implies that limx!a h.x/ does not exist. We
can also prove this fact by considering the sequences fsn g and ftn g, where
1
sn D a C
n
and
1
tn D a
n
for all n > 0. Then
lim sn D lim tn D a;
n!1 n!1
but h.sn / D 1 and h.tn / D 0 for all n. Therefore limx!a h.x/ does not exist. 4
Example 4.5.2. Let bxc be the largest integer less than or equal to a real number x.
The function f given by f .x/ D bxc for all x is called the floor of x (see Fig. 4.3).
For every n 2 N we have
lim bxc D n
x!nC
and
lim bxc D n 1: 4
x!n
1
x
1 2
p
even though x is not defined for x < 0. 4
Let us now define the notion of a one-sided limit formally.
Definition 4.5.1. Let f be a function of a real variable. Let a be an accumulation
point of fx 2 Df j x < ag. Then
lim f .x/ D L
x!a
lim f .x/ D L
x!aC
lim f .x/ D L
x!a
if and only if for every " > 0 there exists > 0 such that jf .x/ Lj < " for all
x 2 Df satisfying 0 < a x < .
206 4 Limits of Functions
lim f .x/ D L
x!aC
if and only if for every " > 0 there exists > 0 such that jf .x/ Lj < " for all
x 2 Df satisfying 0 < x a < .
Note that 0 < a x < if and only if a < x < a and that 0 < x a < if
and only if a < x < a C .
Theorem 4.5.2. Let f be a function and L a number. Let a be an accumulation
point of fx 2 Df j x > ag and fx 2 Df j x < ag. Then
Proof. Suppose first that Eq. (4.5) holds, and choose " > 0. There exists > 0 such
that
for all x 2 Df such that 0 < jx aj < . In particular, inequality (4.7) holds for all
x 2 Df such that 0 < x a < . Therefore
lim f .x/ D L:
x!aC
A similar argument shows that
lim f .x/ D L:
x!a
Conversely, suppose that Eq. (4.6) holds, and choose " > 0. There exist 1 > 0
and 2 > 0 such that inequality (4.7) holds for all x 2 Df satisfying either 0 <
x a < 1 or 0 < a x < 2 . Thus inequality (4.7) holds for all x 2 Df such that
f .x/ D e 1=x
4.6 Infinite Limits 207
for all x 0. Then limx!0C f .x/ does not exist, for if we set sn D 1=n for all
n 2 N, then sn ! 0 as n ! 1 but
f .sn / D e n ! 1
as n ! 1.
On the other hand, for each x > 0 we have x < e x . Thus if t < 0, then
1
0< < e 1=t ;
t
whence
lim e 1=t D 0: 4
t!0
Exercises 4.3. 1. Find the following limits if they exist, giving reasons for any that
do not: p
2 C2x3
(a) limx!1 x jx1j ; (e) limx!0C xpx x ;
p
sin x
(b) limx!1 p1x ; (f) limx!0C ;
1x x
1 .xC1/1=3 1
(c) limx!0C 1C21=x
; (g) limx!0C x
;
1 1
(d) limx!0 1C21=x
; (h) limx!1 bxc1
.
lim f .x/ D 1
x!c
lim f .x/ D 1
x!c
Thus
lim f .x/ D 1
x!c
if and only if for every N there exists > 0 such that f .x/ > N for all x 2 Df
satisfying 0 < jx cj < . Similarly,
lim f .x/ D 1
x!c
if and only if this condition holds with the inequality f .x/ > N replaced
by f .x/<N .
We now discuss the behavior of a function f as its argument approaches 1.
Definition 4.6.2. Let f be a function and L a number. Suppose that Df is not
bounded above. We write
lim f .x/ D L
x!1
lim f .x/ D L
x!1
lim f .x/ D L
x!1
if and only if for every " > 0 there exists M such that jf .x/Lj < " for all x 2 Df
satisfying x > M . Moreover
lim f .x/ D L
x!1
if and only if this condition holds with the inequality x > M replaced by x < M ,
provided that Df is not bounded below (though it may be bounded above).
Of course, we also have such notations as
and
and so forth. We leave it to the reader to list the possibilities and to formulate
appropriate definitions for them. For example, Eq. (4.8) holds if and only if Df
is not bounded above and for every sequence fsn g in Df such that
lim sn D 1;
n!1
we have
lim f .sn / D 1:
n!1
lim e x D 1:
x!1
Similarly,
lim e x D 0;
x!1
by Example 2.8.2.
Example 4.6.1. Prove that
1
lim D 0:
x!1 x
Proof. Let fsn g be a sequence of positive numbers such that limn!1 sn D 1. Then
1
lim D 0;
n!1 sn
for all x 2 Q 1; 0. (Later we shall extend this result to the set R 1; 0.)
First let fsn g be any sequence in Q such that sn 1 for all n and
lim sn D 1:
n!1
210 4 Limits of Functions
0 < nk sk < nk C 1:
Thus
1 1 1
< ;
nk C 1 sk nk
and so
nk
1 1 sk 1 nk C1
1C < 1C < 1C :
nk C 1 sk nk
Letting nk ! 1 and using Lemma 2.2.1, we obtain
nk nk C1 1
1 1 1
1C D 1C 1C !e1De
nk C 1 nk C 1 nk C 1
and
nk C1
1 1 nk 1
1C D 1C 1C ! e 1 D e:
nk nk nk
Hence
sk
1
lim 1C D e:
k!1 sk
We conclude that
1 x
lim 1C D e:
x!1 x
lim xn D 1
n!1
lim yn D 1
n!1
4.6 Infinite Limits 211
as n ! 1. 4
Theorem 4.6.1. Let f and g be functions, let L be a number, and let a be an
accumulation point of both fx 2 Df j x > ag and fx 2 Dg j x > ag. Suppose that
and
lim g.x/ D 0:
x!aC
Suppose also that there exists > 0 such that g.x/ > 0 for all x 2 Dg satisfying
0 < x a < . Then
f .x/
lim D 1:
x!aC g.x/
Proof. Choose N > 0. The first limit given shows the existence of 1 > 0 such that
L
f .x/ >
2
for all x 2 Df satisfying 0 < x a < 1 . It also follows from the second hypothesis
that there exists 2 > 0 such that
L
jg.x/j <
2N
L
f .x/ > > 0:
2
Moreover
L
0 < g.x/ D jg.x/j < ;
2N
so that
1 2N
> > 0:
g.x/ L
Hence
f .x/ L 2N
> D N;
g.x/ 2 L
1
lim D 1: 4
x!0C x
lim f .x/ D L;
x!1
lim g.x/ D 1;
x!a
then
lim f .g.x// D L:
x!a
fx 2 Dg j g.x/ 0g;
then
1
lim D 0:
x!a g.x/
1
lim D lim f .g.x// D 0: t
u
x!a g.x/ x!a
lim e 1=x D 1:
x!0C
Consequently
1
lim D 0;
x!0C e 1=x C 1
using Corollary 4.6.4. On the other hand, Example 4.5.4 shows that
1 1 4
lim D D 1:
x!0 e 1=x C1 0C1
214 4 Limits of Functions
f .x/ D .1 C x/1=x
lim .1 C x/1=x D e:
x!0C
lim .1 C x/1=x D e:
x!0
then
f .x/
lim
x!0 g.x/
Classification: 26A15
We now come to a most important concept in analysis, one that has many
applications, notably in optimization. Roughly speaking, we are talking about those
functions that have no gaps in their graphs. Such functions are said to be continuous.
For example, the functions f and g, such that
2x 2 2x
f .x/ D g.x/ D
x1
for all x 1 and g.1/ D 1, are not continuous at 1 since the graphs of both
functions have a gap where x D 1. On the other hand, the function h, such that
h.x/ D f .x/ for all x 1 and h.1/ D 2, is continuous (see Fig. 5.1).
The function given by
k.x/ D e 1=x ;
for all x 0, is not continuous at 0, for Example 4.5.4 shows that limx!0C e 1=x D
1 but limx!0 e 1=x D 0, and so the graph of k will have a gap no matter how we
define k.0/ (see Fig. 5.2).
Similarly, the function given by
1
;
e 1=xC1
2 2 2
1 1 1
x x x
1 1 1
for all x 0, is not continuous at 0 no matter how we define its value at 0 because
Example 4.6.4 shows that
1
lim D0
x!0C e 1=x C 1
but
1
lim D1
x!0 e 1=xC1
In view of the fact that jf .z/ f .c/j D 0 when z D c, the following theorem is
immediate from Theorem 4.3.1.
5.1 Definition and Examples 217
1
2
Theorem 5.1.4. Let f and g be functions and let c and L be numbers. Suppose that
c is an accumulation point of Df g , that limz!c g.z/ D L, and that f is continuous
at L. Then
lim f .g.z// D f .L/ D f lim g.z/ D lim f .g.z//:
z!c z!c g.z/!L
for all z 2 Df satisfying jz Lj < 1 . Similarly, there exists > 0 such that
jg.z/ Lj < 1
for all z 2 Dg satisfying 0 < jz cj < . For each such z we therefore have
if g.z/ 2 Df , and the first equation follows. The proof is completed with the
observation that f .L/ is equal to the two rightmost expressions, respectively, by
substitution and the continuity hypothesized for f . t
u
Remark. Clearly, the limits as z approaches c may be replaced by one-sided limits.
Moreover the accumulation point c of Df g may be replaced by 1 or 1.
Corollary 5.1.5. If g is continuous at an accumulation point c of Df g and f is
continuous at g.c/, then f g is continuous at c.
Proof. Apply the theorem with L D g.c/. t
u
Corollary 5.1.6. Let f be a function and L and c numbers. Suppose that c is an
accumulation point of Df . If limz!c f .z/ D L, then
Corollary 5.1.7. Let f be a real function and L and a real numbers. Suppose that
a is an accumulation point of Df and
lim f .x/ D L:
x!a
5.1 Definition and Examples 219
We show that f is not continuous anywhere. First let c be a rational number. By the
density theorem, for each n 2 N we can find an irrational number
1 1
sn 2 c ; c C :
n n
Let c be a rational number in .0; 1/. As in the previous example, we can construct
a sequence fsn g of irrational numbers in .0; 1/ such that sn ! c. Hence f .sn / D 0
for all n. But f .c/ 0; hence f is not continuous at c.
Now let c be an irrational number in .0; 1/. Choose any " > 0 and let
m 1
BD 2 .0; 1/ m 2 N; n 2 N; " :
n n
Then B is finite, as m < n 1=", and c B. Choose > 0 such that N .c/
.0; 1/ and
N .c/ \ B D ;:
1
jf .x/ f .c/j <
4
1 1 1
jf .x/ f .y/j jf .x/ f .c/j C jf .y/ f .c/j < C D : (5.1)
4 4 2
5.1 Definition and Examples 221
1
jg.x/ g.y/j < (5.2)
2
.a10 ; b10 /
.a20 ; b20 /
: : :
in which each interval .an0 ; bn0 / has length less than 1=2n and satisfies the condition
that
1
jf .x/ f .y/j <
2n
and
1
jg.x/ g.y/j <
2n
whenever x; y 2 .an0 ; bn0 /. Moreover the sequence fan0 g is increasing and bounded
above. Therefore it converges. Similarly, fbn0 g converges. Since
1
0 < bn0 an0 <
2n
for all n, it follows from the sandwich theorem that fan0 g and fbn0 g both converge to
some number d that belongs to every interval in the sequence. Therefore for every
n 2 N and every x 2 .an0 ; bn0 /, it follows that
1
jf .x/ f .d /j <
2n
and
1
jg.x/ g.d /j < :
2n
It is now easy to show that f is continuous at d . Choose " > 0. Since 1=2n ! 0
as n ! 1, there exists N such that 1=2n < " for all n N . Choose x such that
0
jx d j < minfd aN ; bN0 d g:
222 5 Continuity
0
Then x 2 .aN ; bN0 /, and so
1
jf .x/ f .d /j < < ";
2N
as required. A similar argument shows that g is continuous at d . Hence we reach
the contradiction that d 2 A \ B D ;. t
u
Exercises 5.1.
1. Study the continuity of each of the following functions:
(
jxj
if x 0;
(a) f .x/ D x
0 if x D 0.
(
x 2
if x 1;
(b) f .x/ D
2 x if x > 1.
( ix
i.e 1/
if x 0;
(c) f .x/ D x
1 if x D 0.
(
x if x is rational;
(d) f .x/ D
0 if x is irrational.
2. Find c for which the following functions are continuous:
(
x sin x1 if x 0;
(a) f .x/ D
c if x D 0.
(
x x C 1 if x 1;
2
(b) f .x/ D
cx2 C 1 if x > 1.
3. Let f be continuous on an interval I . Suppose that f .r/ D r 2 for every rational
number r in I . Prove that f .x/ D x 2 for all x 2 I .
4. Let f and g be continuous functions. Show that the functions f _ g and f ^ g
are also continuous, where
and
for all x.
(Hint:
a C b C ja bj
maxfa; bg D
2
5.2 One-Sided Continuity 223
and
a C b ja bj
minfa; bg D :/
2
5. A subset S of C is open if for every c 2 S there exists > 0 such that N .c/
S . Let f W C ! C be continuous. Show that if S is open in C, then
fz 2 C j f .z/ 2 S g
is open.
Example 5.2.1. If
1
f .x/ D
e 1=x C1
lim f .x/ D 0
x!0C
and
lim f .x/ D 1:
x!0
for all x 0. Then f is continuous on the right at 0. It is not continuous on the left
at 0 since it is undefined at each x < 0. Nevertheless f is continuous at 0 according
to our definition. 4
jwn wj > n:
z D lim zkn :
n!1
by the remark following Theorem 5.1.4. Thus there exists N such that
n kn
< jwkn wj
jwkn f .z/j C jf .z/ wj
< 1 C jf .z/ wj:
5.3 Continuity over an Interval 225
However this conclusion is impossible, as the right-hand side of the inequality above
is a constant. Consequently f .X / is bounded.
In order to show that f .X / is closed, choose a limit point w of f .X /. There exists
a sequence fwn g in f .X / such that limn!1 wn D w. For each n there exists zn 2 X
such that f .zn / D wn . As before, fzn g contains a subsequence fzkn g converging to a
number z 2 X . Theorem 2.4.1 and the continuity of f show that
Proof. The result follows from the theorem since the supremum and infimum of
f .X / are necessarily limit points. u
t
In particular, a function that is continuous on a closed interval reaches a
maximum and a minimum value in that interval. If a function is not continuous
on a closed interval, then it may or may not have a maximum or a minimum on that
interval.
Example 5.3.1. Let
(
x if 1 < x < 1;
f .x/ D
0 otherwise.
1
x
0 1
1
x
0 1
Here f is not continuous on the closed interval 1; 1, though it is continuous on
the open interval .1; 1/. It has no minimum on 1; 1, but it has a maximum of 2,
attained at 1 (see Fig. 5.5). 4
It is not only discontinuities at endpoints of intervals that may invalidate the
conclusion of the theorem.
Example 5.3.3. Let
(
x if x 0;
f .x/ D
1x if x > 0.
Proof. We assume that f .a/ < 0 and f .b/ > 0, as the proof in the other case is
similar.
5.3 Continuity over an Interval 227
ba
bn an D :
2n
As the sequences fan g and fbn g are bounded and monotonic, they both converge.
Moreover their limits are equal, since bn an ! 0. Let
lim an D lim bn D :
n!1 n!1
g.x/ D f .x/ k
e x D 4x
f .x/ D e x 4x
for all x. Then f .0/ D 1 > 0 and f .1/ D e 4 < 0. By Bolzanos theorem, the
equation f .x/ D 0 has a solution between 0 and 1, and the result follows. 4
228 5 Continuity
Example 5.3.5. If a > 0 and n 2 N, then we can use the intermediate-value theorem
to prove the existence of a positive nth root of a. Choose c > maxf1; ag, and let
f .x/ D x n for all x 2 R. This function is continuous on 0; c and
As 0 < a < c < c n , the intermediate-value theorem confirms the existence of > 0
such that n D f ./ D a. Thus is an nth root of a. 4
A fixed point for a function f is a number x 2 Df such that f .x/ D x.
Corollary 5.3.5 (Fixed-Point Theorem). Let f W a; b ! a; b be a continuous
function. Then f has a fixed point.
Proof. If either f .a/ D a or f .b/ D b, then f has a fixed point. The remaining
possibility is that f .a/ a > 0 and f .b/ b < 0. Let
g.x/ D f .x/ x
for all x 2 a; b. Then g is continuous on a; b, g.a/ > 0 and g.b/ < 0. Therefore,
by Bolzanos theorem, there exists 2 .a; b/ such that f ./ D 0. The result
follows. t
u
By combining the maximum-value theorem, the minimum-value theorem, and
the intermediate-value theorem, we obtain the following corollary.
Corollary 5.3.6. If f W a; b ! R is continuous and m and M are its minimum and
maximum values, respectively, then
f .a; b/ D m; M :
or
We may suppose that the former inequality obtains, the argument in the other case
being similar. Choose k such that
5.3 Continuity over an Interval 229
Then the intermediate-value theorem establishes the existence of c and d such that
< c < < d < and f .c/ D k D f .d /, contradicting the assumption that f
is injective. t
u
Theorem 5.3.8. Let f W a; b ! R be an increasing (respectively, decreasing) con-
tinuous function. Then f 1 exists and is also increasing (respectively, decreasing)
and continuous.
Proof. We confine our attention to the case where f is increasing, as the argu-
ment in the other case is analogous. Our previous results (Corollary 5.3.6 and
Theorem 5.3.7) show that f 1 exists with domain m; M , where m D f .a/ and
M D f .b/. Now choose y1 ; y2 2 m; M , where y1 < y2 . Then y1 D f .x1 / and
y2 D f .x2 / for some x1 ; x2 2 a; b. Thus x1 D f 1 .y1 / and x2 D f 1 .y2 /: If
x1 x2 , then y1 D f .x1 / f .x2 / D y2 , a contradiction. Hence f 1 is increasing.
Let c 2 m; M and choose " > 0. We want to find > 0 such that
jx j < ";
which is equivalent to
and therefore to
Since
f .x/ f ./ D y c
c y < f ./ f . "/;
so that
Exercises 5.2.
1. Let f W a; b ! R be continuous. Show that
exists. Show also that for every " > 0 there is an interval ; , included in a; b,
such that
for all x 2 ; .
2. Let f; gW a; b ! R be continuous functions. Suppose that f .a/ < g.a/ and
f .b/ > g.b/. Show that there exists c 2 .a; b/ such that f .c/ D g.c/.
3. Let f W .a; b/ ! R be continuous. Show that for any c1 ; c2 ; : : : ; cn 2 .a; b/ there
exists c 2 .a; b/ such that
1X
n
f .c/ D f .cj /:
n j D1
Recall that the exponential function is increasing (Theorem 2.7.12) and continuous
everywhere (Theorem 5.1.9). Therefore it has a continuous increasing inverse. This
inverse is called the logarithm function and is denoted by log. (The reader is
cautioned that some authors use a different notation.) The logarithm of a number
x is often written as log x rather than log.x/. Since limx!1 e x D 1 and
limx!1 e x D 0, the continuity of the exponential function, together with the
intermediate-value theorem, shows that log x is defined for all x > 0. Theorem 5.3.8
shows that it is increasing and continuous on .0; 1/.
As the logarithm and exponential functions are inverses, log x D y if and only if
e y D x. Therefore
e log x D x
and
log e y D y:
ax D e x log a : (5.5)
In particular,
a0 D e 0 D 1
and
a1 D e log a D a:
1 D a0 D aww D aw aw :
Therefore
1
aw D :
aw
Applying this result with a and w replaced by e and y log a, respectively, we find
that
ax e x log a
y
D y log a D e x log a e y log a D e .xy/ log a D axy :
a e
Moreover Eq. (5.5) shows that
log ax D x log a
for all a > 0 and all real x. If y is also a real number, it follows that
.ax /y D axy :
In addition,
Hence
1x D e x log 1 D e 0 D 1
axC1 D ax a1 D ax a:
.a1=n /n D a1 D a:
5.4 The Logarithm Function 233
Thus our definition also agrees with our previous understanding in the case where x
is rational.
Now suppose that a > 0 and b > 0. Since
it follows that
e log a a
e log alog b D e log a e log b D log b
D :
e b
Hence
ax e x log a a x
x log ab
D D e x.log alog b/
D e D :
bx e x log b b
We also observe that the result of Example 4.6.2 holds for all real x 1; 0.
Indeed, the argument used in that example extends to the case of such an x. The
result of Example 3.6.1 may similarly be extended to all real p.
Since log 1 D 0 and log is increasing and continuous on .0; 1/, we see that
log x is negative for all x 2 .0; 1/ and positive for all x > 1. Moreover if we choose
M > 0 and x > e M , then
Hence
lim log x D 1:
x!1
Also, log x < M for all x such that 0 < x < e M , and so
log n
lim D lim log n1=n D log lim n1=n D log 1 D 0:
n!1 n n!1 n!1
for all n > 0. Then the series is convergent if c > 1 and divergent if c 1.
We already know that Abels series diverges, and so it remains only to investigate
the limiting behavior of
1 sn
cn D .n 1/ log.n 1/ 1 C 2 n log n
n n
sn
D .n 1/ log.n 1/ n 1 C log n
n
sn log n
D .n 1/.log.n 1/ log n/ :
n
Since fsn g is bounded, we have
sn log n
lim D 0:
n!1 n
(See Theorem 2.5.3 and recall that log n << n.) Moreover, using the analog of
Theorem 5.1.4 with c replaced by 1, we obtain
As the result of this calculation is negative, there exists N such that cn < 0 for
all n N . Consequently, the theorem follows from the Kummer-Jensen test.
t
u
Example 5.4.3. Test the series
1
X 2
.2j 1/
j D1
22j 1 .j 1/j
for convergence.
Solution. As in Example 3.9.1 we write
2
.2n 1/
an D
22n1 .n 1/n
236 5 Continuity
the last step being obtained upon division of 4n2 C 4n C 1 by 4n2 C 8n C 4 to give
a quotient of 1 1=n and a remainder of 5 C 4=n. Since the sequence
5n2 C 4n
4n2 C 8n C 4
converges (to 5=4), it is bounded. The divergence of the given series now follows
from Gausss test with c D 1.
4
Exercises 5.3.
Let an D loglog n n for all n > 1. Show that an D nlog log n and hence that
1. P
1
j D2 1=aj converges.
2. Determine the convergence of the following series:
P1
j D1 .log.j C 1/ log j / where p > 0;
p
(a)
P1 log j
(b) j D2 j ;
P1 1
(c) j D1 j log 1 C 1
j
;
P1
j D2 j logp j where p 2 R;
1
(d)
P1 1
(e) j D2 j log j log log j .
4. Let fan g be a sequence of positive terms and fsn g a bounded sequence. Let c be
a constant such that
an c sn
D1C C 2
anC1 n n
P1
for all n > 0. Prove that the series j D1 aj converges if c > 1 and diverges if
c 1.
5.5 Uniformly Continuous Functions 237
P1
5. (Bertrands test) Let j D1 aj be a series of positive terms, and for each n 2 N
let
anC1
n D n 1 1 log n:
an
bn D .n 1/ log.n 1/
for all z 2 N .c/ \ Df . It may be that depends on c. If not, then we say that f is
uniformly continuous.
Definition 5.5.1. A function f is uniformly continuous if for each " > 0 there
exists > 0 such that
lim .sn tn / D 0;
n!1
238 5 Continuity
we have
Proof. Suppose there exist sequences fsn g and ftn g in Df such that fsn tn g is null
but ff .sn / f .tn /g is not. Some " > 0 therefore has the property that for every M
there exists n M satisfying
but on the other hand, for every > 0 there exists N such that
jsn tn j <
for all n N . Some such n must satisfy inequality (5.7), and so f cannot be
uniformly continuous.
Conversely, suppose f is not uniformly continuous. Then for some " > 0 and all
> 0 there exist s; t 2 Df such that js t j < and jf .s/ f .t /j ". Thus for
each n 2 N there exist sn ; tn 2 Df such that
1
jsn tn j <
n
and
The sandwich theorem shows that the sequence fsn tn g is null, but ff .sn / f .tn /g
is evidently not. t
u
Example 5.5.1. Consider the function f W .0; 2 ! R defined by
1
f .x/ D :
x
Let " D 1=2 and, for each n 2 N, define sn D 1=n and tn D 2=n. Then
1
jsn tn j D !0
n
as n ! 1, but
n
jf .sn / f .tn /j D "
2
lim jsn tn j D 0
n!1
and
Since fsn g is bounded, by Corollary 2.6.8 it has a subsequence fskn g that converges
to some number s. If skm D s for some number m, then s 2 X . In the remaining
case s is a limit point of X by Theorem 2.6.11, and once again s 2 X since X is
closed. Now
as n ! 1. Hence
lim tkn D s:
n!1
As f is continuous at s 2 X , we obtain
Therefore
for all x and y in .a; b/ satisfying jx yj < . Choose x and y in N=2 .a/ \ .a; b/.
Then
240 5 Continuity
jx yj jx aj C ja yj < C D ;
2 2
However,
sn2 tn2 D 1
for all n. Hence according to Proposition 5.5.1, the function x 2 is not uniformly
continuous over 0; 1/. 4
The family of uniformly continuous functions includes an important subfamily,
which we define below.
Definition 5.5.2. A function f is said to be Lipschitz continuous if there exists a
positive constant M such that
for all z1 ; z2 2 C. 4
It follows from Proposition 5.5.1 and the sandwich theorem that every function
that is Lipschitz continuous is also uniformly continuous. However, the converse is
not always true.
Example 5.5.5. The function f given by
p
f .x/ D x
is continuous and therefore uniformly continuous over 0; 1. We show that it is not
Lipschitz continuous. Suppose there exists M > 0 such that
Classification: 26A24
6.1 Derivatives
f .z/ f .c/
f 0 .c/ D lim :
z!c zc
If the limit exists and is a number, then f is said to be differentiable at c and f 0 .c/
is the derivative of f at c.
Remark 1. We sometimes write
d
f .z/ D f 0 .z/
dz
if f is differentiable at z.
Remark 2. In the case where f is a real-valued function of a real variable x, the
quotient
f .x/ f .c/
xc
gives the slope of the line joining the points .c; f .c// and .x; f .x// on the graph
of f . We may interpret f 0 .c/ geometrically as the slope of the graph of f at the
point .c; f .c//.
Example 6.1.1. Let f .z/ D az C b for all z 2 C, where a; b 2 C. Then, for each
c 2 C and z c,
Hence f 0 .c/ D a. 4
0
In particular, if f .z/ D b for all z 2 C, then f .c/ D 0 for all c. If f .z/ D z for
all z 2 C, then f 0 .c/ D 1 for all c.
Example 6.1.2. Let f .z/ D z2 for all z 2 C. Then, for each c and z c,
f .z/ f .c/ z2 c 2
D
zc zc
D zCc
! 2c
f .c C h/ f .c/
f 0 .c/ D lim :
h!0 h
f .z/ f .c/
g.z/ D
zc
for all z 2 Df fcg, and let g.c/ D f 0 .c/. Then 0 is an accumulation point of Dgk
and g is continuous at c. Notice also that
f .c C z/ f .c/
g.k.z// D :
z
6.1 Derivatives 245
as required. t
u
Example 6.1.3. Recall that exp.z/ D e for all complex z. We have seen that The-
z
orem 2.7.10 holds also for complex numbers. Therefore so does Corollary 2.7.11,
and we can use the latter, together with Theorem 6.1.1, to show that
e cCh e c
exp0 .c/ D lim D ec
h!0 h
for all c. In other words, the exponential function is its own derivative. 4
The following theorem is clear from the sequential formulation of limits.
Theorem 6.1.2. Let f be a function. If there exist sequences fsn g and ftn g in Df
such that
lim sn D lim tn D c
n!1 n!1
and
lim sn D lim tn D 0:
n!1 n!1
Now
f .sn / f .0/
D1
sn 0
and
f .tn / f .0/
D 1:
tn 0
Hence
f .x/ f .0/
Q.x/ D
x0
f .x/
D
x
(
x if x 0;
D
1 if x > 0:
Thus
lim Q.x/ D 0
x!0
and
lim Q.x/ D 1:
x!0C
Hence limx!0 Q.x/ does not exist. In other words, f 0 .0/ does not exist. Note that
the function is continuous but its graph has a corner at 0 (see Fig. 6.1). 4
We now show that if f is differentiable at c, then f is continuous at c.
Examples 6.1.4 and 6.1.5 show that the converse is not always true.
Theorem 6.1.3. If a function f is differentiable at a number c, then f is continuous
at c.
x
0
6.1 Derivatives 247
f .z/ f .c/
f .z/ f .c/ D .z c/:
zc
t
u
Our next example shows that, even for a real function f , the existence of
lim f 0 .x/
x!c
lim f 0 .x/ D 1:
x!0
We now present some results that are helpful in finding derivatives of functions.
Theorem 6.2.1. If f and g are functions and c is an accumulation point of Df \
Dg , where f and g are differentiable, then
1.
2.
3.
0
f f 0 .c/g.c/ f .c/g 0 .c/
.c/ D
g g 2 .c/
.f C g/.z/ .f C g/.c/
.f C g/0 .c/ D lim
z!c zc
f .z/ f .c/ g.z/ g.c/
D lim C
z!c zc zc
D f 0 .c/ C g 0 .c/:
2. Since
we have
because f is continuous at c.
250 6 Differentiability
t
u
Remark. Again, the hypothesis that c be an accumulation point of Df \ Dg is
essential (see Remark 2 after Theorem 4.4.1).
Corollary 6.2.2. Let f be a function and a and c numbers. If f is differentiable
at c, then
Proof. Let g.z/ D a for all z. Thus g 0 .c/ D 0 for all c. Hence
by Theorem 6.2.1(2). t
u
Example 6.2.1. Let f .z/ D zn for all z, where n is a positive integer. We show by
induction that
f 0 .z/ D nzn1
6.2 Differentiation Formulas 251
for all z, where 00 D 1. Certainly, f 0 .z/ D 1 for all z if n D 1. Assume that n > 1
and that the result holds with n replaced by n 1. Then zn D z zn1 , and so
.nzn1 /
f 0 .z/ D D nzn1
z2n
for all z 0. 4
Our next theorem, known as the chain rule, deals with compositions of functions.
Theorem 6.2.3 (Chain Rule). Suppose that f and g are functions such that both
g 0 .c/ and f 0 .g.c// exist, where c 2 Df g . Suppose also that c is an accumulation
point of Df g . Then
Proof. Define
g.z/ g.c/
u.z/ D g 0 .c/
zc
Then v is continuous at b.
From the definitions of u.z/ and v.z/, we have
D g 0 .c/f 0 .b/;
e iz e iz
sin z D
2i
for all z 2 C, we have
cos2 x C sin2 x 1
tan0 x D 2
D D sec2 x:
cos x cos2 x
It follows that the tangent function is continuous wherever it is defined. Note also
that
1
sec0 x D . sin x/ D sec x tan x
cos2 x
for all x such that cos x 0. 4
6.2 Differentiation Formulas 253
1 0 1
f .f .c// D 0 .c/
:
f
Proof. Note first that f is continuous, by Theorem 6.1.3. Therefore f 1 exists and
is continuous and increasing on its domain, by Theorem 5.3.8. Let g D f 1 . Thus
Dg D f .a/; f .b/.
According to Theorem 6.1.1, we must show that
g.f .c/ C k/ c 1
lim D 0 ;
k!0 k f .c/
k
f 0 .c/ D lim :
k!0 g.f .c/ C k/ c
Furthermore,
f 1 .f .c/ C k/ D c C h.k/I
hence
f .c/ C k D f .c C h.k//;
so that
k D f .c C h.k// f .c/:
254 6 Differentiability
f .c C h.k// f .c/
f 0 .c/ D lim :
k!0 h.k/
But
f .c C h.k// f .c/
f 0 .c/ D lim :
h.k/!0 h.k/
f .c C x/ f .c/
j.x/ D
x
We now check that the hypotheses of Theorem 5.1.4 are satisfied by the functions
j and h. As h is evidently continuous on its domain, we see that
as required. t
u
The inverse function theorem also holds for functions of a complex variable with
continuous derivatives (see [11]).
Since the logarithm and exponential functions are inverses, we have
x D exp.log x/ (6.1)
for all x > 0. Moreover the logarithm function is differentiable at all x > 0
by Theorem 6.2.4, since the exponential function is nonzero, differentiable, and
increasing everywhere. Differentiation of Eq. (6.1) therefore yields
and so
1
log0 x D
x
for all x > 0. This calculation provides another confirmation that the logarithm
function is continuous at all x > 0.
Let us now define f .x/ D x a D e a log x > 0 for all x > 0, where a is any real
number. Then
a a
f 0 .x/ D e a log x D x a D axa1 :
x x
Exercises 6.2.
1. Show that log0 x D 1=x for all x > 0 by evaluating
log.x C h/ log x
lim :
h!0 h
lim an D lim bn D c;
n!1 n!1
prove that
f .bn / f .an /
f 0 .c/ D lim :
n!1 bn an
f .bn / f .an /
f 0 .c/
bn an
bn c f .bn / f .c/ 0 an c f .an / f .c/ 0
D f .c/ f .c/
bn an bn c bn an an c
X
n
F 0 .x/ D Fj .x/fj0 .x/:
j D1
5. Let
(
x if x 2 Q;
f .x/ D
x if x Q.
Show that .f f /.x/ D x for all x. What can you say about the chain rule?
6. Let f be as in Exercise 6.5 and let g D f . Show that .fg/.x/ D x 2 for all x.
What can you say about the product rule?
7. Let m and n be positive integers. An m n matrix is defined as an array of
numbers arranged in m rows and n columns. The array is usually
enclosed in
p q p q
parentheses. The determinant of the 2 2 matrix is defined by the
r s r s
equation
p q
r s D ps rq:
where f1 ; f2 ; g1 ; g2 are functions that are differentiable on .a; b/. Show that
0
f .x/ f 0 .x/ f1 .x/ f2 .x/
F 0 .x/ D 1 2 C
g1 .x/ g2 .x/ g10 .x/ g20 .x/
The first theorem to be discussed in this section is important in its own right but is
even more important as the basis for a number of other theorems that are among the
most useful in the theory of functions.
Theorem 6.3.1 (Rolle). Let f W a; b ! R be continuous on a; b and differ-
entiable on .a; b/, and suppose that f .a/ D f .b/. Then f 0 ./ D 0 for some
2 .a; b/.
Proof. If f is a constant function, then f 0 .x/ D 0 for all x 2 a; b. Hence we
assume that f .x1 / f .a/ for some x1 2 .a; b/. We may also assume that
f .x/ f ./
Q.x/ D
x
As f .x/ f ./ for all x 2 a; b, it follows that f .x/ f ./ 0 for all such x.
Hence Q.x/ 0 for all x 2 a; / and Q.x/ 0 for all x 2 .; b. Thus
lim Q.x/ 0
x!
and
lim Q.x/ 0I
x! C
Remark 2. The conditions in Rolles theorem cannot be relaxed. For instance, for
all x 2 0; 1 let
f .x/ D x;
g.x/ D x bxc;
and
f .x/ D x 2 bx 2 c
for each x 2 1; 3=2. Here we have f .3=2/ D 9=4 2 D 1=4 0 D f .1/.
Moreover f is not continuous (and therefore not differentiable) at 1. Nevertheless,
f .x/ D x 2 for all x 2 .1; 1/, and so f 0 .0/ D 0. Note that 0 2 .1; 3=2/.
By maneuvering the x-axis, we can generalize Rolles theorem to one of the most
fundamental theorems of real analysisthe mean-value theorem.
Theorem 6.3.2 (Mean-Value Theorem). Let f be a function of a real variable
and suppose that f is continuous on a closed interval a; b and differentiable on
.a; b/. Then there is a number 2 .a; b/ such that
f .b/ f .a/
f 0 ./ D : (6.2)
ba
Discussion: Notice that the right-hand side of Eq. (6.2) is the slope of the chord
of the graph of f joining the points .a; f .a// and .b; f .b//. The theorem asserts
that some tangent to the graph between these points is parallel to the chord. We may
6.3 The Mean-Value Theorem for Derivatives 259
rotate and translate the chord, if necessary, until it is superimposed on the x-axis.
The mean-value theorem then becomes identical to Rolles theorem.
Proof. The equation of the chord joining .a; f .a// and .b; f .b// is
f .b/ f .a/
y f .a/ D .x a/:
ba
Thus
f .b/ f .a/
y D f .a/ C .x a/:
ba
Define
f .b/ f .a/
g.x/ D f .x/ y D f .x/ f .a/ .x a/
ba
Thus Rolles theorem may be applied to find a number 2 .a; b/ such that
g 0 ./ D 0. But
f .b/ f .a/
g 0 ./ D f 0 ./ :
ba
The result follows. t
u
Example 6.3.1. If f .x/ D e x for all x, then f 0 .x/ D e x for all x. We can use this
result and the mean-value theorem to show that
ex 1 C x
for all real x. Indeed, equality holds if x D 0. Suppose that x > 0. By the mean-
value theorem, there exists 2 .0; x/ such that
e x e 0 D e .x 0/:
e x 1 D e x > x;
We now establish some theorems that are plausible intuitively but difficult to
prove without invoking the mean-value theorem.
Theorem 6.3.3. Let f W a; b ! R be a function that is continuous on a; b and
differentiable on .a; b/. If f 0 .x/ D 0 for all x 2 .a; b/, then f is a constant
function.
Proof. Suppose f is not a constant function. Then there exist c and d in a; b such
that f .c/ f .d /. Suppose without loss of generality that c < d . By the mean-
value theorem, there exists 2 .c; d / such that
f .d / f .c/
D f 0 ./ D 0:
d c
f .x/ D g.x/ C c
f .d / f .c/
D f 0 ./ > 0:
d c
f .x/ D ax2 C bx C c
f 0 .x/ D 2ax C b
for all x, and so f 0 .x/ D 0 if and only if x D b=.2a/. Moreover f 0 .x/ < 0 for
all x < b=.2a/ and f 0 .x/ > 0 for all x > b=.2a/, since a > 0. It follows from
Theorems 6.3.6 and 6.3.5 that f is decreasing on .1; b=.2a/ and increasing
on b=.2a/; 1/. Therefore, by Theorem 5.3.7, the equation f .x/ D 0 can have at
most two real solutions, one in the former interval and one in the latter. In fact, since
bx c
f .x/ D a x 2 C C
a a
2 !
b b2 c
Da xC 2C ;
2a 4a a
we have
and so there are two real solutions if f .b=.2a// < 0, none if f .b=.2a// > 0,
and just the solution x D b=.2a/ if f .b=.2a// D 0. Note that
b b2 b2
f Da Cc
2a 4a2 2a
4ac b 2
D :
4a
262 6 Differentiability
As we saw in Sect. 1.4, the number b 2 4ac is called the discriminant of f .x/. Since
a > 0, the equation has two distinct real solutions if the discriminant is positive,
just one if D 0, and none if < 0. We also observe that the equation has two
distinct real solutions if and only if there exists a number such that f ./ < 0.
If a < 0, similar arguments show that once again the equation has two distinct
real solutions if > 0, just one if D 0, and none if < 0. In this case,
however, two distinct real solutions exist if and only if there is a number such that
f ./ > 0. 4
Definition 6.3.1. Let f be a real-valued function. The value of f at a number
c 2 Df is called a local maximum if there exists a neighborhood N .c/ such
that f .z/ f .c/ for all z 2 N .c/. A local minimum of f is defined analogously.
A number c is an extremal point or extremum of f if f .c/ is a local maximum or
local minimum, and f .c/ is then an extremal value of f .
Our next result gives a sufficient condition for the existence of an extremum.
Theorem 6.3.8 (First Derivative Test). Let f W a; b ! R be a continuous
function and let c 2 .a; b/. Suppose there exists > 0 such that f is differentiable
at all x 2 N .c/.
1. If f 0 .x/ 0 whenever c < x < c and f 0 .x/ 0 whenever c < x < c C ,
then f has a local maximum at c.
2. If f 0 .x/ 0 whenever c < x < c and f 0 .x/ 0 whenever c < x < c C ,
then f has a local minimum at c.
Proof.
1. The mean-value theorem shows that for each x 2 .c ; c/ there exists 2 .x; c/
such that
Hence f .c/ f .x/. Likewise, f .c/ f .x/ for each x 2 .c; c C /. Therefore
f .c/ is a local maximum.
2. The proof of part (2) is similar. t
u
Example 6.3.5. This theorem shows that the function jxj, for all x 2 R, has a local
minimum at 0. Note that this function is not differentiable at 0. 4
The following theorem is often of assistance in locating local maxima and
minima.
Theorem 6.3.9. Let f W a; b ! R and c 2 .a; b/. If f .c/ is an extremal value of
f and f 0 .c/ exists, then f 0 .c/ D 0.
Theorem 6.3.9 is an immediate consequence of the following lemma, which
asserts that an extremal point of a function f is a turning point of the graph of f .
6.3 The Mean-Value Theorem for Derivatives 263
f .x/ f .c/
>0
xc
for all x 2 N .c/. Thus f .x/ > f .c/ if x > c, but f .x/ < f .c/ if x < c.
The case where f 0 .c/ < 0 follows by considering the function f . t
u
A number c such that f 0 .c/ D 0 is sometimes called a critical point of the
function f .
Our next theorem shows that derivatives satisfy the conclusion of the
intermediate-value theorem even though they may not be continuous. First, we
establish a special case.
Lemma 6.3.11. If f W a; b ! R is differentiable and f 0 .a/f 0 .b/ < 0, then there
exists 2 .a; b/ such that f 0 ./ D 0.
Proof. We may assume that f 0 .a/ > 0 [and therefore that f 0 .b/ < 0] as the
argument is similar if f 0 .a/ < 0. The differentiable function f is continuous and
therefore has a maximum value at some 2 a; b. By Lemma 6.3.10, there exists
> 0 such that f .x/ > f .a/ for each x such that a < x < a C . Therefore a.
Similarly, b, so that 2 .a; b/. Finally, f 0 ./ D 0 by Theorem 6.3.9. t
u
Theorem 6.3.12 (Darboux). If f W a; b ! R is differentiable and f 0 .a/
f 0 .b/, then for each v between f 0 .a/ and f 0 .b/ there exists 2 .a; b/ such that
f 0 ./ D v.
g.x/ D f .x/ vx
either f 0 .x/ > 0 for all x 2 .a; b/ or f 0 .x/ < 0 for all x 2 .a; b/. The conclusion
is immediate in both cases, by Theorem 6.3.5 or Theorem 6.3.6, respectively. t
u
Remark. The condition hypothesized for the continuity of f in this corollary may
be relaxed provided that a corresponding change is made to the conclusion. For
example, suppose that the interval a; b is replaced by a; b/, and choose y such
that a < y < b. Then f is continuous on a; y and therefore strictly monotonic on
that interval. As y is any number in .a; b/, we conclude that f is strictly monotonic
on a; b/.
Exercises 6.3.
1.(a) Show that
x2 x2 x3
x < log.1 C x/ < x C
2 2 3
for all x > 0.
(b) Let
n2
1 C n1
sn D
en
for each n > 0. Show that
1 1 1
< log sn < C :
2 2 3n
(c) Compute limn!1 sn .
2.(a) Show that
2x
< log.1 C x/
xC2
3. Prove that
x2
log.1 C x/ < x
2.1 C x/
and
1 x
g.x/ D 1 :
x
Show that f is increasing on .0; 1/ and g is decreasing on .1; 1/. [Hint: Study
the signs of the derivatives of log f .x/ and log g.x/.]
5. Use the mean-value theorem to show that the following functions are uniformly
continuous on 0; 1/:
(a) cos kx for every real k.
(b) log.1 C x/.
6. Use the mean-value theorem to show that
1 p p 1
p < nC1 n< p
2 nC1 n
for every n 2 N.
7. Show that the equation
x 4 C 4x C c D 0
has at most two real roots for every real c and exactly two if c < 0.
8. Show that x 5 C 7x 2 D 0 has exactly one real root.
9. Suppose that f is differentiable on R and has two real roots. Show that f 0 has
at least one root.
10. Let p.x/ be a polynomial of degree n 2. Suppose that the equation p.x/ D 0
has n real roots (which may be repeated). Show that p 0 .x/ D 0 has n 1 real
roots.
11. Let f be a function such that f 0 is continuous on a; b and differentiable on
.a; b/, and suppose that
13. Let f be a function that is continuous on 0; 1 and differentiable on .0; 1/, and
suppose that f .0/ D f .1/ D 0. Show that there exists c 2 .0; 1/ for which
f 0 .c/ D f .c/. [Hint: Apply the mean-value theorem to f .x/=e x .]
14. Let f be a differentiable function. Suppose that jf 0 .x/j M for all x 2 Df .
Show that pf is Lipschitz continuous.
15. Show that x 2 C 1 and sin x are Lipschitz continuous on R.
The sine and cosine functions may be used to define another important mathematical
constant. First, we derive the following proposition.
Proposition 6.4.1. There exists
2 .1; 2/ such that cos
D 0:
Proof. Proposition 3.16.1 shows that
x2
cos x 1
2
for every real x. Hence
1 1
cos 1 1 D > 0:
2 2
Similarly,
x2 x4
cos x 1 C ;
2 24
so that
4 16 1
cos 2 1 C D < 0:
2 24 3
An appeal to continuity and the intermediate-value theorem completes the proof. u
t
For the sine function we have the following result.
Proposition 6.4.2. If x 2 .0; 2/, then sin x > 0.
Proof. The proposition follows from the facts that
1
X x 2j C1
sin x D .1/j
j D0
.2j C 1/
6.4 Periodicity of Sine and Cosine 267
X1
x 4j C1 x 4j C3
D
j D0
.4j C 1/ .4j C 3/
1
X
x 4j C1 x2
D 1
j D0
.4j C 1/ .4j C 3/.4j C 2/
for all x 2 .0; 2/, so that cos is decreasing on the interval 0; 2. We infer that the
Furthermore,
sin 2
D 2 sin
cos
D 0:
sin x D sin.y C
/ D sin y cos
C cos y sin
D cos y:
We therefore need to show that cos y > 0. But this result is immediate from the
facts that cos
D 0, 0 < y <
, and cos is decreasing on 0;
. u
t
We now define D 2
. This is the new mathematical constant whose
introduction was foreshadowed earlier. Our results therefore show that 2 < < 4,
cos.=2/ D 0, sin.=2/ D 1, and sin D 0. In fact, we see from Proposition 6.4.3
that is the smallest positive number whose sine is 0. Moreover it follows from
Proposition 6.4.3 and the formula cos0 x D sin x that cos is decreasing on 0; .
In addition,
268 6 Differentiability
sin x C D sin x cos C cos x sin D cos x (6.3)
2 2 2
and
cos x C D cos x cos sin x sin D sin x (6.4)
2 2 2
for all x. Therefore
sin.x C / D sin x C C D cos x C D sin x:
2 2 2
It follows that sin x < 0 for all x 2 .; 2/ and hence that cos is increasing on
; 2. Furthermore,
cos.x C / D sin x C D cos x
2
and
Since cos 0 D 1 and cos D cos 0 D 1, an appeal to the continuity of the
cosine and the intermediate-value theorem shows that the cosine, restricted to the
interval 0; , is a bijection between that interval and the interval 1; 1. Note
also that cos.3=2/ D cos.=2/ D 0. Since the cosine is decreasing on 0;
but increasing on ; 2, we see that cos x < 0 if =2 < x < 3=2. Therefore
cos x > 0 if =2 < x < =2. We deduce that the sine function is increasing on
=2; =2 and decreasing on =2; 3=2. Since sin.=2/ D 1 and sin.=2/ D
sin.=2/ D 1, it follows that the sine, restricted to the interval =2; =2, is
a bijection between that interval and the interval 1; 1.
A function f defined for all x and not constant is said to be periodic if there
exists > 0 such that
f .x C / D f .x/
for all x. The smallest such is called the period of f . We have now shown that
the sine and cosine functions are both periodic with period 2.
We have observed that sin is continuous everywhere, and it is also increasing
on =2; =2. Consequently, if its domain were restricted to that interval, then
the resulting function would have an inverse. This inverse is called the inverse sine
function and is denoted by arcsin. Its domain is 1; 1, since sin.=2/ D 1 and
6.4 Periodicity of Sine and Cosine 269
sin.=2/ D 1. As cos x 0 for all x 2 .=2; =2/, we see from the inverse
function theorem (Theorem 6.2.4) that arcsin is differentiable on .1; 1/. In fact, if
y 2 .1; 1/, then y D sin x for some x 2 .=2; =2/, and
1 1 1
arcsin0 .y/ D D Dp
sin0 x cos x 1 y2
Since tan x D sin x= cos x for all x for which cos x 0, we have
cos2 x C sin2 x
tan0 x D D 1 C tan2 x > 0
cos2 x
for all such x. We infer that tan is continuous and increasing on each interval over
which it is defined. An example of such an interval is .=2; =2/. Since
sin x
lim tan x D lim D1
x! 2
x! 2 cos x
and, similarly,
it follows that for all y there exists a unique x 2 .=2; =2/ for which tan x D y.
We write x D arctan.y/ and refer to x as the inverse tangent of y. For instance,
arctan.0/ D 0. This function is differentiable, by the inverse function theorem. Since
tan arctan.y/ D y;
differentiation yields
so that
1
arctan0 .y/ D :
1 C y2
The parentheses around the arguments of the inverse sine, inverse cosine, and
inverse tangent functions are usually omitted.
Let D arcsin.x/, where x 2 1; 1. Then sin D x and =2
=2. Hence =2 =2 and sin. / D sin D x, so that D
arcsin x. We deduce that
arcsin.x/ D arcsin x:
On the other hand, let D arccos.x/, where x 2 1; 1. Then cos D x
and 0 . Hence 0 and
arccos.x/ D arccos x:
1
lim cos
x!0 x
1
sn D
2n
and
2
tn D :
.2n C 1/
Then
lim sn D lim tn D 0:
n!1 n!1
However,
1
cos D cos 2n D 1
sn
6.4 Periodicity of Sine and Cosine 271
and
1
cos D cos n C D 0 1:
tn 2
Therefore the limit in question does not exist. In fact, this argument shows that
1
lim cos
x!0C x
By the product and chain rules, f is differentiable at all x 0. Moreover for all
x 0 we have
f .x/ f .0/ f .x/ 1
0
x0 D x D x sin x jxj:
f .x/ f .0/
f 0 .0/ D lim D 0:
x!0 x0
by Example 4.4.1 but limx!0 cos.1=x/ does not exist, we conclude that
limx!0 f 0 .x/ does not exist. Therefore f 0 is not continuous at 0. 4
272 6 Differentiability
Our next example shows that a function may have a local extremum at some
point c, yet the values of its derivative might not have equal sign throughout the left
or right half of any neighborhood of c.
Example 6.4.3. Let
(
2x 4 C x 4 sin x1 if x 0;
f .x/ D
0 if x D 0:
Since
1 1
2x C x sin D x 2 C sin
4 4 4
x4 > 0
x x
1 1
f 0 .x/ D 8x 3 C 4x 3 sin x 2 cos
x x
whereas
0 1 12
f D 3 > 0:
2n C
2 2n C 2
Since
1
!0
2n
and
1
!0
2n C
2
and
0 1 8 1
f D C
.2n C 1/ .2n C 1/3 3 .2n C 1/2 2
8 C .2n C 1/
D
.2n C 1/3 3
>0
then
1 1 1
f 0 .x/ D 2x sin cos C
x x 2
f .x/ f .0/
Q.x/ D
x0
f .x/
D
x
1 1
D x sin C :
x 2
Thus
1
f 0 .0/ D lim Q.x/ D :
x!0 2
and
0 1 3
f D :
.2n C 1/ 2
Therefore
2 sin x
:
x
Define
f .x/ D sin x 2x
f 0 .x/ D cos x 2
and
f 00 .x/ D sin x:
The last equation shows that f 0 is decreasing on 0; =2. Since f 0 .0/ D 2 > 0
and f 0 .=2/ D 2 < 0, it follows from the intermediate-value theorem that there
is a unique 2 .0; =2/ such that f 0 ./ D 0. Thus f 0 .x/ > 0 for all x 2 0; /
and f 0 .x/ < 0 for all x 2 .; =2, so that f is increasing on 0; and decreasing
on ; =2. As f .0/ D f .=2/ D 0, we conclude that f .x/ > 0 for all x 2
.0; =2/. Thus
6.4 Periodicity of Sine and Cosine 275
sin x > 2x
for all such x and the desired inequality follows in this case upon division by
x > 0.
If x 2 .=2; 0/, then x 2 .0; =2/. The previous result therefore shows that
Thus
2 2x
cos x x D1
2
2x
1 cos x ;
Kobers inequality may be rewritten as
1 cos x 2
:
x
Example 6.4.7.
1
sin Dp :
4 2
Since 0 < =4 < =2, we also know that cos.=4/ > 0. Hence
r
1
D sin cos D sin 1 sin2 ;
2 4 4 4 4
so that
1
D sin2 1 sin2 D sin2 sin4 :
4 4 4 4 4
Thus
2
0 D 4 sin4 4 sin2 C 1 D 2 sin2 1 ;
4 4 4
whence
1
sin2 D
4 2
and the result follows.
4
Hence
r
1 1
cos D 1 Dp :
4 2 2
Note that cos x D 0 if and only if x D .2k C 1/=2 for some integer k. For all
other values of x we have
sin x
tan x D :
cos x
For instance,
tan 0 D 0
6.4 Periodicity of Sine and Cosine 277
and
1 p
tan D p 2 D 1:
4 2
Theorem 6.4.4. If cos x D cos y and sin x D sin y, then x D y C 2k for some
integer k.
Proof. First we reduce the problem to values of x and y in 0; 2/. There exists an
integer l such that
Let x1 D x 2l; hence 0 x1 < 2. Similarly, let m be the integer such that
and let y1 D y 2m, so that 0 y1 < 2. Note also that cos x1 D cos y1 and
sin x1 D sin y1 .
Suppose that sin x1 D sin y1 D 0. Then fx1 ; y1 g f0; g. Since cos 0 cos ,
it follows that x1 D y1 .
Suppose sin x1 > 0. Then x1 and y1 are both in .0; /. Since cos is decreasing
on that interval and cos x1 D cos y1 , we deduce that x1 D y1 .
Suppose sin x1 < 0. Now fx1 ; y1 g .; 2/. Since cos is increasing on .; 2/
and cos x1 D cos y1 , we again have x1 D y1 .
Thus x1 D y1 in every case. Hence
x 2l D y 2m;
and so
as required. t
u
We now give a geometric interpretation of the sine and cosine functions for real
numbers. The idea is to establish a bijection between the interval 0; 2/ and the
unit circle
x 2 C y 2 D 1;
the circle that is centered at the origin and has radius 1. Given a point .x; y/ on the
circle, we observe that jxj 1. Therefore there is a unique number 2 0; for
which cos D x. Moreover
y 2 D 1 x 2 D 1 cos2 D sin2 ;
278 6 Differentiability
x
1 0 x Q 1
x2 C y2 D r 2:
If 0 < ' < =2, then the triangle OPQ is replaced by a right triangle with
hypotenuse of length r extending from the origin to a point .x; y/ on C . The
remaining vertex of the triangle is the point .x; 0/ on the positive x-axis. The angle
from the positive x-axis to the hypotenuse, measured in the counterclockwise sense,
is still ' > 0. The length of the side coincident with the x-axis is x D r cos ', and
6.4 Periodicity of Sine and Cosine 279
r s
that of the side parallel to the y-axis is y D r sin '. We therefore perceive that, for
an angle ' < =2 in a given right triangle, sin ' is the ratio of the length s of the
side opposite ' to the length r of the hypotenuse. Similarly, cos ' D t =r, where t
is the length of the side adjacent to the right angle and ' (see Fig. 6.3). In fact, the
triangle may be positioned anywhere in the plane and oriented in any manner, so that
the angle ' may be measured, geometrically, from any line. However, since ' > 0,
we use the convention that the angle is measured in the counterclockwise sense.
Negative numbers may similarly be perceived as angles measured in the clockwise
sense. Thus the numbers ' and ' measure the same angle but in opposite senses.
The numbers ' and ' C 2k, for each integer k, also measure the same angle.
For each ' 2 0; 2/ we define D ' 2 if < ' < 2 and D ' otherwise.
Then 2 .; , cos D x=r, and sin D y=r. Moreover 2 .=2; =2/ if
and only if x > 0, whereas 2 .0; / if and only if y > 0. If x D 0, then D =2
if y > 0 and D =2 if y < 0. On the other hand, for y D 0 we have D 0 if
x > 0 and D if x < 0.
We now give a geometric interpretation of the multiplication of complex num-
bers. Suppose that z D x C iy, where x and y are real and jzj D 1. Geometrically,
z is therefore a point on the unit circle centered at the origin. There exists a unique
number 2 .; , which we will call the argument of z, such that x D cos and
y D sin . Thus
z D cos C i sin D e i :
For example,
z D e i.C2k/
280 6 Differentiability
Now let us multiply two complex numbers w and z with modulus 1 and respective
arguments and :
wz D e i e i D e i.C/ :
Thus the multiplication of two complex numbers on the unit circle centered at the
origin manifests itself geometrically as a rotation about the origin. We easily obtain
a corresponding result for division:
w e i
D i D e i./ :
z e
Furthermore, since
.e i /n D e in
for every integer n, we obtain the following theorem, which is due to de Moivre.
Theorem 6.4.5 (de Moivre). For each integer n and each real ,
Hence
z D rei ;
where r D jzj. This expression is called the polar form of z. The number is the
argument of z and is written as arg z.
There are various formulas for arg z. Let z D .x; y/ 0, where x and y are real.
If 2 0; =2, then sin D y=r, so that
y
arg z D D arcsin
r
6.4 Periodicity of Sine and Cosine 281
If 2 .; =2/, then 0 < C < =2 and sin. C / D y=r, so that
y y
arg z D arcsin D arcsin :
r r
Note that if z is real, then arg z D 0 if z > 0 and arg z D if z < 0.
We have already observed that
z D jzj.cos C i sin /
wz D jwje i
jzje i
D jwzje i.
C/
D jwzj.cos.
C / C i sin.
C //:
Hence
cos D cos.
C /
and
sin D sin.
C /:
We conclude that D
C C 2k for some integer k. In other words,
observe that the components of the complex numbers .1; 1/; .2; 1/; .3; 1/ are all
positive. Therefore the arguments of these numbers are all in the interval .0; =2/.
p of the number on the right-hand side is equal to arg.1; 1/,
In fact, the argument
which is arcsin.1= 2/ D =4. Letting
1
D arg.2; 1/ D arcsin p ;
5
p
we find that sin D 1= 5, so that
r
1 2
cos D 1 Dp
5 5
6.4 Periodicity of Sine and Cosine 283
and therefore tan D 1=2. Thus arg.2; 1/ D arctan 1=2. Similarly, since
1
arg.3; 1/ D arcsin p
10
p
we have cos arg.3; 1/ D 3= 10, and we deduce that arg.3; 1/ D arctan 1=3. As
it follows that
1 1
arg..2; 1/.3; 1// D arctan C arctan :
2 3
Hence
1 1
arctan C arctan D ;
2 3 4
so that
1 1
D 4 arctan C arctan :
2 3
The power series expansion for arctan x, which we will derive later, therefore
provides a means of estimating . More efficient formulas with which to begin can
be found in the exercises. The approximate value of is 3:14159.
In contrast to the injective nature of the exponential function for real variables,
for complex arguments we have the following theorem.
Theorem 6.4.6. For complex w and z we have e w D e z if and only if z D w C 2k i
for some integer k.
Proof. If z D w C 2k i , then, since
we have
e z D e wC2k i D e w e 2k i D e w :
1 D e x cos n D .1/n e x ;
and since e x > 0, it follows that n is even and e x D 1. The former condition shows
that n D 2k for some integer k, and from the latter we have x D 0, so that
z D iy D n i D 2k i;
as required.
The general case now follows easily, for if e w D e z , then e zw D 1, so that
z w D 2k i
for all n. If fcos nxg were convergent, then the left-hand side would converge to 0.
Therefore fsin nxg would converge as well (sin x 0 since x k for each
integer k), and therefore so would fe nxi g since
But
e xi D cos x C i sin x 1;
for all n. t
u
We conclude this section with the observation that the mean-value theorem does
not hold in general for functions of a complex variable. For example, let f .z/ D e iz
for all z 2 C. If a D 0 and b D 2, then
e ix C e ix
cos x D ;
2
for all x, to express cos 3x in terms of cos x.
2. Use the result of Example 6.4.5 to show that
x2
cos x > 1
2
for all x 0.
3. Show that
1 tan x2
x x
4. Prove that the following strengthening of Kobers inequality holds for all x such
that 0 < x =2:
1 cos x tan x2 2
:
x x
[Hint: 1 cos x D 2 sin2 .x=2/.]
5. For each real and , show that
is a constant function. Deduce the addition rules for the sine and cosine
functions from this fact.
6. Differentiate the identity
sin x D cos x
2
to deduce that
cos x D sin x:
2
7. Show that cos x C x sin x is increasing on 0; =2 and hence deduce that
X
n
Sn D sin j:
j D1
sin jzj
lim
x!0 z
1 1
D 4 arctan arctan :
4 5 239
This formula is due to Machin.
14. Compute
.4 C i /3 .20 C i /
1Ci
The concept of a derivative may be applied to the calculation of limits that do not
succumb to the methods of Chap. 4. First we need a generalized version of the
mean-value theorem. This generalization is due to Cauchy.
Consider two functions f and g that satisfy the hypotheses of the mean-value
theorem on some interval a; b. Then there exist numbers f and g in .a; b/ such
that
f .b/ f .a/
D f 0 .f /
ba
and
g.b/ g.a/
D g 0 .g /:
ba
Thus
Proof. Notice first that g.b/ g.a/ 0, for if g.a/ D g.b/, then Rolles theorem
would reveal the existence of a number c 2 .a; b/ for which g 0 .c/ D 0. Such a c
cannot exist, however, by hypothesis.
Now define a function F such that
for all x 2 a; b. This function is continuous on a; b and differentiable on .a; b/.
Since
Hence
and the result follows upon division by the nonzero number .g.b/ g.a//g 0 ./. u
t
Remark. The mean-value theorem is the special case where g.x/ D x for all x 2
a; b.
Corollary 6.5.2. Let f and g be functions that are differentiable on an open
interval .a; b/ and suppose that g 0 .x/ 0 for all x 2 .a; b/. Suppose also that
f 0 .x/
lim DL
x!aC g 0 .x/
for some real number L. Then for every " > 0 there exists 2 .0; b a/ such that
f .y/ f .x/
g.y/ g.x/ L < "
f 0 .x/
lim D L:
x!aC g 0 .x/
for each y 2 .a; b/ satisfying a < y < a C . For each such y we therefore have
f 0 .c/
<LC" (6.8)
g 0 .c/
Now fix x and y such that a < x < y < a C . Functions f and g satisfy
the hypotheses of Cauchys mean-value formula on x; y. Therefore there exists
2 .x; y/ such that
f .y/ f .x/
< L C ":
g.y/ g.x/
A similar argument shows that
f .y/ f .x/
> L ";
g.y/ g.x/
f .y/ f .x/
>M
g.y/ g.x/
and
f 0 .x/
lim DL
x!aC g 0 .x/
6.5 LHpitals Rule 291
f .x/
lim D L:
x!aC g.x/
Proof. Choose " > 0. By Corollary 6.5.2 there exists 2 .0; b a/ such that
f .x/ f .y/
L"< <LC" (6.9)
g.x/ g.y/
for all x and y satisfying a < y < x < a C . Thus > 0. Choose x such that
0 < x a < and g.x/ 0. Then
so that x 2 Df =g . Moreover inequality (6.9) holds for each y 2 .a; x/. Taking limits
as y ! aC , we find that
f .x/
L" L C ";
g.x/
so that
f .x/
g.x/ L " < 2"
sin x
lim :
x!0 x
sin x
lim D lim cos x D 1
x!0 x x!0
by lHpitals rule.
4
Example 6.5.2. Evaluate
ex 1
lim :
x!0 sin x
292 6 Differentiability
ex 1 ex
lim D lim D 1:
x!0 sin x x!0 cos x
4
Example 6.5.3. LHpitals rule is not applicable to the evaluation of
log x
lim
x!0C x
because
yet for each x 2 .0; 1/ we find that log x is negative and x positive. 4
Example 6.5.4. Evaluate
sin x tan x
lim :
x!0 x2
Solution. Since
As
4
The next theorem also concerns the indeterminate form 0=0, but the limit is taken
as x ! 1.
Theorem 6.5.4. Let f and g be functions that are differentiable at all x > a for
some positive number a, and suppose that g 0 .x/ 0 for all x > a. Suppose also
that
and
f 0 .x/
lim D L;
x!1 g 0 .x/
f .x/
lim D L:
x!1 g.x/
Proof. For each x > a > 0 we may define t D 1=x. Thus 0 < t < 1=a. For
each t satisfying these inequalities, define F .t / D f .1=t / and G.t / D g.1=t /. By
Corollary 4.6.3 we then have
1
lim F .t / D lim f D lim f .x/ D 0
t!0 C t!0 C t x!1
and
1
lim G.t / D lim g D lim g.x/ D 0:
t!0C t!0C t x!1
Moreover F and G are differentiable on .0; 1=a/, and for each t 2 .0; 1=a/ we have
1=t > a, so that
294 6 Differentiability
1 1
G .t / D 2 g 0
0
0
t t
F .t /
D lim
t!0C G.t /
F 0 .t /
D lim
t!0C G 0 .t /
1
t12 f 0
D lim 1t
t!0C t12 g 0 t
f 0 .x/
D lim 0
x!1 g .x/
D L:
t
u
Remark. A similar proof establishes a corresponding theorem in which x ! 1.
Sometimes an application of these theorems makes matters worse.
Example 6.5.5. Suppose we wish to evaluate
lim x log x:
x!0C
1
lim D0
x!0C log x
x 1 x
lim 1
D lim D lim 1
:
x!0C x!0C 1 log12 x x!0C
log x x log2 x
6.5 LHpitals Rule 295
Although the limit on the right-hand side is still of the indeterminate form 0=0, it is
more complicated than the limit on the left-hand side. The appeal to Theorem 6.5.3
has therefore failed to solve the problem. However, we can also write
log x
x log x D 1
;
x
lim log x D 1
x!0C
and
1
lim D 1:
x!0C x
4
The observation at the end of the example above motivates a study of other
indeterminate forms. We prepare for the resulting theorem with a helpful lemma
concerning limits.
Lemma 6.5.5. Let f be a function defined on an interval .a; b/ and let L be a
number. Suppose that for each q1 > L there exists c1 2 .a; b/ such that f .x/ < q1
whenever x 2 .a; c1 /. Suppose similarly that for each q2 < L there exists c2 2
.a; b/ such that q2 < f .x/ whenever x 2 .a; c2 /. Then
lim f .x/ D L:
x!aC
Proof. Choose " > 0. Then L " < L < L C ". Consequently, there exist numbers
c1 and c2 in .a; b/ such that f .x/ < L C " whenever x 2 .a; c1 / and L " < f .x/
whenever x 2 .a; c2 /. If we choose x such that
lim g.x/ D 1
x!aC
296 6 Differentiability
and
f 0 .x/
lim DL
x!aC g 0 .x/
for some real number L. Then
f .x/
lim D L:
x!aC g.x/
Discussion: One obvious way to attempt a proof of this theorem is to try to show
that limx!aC f .x/ D 1 and then to convert the limit to the indeterminate form 0=0
by writing f .x/=g.x/ as
1
g.x/
1
:
f .x/
Using Theorem 6.5.3 together with the chain rule, we should then obtain
1
f .x/ g.x/
lim D lim 1
x!aC g.x/ x!aC
f .x/
0
gg2.x/
.x/
D lim 0
x!aC ff 2.x/
.x/
f 2 .x/ g 0 .x/
D lim 2
lim 0
x!aC g .x/ x!aC f .x/
f .x/ 2 1
D lim :
x!aC g.x/ L
We now encounter several problems, the most obvious of which is that L might
be 0. Furthermore, limx!aC f .x/=g.x/ might not exist. Even if it were to exist, it
would have to be nonzero in order for us to be able to deduce the required result
as a consequence of the calculation above. The following proof circumvents these
difficulties.
Proof. Choose q1 > L. The density property shows that there is a q satisfying
L < q < q1 . By Corollary 6.5.2 there exists 2 .0; b a/ such that
f .x/ f .y/
g.x/ g.y/ L < q L
for all x and y satisfying a < x < y < a C . Fix a y for which
It follows that
f .x/ f .y/
<LCqLDq (6.10)
g.x/ g.y/
lim g.x/ D 1;
x!aC
c D minfy; a C 1 g > a:
0 < x a < c a 1 ;
and so
f .x/
< h.x/
g.x/
f .y/ g.y/
h.x/ D Cqq
g.x/ g.x/
Now
lim h.x/ D q
x!aC
since
1
lim D0
x!aC g.x/
c1 D minfc; a C 2 g > a:
0 < x a < c 1 a 2 :
h.x/ < q C q1 q D q1 :
We conclude that
f .x/
< h.x/ < q1 :
g.x/
In summary, we have now shown that for each q1 > L there exists c1 2 .a; b/
such that
f .x/
< q1
g.x/
whenever x 2 .a; c1 /. A similar argument shows that for each q2 < L there exists
c2 2 .a; b/ such that
f .x/
q2 <
g.x/
lim x log x:
x!0C
Solution. We have
log x
lim x log x D lim 1
:
x!0C x!0C
x
1
lim x log x D lim x
D lim x D 0:
x!0C x!0C x12 x!0C
4
Theorem 6.5.6 may be extended to limits as x approaches a , a, 1, or 1.
Remark. If lim f 0 .x/=g 0 .x/ does not exist, then we cannot draw any conclusion
about lim f .x/=g.x/.
Example 6.5.7. If f .x/ D sin x and g.x/ D x for all x, then f 0 .x/ D cos x and
g 0 .x/ D 1, so that limx!1 f 0 .x/=g 0 .x/ does not exist. 4
When applying lHpitals rule to find limx!a f .x/=g.x/, we must make sure
that all the hypotheses are satisfied, as we may get spurious results otherwise.
For instance, if g 0 has a zero in each neighborhood of a, then we must not apply
lHpitals rule. Corresponding remarks hold if x approaches aC , a , 1, or 1. In
a case where f 0 .x/ D .x/h.x/, g 0 .x/ D .x/k.x/, and .x/ does not approach
a limit but h.x/=k.x/ does, then we must resist the temptation to cancel .x/ in
f 0 .x/=g 0 .x/. In 1879, Stolz gave an example to illustrate this point. In 1956, Boas
constructed infinitely many examples, including the one constructed by Stolz. We
present an example here.
Example 6.5.8. For all x let
sin 2x C 2x
f .x/ D ;
4
and let ' be any function such that the functions '.sin x/ and ' 0 .sin x/ are
positive and bounded for all x. For instance, the exponential function satisfies these
conditions. Let
g.x/ D f .x/'.sin x/
300 6 Differentiability
cos 2x C 1
f 0 .x/ D D cos2 x
2
and
Thus g 0 .x/ D 0 whenever cos x D 0. Consequently, for every a there exist values
of x > a such that g 0 .x/ D 0. We conclude that lHpitals rule cannot in fact be
applied.
Note that cos x is a common factor of f 0 .x/ and g 0 .x/. Canceling this factor, we
obtain
f 0 .x/ cos x
D
g 0 .x/ '.sin x/ cos x C f .x/' 0 .sin x/
for 1all x such that g 0 .x/ 0. The properties hypothesized for ' and the fact that
limx!1 f .x/ D 1 therefore show that
f 0 .x/
lim D 0:
x!1 g 0 .x/
However,
f .x/ 1
D 1
g.x/ '.sin x/
for all x > 1=2, and this quotient does not approach 0 as x ! 1. 4
It is easy to use lHpitals rule to prove that log x << x:
log x 1
lim D lim D 0:
x!1 x x!1 x
In fact, it can be proved by induction that logk x << x for every positive integer k,
for if we assume that
logk x
lim D0
x!1 x
6.5 LHpitals Rule 301
logkC1 x .k C 1/ logk x
lim D lim D 0:
x!1 x x!1 x
Exercises 6.5.
1. Show that the conclusion of Theorem 6.5.1 does not hold for the functions
f .x/ D 4x 3 C 6x 2 12x
and
g.x/ D 3x 4 C 4x 3 6x 2
on the interval 0; 1. Which of the conditions of the theorem is not satisfied in
this case?
2. Show that Theorem 6.5.6 may not be applied to evaluate
x C cos x
lim
x!1 x C sin x
directly.
3. Let
and
for all x. Show that lHpitals rule does not apply to the evaluation of
f .x/
lim :
x!1 g.x/
2x C sin 2x
lim :
x!1 x sin x C cos x
x1
(c) limx!1C ex1 ;
log sin x
(d) limx!0C log x ;
(e) limx!1 x.log.x C 2/ log x/;
(f) limx!1 x.a1=x 1/, where a > 0.
(g) limx!.1/C .x C 1/1=3 log.x C 1/;
x
(h) limx!0C xp;
(i) limx!1 . x2 C x x/;
(j) limx!.=2/ x 2 tan x;
x
(k) limx!1 xC1x2
.
6. The determinant
a11 a12 a13
a21 a22 a23
a a a
31 32 33
of the 3 3 matrix
0 1
a11 a12 a13
@ a21 a22 a23 A
a31 a32 a33
Show that Cauchys mean-value formula does not apply in the case where
f .x/ D 3x 4 2x 3 x 2 C 1
and
g.x/ D 4x 3 3x 2 2x
for all x 2 0; 1 but that there exists 2 .0; 1/ satisfying Eq. (6.13).
8. [17] Let 1 ; 2 ; 3 be real numbers with sum equal to 1. Let f1 ; f2 ; f3 be
functions that are continuous on a; b and differentiable on .a; b/, and suppose
that fk .a/ fk .b/ for each k 2 f1; 2; 3g. Show that there exists 2 .a; b/ for
which
1 2 3
f10 ./ C f20 ./ C f 0 ./ D 0:
f1 .b/ f1 .a/ f2 .b/ f2 .a/ f3 .b/ f2 .a/ 3
Obtain an expression for f10 ./ by taking 1 D 1, and derive Cauchys mean-
value formula by taking 1 D 1, 2 D 1, and 3 D 0.
The result can be generalized to an arbitrary number of functions. Use it to
show that the equation
x ex 1
f .x/ D 3x C cos C C D0
2 2 e1 .x C 1/ log 2
has at least one solution in .0; 1/. [Note that f .0/ and f .1/ are both positive
and so the conclusion is not an obvious consequence of the intermediate-value
theorem.]
9. [2] Let a and b > a be real numbers and suppose that f and g are
functions that are continuous on a; b and differentiable on .a; b/. Suppose
also that g 0 .x/ 0 for all x 2 .a; b/. Show that if f 0 .x/=g 0 .x/ is increasing
(respectively, decreasing), then so are
f .x/ f .a/
g.x/ g.a/
and
f .x/ f .b/
:
g.x/ g.b/
304 6 Differentiability
[Hint: Note that Corollary 6.3.13 implies that either g 0 .x/ < 0 for all x 2 .a; b/
or g 0 .x/ > 0 for all x 2 .a; b/. Assuming that f 0 .x/=g 0 .x/ is increasing, show
that the derivative of
f .x/ f .a/
g.x/ g.a/
is nonnegative.]
10. This problem concerns the following question. Suppose that f and g are
functions such that
f .x/
lim (6.14)
x!aC g.x/
f 0 .x/
lim (6.15)
x!aC g 0 .x/
exists, then so does the limit (6.14). The question is whether we can extend this
observation to say that if f 0 .x/=g 0 .x/ exists throughout some interval .a; aC/,
where > 0, but the limit (6.15) does not exist, then the limit (6.14) also does
not exist.
(a) Show that the answer to the question posed is no by considering the
functions defined by
1
f .x/ D x 2 sin ;
x
1
lim x sin D0
x!0C x
1
lim cos
x!0C x
sin x
lim D1
x!0C x
6.6 A Discrete Version of lHpitals Rule 305
f 0 .x/
lim
x!0C g 0 .x/
f .x/
lim D 0:
x!0C g.x/
(b) i. Show that if f 0 .x/=g 0 .x/ exists throughout some interval .a; a C/, where
> 0, then for each x 2 .a; a C / there exists 2 .a; x/ such that
f .x/ f 0 ./
D 0 :
g.x/ g ./
ii. Why is it therefore not valid to conclude that the answer to the question
posed is yes by using the following argument?
If the limit (6.15) does not exist, then
f 0 ./
lim
x!aC g 0 ./
f .x/ f 0 ./
D 0 ;
g.x/ g ./
it therefore follows that the limit (6.14) also does not exist.
h f .x/ D f .x C h/ f .x/:
306 6 Differentiability
Then
h f .x/
f 0 .x/ D lim :
h!0 h
f .x/ h f .x/
lim D lim :
x!1 g.x/ x!1 h g.x/
Theorem 6.6.1. Let f and g be functions defined at all x > a for some number a.
Suppose that
1.
and
2. for some h > 0,
(a) either h g.x/ > 0 for all x > a or h g.x/ < 0 for all x > a, and
(b)
h f .x/
lim D L;
x!1 h g.x/
f .x/
lim D L:
x!1 g.x/
Proof. Let us assume that h g.x/ > 0 for all x > a; the argument in the other case
is similar.
Case 1: Suppose that L is a real number. Choose " > 0. By assumption there
exists N > a such that
f .x C h/ f .x/
L"< <LC"
g.x C h/ g.x/
f .x C kh/ f .x C .k 1/h/
L"< < L C ":
g.x C kh/ g.x C .k 1/h/
6.6 A Discrete Version of lHpitals Rule 307
Since
it follows that
.L "/.g.x C nh/ g.x// < f .x C nh/ f .x/ < .L C "/.g.x C nh/ g.x//;
by Theorem 4.6.2. Our initial assumption shows that the sequence fg.x C nh/g
is increasing. Since
f .x/
L" L C ";
g.x/
f .x/
M;
g.x/
Case 3: The case where L D 1 can be dealt with by applying the argument of
case 2 to the functions f and g.
t
u
By applying the proof of this theorem to sequences, we obtain the following
result.
Corollary 6.6.2. Let fan g and fbn g be sequences that converge to 0. Let h be a
positive integer for which there exists a real number N such that the sign of bnCh bn
is constant for all n N . Suppose that
anCh an
lim D L;
n!1 bnCh bn
sin 2x
f .x/ D
bxc
and
p p 1
g.x/ D xC1 xDp p :
xC1C x
Then
and
1 f .x/ D f .x C 1/ f .x/
sin 2.x C 1/ sin 2x
D
bx C 1c bxc
1 1
D sin 2x
bxc C 1 bxc
sin 2x
D ;
bxc.bxc C 1/
so that
p p
1 f .x/ . x C 2 C x/ sin 2x
D I
1 g.x/ 2bxc.bxc C 1/
hence
p
1 f .x/
< 2 xC2 !0
g.x/ 2.x 1/2
1
as x ! 1. We conclude that
f .x/
lim D 0:
x!1 g.x/
4
We now establish another version of the theorem.
Theorem 6.6.3. Let f and g be functions defined at all x > a for some number
a, and suppose that they are bounded on every finite subinterval of .a; 1/. Suppose
also that
1.
lim g.x/ D 1;
x!1
and
2. for some h > 0,
(a) either h g.x/ > 0 for all x > a or h g.x/ < 0 for all x > a, and
(b)
h f .x/
lim D L;
x!1 h g.x/
Then
f .x/
lim D L:
x!1 g.x/
Proof. Let us assume that h g.x/ > 0 for all x > a, as the argument in the other
case is similar. Since limx!1 g.x/ D 1, we may also assume that g.x/ > 0 for
all x > a.
Case 1: Suppose L is a real number. Choose " > 0. Arguing as in the proof of
Theorem 6.6.1, we deduce the existence of N > a such that
f .x C nh/ f .x/
g.x C nh/ g.x/ L < " (6.16)
so that
g.r/
0< < 1I
g.x/
hence
1 g.r/ < 1;
g.x/
and so
f .x/ f .r/ Lg.r/ f .x/ f .r/
L
g.x/ L g.x/ C
g.x/ g.r/
because
f .r/ Lg.r/ g.r/ f .x/ f .r/
D C 1 L :
g.x/ g.x/ g.x/ g.r/
Note that
f .x/ f .r/ f .r C jh/ f .r/
g.x/ g.r/ L D g.r C jh/ g.r/ L < "
and so
f .x/
lim D L:
x!1 g.x/
f .x C h/ f .x/
>M
g.x C h/ g.x/
f .x C nh/ f .x/
>M
g.x C nh/ g.x/
for all x N and all positive integers n. Choose x N C h, and write x D r C jh,
where r 2 N; N C h/ and j is a positive integer. Thus
so that
Hence
lim f .x/ D 1;
x!1
and so we may assume also that f .x/ > 0 for all x > a.
Finally,
h g.x/ 1
lim D lim h f .x/
x!1 h f .x/ x!1
h g.x/
and
h f .x/
lim D 1:
x!1 h g.x/
Consequently,
h g.x/
lim D 0:
x!1 h f .x/
g.x/
lim D 0;
x!1 f .x/
whence
f .x/ 1
lim D lim g.x/ D 1;
x!1 g.x/ x!1
f .x/
anCh an
lim D L;
n!1 bnCh bn
xnC1 D xn .1 xn /
for all n 1. It is easy to see by induction that 0 < xn < 1 for all n, and so
xnC1 < xn for all n. Thus the sequence fxn g is decreasing. It therefore converges to
some number L. From the recurrence relation we obtain
L D L.1 L/
by taking limits, and we infer that L D 0. Thus the sequence f1=xn g is increasing
and approaches infinity as n does so. Noting first that
xn xnC1 D xn xn .1 xn / D xn2
for all n, we conclude from Stolzs theorem, with an D n and bn D 1=xn for all n,
that
n
lim nxn D lim
n!1 n!1 1
xn
.n C 1/ n
D lim
n!1 1
xnC1
x1n
xn xnC1
D lim
n!1 xn xnC1
314 6 Differentiability
xnC1
D lim
n!1 xn
D lim .1 xn /
n!1
D 1:
4
Corollary 6.6.6. Let a be a positive number and let k be a function that is defined
and positive at all x > a and bounded on every finite subinterval of .a; 1/. Suppose
that
k.x C 1/
lim D L;
x!1 k.x/
lim .k.x//1=x D L:
x!1
Proof. Let f .x/ D log k.x/ and g.x/ D x for all x > a. Then
f .x C 1/ f .x/ k.x C 1/
D log k.x C 1/ log k.x/ D log ! log L
g.x C 1/ g.x/ k.x/
log k.x/
lim D log L:
x!1 x
Hence
log k.x/
lim .k.x//1=x D lim exp log.k.x//1=x D lim exp D exp log L D L:
x!1 x!1 x!1 x
t
u
As a consequence of Corollary 6.6.6, we obtain the corresponding result for
sequences.
Corollary 6.6.7. If fan g is a sequence of positive terms and
anC1
lim D L;
n!1 an
then
lim an1=n D L:
n!1
6.6 A Discrete Version of lHpitals Rule 315
Exercises 6.6.
1. Use the work of this section to show that
0 1
Xn X
n
lim @ .2j 1/2 j 2 A D 4:
n!1
j D1 j D1
1 X
n
1
lim kk D
n!1 nkC1 j D1
kC1
x D y.x/ C 2k.x/
Show that
x
lim D 2:
x!1 g.x/
lim an D lim bn D 0
n!1 n!1
316 6 Differentiability
and
an
lim DL
n!1 bn
7. Prove that if
then
xn
lim D L:
n!1 n
for each z within the circle of convergence of the power series on the right-hand
side. If we differentiate the power series term by term, we obtain a new series,
1
X
jaj .z c/j 1 ;
j D1
which is said to be the corresponding derived series. It is natural to ask whether the
derived series has the same circle of convergence and, if so, whether the function it
defines is f 0 . It turns out that the answers to these questions are affirmative within
the interior of the circle of convergence.
First we investigate the radius of convergence.
Theorem 6.7.1. A power series and its derived series have the same radius of
convergence.
6.7 Differentiation of Power Series 317
Proof. It suffices to consider power series with center 0. Let r1 and r2 be the radii
of convergence of the power series
1
X
aj zj
j D0
and its derived series, respectively. For each positive integer n we have
Thus if the derived series converges, then so does the given series by the comparison
test. We deduce that r1 r2 .
It remains to show that r2 r1 . This inequality certainly holds if r1 D 0. Assume
therefore that r1 > 0. Choose z and r such that 0 < jzj < r < r1 . Then
1
X
jaj r j j
j D0
is convergent, and so
X1 z j 1
j
j D1
r
and this quantity approaches jzj=r < 1 as n ! 1. Therefore the derived series
converges at jzj by the comparison test. We conclude that r2 r1 , as required. u
t
318 6 Differentiability
P1
By applying the theorem k times, we see that the series j D0 aj zj has the same
radius of convergence as
1
X 1
X j
j.j 1/ .j k C 1/aj zj k D aj zj k :
.j k/
j Dk j Dk
for all z such that jzj < r, where r is the radius of convergence of the power series
and is nonzero. Then f is differentiable at all z such that jzj < r, and
1
X
f 0 .z/ D jaj zj 1
j D1
1 1
1 X X
D aj .zj wj / jaj wj 1
z w j D1 j D1
1
X
zj wj j 1
D aj jw :
j D2
zw
j 1
X zj wj
zk wj k1 D
zw
kD0
j 1 j 1
X X
j 1 j 1
w Dw 1 D j wj 1
kD0 kD0
j 1 j 1
zj wj X X
j wj 1 D zk wj k1 wj 1
zw
kD0 kD0
j 1
X
D .zk wj k1 wj 1 /
kD0
j 1
X
D wj k1 .zk wk /
kD1
j 1
X X
k1
D wj k1 .z w/ zm wkm1
kD1 mD0
j 1 k1
X X
D .z w/ zm wj m2 :
kD1 mD0
Thus
j j
aj z w j wj 1 D jaj j z w j wj 1
j j
zw zw
Xj 1 k1
X
D jaj j .z w/ zm wj m2
kD1 mD0
j 1 k1
X X
jaj jjz wj jzm wj m2 j
kD1 mD0
j 1 k1
X X
jaj jjz wj t j 2
kD1 mD0
j 1 k1
X X
D jaj jjz wjt j 2 1
kD1 mD0
j 1
X
D jaj jjz wjt j 2 k
kD1
j.j 1/
D jz wjjaj t j 2 j
2
for all j > 1, since
j 1
X j.j 1/
kD
2
kD1
P1
by Theorem 1.5.4. As 0 < t < r, the series j D0 jaj t j j converges, and it follows
by two applications of Theorem 6.7.1 that
1
X
jj.j 1/aj t j 2 j
j D2
1
X
D j.j 1/jaj t j 2 j;
j D2
6.7 Differentiation of Power Series 321
we obtain
X1 j
aj z w j wj 1
j
j j
j D2
zw
1
jz wj X
j.j 1/jaj t j 2 j
2 j D2
jz wjS
D :
2
Hence ! 0 as z ! w, as required. t
u
P1 j
Corollary 6.7.3. Let r be the radius of convergence of the series j D0 aj z . Then
the series
1
X zj C1
aj
j D0
j C1
for all z such that jzj < 1, since .1/j zj D .z/j . For all such z differentiation
gives
X1
1
D .1/j j zj 1
.1 C z/2 j D1
1
X
D .1/j C1 .j C 1/zj ;
j D0
322 6 Differentiability
so that
X 1
1
D .1/j .j C 1/zj
.1 C z/ 2
j D0
X1
j C1 1 9
j
D 2 D :
j D0
3 2 4
3
Hence
X1 X1
j j C1 1 9 1 3
j
D j
j
D 2 D :
j D1
3 j D0
3 3 4 3
4
4
Example 6.7.2. Since
X1 j
z
exp.z/ D e z D
j D0
j
as we saw earlier. 4
It is possible to express the logarithm function as a power series. Indeed, we have
the following theorem.
Theorem 6.7.4. For all x 2 .1; 1/
1
X xj
log.1 C x/ D .1/j C1 :
j D1
j
Proof. Note first that the power series is absolutely convergent, by Example 3.15.3.
Its derivative is
1
X X 1 X 1
jxj 1 1
.1/j C1 D .x/j 1 D .x/j D ;
j D1
j j D1 j D0
1Cx
6.7 Differentiation of Power Series 323
by Theorem 3.2.1. This expression is also the derivative of log.1 C x/, and so there
exists c such that
1
X xj
.1/j C1 D log.1 C x/ C c:
j D1
j
Substituting x D 0 gives
0 D log 1 C c D c
1Cx
t .x/ D : (6.17)
1x
Note that t .x/ > 0 for all x 2 .1; 1/ and that t is continuous at all x 2 1; 1/.
Since t .1/ D 0 and
1Cx
lim D 1;
x!1 1x
the range of t must be the set of all nonnegative real numbers. Furthermore, for all
x 2 .1; 1/,
1Cx
log t .x/ D log
1x
D log.1 C x/ log.1 x/
1
X 1
X xj
xj
D .1/j C1 C
j D1
j j D1
j
1
X x 2kC1
D2 : (6.18)
2k C 1
kD0
324 6 Differentiability
But if we write t instead of t .x/ for convenience, Eq. (6.17) shows that
t tx D 1 C x;
whence
t 1 D x.t C 1/:
t 1
xD ;
t C1
For instance,
1
X 1
log 2 D 2 : (6.20)
.2k C 1/32kC1
kD0
Equation (6.20) may be used to approximate log 2 to a high level of accuracy. Even
if we use only five terms of the series, we obtain 0:6931 : : :, which is correct to two
decimal places.
Theorem 6.7.5 can be used to find a quick way of approximating log t for each
positive t . First find an integer k such that
2k t < 2kC1 :
Thus
t
1 < 2;
2k
so that Theorem 6.7.4 can be used to approximate log.t =2k /. But
t
log D log t k log 2;
2k
and so log t may be calculated from the formula
t
log t D log C k log 2:
2k
6.7 Differentiation of Power Series 325
log.j C 1/ log j
D log0 :
j C1j
In other words,
1
log.j C 1/ log j D :
1 1
< log.j C 1/ log j < (6.21)
j C1 j
X
n1
1 X
n1 X
n1
1
< .log.j C 1/ log j / < : (6.22)
j D1
j C 1 j D1 j D1
j
Now let
X n
1 X
n1
1
Sn D D
j D1
j j D0
j C1
for all n > 1, where the telescoping property was used to evaluate the middle
summation. Thus
1 1
log n C < Sn1 C D Sn < 1 C log n: (6.23)
n n
Let
an D Sn log n
326 6 Differentiability
for all n 2 N. We shall prove the sequence fan g convergent. First, since
1
SnC1 Sn D ;
nC1
we have
1
anC1 an D log.n C 1/ C log n;
nC1
1
log.n C 1/ > C log n
nC1
1
an D Sn log n > > 0:
n
Hence fan g converges to some number , which is called Eulers constant. Thus
0 1
Xn
1
D lim an D lim @ log nA :
n!1 n!1
j D1
j
1
< Sn log n < 1;
n
so that 0 1. In fact, is approximately 0:577.
We can use these ideas to obtain a convenient power series expansion for log 2.
Define
"n D Sn log n
Sn D log n C C "n :
Now we put
X
n
.1/j C1
Tn D
j D1
j
6.7 Differentiation of Power Series 327
X
2n
.1/j C1
T2n D
j D1
j
X2n
1 X n
1
D 2
j D1
j j D1
2j
D S2n Sn
D log 2n C C "2n log n "n
D log 2 C "2n "n
! log 2
as n ! 1, so that
1
X .1/j C1
log 2 D :
j D1
j
We have now extended Theorem 6.7.4 to the case x D 1. However, this result does
not provide an efficient method for approximating log 2. For instance, by taking 20
terms of the series we obtain the approximation 0:6669, rounded to four decimal
places. This result is much worse than that reached by taking only five terms of the
series given in Eq. (6.20).
The next theorem gives a power series expansion, due to Gregory, for arctan x
that is valid for all x such that jxj < 1.
Theorem 6.7.6. For all x such that jxj < 1,
1
X x 2j C1
arctan x D .1/j :
j D0
2j C 1
Proof. It follows from Example 3.15.3 that the power series is absolutely conver-
gent. Its derivative is
1
X 1
X
.1/j x 2j D .x 2 /j
j D0 j D0
1
D
1 C x2
D arctan0 x
328 6 Differentiability
for all x such that jxj < 1. By Corollary 6.3.4 there is a constant c such that
1
X x 2j C1
.1/j D arctan x C c
j D0
2j C 1
for all such x. Since arctan 0 D 0, we have c D 0 and the theorem follows. t
u
We finish this section with an example of an application of the differentiation of
power series to the solution of a certain type of differential equation. Such equations
arise, for instance, in wave mechanics.
Example 6.7.3. The differential equation
1
X 1
X 1
X
D .j C 2/.j C 1/aj C2 x j 2 jaj x j C 2 aj x j
j D0 j D0 j D0
1
X
D ..j C 2/.j C 1/aj C2 2jaj C 2aj /x j
j D0
2. j /
aj C2 D aj :
.j C 2/.j C 1/
6.7 Differentiation of Power Series 329
we have y 0 .0/ D a1 . These two equations are called the initial conditions for the
differential equation. The series for y is uniquely determined if a0 and a1 are known.
In fact, an inductive argument shows that
2j . 2/. 4/ . 2j C 2/
a2j D .1/j a0
.2j /
and
2j . 1/. 3/. 5/ . 2j C 1/
a2j C1 D .1/j a1
.2j C 1/
for all j 0. Recalling the convention that the empty product is 1, we therefore
obtain
1 Qj 1 1 Qj 1
X X
2j kD0 . 2k/ 2j 2j kD0 . 2k 1/
y.x/ D a0 .1/ j
x C a1 .1/ j
x 2j C1 :
.2j / .2j C 1/
j D0 j D0
H1 .x/ D x;
H2 .x/ D 1 2x 2 ;
2x 3
H3 .x/ D x ;
3
4x 4
H4 .x/ D 1 4x 2 C ;
3
4x 3 4x 5
H5 .x/ D x C ;
3 15
8x 6
H6 .x/ D 1 6x 2 C 4x 4 :
15
330 6 Differentiability
There are other ways of defining the Hermite polynomials. For instance, it can
be shown [16] that they satisfy the recursive relation
y 00 C p.x/y 0 C q.x/y D 0;
where y.0/ and y 0 .0/ are given. Let r > 0. If p and q can be represented by
power series on the interval .r; r/, then the differential equation has a unique
power series solution and this solution also converges on .r; r/. In other words,
the radius of convergence of the solution is at least as big as the minimum of the
radii of convergence of p and q. 4
Exercises 6.7.
1. Verify the formulas for the derivatives of the sine and cosine functions by
differentiating their power series.
2. Let
X1
z3j
f .z/ D :
j D0
.3j /
for all nonnegative integers n and all z such that jzj < r.
6.7 Differentiation of Power Series 331
4. Suppose that
1
X
f .z/ D 1 C aj zj
j D1
is the series solution of the differential equation f 0 .z/ D f .z/. Show that
an
anC1 D
nC1
D 3; a0 D 1; a1 D 0
P1
9. (Airys equation) Suppose that f .x/ D j D0 aj x j is the series solution of
f 00 .x/ xf .x/ D 0:
P1
10. (Legendres equation) Suppose that j D0 aj x j is the series solution of
Substitute the power series for f .x/ into the differential equation to obtain a
series p.x/. Show that the constant term of the latter series satisfies the equation
2a2 C . C 1/a0 D 0;
Writing
show that the series p.x/ converges absolutely whenever jxj < 1.
When n is a nonnegative integer, either p1 or p2 is a polynomial. Show that
if n D 0, then p1 .x/ D 1 and
1 1Cx
p2 .x/ D log
2 1x
1 1Cx
p1 .x/ D 1 log :
2 1x
to show that
1 X1
n
lim D 1:
n!1 log n j
j D1
Classification: 26A42
In this chapter we use the idea of an area to motivate a concept called an integral of a
function, and we show that the process of finding an integral of a function is closely
related to that of obtaining an antiderivative of the function, that is, a function whose
derivative is the given function. Some techniques for finding integrals are derived
and the use of integrals for testing the convergence of certain types of series are
discussed. All functions under consideration are assumed to be real-valued functions
of one or more real variables.
Suppose we wish to approximate the area bounded by the curve y D f .x/ and the
lines x D a, x D b, and y D 0 (see Fig. 7.1. For the sake of clarity, the figure is
drawn for a function f such that f .x/ 0 for all x 2 a; b.)
We approximate the area using small rectangular regions. Let us first introduce a
few definitions and notation.
Definition 7.1.1. Let a; b be a closed interval. By a partition of a; b we mean a
(finite) sequence x0 ; x1 ; : : : ; xn of numbers such that
y = f (x)
x
a b
Mj .f / D supff .x/ j x 2 xj ; xj C1 g
and
If f and g are functions that are defined and bounded on a; b and f .x/ g.x/
for all x 2 a; b, then it is clear that Mj .f / Mj .g/ and mj .f / mj .g/ for
each j . For the rest of this chapter, unless we state otherwise, we assume that f
is a function that is defined and bounded on a closed interval a; b. Given such a
function f and a partition .x0 ; x1 ; : : : ; xn / of a; b, we shall also take Mj .f / and
mj .f / to be defined as above.
Remark. There might not exist c 2 xj ; xj C1 such that f .c/ D Mj .f /, and
similarly for mj .f /. For example, let f W 0; 2 ! R be defined by
8
< x bxc if x 2 0; 1
f .x/ D
:
bxc x if x 2 .1; 2
7.1 Area Under a Curve 335
x
1 2
(see Fig. 7.2). Let P be the partition .0; 1; 2/ of 0; 2. Then M0 .f / D 1 and
m1 .f / D 1. It is clear that there is no c 2 0; 1 such that f .c/ D 1 and no
c 2 1; 2 such that f .c/ D 1. However, if f is continuous on a; b, then there is
always a number c 2 xj ; xj C1 such that f .c/ D Mj .f / (see Corollary 5.3.2).
A corresponding statement holds for mj .f /. The number c also exists if f is
nondecreasing or nonincreasing on a; b. For instance, if f is nondecreasing on
a; b, then Mj .f / D f .xj C1 / and mj .f / D f .xj /.
Let .x0 ; x1 ; : : : ; xn / be a partition P of some closed interval J a; b. Then we
define
X
n1
U.P; f / D Mj .f /.xj C1 xj /:
j D0
The number U.P; f / is called the upper (Riemann) sum of f over J relative to P .
An upper sum of f over the whole of a; b can be thought of geometrically as the
shaded area in Fig. 7.3. This sum is an approximation, from above, for the area A
bounded by the curve y D f .x/ and the lines x D a, x D b, and y D 0. It is clear
that if c 2 .a; b/ and P1 and P2 are partitions of a; c and c; b, respectively, then
y f(x)
x
x0 x1 x2 xn
a b
y f(x)
x0 x1 x2 xn x
a b
where P1 and P2 are partitions of a; c and c; b, respectively, for some c 2 .a; b/,
and P is the partition of a; b for which PO D PO1 [ PO2 .
7.1 Area Under a Curve 337
We also have
X
n1 X
n1
U.P; f / L.P; f / D Mj .f /.xj C1 xj / mj .f /.xj C1 xj /
j D0 j D0
X
n1
D .Mj .f / mj .f //.xj C1 xj /:
j D0
In addition, if f and g are functions that are defined and bounded on J and satisfy
f .x/ g.x/ for all x 2 J , then L.P; f / L.P; g/ and U.P; f / U.P; g/.
Example 7.1.1. If P is the partition .a; b/ of a; b determined by fa; bg, then
L.P; f / D m.b a/
and
X
n1
S.P; f / D k.xj C1 xj /
j D0
D k.b a/;
4
338 7 The Riemann Integral
y = f(x)
x
x0 c0 x1 c1 x2 c2 cn 1 xn
a b
If f and g are functions defined and bounded on J , and k and l are constants,
then
X
n1
S.P; kf C lg/ D .kf .cj / C lg.cj //.xj 1 xj /
j D0
X
n1 X
n1
Dk f .cj /.xj C1 xj / C l g.cj /.xj C1 xj /
j D0 j D0
L.P; f / L.Q; f /
and
U.P; f / U.Q; f /:
Proof. To establish the first inequality, it suffices to prove the result for the case
where Q contains exactly one more point than P . An easy induction then gives us
the general case.
Suppose QO D PO [ fyg, where P D .x0 ; x1 ; : : : ; xn / and xj < y < xj C1 for
some integer j < n. Let
and
t
u
Exercises 7.1.
1. Prove that, for any partitions P and Q of an interval a; b,
2. Consider the function f defined by f .x/ D x for all x 2 0; 1. For each positive
integer n, the partition
1 2
Pn D 0; ; ; : : : ; 1
n n
lim U.Pn ; f /
n!1
and
lim L.Pn ; f /:
n!1
The collections of upper and lower sums of f over a; b are nonempty and bounded
below and above, respectively. Hence we can make the following definition.
R
Definition 7.2.1. The lower integral f of a bounded function f over a; b is
the least upper bound of the set of lower sums of f relative to partitions of a; b.
R
Similarly, the upper integral f of f over a; b is the greatest lower bound of the
set of upper sums of f relative to partitions of a; b.
From Corollary 7.1.2 it is clear that
Z Z
L.P; f / f f U.P; f / (7.3)
for every partition P of a; b. Moreover, if f and g are bounded functions such that
R R R R
f .x/ g.x/ for all x 2 a; b, then f g and f g. It is also clear from
inequalities (7.2) that
Z Z
f S.P; f / f
0 if x is irrational;
f .x/ D
1 if x is rational.
7.3 The Riemann Integral 341
X
n1
U.P; f / D .xj C1 xj /
j D0
D xn x 0
D1
and
L.P; f / D 0:
R R
Thus f D 0 and f D 1. 4
In this section we define the (Riemann) integral of a function and show that when
the integral exists, it coincides with both the upper and lower integrals.
Definition 7.3.1. Let f be a bounded function from a; b into R. We say that the
Riemann sums of f over a; b converge to a number I if for every " > 0 there is a
> 0 such that if P is a partition of a; b with norm .P / < , then
R f / < IC
Remark 2. If the Riemann sums of f over a; b converge to I , then S.P;
" for every Riemann sum S.P; f / of f over a; b relative to P . Thus f < I C ",
R R
and since " is arbitrary it follows that f I . Similarly, I f .
Example 7.3.1. If f .x/ D k for each x 2 a; b, then the Riemann sums of f over
a; b converge to k.b a/, the value of each such Riemann sum (cf. Example 7.1.2).
4
The proof of the following theorem is analogous to that of Theorem 2.2.2 and
therefore omitted.
Theorem 7.3.1. Let f be a bounded function on a; b whose Riemann sums
converge to I1 and I2 . Then I1 D I2 .
342 7 The Riemann Integral
Definition 7.3.2. Let f be a function that is bounded on a; b. If the Riemann sums
converge to some number I , then we say that f is (Riemann) integrable over a; b.
We call I the (Riemann) integral of f over a; b, and write
Z b
f .x/ dx D I;
a
Rb R
or simply a f D I or f D I . The function f is called the integrand of I .
For instance, it follows from Example 7.3.1 that
Z b
k dx D k.b a/:
a
In particular,
Z b
0 dx D 0:
a
Rbf .x/
For typographical convenience, an integral of the form a g.x/ dx is sometimes
R b .x/ dx
written as a f g.x/ .
Theorem 7.3.2. Let f W a; b ! R be integrable. Then every sequence fS.Pn ; f /g
Rof Riemann sums for f over a; b satisfying limn!1 .Pn / D 0 must converge to
f.
R
Proof. Let I D f . For each " > 0, there exists > 0 such that
lim S.Pn ; f / D I: t
u
n!1
R R
for every partition P of a; b. However, if f > f , then
Z Z
f f > 0;
for every partition P of a; b with norm less than . This contradiction shows that
R R
if U.P; f / L.P; f / converges to 0, then f D f .
Theorem 7.3.3. Let f be a function that is bounded on a; b. Then the following
two statements are equivalent:
1. U.P; f / L.P; f / converges to 0 over a; b;
2. f is integrable over a; b.
Proof. Suppose (1) holds. Given " > 0, there exists > 0 such that
R R R
whenever .P / < . As " is arbitrary, f D f . Let I D f . It follows that
L.P; f / I U.P; f /, and as we also have L.P; f / S.P; f / U.P; f / for
each Riemann sum S.P; f /, we deduce that
as required.
344 7 The Riemann Integral
R
Conversely, suppose that (2) holds, and let I D f . Then given any " > 0, there
is a > 0 such that
for each partition P of a; b with norm less than and each Riemann sum S.P; f /
of f over a; b relative to P . Fix such a P D .x0 ; x1 ; : : : ; xn / and choose cj 2
xj ; xj C1 for each j < n. Since Mj .f / " is less than the least upper bound of f
on xj ; xj C1 , we may choose each cj so that f .cj / > Mj .f / ". Therefore
X
n1
U.P; f / D Mj .f /.xj C1 xj /
j D0
X
n1 X
n1
< f .cj /.xj C1 xj / C " .xj C1 xj /
j D0 j D0
D S.P; f / C ".b a/
< I C ".b a C 1/:
Similarly,
and so
and
Z
L.P; f / > f "
Proof. The lemma is certainly true if f .x/ D 0 for all x 2 a; b, for in that case we
R R
have U.P; f / D f D L.P; f / D f D 0. We therefore assume that f .x/ 0
for some x 2 a; b.
Choose " > 0. By the definition of the upper integral there exists a partition P1
such that
Z
"
U.P1 ; f / < f C :
2
Suppose that P1 contains k interior points. Theorem 7.1.1 shows that P1 may be
refined if necessary so that k > 0. Let be the minimum length of any subinterval
of P1 . In view of Theorem 7.1.1, we may also assume that
"
< ;
6Mk
where M D supx2a;b jf .x/j > 0.
Now let P be any partition with .P / < , and let Q D P [ P1 . Then
Theorem 7.1.1 shows that
Z
"
U.Q; f / U.P1 ; f / < f C : (7.4)
2
We wish to obtain an upper bound for U.P; f / U.Q; f /. By the choice of
, there is at most one point of P1 in each subinterval of P . Let S be the set of
subintervals J of P such that some interior point of J belongs to P1 . These are
precisely the subintervals of P that are not subintervals of Q. Rather, each such
subinterval of P is the union of just two subintervals of Q. The contributions to
U.P; f / and to U.Q; f / of each subinterval of P not in S are equal and therefore
cancel in the expression U.P; f / U.Q; f /. Now choose an interval J D r; t in
S and let s be its unique interior point in P1 . Thus J1 D r; s and J2 D s; t are
subintervals of Q. The contribution of J to jU.P; f /j is no greater than M.t r/ <
M . Similarly, the contribution of each of J1 and J2 to jU.Q; f /j is less than M .
Therefore the sum of these contributions to jU.P; f /j and jU.Q; f /j is less than
3M . Moreover since P1 has just k interior points, we see that jS j k. Using the
triangle inequality, we therefore conclude that
"
U.P; f / U.Q; f / jU.P; f / U.Q; f /j 3kM < : (7.5)
2
Combining inequalities (7.4) and (7.5), we obtain
Z
U.P; f / D U.Q; f / C U.P; f / U.Q; f / < f C ";
and the first of the required inequalities is proved. The proof of the second is similar.
t
u
346 7 The Riemann Integral
R R
Theorem 7.3.6. A bounded function f is integrable if and only if f D f .
Proof. We have already observed the necessity of the equation. Suppose therefore
R R
that f D f D I , and choose " > 0. By Lemma 7.3.5 there exists > 0 such
that
Hence
Z Z
f f U.P; f / L.P; f / < ":
R R R R
Since " is arbitrary, it follows that f f . Therefore f D f , and so the
result is a consequence of Theorem 7.3.6. u
t
The next corollary is obtained by translating the previous one into terms of
sequences and is often useful.
Corollary 7.3.8. Let f W a; b ! R be a bounded function. Then f is integrable if
and only if there exists a sequence fPn g of partitions of a; b such that
If f is integrable, then
Z
f D lim U.Pn ; f / D lim L.Pn ; f /:
n!1 n!1
7.3 The Riemann Integral 347
for every partition P1 of a; c satisfying .P1 / < 1 . Similarly, there exists 2 > 0
such that
and
hence
U.P; f / L.P; f / D U.P1 ; f / L.P1 ; f / C U.P2 ; f / L.P2 ; f / < " C " D 2";
as required. t
u
By means of an easy inductive argument, we obtain the following corollary.
Corollary 7.3.10. Let .x0 ; x1 ; : : : ; xn / be a partition of a closed interval a; b. Let
f be a function defined on a; b, and suppose that f is integrable over xj ; xj C1
for each j < n. Then f is integrable over a; b.
We shall show that if f is continuous on a; b, then it is integrable over a; b.
In fact, we prove the following more general theorem.
Theorem 7.3.11. If f is continuous on .a; b/ and bounded on a; b, then f is
integrable over a; b.
Proof. We suppose first that f is continuous at a (but not necessarily at b). Choose
" such that 0 < " < b a, and let c D b " > a. Then f is continuous on a; c,
and Theorem 5.5.2 implies the existence of > 0 such that
for some k > 0. Let P1 and P2 be the partitions of a; c and c; b, respectively,
such that Pc1 and P c2 are the intersections of PO with a; c and c; b, respectively.
The function f is continuous on xj ; xj C1 for each j such that 0 j < r, so
that Mj .f / D f .cj / for some cj 2 xj ; xj C1 and mj .f / D f .dj / for some
dj 2 xj ; xj C1 . Thus
X
r1
U.P1 ; f / L.P1 ; f / D .Mj .f / mj .f //.xj C1 xj /
j D0
X
r1
D .f .cj / f .dj //.xj C1 xj /
j D0
X
r1
<" .xj C1 xj /
j D0
D ".c a/:
Since f is bounded on c; b, there exists M such that jf .x/j < M for all x 2
c; b. Note also that
for each j such that r j < n, by the triangle inequality. It follows that
X
n1
U.P2 ; f / L.P2 ; f / D .Mj .f / mj .f //.xj C1 xj /
j Dr
2M.b c/
D 2M ":
as required.
7.3 The Riemann Integral 349
where n 2 N, we have b1=xc D n. In this case it follows that f .x/ D nx, so that
n
< f .x/ 1:
nC1
whereas
1 1
f D bn C 1c D 1:
nC1 nC1
Choose " > 0 and N 2 N so large that 1=N < ". By Corollary 7.3.12, f
is integrable on 1=N; 1. Let P D .x0 ; x1 ; : : : ; xn / be a partition of 0; 1. By
Theorem 7.3.3, we may refine P so that xk D 1=N , for some k < n, and
X
n1
.Mj .f / mj .f //.xj C1 xj / < ":
j Dk
Now for each x < 1=N we have x 2 .1=.M C 1/; 1=M for some M 2 N such that
M N , so that
M N
1 f .x/ >
M C1 N C1
since the sequence fn=.n C 1/g is increasing. [This observation is easily checked
for all n > 0 by dividing both sides of the inequality
n2 > n2 1 D .n 1/.n C 1/
by n.n C 1/.] As
N N 1 1
> D1 ;
N C1 N N
it follows that
X
k1 k1
X
1
.Mj .f / mj .f //.xj C1 xj / < 1 1 .xj C1 xj /
j D0 j D0
N
1
D .xk x0 /
N
1
D 2
N
< "2 :
We conclude that
X
n1
U.P; f / L.P; f / D .Mj .f / mj .f //.xj C1 xj /
j D0
X
n1
<" .f .xj C1 / f .xj //
j D0
Moreover f .b/ > f .a/ since f is increasing on a; b. Thus U.P; f / L.P; f /
converges to 0, and so f is integrable over a; b.
The argument is similar if f is decreasing on a; b. t
u
Exercises 7.2.
1. Let f W a; b ! R. Prove that the following statements are equivalent:
(a) f is integrable over a; b.
(b) For each " > 0 there exists > 0 such that if P and Q are partitions of a; b
with norm less than , then
and
This result is called the sandwich theorem for integrals. In particular it shows
that if there are integrable functions g andR h mapping
R a; b into R such that
g.x/R f .x/ h.x/ for all x 2 a; b and g D h D I , then f is integrable
and f D I .
3. Let
nxn1
fn .x/ D
1Cx
R1
for all n > 1 and x 1. Define An D 0 fn for all n > 1, and show that
1
lim An D :
n!1 2
1
x2k > > x2k1
mkC1
and
"
x2k x2k1 <
m
for each integer k such that 1 < k < m. Compute U.P; f / L.P; f /.]
5. Let f W a; b ! R be a function. Suppose that any sequence fS.Pn ; f /g of
Riemann sums of f over a; b is convergent if limn!1 .Pn / D 0. Prove that
f is integrable.
This result is the converse of Theorem 7.3.2 and therefore completes a
sequential characterization of integrability.
7.4 Basic Properties of Integrals 353
sup Rg D M m:
g.x; y/ M m;
"
f .d / > M :
2
as required. t
u
Theorem 7.4.2. Let f; g be functions and a; b an interval.
1. If f is integrable over a; b, then for every constant k, the function kf is also
integrable over a; b and
Z b Z b
kf D k f:
a a
Z b Z b Z b
.f C g/ D f C g:
a a a
then
Rb Rb
2. Let I1 D a f and I2 D a g. Choose " > 0. There is a 1 > 0 such that if P is
a partition of a; b with norm less than 1 , then
for every partition P of a; b with .P / < 2 and every Riemann sum S.P; g/
of g over a; b relative to P . Let D minf1 ; 2 g, and choose a partition P of
a; b with norm less than . Let P D .x0 ; x1 ; : : : ; xn /, choose cj 2 xj ; xj C1
for each j < n, and let c D .c0 ; c1 ; : : : ; cn1 /. Since .P / < 1 and .P / < 2 ,
we have
as required.
7.4 Basic Properties of Integrals 355
X
n1
.Mj .f / mj .f //.yj C1 yj / < "
j D0
X
l1
.Mj .f / mj .f //.yj C1 yj / < "
j D0
and
X
n1
.Mj .f / mj .f //.yj C1 yj / < ";
j Dl
Hence
jI .I1 C I2 /j
D jI S.P; f; c/ C S.P1 ; f; c 0 / C S.P2 ; f; c 00 / .I1 C I2 /j
jI S.P; f; c/j C jS.P1 ; f; c 0 / I1 j C jS.P2 ; f; c 00 / I2 j
< 3":
X
n1
U.P; f / L.P; f / D .Mj .f / mj .f //.xj C1 xj / < "
j D0
We may assume that M > 0, the required result being clear if f .x/ D 0 for all
x 2 a; b. Note that
and so
.f C g/2 .f g/2
fg D
4
and parts (1) and (2).
t
u
We now introduce the conventions that
Z a
f D0
a
so that
Z b Z b Z a Z c Z b
f D f f D f C f:
a c c a c
The argument is similar if a < b < c. The case where a < c < b is covered by
Theorem 7.4.2(3). If b < a, then
Z b Z a Z c Z a Z c Z b
f D f D f f D f C f: t
u
a b b c a c
358 7 The Riemann Integral
X
n1
U.P; f / D Mj .f /.xj C1 xj /
j D0
X
n1
M .xj C1 xj /
j D0
D M.b a/;
it follows that
Z Z
f f M.b a/:
Corollary 7.4.6. If f .x/ g.x/ for all x 2 a; b and f and g are integrable over
a; b, then
Z b Z b
f g:
a a
and so
Z b Z c Z d Z b
f D f C f C f > 0;
a a c d
Rc Rb
since a f 0 and d f 0. t
u
If f W a; b ! R is a function, then we define jf j to be the function given by
jf j.x/ D jf .x/j
so that
R
Therefore the theorem holds for every 2 a; b if g D 0. In the remaining case
we have
R
fg
m R M:
g
x
a b
Remark. This corollary asserts that, for a function f that is continuous on a; b,
the area bounded by the curve y D f .x/ and the lines x D a, x D b, and y D 0 is
equal to the area of some rectangle with side a; b (see Fig. 7.6).
Exercises 7.3.
1. For all x in a closed interval a; b, define
and
1
maxff; gg D .f C g C jf gj/:
2
and
Z 1 1=p
lim jf .x/j p
D min jf .x/j:
p!1 0 x20;1
362 7 The Riemann Integral
4. Let f W a; b ! R beRa continuous function, and suppose that f .x/ 0 for all
x 2 a; b. Show that f D 0 if and only if f .x/ D 0 for all x 2 a; b.
5. Let f W a; b
p! R be an integrable function such that f .x/ 0 for all x 2 a; b.
Show that f is integrable on a; b.
Then F 0 .x/ D f .x/ for all x 2 a; b. Moreover, if G is any function on a; b such
that G 0 D f , then
Z b
f D G.b/ G.a/:
a
Proof. Since f is continuous on a; b, the function F indeed exists. We show that
F 0 .t / D f .t / for all t 2 a; b. By definition,
F .x/ F .t /
F 0 .t / D lim
x!t xt
Z x Z t
1
D lim f f
x!t x t a a
Z x
1
D lim f
x!t x t t
f ./.x t /
D lim
x!t xt
D lim f ./
x!t
for some number between x and t . (In the penultimate step of the above calculation
we used the mean-value theorem for integrals.)
In order to prove that F 0 .t / D f .t /, it therefore suffices to show that
lim f ./ D f .t /:
x!t
7.5 The Fundamental Theorem of Calculus 363
Choose " > 0. Since f is continuous at t , there exists > 0 such that jf .x/
f .t /j < " whenever jx t j < . Choose x such that 0 < jx t j < . Since
lies between x and t , we have j t j jx t j < , and so jf ./ f .t /j < ", as
required.
Now suppose G is another antiderivative of f . Then G 0 .x/ D F 0 .x/ D f .x/ for
all x 2 a; b, so that
.F G/0 .x/ D 0
for all x > 0. This integral is sometimes used as a definition of the logarithm
function. 4
Example 7.5.2. Let
x nC1
f .x/ D
nC1
1
f 0 .x/ D .n C 1/x n D x n
nC1
and
Z b
e x dx D e x jba :
a 4
The fundamental theorem of calculus asserts that if we differentiate the integral
of a continuous function, then we recover the original function. It is pertinent to ask
the following question: Is it always true that
Z b
f 0 D f .b/ f .a/
a
Then
1 2 1
f 0 .x/ D 2x sin 2
cos 2
x x x
for all x 0. It is easy to see that f 0 is not integrable on any interval that contains
0 and has positive length as it is not bounded on any such interval. 4
However, we do have the following theorem.
Theorem 7.5.2. If f is differentiable on a; b and f 0 is integrable over a; b, then
Z b
f 0 D f .b/ f .a/:
a
X
n1
L.P; f 0 / D mj .f 0 /.xj C1 xj /
j D0
7.5 The Fundamental Theorem of Calculus 365
X
n1
f 0 .j /.xj C1 xj /
j D0
X
n1
D .f .xj C1 / f .xj //
j D0
D f .b/ f .a/;
Hence
Z Z
f 0 f .b/ f .a/ f 0:
t
u
Theorem 7.5.3. Suppose that
1
X
f .x/ D aj x j
j D0
for all x such that jxj < r, where r is the radius of convergence of the power series
and is nonzero. Then f is integrable over every closed subinterval of .r; r/, and
for each x 2 .r; r/ we have
Z x X1
aj
f D x j C1 : (7.7)
0 j D0
j C 1
X1
aj
G.x/ D x j C1
j D0
j C 1
366 7 The Riemann Integral
for each x 2 .r; r/. It follows from Theorem 6.7.2 that G is differentiable on
.r; r/ and G 0 .x/ D f .x/ for each x 2 .r; r/. We conclude that G 0 is integrable
over every closed subinterval of .r; r/. Therefore Theorem 7.5.2 shows that
Z x
f D G.x/ G.0/ D G.x/: t
u
0
Proof. Note that since f g and g 0 are continuous, .f g/g 0 is also continuous,
and therefore integrable, over every interval on which it is defined.
For each x 2 Rg define
Z x
H.x/ D f
a
where c > 1 and d > 1, set f .x/ D 1=x for all x 0 and g.x/ D log x for all
x > 0. Then g 0 .x/ D 1=x for all x > 0. For all such x it follows that
1 g 0 .x/
D D f .g.x//g 0 .x/:
x log x g.x/
Hence
Z d Z log d
dx dx
D
c x log x log c x
log d
D log xjlog c
4
D log log d log log c:
F .x/ D f .x/g.x/
For the case where n > 1, put f .x/ D sinn1 x and g.x/ D cos x for all x. Thus
Z
=2 =2
In D sinn1 x cos x 0 C .n 1/ sinn2 x cos2 x dx
0
Z =2
D .n 1/ sinn2 .x/.1 sin2 x/ dx
0
D .n 1/.In2 In /:
Hence
nI n D .n 1/In2 ;
so that
n1
In D In2 :
n
Easy inductions now show that
Y 2m 1
n
I2n D
2 mD1 2m
and
Y
n
2m
I2nC1 D
mD1
2m C1
and
Z =2
2
sin3 x dx D :
0 3
for every nonnegative integer n. This formula can be verified either similarly or by
replacing x with =2 x. 4
Integration by parts has a number of interesting applications. We illustrate this
point by using the preceding example to derive a famous formula due to Wallis:
r
22n .n/2
lim p D : (7.8)
n!1 .2n/ 2n 2
and so
Y
n
2m Y 2m 1
n Y 2m
n1
2n C 1 Y 2m
n
D :
mD1
2m C 1 2 mD1 2m mD1
2m C 1 2n mD1 2m C 1
Y
n
.2m 1/.2m C 1/ D 1 3 3 5 : : : .2n 1/.2n C 1/
mD1
Y
n
D .2n C 1/ .2m 1/2 ;
mD1
we find that
Yn
2m 2m
2 mD1
.2m 1/.2m C 1/
370 7 The Riemann Integral
1 Yn
.2m/2
D
2n C 1 mD1 .2m 1/2
Pn
D ;
2n C 1
where
!2
Y
n
2m
Pn D
mD1
2m 1
2n C 1 Pn Pn
D :
2 2n 2n C 1 2n
In other words,
an bn ;
2
Pn Pn Pn an
bn an D D D ;
2n 2n C 1 2n.2n C 1/ 2n 4n
Y
n
2m D 2 4 : : : .2n/ D 2n n
mD1
and
Y
n
.2n/ .2n/
.2m 1/ D 1 3 : : : .2n 1/ D D n ;
mD1
2 4 : : : .2n/ 2 n
7.5 The Fundamental Theorem of Calculus 371
we find that
!2
1 Y
n
2m
bn D
2n mD1
2m 1
2
1 22n .n/2
D :
2n .2n/
Therefore
r
p
D lim bn
2 n!1
22n .n/2
D lim p ;
n!1 2n.2n/
as required.
We can use Walliss formula to establish a formula, attributed to Stirling, for
approximating factorials:
p 2nC1
2n 2
n :
en
If we write
ne n
cn D 2nC1
n 2
Note that
2nC3
cn ne n.n C 1/ 2
D 2nC1
cnC1 n 2 .n C 1/e nC1
2nC1
1 nC1 2
D :
e n
Now define dn D log cn for all n 2 N. Then
1
tD :
2n C 1
1
2n C 1 D ;
t
so that
1 1 1t
nD 1 D
2 t 2t
and
1t 1Ct
nC1D C1D I
2t 2t
hence
nC1 1Ct
D :
n 1t
Using Eq. (6.18), we therefore find that
1 1Ct
dn dnC1 D log 1
2t 1t
X1
1 t 2j C1
D 2 1
2t j D0
2j C 1
1
X t 2j
D
j D1
2j C 1
> 0:
Therefore the sequence fdn g is decreasing. In order to show that it is bounded below,
we resume the calculation above:
1
X t 2j
dn dnC1 D
j D1
2j C 1
1
X
< t2 t 2j 2
j D1
7.5 The Fundamental Theorem of Calculus 373
1
X
D t2 t 2j
j D0
t2
D
1 t2
1
D
.2n C 1/2 1 1
.2nC1/2
1
D
.2n C 1/2 1
1
D
4n.n C 1/
1 1
D :
4n 4.n C 1/
Hence
1 1
dn dnC1 C <0
4n 4.n C 1/
1 1
d n > dn d1
4n 4
for all positive integers n.
Decreasing but bounded below, the sequence fdn g converges. Let C be its limit.
Then
lim cn D lim e dn D e C ;
n!1 n!1
p
and it remains only to show that e C D 2. We have already proved that
2nC1
n n 2 e C n :
where
X
n
f .j / .a/
Pn .x/ D .x a/j ;
j D0
j
Z x
1
Rn .x/ D .x t /n f .nC1/ .t / dt
n a
and 00 D 1.
Proof. For every j 2 f0; 1; : : : ; n C 1g, the function f .j / is continuous, and
therefore integrable, on the closed interval with ends a and x. Consequently Rn .x/
exists, by Theorem 7.4.2(4).
We proceed by induction on n. First, for all x 2 I we have P0 .x/ D f .a/ and
Z x
R0 .x/ D f 0 .t / dt D f .x/ f .a/;
a
X
n1
f .j / .a/ f .n/ .a/
D .x a/j C .x a/n C Rn .x/
j D0
j n
7.5 The Fundamental Theorem of Calculus 375
X
n Z x
f .j / .a/ 1
D .x a/j C .x t /n f .nC1/ .t / dt;
j D0
j n a
as required. t
u
In 1947, Niven proved that is irrational. In 1986, Parks proved a more general
result from which the irrationality of both and e follows. We present this result
now. Its proof uses integration by parts.
Theorem 7.5.7. Let c be a positive number and let f W 0; c ! R be a differen-
tiable function such that f .x/ > 0 for all x 2 .0; c/. Suppose there exist functions
f1 ; f2 ; : : : that are differentiable on 0; c and satisfy the conditions that f10 D f ,
fk0 D fk1 for all k > 1 and fk .0/ and fk .c/ are integers for all k. Then c is
irrational.
Proof. Let S be the set of all real polynomials p such that p .k/ .0/ and p .k/ .c/ are
integers for all nonnegative integers k. In other words, p and all its derivatives yield
integers when evaluated at 0 and at c. The set S is closed under multiplication: If
p and q are polynomials in S , then so is pq, for it is easily seen by induction that
.pq/.k/ is a sum of products of derivatives of p and q. (We consider p and q to be
zeroth derivatives of themselves.) Note also that p 2 S if p.0/ and p.c/ are integers
and p 0 2 S . Rc
We show next that if p 2 S , then R c 0 fp is an integer. To this end, we first claim
that it is an integer if and only if 0 f1 p 0 is. Indeed, using integration by parts, we
find that
Z c Z c
fp D f1 .c/p.c/ f1 .0/p.0/ f1 p 0 :
0 0
From the hypotheses and the assumption that p 2 S we see that the first two terms
on the right-hand
R c side are integers, and our claimR c follows. Proceeding inductively,
we find that 0 fp is an integer if and only if 0 f p . / is an integer, where is
the degree of p. Note that p . / is a constant function, and the constant is an integer
0
since p 2 S . Moreover the differentiable function f D f C1 is continuous, and
hence integrable, on 0; c. Therefore, by the fundamental theorem of calculus, we
have
Z c Z c
0
f p . / D p . / .c/ f C1
0 0
Dp . /
.c/.f C1 .c/ f C1 .0//;
Rc
an integer. We conclude that 0 fp is an integer.
Assume now that c is rational. Then there are positive integers m and n such that
c D m=n. Define
376 7 The Riemann Integral
x k .m nx/k
Pk .x/ D
k
for all x 2 0; c and all nonnegative integers k, where 00 D 1.
We shall show that Pk 2 S for all k. First, it is clear that the constant polynomial
P0 is in S . Suppose therefore that k > 0 and that Pk1 2 S . Observe first that
Pk .0/ D 0, and that Pk .c/ D 0 since m D nc. For all x 2 0; c we have
and
we obtain
Z c Z c
Mk
f .x/Pk .x/ dx L dx
0 0 k
cLM k
D :
k
This result gives a contradiction, for
Mk
lim D0
k!1 k
by Example 2.5.6. t
u
7.5 The Fundamental Theorem of Calculus 377
Corollary 7.5.8. If 0 < jj and cos and sin are rational, then is
irrational.
Proof. Since cos and sin are rational, so are cos jj and sin jj. Hence we can
find a positive integer n such that n cos jj and n sin jj are integers. Now apply the
theorem with c D jj and f .x/ D n sin x for all x 2 0; jj to conclude that jj,
and hence , is irrational. t
u
Corollary 7.5.9. For every positive rational number a 1, log a is irrational.
Proof. Suppose first that a > 1, so that log a > 0. Write a D m=n for positive
integers m and n, and apply the theorem with c D log a and f .x/ D nex for all
x 2 0; log a, noting that nec D nelog a D na D m.
If 0 < a < 1, then 1=a > 1 and we conclude that log 1=a is irrational by the
previous case. That log a is irrational now follows from the equation
1 t
u
log D log a:
a
Remark 1. By taking D in Corollary 7.5.8, we find that is irrational.
Remark 2. Let a; b; c be positive rational numbers and suppose that a2 C b 2 D c 2 .
There is a number such that 0 < < =2, sin D a=c, and cos D b=c. Then
both sin and cos are rational, so that is irrational. In other words, arctan.a=b/
is irrational.
Remark 3. Corollary 7.5.9 confirms the irrationality of e, since log e D 1. In fact,
e a is irrational for every nonzero rational number a.
In Sect. 6.4 we introduced the number . We now give it a geometric interpre-
tation by showing that the circumference of a unit circle is 2. For this purpose we
need the notion of arc length.
Let f be a continuous real-valued function defined on a closed interval I with
partition .x0 ; x1 ; : : : ; xn /. For each j let Pj be the point .xj ; f .xj //. For each j < n
the distance between Pj C1 and Pj is jPj C1 Pj j. The sum of these distances gives
an approximation for the length of the graph of f . If
X
n1
lim jPj C1 Pj j
n!1
j D0
exists and is finite, then we define it to be the (arc) length of the graph of f over I .
It is evaluated in the following theorem.
Theorem 7.5.10. Let f be a differentiable function from an interval a; b into R.
Suppose that f 0 is continuous on a; b. Then the length of the graph of f over
a; b is
Z bp
1 C .f 0 /2 :
a
378 7 The Riemann Integral
Therefore
X
n1 n1 q
X
jPj C1 Pj j D .xj C1 xj /2 C .f .xj C1 / f .xj //2
j D0 j D0
n1 q
X
D .xj C1 xj /2 C .f 0 /2 .j /.xj C1 xj /2
j D0
X
n1 q
D .xj C1 xj / 1 C .f 0 /2 .j /;
j D0
p
which is a Riemann sum for the function 1 C .f 0 /2 . This function is continuous,
and therefore integrable, on a; b. Its Riemann sums converge to the required arc
length, and the result follows. t
u
p
Example 7.5.6. Since arccos.1= 2/ D =4, the length of the graph of the function
p
f .x/ D 1 x 2 ;
p
where x 2 0; 1= 2, is an eighth of the circumference of the unit circle. In order
to evaluate it, we first use the chain rule to compute
1
f 0 .x/ D p .2x/
2 1 x2
x
D p :
1 x2
This function is continuous at all x 1. Therefore
Z 1=p2 p Z 1=p2 r
x2
1 C .f 0 /2 D 1C dx
0 0 1 x2
Z p
1= 2
dx
D p
0 1 x2
p
1= 2
D arcsin xj0
D :
4
Exercises 7.4.
1. Use the result of Example 7.5.1 to prove the following:
(a) If F .x/ D log x for all x > 0 and cx > 0 for some constant c, then
1
F 0 .cx/ D
x
for all x > 0.
(b) If x > 0 and y > 0, then
log x p D p log x:
(d)
lim log x D 1
x!1
and
Rx
2. Let f be a function that is integrable over a; b and let F .x/ D a f for all
x 2 a; b.
(a) Show that for all x; y 2 a; b satisfying x < y we have
evaluate
X
n
1
lim n :
n!1
j D1
.n C j /2
1 X j 1
n
lim e n :
n!1 n
j D1
1 X
n
lim j m:
n!1 nmC1 j D1
Show that
Proof. Note that the functions fg, f 2 , and g 2 are integrable by Theorem 7.4.2(4).
For all real x we have
Z Z Z Z
.xf C g/2 D x 2 f 2 C 2x fg C g 2 :
The polynomial on the right-hand side of this equation is therefore nonnegative for
all real x. Thus its discriminant cannot be positive, by the results of Example 6.3.4.
In other words,
Z 2 Z Z
4 fg 4 f 2 g 2 0:
kf C gk kf k C kgk:
Exercises 7.5.
1. If f and g are integrable functions, prove that
kf k kgk kf gk
and
kf k D jjkf k
(Note that the integrand on the left-hand side is the square of a determinant.)
Deduce the CauchySchwarz inequality from this equation.
3. Let f and g be integrable over an interval a; b.
(a) Prove that
Z b Z b
.f .y/ f .x//.g.y/ g.x// dy dx
a a
Z Z Z !
b b b
D 2 .b a/ f .x/g.x/ dx f .x/ dx g.x/ dx :
a a a
(b) Suppose that f and g are both increasing or both decreasing. Deduce that
Z b Z b Z b
f g .b a/ fg:
a a a
The fundamental theorem of calculus is a very useful tool for evaluating integrals.
However, it is not always applicable, as there are integrable functions such as
e x and sin sin x whose antiderivatives cannot be expressed explicitly in terms
2
Then
.b a/2
j"j sup jf 0 .x/j:
2 x2a;b
384 7 The Riemann Integral
M D sup jf 0 .x/j:
x2a;b
Hence
Z
b
j"j D .f .x/ f .c// dx
a
Z b
jf .x/ f .c/j dx
a
Z b
M jx cj dx
a
Z Z !
c b
DM .x c/ dx C .x c/ dx
a c
c b !
.x c/2 .x c/2
DM C
2 a 2 c
.a c/2 .b c/2
DM C
2 2
M
.b a/2
2
since
t
u
Theorem 7.7.2. Let f be a function with continuous derivative on an interval a; b
with partition P D .x0 ; x1 ; : : : ; xn /. Then every Riemann sum S.P; f / of f over
a; b relative to P satisfies the inequality
7.7 Numerical Integration 385
Z
b ba
f S.P; f / sup jf 0 .x/j.P /:
a 2 x2a;b
M D sup jf 0 .x/j:
x2a;b
X
n1
M
.xj C1 xj /2
j D0
2
M X
n1
.P /.xj C1 xj /
2 j D0
1
D M.P /.b a/: t
u
2
Although the upper bound this theorem provides for the error may seem crude,
the following example shows that it cannot be improved.
R1
Example 7.7.1. Let f .x/ D x for all x 2 0; 1. Then 0 f D 1=2. For each n 2 N
let Pn be the partition
1 2
0; ; ; : : : ; 1 ;
n n
so that .Pn / D 1=n. By choosing as intermediate points the leftmost end of each
subinterval of Pn or the rightmost end of each such subinterval, we obtain the lower
sum L.Pn ; f / or the upper sum U.Pn ; f /, respectively, of f over 0; 1 relative to
Pn . Now for each j the j th subinterval of Pn is .j 1/=n; j=n, so that
1Xj
n1
n.n 1/ 1 1
L.Pn ; f / D D 2
D
n j D0 n 2n 2 2n
386 7 The Riemann Integral
and
1Xj
n
n.n C 1/ 1 1
U.Pn ; f / D D D C :
n j D1 n 2n2 2 2n
Hence
Z Z
1 1 1
f .x/ dx L.Pn ; f / D f .x/ dx U.Pn ; f / D ;
2n
0 0
and this number is the upper bound provided by the theorem for the error. 4
We now consider the case where a Riemann sum is obtained by using the
midpoints of each subinterval of a partition.
Lemma 7.7.3. Let f be a function with continuous second derivative on an interval
a; b. Let c D .a C b/=2 and define
Z b
"D f f .c/.b a/:
a
Then
.b a/3
j"j sup jf 00 .x/j:
24 x2a;b
But
Z Z
b
0 0
b
aCb
f .c/.x c/ dx D f .c/ x dx
a a 2
Z !
0
b
.a C b/.b a/
D f .c/ x dx
a 2
7.7 Numerical Integration 387
0b 2 a2 b 2 a2
D f .c/
2 2
D 0:
Setting
M D sup jf 00 .x/j;
x2a;b
xj C1 C xj
cj D
2
for all j < n. Then
Z
b ba
f S.P; f; c/ sup jf 00 .x/j..P //2 :
a 24 x2a;b
388 7 The Riemann Integral
Proof. Letting
M D sup jf 00 .x/j
x2a;b
X
n1
M
.xj C1 xj /3
j D0
24
M X
n1
..P //2 .xj C1 xj /
24 j D0
1
D M..P //2 .b a/:
24 t
u
Again, the bound is sharp.
R1
Example 7.7.2. Let f .x/ D x 2 for all x 2 0; 1, so that 0 f D 1=3. For each
n 2 N let Pn be the partition used in Example 7.7.1. Defining c0 ; c1 ; : : : ; cn1 ; c as
in the theorem, we find that
1 j j C1 jC 1
cj D C D 2
2 n n n
n1
1 X 2 1
D j C j C
n3 j D0 4
1 n.n 1/.2n 1/ n.n 1/ n
D 3 C C
n 6 2 4
4n2 1
D
12n2
1 1
D :
3 12n2
7.8 Improper Integrals 389
Hence
Z
1 1
f .x/ dx S.Pn ; f; c/ D ;
12n2
0
f .0/ C f .b/
SD b
2
Rb
[Hint: Apply integration by parts twice to evaluate 0 t .b t /f 00 .t / dt.]
3. Using four subintervals and choosing their midpoints as the intermediate points,
R2
approximate log 2 D 1 dx x
by means of a Riemann sum and estimate the error.
Although there are several types of improper integrals, here we remove only the
condition that the domain of the function is a finite interval. Let f be a function that
is integrable over a; n, for every integer n a. We define
Z 1 Z n
f D lim f;
a n!1 a
390 7 The Riemann Integral
provided the limit exists. In this case we say that the integral converges; otherwise
it diverges. If a b n, then
Z 1 Z n
f D lim f
a n!1 a
Z Z !
b n
D lim f C f
n!1 a b
Z b Z 1
D f C f:
a b
n1p 1
D lim
n!1 1 p
(
1
if p > 1
D p1
1 if p < 1:
D lim log n
n!1
D 1: 4
One of the basic tools for establishing convergence of an improper integral is the
comparison test. It is analogous to the comparison test for convergence of a series.
7.8 Improper Integrals 391
Proof. First note that jf j is also integrable over a; b for all b > a, by
Theorem 7.4.8.
Suppose that f .x/ 0 for all x a. Then the sequence
Z n
f
a
R1
is nondecreasing and bounded above by a g, according to Corollary 7.4.6. In this
case the result follows from Theorem 2.7.1.
For the general case, let
jf j C f
f1 D
2
and
jf j f
f2 D :
2
Then f1 and f2 are integrable over a; b for all b > a. Furthermore, for each x a
and j 2 f1; 2g we have
converges for all x > 0. We first locate the maximum of the function f defined by
f .t / D t xC1 e t
f 0 .t / D .x C 1/t x e t t xC1 e t D t x e t .x C 1 t /
as n ! 1, and since
cos x
1
2 2;
x x
the integral
Z 1
cos x
dx
1 x2
where j 2 N, we have
1
j sin xj sin Dp
4 2
p
2 j D1 .j C 14 / x
1
1 X 1
> p
2 j D1 2 .j C 1/
1
1 X1
D p :
2 2 j D2 j
P1
As j D2 1=j diverges, we deduce that
Z 1
j sin xj
dx
1 x
also diverges. 4
394 7 The Riemann Integral
Exercises 7.7.
1. Test the following integrals for convergence:
R1
(a) 0 xedxx ;
R0
(b) 1 e ax dx;
R1
(c) 0 sin x 2 dx.
2. Evaluate
Z 1
log x
dx:
1 x2
3. (a) Suppose that f .x/ 0 and g.x/ 0 for all x a, and let
f .x/
lim D L:
x!1 g.x/
Prove that
R1 R1
i. If 0 < L < 1,Rthen a f and a R g both converge or both diverge.
1 1
ii. If L D 0, then aR f converges if Ra g converges.
1 1
iii. If L D 1, then a g converges if a f converges.
(b) The result of part (a) is called the limit comparison test for integrals. Use it
to prove that
Z 1
dx
1 a C x2
2
is convergent.
Since an integral is defined in terms of Riemann sums, there are many similarities
between the theories of integrals and series. One of the most important connections
between the two theories is the integral test for the convergence of a series. It
involves improper integrals.
Theorem 7.9.1 (Euler, Maclaurin). Let f be a nonincreasing continuous function
on the interval 1; 1/, and suppose that f .x/ 0 for all x 1. Let
X n Z n
dn D f .j / f
j D1 1
Proof. It suffices to show that fdn g is nonincreasing and bounded below. Since f is
nonincreasing, for every positive integer j we have
and
Hence
Z j C1
f .j C 1/ f f .j /;
j
so that
0 1 0 1
X
nC1 Z nC1 X
n Z n
dnC1 dn D @ f .j / fA@ f .j / fA
j D1 1 j D1 1
Z nC1
D f .n C 1/ f
n
f .n C 1/ f .n C 1/
D0
for each n 2 N.
We have now proved that fdn g is nonincreasing. It is also bounded below by 0,
since
X
n n1 Z
X j C1
dn D f .j / f
j D1 j D1 j
X
n X
n1
f .j / f .j /
j D1 j D1
D f .n/
0
for each n 2 N. t
u
396 7 The Riemann Integral
for all n 2 N.
Proof. From the proof of the theorem we have
Z j C1
f .j C 1/ f f .j /
j
X
n1 n1 Z
X j C1 Z n
f .j C 1/ f D f:
j D1 j D1 j 1
Consequently
X
n X
n X
n1 Z n
f .j / D f .1/ C f .j / D f .1/ C f .j C 1/ f .1/ C f: t
u
j D1 j D2 j D1 1
Remark. The EulerMaclaurin theorem and the integral test are clearly true if there
exists a fixed number N such that the function satisfies all the conditions for each
x N.
P
Example 7.9.1. Use the integral test to show that 1 p
j D1 1=j is convergent if and
only if p > 1.
Solution. Let
1
f .x/ D >0
xp
for all x > 0.
7.9 Integral Test for Convergence of a Series 397
If p 0, we have
1
lim 0
n!1 np
Solution. Let
1
f .x/ D >0
x log x
Solution. Let
1
an D
n log.n2 C 3n C 1/
398 7 The Riemann Integral
and
1
bn D
n log n
an n log n
lim D lim
n!1 bn n!1 n log.n2 C 3n C 1/
log n
D lim
n!1 log.n2 C 3n C 1/
1
D lim n
2nC3
n!1
n2 C3nC1
n2 C 3n C 1
D lim
n!1 2n2 C 3n
1
D :
2
P P1
Since 1 j D2 bj is divergent by the previous example, j D1 aj is also divergent by
the limit comparison test. 4
Exercises 7.8.
1. Test the convergence of the following series:
P1 1 P1 1
(a) j D2 j log2 j . (c) j D2 j log j log log j .
P1 1
(b) j D2 .j C5/ log2 j .
2. Does the result
Z 1 X1
dx 1
D 1
1 x2 j D1
j 2
Classification: 40A30
X
n
Pn .x/ D aj .x a/j (8.1)
j D0
X
n
Pn.k/ .x/ D aj j.j 1/ .j k C 1/.x a/j k
j D0
X
n
j
D aj .x a/j k
.j k/
j Dk
X
n
j
D ak k C aj .x a/j k
.j k/
j DkC1
and so
f .k/ .a/
ak D :
k
Substitution into Eq. (8.1) yields
X
n
f .j / .a/
Pn .x/ D .x a/j
j D0
j
for all x. This polynomial is called the Taylor polynomial of order n for f
about a.
Example 8.1.1. Find the Taylor polynomial of order 5 for cos x about 0.
Solution. Taking f .x/ D cos x for all x and a D 0, we have f .0/ D 1. Moreover
f 0 .x/ D sin x
for all x, and so f 0 .0/ D 0. Similarly, we find that f .2/ .0/ D 1, f .4/ .0/ D 1, and
f .3/ .0/ D f .5/ .0/ D 0. Therefore
x2 x4
P5 .x/ D 1 C :
2 24
Notice that in this case the Taylor polynomial of order 5 is actually of degree 4
because the term in x 5 has a coefficient of 0. 4
8.1 Taylors Theorem 401
We now prove Taylors theorem, which gives a means of estimating the error
incurred in using a Taylor polynomial as an approximation for the value of a function
at some number.
Theorem 8.1.1 (Taylor). Let a be a real number, n a nonnegative integer, and f a
function such that f .nC1/ .x/ exists for all x in some open interval I containing a.
Let Pn be the Taylor polynomial of order n for f about a. Then for each x 2 I fag
there exists a number between a and x such that
f .nC1/ ./
f .x/ Pn .x/ D .x a/nC1 :
.n C 1/
X
n
f .j / .t /
F .t / D f .x/ .x t /j
j D0
j
X
n
f .j / .t /
D f .x/ f .t / .x t /j :
j D1
j
Since f .nC1/ .t / exists for all t 2 I , we infer that f .j / must be continuous on I for
all j such that 0 j n. Hence F is continuous on the closed interval with ends
a and x and differentiable on the corresponding open interval. Note that
0 f .nC1/ .t /
D f .t / .x t /n f 0 .t /
n
.x t /n .nC1/
D f .t /:
n
Now let
G.t / D .x t /nC1
G 0 .t / D .n C 1/.x t /n
for all such t . Note also that G.x/ D 0 and that G 0 .t / 0 for all t x. By
Cauchys mean-value formula there exists between a and x such that
Hence
F 0 ./
F .a/ D G.a/
G 0 ./
n
.x/ f .nC1/ ./.x a/nC1
D n
.n C 1/.x /n
f .nC1/ ./
D .x a/nC1 ;
.n C 1/
as required. t
u
As a consequence of this theorem we have
f .nC1/ ./
f .x/ D Pn .x/ C .x a/nC1
.n C 1/
X
n
f .j / .a/ f .nC1/ ./
D .x a/j C .x a/nC1
j D0
j .n C 1/
for all x 2 I fag. Note also that the value of depends on the choice of x. For
each x 2 I fag we define
f .nC1/ ./
Rn .x/ D .x a/nC1 : (8.2)
.n C 1/
8.1 Taylors Theorem 403
Thus
for each such x. The function Rn is called the Taylor remainder of degree n.
Example 8.1.2. Use the Taylor polynomial of order 5 for cos x about 0 to obtain an
approximation for cos 0:1 and use Taylors theorem to show that the approximation
gives the first eight digits in the decimal expansion of cos 0:1 correctly.
Solution. From Example 8.1.1 we have
x2 x4
P5 .x/ D 1 C
2 24
for all x. The required approximation for cos 0:1 is therefore
P5 .0:1/ D 0:9950041666 : : : :
Since the sixth derivative of cos x is cos x, Taylors theorem shows that there
exists a number between 0 and 0.1 such that
.0:1/6
cos 0:1 P5 .0:1/ D . cos / D 0:0000000013888 : : : .cos /:
6
Hence
and so
We conclude that
Thus P5 .0:1/ gives the first eight digits in the decimal expansion of cos 0:1 correctly
as 0.99500416. 4
A function f is said to be smooth over an interval I if f .k/ .x/ exists for all
x 2 I and all nonnegative integers k. We write C 1 .I / for the set of functions that
are smooth over I .
404 8 Taylor Polynomials and Taylor Series
for all x 2 I f1g. Write down the Taylor polynomial of order 3 for f about 1.
Suppose that this polynomial is used to approximate f .0:5/. Find an upper bound
for the error and write down the approximate value of f .0:5/.
Solution. The Taylor polynomial is
where 0:5 < < 1, and since 2 2 C 2 1 is increasing at all > 0:5, it follows
that
3e 4
jf .4/ ./j < D e < 4:
.1:5/2 3
We thus have
.0:125/e
P3 .0:5/ D 0:5 C 0:25
0:28
12
with error less than 0:011. 4
A common problem in the approximation of numbers or functions is to make
the approximation correct to within a specified error tolerance. If we use the Taylor
polynomial of order n about a point a to approximate a function f at a point x near
a, then the error depends on n, the distance jx aj, and the absolute values of the
derivatives of f between x and a. The next example illustrates the problem and a
solution strategy.
8.1 Taylors Theorem 405
Example 8.1.4. Let f .x/ D log.x C 1/ for all x > 1. What degree Taylor
polynomial about 0 is required to approximate log 1:1 with a maximum error of
0.001? What degree Taylor polynomial about 0 is required to approximate log 1:5
with the same maximum error?
Solution. For all n 1 and all > 0 we have
.n 1/
jf .n/ ./j D
.1 C /n
< .n 1/:
jf .nC1/ ./j.0:1/nC1
jRn .0:1/j D
.n C 1/
n
<
.n C 1/10nC1
1
D :
.n C 1/10nC1
We thus seek a value of n such that
.n C 1/10nC1 1000:
.n C 1/2nC1 1000:
For n D 6,
7.27 / D 896;
and for n D 7,
8.28 / D 2048:
X1
.1/j x 2j
Dx
j D0
.2j C 1/
D xF .x/;
where
X1
.1/j x 2j
F .x/ D
j D0
.2j C 1/
f .x/
h.x/ D
g.x/
8.1 Taylors Theorem 407
for all x 2 I fag for which g.x/ 0. Now, limx!a h.x/ is of the indeterminate
form 0/0, and lHpitals rule can be invoked to evaluate the limit, if it exists.
Equation (8.3), however, shows that the functions f and g can be expressed as
and
f .m/ .a/
F .a/ D 0
m
and
g .n/ .a/
G.a/ D 0:
n
Thus
F .x/
h.x/ D .x a/mn :
G.x/
Evidently
We thus have
(
0 if m > n;
lim h.x/ D f .m/ .a/
x!a
g .m/ .a/
if m D n:
where
f .m/ .a/ g .n/ .a/
F .a/G.a/ D 0I
m n
consequently, p has a zero of order m C n at a.
Example 8.1.6. Evaluate
x sin2 x
lim :
x!0 1 cos x
Solution. Let f .x/ D x sin2 x for all x and let g.x/ D 1 cos x for all x such
that cos x 1. We know from Example 8.1.5 that sin x has a zero of order 1 at 0;
consequently sin2 x has a zero of order 2 at 0 and therefore f has a zero of order 3
at 0. Now g.0/ D 1 cos 0 D 0, g 0 .0/ D sin 0 D 0, and g 00 .0/ D cos 0 D 1. The
function g thus has a zero of order 2 at 0. Since 3 > 2,
x sin2 x
lim D 0:
x!0 1 cos x
4
Example 8.1.7. Evaluate
x.1 e x /
lim :
x!0 1 cos x
Solution. Let f .x/ D x.1 e x / for all x and let g.x/ D 1 cos x for all x for
which cos x 1. It can be readily verified that 1 e x has a zero of order 1 at 0,
and therefore f must have a zero of order 2 at 0. We know from Example 8.1.6
that g has a zero of order 2 at 0. In this case m D n D 2, so that the limit exists
and is nonzero. We also know that two applications of lHpitals rule are required
to evaluate this limit. The limit can also be found by using Taylor polynomials. In
detail,
0 1
X1 j
x
f .x/ D x @1 A
j D0
j
0 1
1
X x j 1
D x @1 1 x x A
j D2
j
D x 2 .1 C s.x//
8.1 Taylors Theorem 409
and
1
X .1/j x 2j
g.x/ D 1
j D0
.2j /
X1
x2 .1/j x 2j 2
D 11C x2
2 j D2
.2j /
1
D x2 C t .x/ ;
2
where s and t are functions such that limx!0 s.x/ D limx!0 t .x/ D 0:
Consequently
4
If f has a zero of order k > 0 at a, then Eq. (8.3) implies that, near a, the function
f behaves like .x a/k F .a/. For example, if k D 3 and a D 0, then the graph of
f near 0 would be almost the same as that of x 3 F .0/. Thus in a neighborhood of 0
the graph would look like the cubic curve y D Cx3 , where C is a nonzero constant.
The local shape of a curve near a critical point provides a key insight into the nature
of the critical point. Recall that if a smooth function f has a relative extremum at
a, then f 0 .a/ D 0. The nature of the critical point depends on the higher-order
derivatives at a. It is the first nonzero derivative at a that determines whether the
critical point corresponds to a relative extremum. Briefly, suppose g has a critical
point at a. Then a is a zero of f .x/ D g.x/ g.a/ of order k > 1. The graph of
f near a is nearly the same as that of C.x a/k : If k is even, the critical point will
yield a local extremum; if k is odd, then the critical point cannot correspond to a
relative extremum. This simple observation is formalized in the next result.
Theorem 8.1.2. Let I be an open interval containing some number a, and let
n 2 N. Let f be a function such that f .k/ is defined and continuous on I for each
positive integer k n. Suppose that f .k/ .a/ D 0 for all positive integers k < n but
f .n/ .a/ 0.
1. If n is even and f .n/ .a/ > 0, then f .a/ is a relative minimum.
2. If n is even and f .n/ .a/ < 0, then f .a/ is a relative maximum.
3. If n is odd, then f .a/ is not a relative extremum.
Proof. Since f .n/ .a/ 0 and f .n/ is continuous, we may choose I so that
for all x 2 I . Taylors theorem shows that for each fixed x 2 I fag there exists
between x and a such that
1. In this case f .n/ ./ > 0. Hence Rn1 .x/ > 0, so that f .x/ > f .a/.
2. The proof is similar in this case.
3. Since n is odd, .x a/n has the same sign as x a. Thus the sign of Rn1 .x/
when x > a is different from its sign when x < a. Consequently f .a/ is not a
relative extremum.
t
u
Example 8.1.8. Let
2. Use the Taylor polynomial of order 6 for sin x about 0 to obtain an approximate
value for sin 0:3 and then use Taylors theorem to prove that this approximation
gives the first seven digits in the decimal expansion of sin 0:3 correctly.
3. Use the Taylor polynomial of order 3 for log x about 1 to obtain an approximate
value for log 1:06 and then use Taylors theorem to prove that this approximation
gives the first four digits in the decimal expansion of log 1:06 correctly.
4. Suppose f is a function that satisfies f .0/ D 1, f 0 .0/ D 0, and
f 00 .x/ C xf .x/ D 0
for all x 2 R. Find the Taylor polynomial of order 9 for f about 0. (The function
f is called an Airy function.)
5. Let f be a function such that f .1/ D 0, f 0 .1/ D 1, f 00 .1/ D 2, and
2x log.x C 2/
f 000 .x/ D
xC1
for all x > 2 satisfying x 1.
(a) Write down the Taylor polynomial of order 3 for f about 1.
(b) Find upper bounds for the error if the Taylor polynomial of order 2 for f
about 1 is used to approximate f .1:2/ and f .0:5/.
f .j / .a/
aj D
j
for all j , as in Sect. 8.1, so that
1
X f .j / .a/
f .x/ D .x a/j : (8.5)
j D0
j
The series on the right-hand side is called the Taylor series for f about a. When
a D 0, it is also called the Maclaurin series for f . Note that the Taylor series about
a is the only possible representation of f as a power series with center a.
412 8 Taylor Polynomials and Taylor Series
One application of a Taylor series gives a proof of the binomial theorem. Recall
that
!
n n
D ;
j j .n j /
D xn;
as required.
Suppose y D 1, and let
f .x/ D .x C 1/n
f .j / .0/
aj D
j
n
f .j / .x/ D .x C 1/nj ;
.n j /
so that
n
f .j / .0/ D :
.n j /
8.2 Taylor Series 413
Hence
!
n n
aj D D ;
j .n j / j
as required.
In the general case with y 0 we therefore have
n
x
.x C y/n D y n C1
y
!
X n
n x j
Dy n
j D0
j y
!
X n
n j nj
D x y :
j D0
j
t
u
Taking x D y D 1 yields the following corollary.
Corollary 8.2.2. For every nonnegative integer n,
!
X n
n
D 2n :
j D0
j
f .x/ D e 1=x
2
for all x 0, and let f .0/ D 0. This function is known as Cauchys function. We
show that its Maclaurin series does not converge to f .x/ for any x 0.
First we prove that if n is a positive integer, then
e 1=x
2
lim D 0: (8.6)
x!0 x n
414 8 Taylor Polynomials and Taylor Series
We start with the case where n is even. Suppose therefore that n D 2k, where k is a
positive integer. Then
1
e 1=x
2
2k
D x1=x 2
xn e
and
1 2
lim 2k
D lim e 1=x D 1:
x!0 x x!0
Then
1 2k 1
x 2k x 2kC1 x 2.k1/
lim D lim D k lim D k 0 D 0;
x!0 2
2 2
x!0 e 1=x
x3
e 1=x 2 x!0 e 1=x
as required.
If n is odd, we may write n D 2k C 1, where k this time is a nonnegative integer.
We then have
!
e 1=x e 1=x
2 2
since 2k C 2 is even and positive. The proof of Eq. (8.6) is now complete.
Next we show by induction that for every x 0 and every positive integer n we
have
where
X
m
Aj
gn .x/ D
j D1
xj
2
f 0 .x/ D e 1=x
2
:
x3
8.2 Taylor Series 415
Since
X m
jAj
gn0 .x/ D ;
j D1
x j C1
it follows that
2
gn .x/ C gn0 .x/
x3
X m
2Aj X m
jAj
D C3
j D1
x j
j D1
x j C1
X
mC3
2Aj 3 X .j 1/Aj 1
mC1
D
j D4
xj j D2
xj
X mC1
A1 2A2 2Aj 3 .j 1/Aj 1 2Am1 2Am
D 2
3 C C C mC3 :
x x j D4
xj xj x mC2 x
Hence
X
r
Bj
f .nC1/ .x/ D e 1=x
2
;
j D1
xj
Bj D 2Aj 3 .j 1/Aj 1
for all integers j such that 4 j m C 1. The proof that f .n/ .x/ is of the desired
form is now complete.
Now we prove by induction that f .n/ .0/ D 0 for all positive integers n. First
e 1=x
2
0 f .x/ f .0/ f .x/
f .0/ D lim D lim D lim D0
x!0 x0 x!0 x x!0 x
416 8 Taylor Polynomials and Taylor Series
by Eq. (8.6). Suppose that f .r/ .0/ D 0 for some positive integer r. Then, using
Eq. (8.7), for some positive integer m and constants A1 ; A2 ; : : : ; Am , we have
f .r/ .x/
f .rC1/ .0/ D lim
x!0 x
X m
Aj
D lim e 1=x
2
x!0
j D1
x j C1
D 0;
by Eq. (8.6).
We have now completed the proof that f .n/ .0/ D 0 for all positive integers n. We
deduce that the Maclaurin series for f converges to 0 regardless of the value of x.
Since f .x/ 0 for all x 0, it follows that the Maclaurin series for f converges
to f .x/ only when x D 0.
It is shown in complex analysis that functions that can be represented by a Taylor
series about a given point are precisely those that are differentiable throughout some
neighborhood of that point. If we consider the function f of this example as a
function in the complex plane, then it is not differentiable at 0. Indeed it is not even
continuous at 0: If we take
1
zn D p
n i
for all n > 0, then fzn g converges to 0, but the sequence ff .zn /g does not converge
to f .0/ D 0 since je 1=z j D je in j D 1:
2 2
4
Exercises 8.2.
1. Let f be a function such that f .n/ .x/ exists for all nonnegative integers n and for
all x in an open interval I containing a number a. Show that if there is a number
M such that jf .n/ .x/j M for all n and for all x 2 I , then f is representable
by a Taylor series about a.
2. Find the Maclaurin series for .1 C x/ for each 2 R and give its radius of
convergence.
If a function f has a Taylor series about a number a, then the coefficients of the
series can be determined by evaluating the derivatives of f at a. Finding these
derivatives, however, can prove tedious and awkward. In this section we look at
some shortcuts when the functions involved are closely related to known Taylor
series.
8.3 Some Shortcuts for Computing Taylor Series 417
If f has a Taylor series about a, then the series is unique. If we can establish by
any means that a power series of the correct form represents f in a neighborhood
of a, then the power series must be the Taylor series. Often simple substitutions,
algebraic identities, differentiation, or integration can be used to facilitate the
computation of a Taylor series. The examples that follow illustrate how this is done.
Example 8.3.1. Find the Maclaurin series for cos x 4 .
Solution. For each w 2 R the definition of cos w gives
w2 w4 w6
cos w D 1 C C :
2 4 6
Let w D x 4 . Then
.x 4 /2 .x 4 /4 .x 4 /6
cos x 4 D 1 C C
2 4 6
x8 x 16 x 24
D 1 C C
2 4 6
1
X x 8j
D .1/j : 4
j D0
.2j /
w2 w3
ew D 1 C w C C C :
2 3
Let w D x 1. Then
.x 1/2 .x 1/3
e x1 D 1 C .x 1/ C C C ;
2 3
and hence
.x 1/2 .x 1/3
e x D e 1 C .x 1/ C C C
2 3
1
X .x 1/j
De :
j D0
j
4
Example 8.3.3. Find the Taylor series for 1=x about 2.
418 8 Taylor Polynomials and Taylor Series
1 1 1
D D :
x 2Cx2 2.1 .x2/
2
/
1
D 1 C w C w2 C w3 C I
1w
hence for all x such that
jx 2j
< 1;
2
we have
1 1 x2 .x 2/2 .x 2/3
D 1 C C
x 2 2 22 23
1
X .1/j
D .x 2/j :
j D0
2j C1
4
Example 8.3.4. Find the Maclaurin series for
x
:
.1 C x/2
X 1
1
D wj ;
1w j D0
X 1
1
D .1/j 1 jxj 1 ;
.1 C x/2 j D1
8.3 Some Shortcuts for Computing Taylor Series 419
so that
X 1
x
D .1/j 1 jxj :
.1 C x/ 2
j D1
4
Example 8.3.5. Find the Maclaurin series for
log.1 C x 2 /:
Solution. The Maclaurin series can be readily obtained from the Maclaurin series
for log.1 C w/. We derive the series from the geometric series to illustrate the use
of integration.
Integration by substitution yields
Z x
2t
dt D log.1 C x 2 /
0 1 C t2
and for each x such that jxj < 1, a simple substitution in the geometric series gives
X 1
1
D .1/j x 2j ;
1Cx 2
j D0
so that
X1
2x
D 2 .1/j x 2j C1 :
1 C x2 j D0
We know that power series can be integrated term by term within the interval of
convergence. We thus have
Z x
2t
log.1 C x 2 / D dt
0 1Ct
2
X1 Z x
D2 .1/j t 2j C1 dt
j D0 0
X1
.1/j 2j C2
D2 x
j D0
2j C 2
1
X .1/j
D x 2j C2 :
j C1 4
j D0
420 8 Taylor Polynomials and Taylor Series
1 C cos 2x
cos2 x D :
2
The Maclaurin series for cos 2x can be derived by a simple substitution; hence
1
X .1/j 22j
cos 2x D x 2j :
j D0
.2j /
We thus have
1 1
1 X .1/j 22j 1 2j X .1/j 22j 1 2j
cos x D C
2
x D1C x :
2 j D0 .2j / j D1
.2j /
4
Exercises 8.3.
1. Use the geometric series to determine the Taylor series for the following
functions about the indicated point a:
(a) 2Cx 1
, a D 1; (c) arctan x, a D 0;
(b) 1
x.xC1/
, a D 1; (d) 1
.2Cx/3
, a D 0.
2. Use the Maclaurin series for sin x and cos x along with trigonometric identities
to determine the Taylor series for the following functions about a:
3. Show that x 1=3 is representable by a Taylor series about 1 in the interval .0; 2/.
4. Show that cos x is representable by a Taylor series about any real number.
R1
5. Let f .x/ D .sin x/=x for all x 0 and let f .0/ D 1. Estimate 0 f by using
five terms of the Maclaurin series for f , and find an upper bound
R x for the error.
6. For the following functions f , find the Maclaurin series for 0 f .t / dt and give
the intervals of convergence:
(a) sin t 2 ;
(b) e t .
2
7. Find the Maclaurin series for sinh x and cosh x and give the intervals of
convergence.
8.3 Some Shortcuts for Computing Taylor Series 421
8. Find the Maclaurin series for sin4 x by expressing the function in terms of sin kx
and cos kx, where k 2 Z.
9. Let
Z x
F .x/ D t t dt:
a
Show that
Classification: 26A18
3x 3 3x C 1 D 0: (9.1)
x D g.x/
x D 3x 3 2x C 1 (9.2)
or
3x 3 C 1
xD ;
3
and there are many other possibilities.
The first question to be considered is whether a given function has any fixed points
at all. Once we have that information, we can consider how the fixed points may
be found. We can gain considerable insight by looking at the problem graphically,
because a fixed point of a function g is simply a value of the argument x at which
the graph of g intersects the line y D x (see Fig. 9.1).
Clearly, a function need not have a fixed point. The exponential function, whose
graph is drawn in Fig. 9.2, is an example of a function with no fixed point.
The next theorem establishes a useful set of conditions under which we can be
sure that a given function has a fixed point.
Theorem 9.2.1. Let a and b be real numbers with a < b. Let g be a function such
that g.a/ a and g.b/ b and g is continuous on a; b. Then g has a fixed point
in a; b.
y
y =x
g(x2) = x2
x1
x
x2
g(x1) = x1
y = g(x)
Proof. Define
h.x/ D x g.x/
g.x2 / g.x1 /
g 0 ./ D :
x2 x1
As x1 and x2 are fixed points, it follows that g 0 ./ D 1, despite the hypothesis
that jg 0 .x/j < 1 for all x 2 .a; b/. This contradiction shows that the fixed point in
question is indeed unique. t
u
426 9 The Fixed-Point Problem
We suppose now that we are given a function g and we wish to find, as accurately
as may be required, the fixed points of g. The method we shall use is called fixed-
point iteration. It involves making an initial guess, x0 say, and then constructing
a sequence fxn g of successive approximations for the desired fixed point, using the
formula
xnC1 D g.xn /
for all nonnegative integers n. The process is illustrated graphically in Fig. 9.3.
If the sequence fxn g so constructed converges to some number s and g is
continuous, then it is easily seen that s is a fixed point of g. Indeed, since xn ! s
as n ! 1 and g is continuous, it follows that g.xn / ! g.s/. Therefore, taking
limits on both sides of the equation xnC1 D g.xn / yields s D g.s/, as required.
However, the sequence fxn g need not converge. The following example illustrates
this and other difficulties.
Example 9.3.1. Suppose we wish to solve Eq. (9.1) given at the beginning of this
chapter. First we sketch the graph of the function on the left-hand side of the
equation. For instance, if we draw the graph of 3x 3 3x and move it one unit
up, then Fig. 9.4 makes it appear that there are solutions near 1:1, 0.4, and 0.7.
Now let us try to solve the equation by writing it in the form (9.2) and looking
for the fixed points of the corresponding function given by
g.x/ D 3x 3 2x C 1
for all x. We show graphically in Fig. 9.5 the fates of seven iterations that start with
initial guesses near one of the three values obtained above.
The following facts should be clear from the figure.
y y
y=x y=x
y = g(x)
g(x0) = x1 g(x0) = x1
g(x2) = x3 g(x0) = x2
g(x1)= x2
y = g(x)
x0 x2 s x3x1 x s x2 x1 x0 x
y = 3x3 3x
0.58
x
1 1
1.15
1. No iteration can converge to the fixed points located near 1:1 and 0.7.
2. Iterations such as 35, which start close enough to the remaining fixed point, will
converge to that fixed point. The value obtained for the fixed point by this means
is 0.3949 (correct to four decimal places). A closer study of the graph shows that
in order for an iteration to converge to this fixed point, the initial guess must lie
in the interval 0:14; 0:74, approximately. Even then, the convergence is so slow
that it takes many steps of an iteration to get a good approximation for the fixed
point.
3. Some iterations that start near 1:1, such as iteration 7, which might be expected
to diverge like iteration 2, actually converge to 0.3949. . . because the third term
in the iteration falls in the interval 0:14; 0:74 referred to in (2), instead of
overshooting or undershooting it. The figure shows how this happens. 4
It is clear from this example that trying to solve Eq. (9.1) by applying fixed-point
iteration to version (9.2) is an approach whose value is very limited. Only one of the
three solutions can be found this way, and that at the cost of considerable calculation
because of the slow convergence of the iterations. Furthermore, the interval within
which the initial guess must be placed in order for us to be sure the iterations will
converge is not large. It would be helpful to know what sorts of conditions the
function g must satisfy if the fixed-point iterations are to converge and to have a
better understanding of what governs the rate of convergence of the iterations. The
next theorem deals with these questions. As well as giving conditions under which
a fixed-point iteration will converge to a fixed point of g, it also gives a bound on
the error incurred by stopping the iterations after a given number of steps.
Theorem 9.3.1. Suppose the function g satisfies the following conditions:
1. g is continuous on the closed interval a; b;
2. a g.x/ b for all x 2 a; b; and
3. there is a number L < 1 such that jg 0 .x/j L for all x 2 .a; b/.
428 9 The Fixed-Point Problem
2 6
y = 3x3 2x + 1
7
7 2
1
x
6 6
7 7
3 4 5 6
Then
1. for any initial value x0 2 a; b, the sequence fxn g defined by xnC1 D g.xn /
for each n 0 converges to a number s, which is the unique fixed point of g in
a; b; and
2. the error en D s xn satisfies
Ln
jen j jx1 x0 j
1L
for each n 2 N.
9.3 Fixed-Point Iteration 429
Proof.
1. Taking x D a and x D b in hypothesis (2) gives g.a/ a and g.b/ b, respec-
tively, so that g satisfies the hypotheses of Theorem 9.2.1. By hypothesis (3), g
also satisfies the conditions of Theorem 9.2.2, and so we know that g has exactly
one fixed point s in a; b. Choose any x0 2 a; b, and let the sequence fxn g be
defined by
xnC1 D g.xn /
g.xn1 / g.s/
g 0 .n / D :
xn1 s
Thus
so that
jxn sj Ljxn1 sj
and if
jxk sj Lk jx0 sj
Consequently
jxn sj Ln jx0 sj
lim Ln D 0;
n!1
430 9 The Fixed-Point Problem
and so
lim jxn sj D 0:
n!1
It follows that
lim xn D s;
n!1
as required.
2. We may assume that xn xn1 for all n 2 N, as xn D s otherwise. By the
mean-value theorem, for every positive integer n there is a number n between
xn1 and xn such that
g.xn / g.xn1 /
g 0 .n / D :
xn xn1
jxnC1 xn j Ln jx1 x0 j
for all n 2 N.
Now fix n and let m be an integer such that m > n. Using the telescoping
property, we have
m1
X
jxm xn j D .xj C1 xj /
j Dn
X
m1
jxj C1 xj j
j Dn
X
m1
jx1 x0 j Lj
j Dn
0 1
X
m1 X
n1
D jx1 x0 j @ Lj Lj A
j D0 j D0
1L 1 Ln
m
D jx1 x0 j
1L 1L
Ln Lm
D jx1 x0 j ;
1L
9.3 Fixed-Point Iteration 431
Ln
jen j D js xn j jx1 x0 j;
1L
as required. t
u
Example 9.3.2. Let us return to Eq. (9.1) discussed in the previous example, but
this time we shall write it in the form
1=3
3x 1 1 1=3
xD D x
3 3
for all x, using the information provided by Theorem 9.3.1. In order to apply the
theorem we need to know for what values of x we have jg 0 .x/j < 1, and so we first
sketch the graph of
1 1 2=3
g 0 .x/ D x :
3 3
0.8046
3( )
y = 1 x 1 2/3
3
0.5540
0.2752
0.2403
x
1.3 1 0.1409 1 0.6 0.8
3
0.5258
x
a b
y= x
y = (x 13)1/3
0.8
0.6
1.3 1
x
0.6 0.8
1.3
where a g.x/ b for all x 2 a; b by noting that in such a case the graph of g
on the interval a; b must lie entirely within the square box shown in Fig. 9.7. The
graph of g is drawn in Fig. 9.8.
It is clear that the fixed point 0.3949 . . . obtained by the method of the previous
example lies in a region of the graph where g 0 .x/ > 1, so that Theorem 9.3.1 cannot
be applied to locate that fixed point in the present case. In fact, graphical analysis or
numerical experimentation indicates that in the present case no fixed-point iteration
will converge to the fixed point 0.3949 . . . , and so that fixed point cannot be located
by the present method. In fact, iterations started just above 0.3949 . . . will converge
to the fixed point near 0.7, while those started just below 0.3949 . . . will converge to
the fixed point near 1:1. However, both the fixed point near 1:1 and that near 0.7
can be enclosed in intervals on which Theorem 9.3.1 may be applied, for example,
9.3 Fixed-Point Iteration 433
the intervals 1:3; 1 and 0:6; 0:8, as shown. Analysis of the graph of g 0 shows
that jg 0 .x/j 0:276 for all x 2 1:3; 1 and jg 0 .x/j 0:805 for all x 2 0:6; 0:8,
so that we may apply Theorem 9.3.1 on these intervals with L D 0:276 and L D
0:805, respectively. This method therefore locates the two solutions of Eq. (9.1) not
found by the method of Example 9.3.1. By combining the two methods, we can say
that, correct to four decimal places, the solutions of Eq. (9.1) are 1:1372, 0.3949,
and 0.7422. 4
Considering the amount of work involved in obtaining the solutions in this
example, one cannot help feeling that there must be an easier way. One point that
will be noticed is the relatively rapid convergence of the iterations in the interval
1:3; 1. Note that jg 0 .x/j is smaller in this interval, so that L is smaller and
therefore Ln tends to 0 relatively fast as n ! 1. Thus the error bound given
by Theorem 9.3.1 will also tend to 0 relatively quickly. This observation suggests
more rapid convergence of the iterations than in the case of iterations in the interval
0:6; 0:8. Thus one way of speeding up the process might be to seek functions g for
which jg 0 .x/j is very small near a fixed point of g. This idea is the reason for the
success of the following method.
Suppose we are given the nonlinear equation f .x/ D 0 for all x, and we wish to
write it in the form x D g.x/ in order to apply fixed-point iteration. One approach
is to write f .x/ D 0 in the equivalent form
f .x/h.x/ D 0;
where h is any differentiable function with the property that the equation h.x/ D 0
has no real solutions, so that f .x/ D 0 if and only if f .x/h.x/ D 0. Then we can
rewrite f .x/ D 0 as x D x C f .x/h.x/, so that
g.x/ D x C f .x/h.x/
for all x.
Now let s be a fixed point of g, that is, a solution of f .x/ D 0. In view of our
previous discussion, we should like jg 0 .x/j to be small when x is near s. If, in fact,
g 0 .s/ D 0, then as long as g 0 is continuous, we can be sure that jg 0 .x/j will be small
if x is close enough to s. Now
for all x such that f 0 .x/ 0, for then the value of s does not need to be known. In
other words, we write the equation f .x/ D 0 in the equivalent form
f .x/
xDx
f 0 .x/
and then use fixed-point iteration. This procedure is called Newtons method. If
the fixed-point iteration starts close enough to a solution of f .x/ D 0, then L
in Theorem 9.3.1 will be small and so the iteration will converge rapidly to the
desired solution. Difficulties arise in certain cases, most obviously if f 0 .s/ D 0,
but Newtons method is very useful in cases where f 0 .x/ is easily calculated and a
reasonably good initial guess at the solutions can be made.
Example 9.3.3. Newtons method applied to Eq. (9.1) requires the equation to be
rewritten in the form
3x 3 3x C 1
xDx
9x 2 3
for all x such that 9x 2 3. Applying fixed-point iteration with starting values
near the solutions guessed at the beginning of Example 9.3.1 leads to iterations that
converge relatively rapidly compared with those in the previous examples. 4
Exercises 9.1.
1. Let g.x/ D x 2 for all x. From a graph similar to that used to trace the fates
of fixed-point iterations in Example 9.3.1, determine for what values of x0 the
sequence fxn g, defined by xnC1 D g.xn / for all nonnegative integers n, will
converge to a fixed point of g and for what values of x0 it will diverge.
2. Suppose Eq. (9.1) discussed in Examples 9.3.19.3.3 is rewritten as x D .3x 3 C
1/=3. Putting g.x/ D .3x 3 C1/=3 for all x, sketch the graphs of g and g 0 and use
the approach illustrated in Example 9.3.2 to find suitable intervals within which
Theorem 9.3.1 can be applied to locate fixed points. Use fixed-point iterations,
starting at each end of the intervals you have found, to locate the corresponding
fixed points correct to four decimal places. If there are any fixed points that
cannot be located in this way, use the graph of g to describe what will happen to
iterations that start near these fixed points.
3. Do the same as for the previous exercise but for the function g given by
3x 1
g.x/ D
3x 2
for all x 0. Note that in investigating the graph of g 0 it is not necessary to find
exactly the values of x for which g 0 .x/ D 1; just locate these values roughly
by calculating a few values of g 0 .x/ on either side of the apparent location of
these values of x.
9.3 Fixed-Point Iteration 435
4. Show that Newtons method applied to the equation x 2 D c, where c > 0, leads
to the fixed-point problem
x2 C c
xD ;
2x
and use graphical
p pmethods to show that Theorem p 9.3.1 can be applied on the
interval 23 c; 43 c to locate the fixed point c. Find the smallest possible
p
value of L for this interval. In the case c D 2, use the fact that 1 < 2 < 32
p p p
to show that 1 lies in the interval 23 2; 43 2 and hence locate 2 correct
to six decimal places by fixed-point iteration. Calculate, for each step in the
iteration, the size of the actual error and the theoretical bound on the error given
by Theorem 9.3.1.
5. For the fixed-point problem x D cos x for all x, use graphical methods to show
that Theorem 9.3.1 can be applied on the interval 0; 1. If your calculator can
evaluate trigonometric functions, use the initial value x0 D 0:5 and locate the
fixed point correct to four decimal places. Also, solve the equation by Newtons
method with the same initial value and note the rapid convergence in this case.
6. Suppose
f .x/ D .x r1 /.x r2 / .x rm /
Classification: 40A30
10.1 Introduction
y.a/ D c; (10.2)
where a and c are given numbers. The initial-value problem consists of determin-
ing a function y that satisfies Eqs. (10.1) and (10.2) for all x in some open interval
that contains a.
We gloss over the fundamental questions of the existence and uniqueness of
solutions to initial-value problems. It turns out that for most choices of f the
problem cannot be solved explicitly. Nonetheless, it can be shown, for example,
that if f is differentiable in a neighborhood of .a; c/ with respect to x and y, then
the initial-value problem has a unique solution. The proof of this result requires
the use of a sequence of functions, and the solution is the limit of this sequence.
Picard proved this result by the method of successive approximations. Specifically,
the problem can be recast as an integral equation
Z x
y.x/ D c C f .; y.// d ;
a
y0 .x/ D c
and
Z x
ynC1 .x/ D c C f .; yn .// d
a
for all nonnegative integers n. It is then shown that fyn .x/g converges to a limit
y.x/ that solves the initial-value problem. The result is local in character: To
ensure convergence of the sequence, x is usually restricted to a small open interval
containing a.
Convergence questions aside, the claim that the limit is the solution of the
differential equation brings to the fore certain questions concerning the properties of
the function that is the limit of the sequence. The problem is that more than one limit
process is involved, and the order in which these limits are taken must be changed.
To prove that the function defined by
In this calculation, the sequence limit migrates from outside the integral to inside
the integrand. There are two limits involved in this manipulation: the limit defining
y and the limit defining the integral. The problem in the second line is that we
10.1 Introduction 439
must change the order in which the sequence limit and the integral limit are taken.
Intuitive as the calculation seems, it turns out that changing the order of these limits
is not always valid.
Indeed, there is a third limit process in the background that stems from the
continuity of f and the functions yn . Given that f is differentiable with respect to
x and y in some neighborhood N of .a; c/, a fortiori f is continuous with respect
to y (and x) for each .x; y/ 2 N . Certainly, if fwn g is a sequence of numbers such
that .x; wn / 2 N and limn!1 wn D y, then the definition of continuity implies that
The sequence fyn g consists of functions continuous near a, but is the limit function
y continuous near a? For that matter, if y is not continuous, is f .x; y.x// integrable
with respect to x in some neighborhood of a?
Suppose that the problems with the calculation above are resolved. The function
y thus represents the solution to the integral equation. The original problem,
however, involved a differential equation. The integral equation is well defined for
every continuous function y; the differential equation requires y to be differentiable
near a. It is clear from the definition of the sequence that each yn is differentiable,
but is the limit y differentiable?
The initial-value problem highlights the need to examine conditions under which
the order of certain limiting processes can be changed. On a more fundamental
level it also raises questions as to whether properties of the sequence terms, such as
continuity and differentiability, are preserved in the limit.
Let I R be an interval and suppose the sequence ffn .x/g converges to f .x/
for all x 2 I . We have, in summary, the following questions concerning limits of
sequences of functions.
1. If fn is continuous on I for all n, is f continuous on I ?
2. If fn is integrable on I for all n, is f integrable on I ? If so, is
Z b Z b
lim fn .x/ dx D lim fn .x/ dx;
a n!1 n!1 a
where I D a; b?
3. If fn is differentiable on I for all n, is f differentiable on I ? If so, is
0
lim fn D lim fn0
n!1 n!1
In this chapter we develop conditions under which the order of limit processes can
be changed. We end this section with a few simple examples to illustrate that, in
general, the order of these processes cannot be changed.
440 10 Sequences of Functions
1
fn .x/ D
1 C nx2
for all n and all x 2 1; 1. For every n, fn is continuous on 1; 1. If x 0, then
it is plain that fn .x/ ! 0 as n ! 1; however, fn .0/ D 1 for all n and consequently
fn .0/ ! 1 as n ! 1. The limit of the sequence is thus given by
0 if x 2 1; 1 f0g
f .x/ D
1 if x D 0;
4
Example 10.1.2 (Differentiation). Let ffn g be the sequence defined by
x
fn .x/ D
1 C nx2
1 nx2
fn0 .x/ D ;
.1 C nx2 /2
so that
1 if x D 0;
lim fn0 .x/ D
n!1 0 otherwise.
Hence
0
lim fn0 .x/ lim fn .x/
n!1 n!1
when x D 0. 4
10.2 Uniform Convergence 441
sin nx
fn .x/ D
n
so that the sequence ffn0 g converges only for special values of x such as 0 and 2
and diverges for most x 2 R. 4
Example 10.1.4 (Integration). Let ffn g be the sequence defined by
fn .x/ D 2nxenx
2
for all n and all x 2 0; 1. For each x 2 0; 1, fn .x/ ! 0 as n ! 1; hence
Z 1 Z 1
lim fn .x/ dx D 0 dx D 0:
0 n!1 0
so that
Z 1 Z 1
lim fn .x/ dx D 1 lim fn .x/ dx D 0:
n!1 0 0 n!1
The examples in the previous section show that the order in which limits are taken is
important. We thus seek sufficient conditions under which this order can be changed.
In this section we present the key concept of uniform convergence. In the next
section we show that the order of limits for sequences that converge uniformly can
be changed.
442 10 Sequences of Functions
Let I be a set of real numbers and let ffn g be a sequence of functions defined
on I . Suppose that for each x 2 I the sequence ffn .x/g converges to f .x/. For all
x 2 I , the definition of convergence implies that for every " > 0 there is an integer
N such that
whenever n N . The value of N , in general, depends not only on the choice of "
but also on x. Suppose that we consider two distinct values x1 and x2 in I . Since
ffn .x1 /g and ffn .x2 /g are convergent sequences, for every " > 0 there exist integers
N."; x1 / and N."; x2 / such that
whenever n N."; x2 /. Integers N."; x1 / and N."; x2 / are not necessarily equal,
but we could use N D maxfN."; x1 /; N."; x2 /g to ensure that inequalities (10.3)
and (10.4) are satisfied for all n N . Evidently, for any finite number of points
x1 ; x2 ; : : : ; xj in I we can always choose N so that if n N , then
for each k 2 f1; 2; : : : ; j g. It is not clear, however, that we can find an N such that,
for all x 2 I ,
for all x 2 I . Clearly, " in inequality (10.5) may be replaced by c" for any constant
c > 0. In applications we usually take I to be a closed interval. We always assume
it to be nonempty.
Note that if there exists a function f such that fn .x/ D f .x/ for each x 2 I and
each n, then the sequence ffn g converges uniformly to f on I .
10.2 Uniform Convergence 443
Suppose that fn .x/ D an for each x 2 I and each n, and that the sequence fan g
converges to L. Choose " > 0. There exists N such that
Inequality (10.5) shows that Mn necessarily exists for all n if ffn g is uniformly
convergent on I .
Theorem 10.2.1. The sequence ffn g converges uniformly on I to f if and only if
Mn ! 0 as n ! 1.
Proof. Suppose that ffn g converges uniformly on I to f . Choose " > 0. Since ffn g
converges uniformly, there is an integer N that is independent of x such that
Proof. Suppose that jf .x/j > M for some x 2 I . Then jf .x/j D M C " for some
" > 0. Thus for all n we have
Therefore
t
u
Of course, a corresponding result holds if jfn .x/j > M for all n and all x 2 I .
Example 10.2.1. Let ffn g be the sequence defined by
1 x nC1
fn .x/ D
1x
for each x 2 1=2; 1=2 D I . For all x 2 I , x nC1 ! 0 as n ! 1, and therefore
1
f .x/ D lim fn .x/ D :
n!1 1x
Now
jxjnC1
jfn .x/ f .x/j D I
1x
consequently
jxjnC1
D sup
x2I 1x
1
D :
2n
1
fn .x/ D
1 C nx2
0 if x 2 I f0g;
f .x/ D
1 if x D 0;
therefore
(
1
if x 2 I f0g;
jfn .x/ f .x/j D 1Cnx2
0 if x D 0.
Now
and
Z Z
b
b 2 a2 b
lim fn .x/ dx D lim D0D lim fn .x/ dx:
n!1 a n!1 2n a n!1
4
Our next example shows that a sequence of functions may converge uniformly
on every closed subinterval of an open interval yet fail to be uniformly convergent
on the open interval.
Example 10.2.4. Let
fn .x/ D x n
for each n and each x 2 .0; 1/. We will show that if 0 < a < b < 1, then ffn g
converges uniformly on a; b, but it does not do so on .0; 1/.
For each x 2 .0; 1/ we have
Therefore
as n ! 1. Hence
1
sup jfn .x/ f .x/j > 0:
x2I e
We conclude from Theorem 10.2.1 that ffn g does not converge uniformly on .0; 1/.
4
10.2 Uniform Convergence 447
whenever n N and m N .
Proof. Necessity: Suppose ffn g converges uniformly on I to f . Then for each " > 0
there is an integer N such that for all x 2 I we have
for all x 2 I .
448 10 Sequences of Functions
Therefore
whenever n N and m N .
The following result provides a sequential characterization of uniform conver-
gence of a sequence of functions.
Theorem 10.2.4. Let ffn g be a sequence of functions on a nonempty set I . Then
the sequence converges uniformly to f on I if and only if
Suppose on the other hand that ffn g does not converge uniformly to f . Then
there is an " > 0 such that for all N there exist an integer k N and an xk 2 I for
which
Moreover, suppose that positive integers k1 ; k2 ; : : : ; kn have been defined for some
n 2 N, and that xkj 2 I and
for all j . Suppose also that kj < kj C1 for each j < n. Then there exist an integer
knC1 kn C 1 and an xknC1 2 I such that
We have now constructed a subsequence ffkn g of ffn g by induction. Let fxn g be any
sequence in I having fxkn g as a subsequence. For instance, since I ; we may
choose a 2 I and set xn D a for each positive integer n fk1 ; k2 ; : : :g. Then the
subsequence fjfkn .xkn / f .xkn /jg of fjfn .xn / f .xn /jg does not converge to 0,
and the proof is complete. t
u
The contrapositive of this theorem is often easier to use.
Corollary 10.2.5. If there exists a sequence fxn g in I such that
fsin1=n xg
for all n 2 N and x 2 R, where > 0. Show that the sequence ffn g
converges uniformly on 0; 1 if and only if > 2.
7. Let
1 nx
fn .x/ D C nx2
x e
1
jf .x/ f .y/j <
n
whenever jx yj < n .
(b) Let .x0 ; x1 ; : : : ; xkn / be a partition of a; b such that xj C1 xj < n for
each j < kn . For each n and each x 2 a; b define
f .xj / if xj x < xj C1
fn .x/ D
f .b/ if x D b.
x=n if x is even;
f .x/ D
1=n if x is odd.
The examples in Sect. 10.1 illustrate the need for conditions under which it is valid
to change the order in which limits are taken. In this section we show that uniformly
convergent sequences are well behaved in the sense that the order in which limits
are taken is not important. We begin with continuity.
Theorem 10.3.1. Let I R and let ffn g be a sequence of functions that
is uniformly convergent on I . Let c be a limit point of I , and suppose that
limx!c fn .x/ exists for all n 2 N. Then
for each x 2 I .
Suppose first that
lim f .x/ D L;
x!c
On the other hand, suppose that Eq. (10.7) holds. For each n 2 N, write
Thus
lim gn .c/ D L:
n!1
for all n M1 . Moreover, for each such n there exists n > 0 such that
whenever x 2 I and 0 < jx cj < n , and the uniform convergence of ffn g shows
the existence of M2 such that
jf .x/ Lj jf .x/ fn .x/j C jfn .x/ gn .c/j C jgn .c/ Lj < 3"
lim f .x/ D L;
x!c
as required. t
u
Remark. The hypothesis that c be a limit point of I is needed only to ensure that
the limits in question are defined.
Corollary 10.3.2. Let ffn g be a sequence of functions that is uniformly convergent
to a function f on a set I R. If fn is continuous on I for each n, then f is
continuous on I .
Proof. It is immediate from the hypotheses that for each c 2 I we have
D lim fn .c/
n!1
D f .c/:
t
u
The result above gives a sufficient condition for a sequence of continuous
functions to converge to a continuous function. The next example shows that it is
not a necessary condition.
Example 10.3.1. Let ffn g be the sequence defined by
1
xn D
1Cn
for all n 2 N, Theorem 10.2.1 shows that the sequence indeed fails to be uniformly
convergent on I . 4
Example 10.1.4 shows that there are sequences ffn g of integrable functions such
that fn .x/ ! f .x/ for all x in an interval I D a; b but
Z b Z b
lim fn .x/ dx f .x/ dx:
n!1 a a
Indeed, it may be that the limit f is not even integrable over I . The next result
shows that if ffn g converges uniformly to f on I , then f is integrable and the order
in which the limits are taken can be changed.
1
The reader may wonder what prompts the choice of this sequence. In fact, it can be shown using
elementary calculus that fn has a global maximum in I at xn .
10.3 Properties of Uniformly Convergent Sequences 455
Theorem 10.3.3. Let ffn g be a sequence of functions that are integrable over the
interval I D a; b and suppose that ffn g converges uniformly to f over I . Then f
is integrable on I , and
Z b Z b
lim fn D f: (10.8)
n!1 a a
Proof. Choose " > 0. Since ffn g converges uniformly to f on I , there exists N
such that
for all n N and x 2 I . Taking the lower integrals over I of both sides of the first
inequality, we obtain
Z Z
fn ".b a/ f;
Consequently,
Z Z
0 f f 2".b a/;
and since these inequalities must hold for every " > 0, it follows that
Z Z
f D f;
so that f is integrable on I .
We now have
Z Z Z
fn ".b a/ f fn C ".b a/:
Hence
Z Z
".b a/ f fn ".b a/
456 10 Sequences of Functions
t
u
Theorems 7.3.11 and 7.3.14 provide sufficient conditions under which a function
is integrable. These results can be used with Theorem 10.3.3 to glean the following
corollaries.
Corollary 10.3.4. Let ffn g be a sequence of functions that are continuous on the
interval a; b, and suppose that ffn g converges uniformly to f on a; b. Then f is
integrable over a; b and Eq. (10.8) is satisfied.
Corollary 10.3.5. Let ffn g be a sequence of functions that are bounded and
monotonic on the interval a; b. If ffn g converges uniformly to f on a; b, then
f is integrable over a; b and Eq. (10.8) is satisfied.
Example 10.3.2. Consider the sequence ffn g defined by
8
< xn
2 if x 2 0; 1=n/
fn .x/ D x n if x 2 1=n; 2=n/
: n
0 if x 2 2=n; 1
for all n > 0, where > 0 is a fixed number. The functions fn are continuous on
the interval 0; 1 and hence integrable by Theorem 7.3.11.
We show first that fn .x/ ! 0 as n ! 1 for each x 2 0; 1. The result is
obvious if x D 0. Suppose x 2 .0; 1. Let N be any integer such that N > 2=x.
Then for all n N , we have x > 2=n; hence fn .x/ D 0 and thus fn .x/ ! 0 as
n ! 1.
Evidently,
Z 1
fn .x/ dx D n2 ; (10.9)
0
however, if D 2,
Z 1 Z 1
lim fn .x/ dx D 1 lim fn .x/ dx;
n!1 0 0 n!1
10.3 Properties of Uniformly Convergent Sequences 457
and Theorem 10.2.1 implies that ffn g is uniformly convergent to the constant
function 0 on 0; 1 only if < 1. Corollary 10.3.4 can be used to deduce
relation (10.10), whenever 0 < < 1, without calculating the integral of fn . None
of the results concerning integration of uniformly convergent sequences, however,
can be applied when 1 < 2. This example thus shows that uniform convergence
is not a necessary condition for changing the order of the limits. 4
If ffn g is a convergent sequence of functions that are differentiable on an interval
I , Example 10.1.3 shows that the sequence ffn0 .x/g may diverge even for all x 2 I .
It is of interest to examine the relationship between these sequences when uniform
convergence is imposed. Uniform convergence of ffn g on I does not guarantee the
convergence of ffn0 g on I , but the next theorem shows that uniform convergence of
ffn0 g on I guarantees uniform convergence of ffn g on I , provided there is a c 2 I
such that ffn .c/g converges.
Theorem 10.3.6. Let ffn g be a sequence of functions that are differentiable on
an interval I D a; b. Suppose that the sequence ffn0 g converges uniformly on I
and that there exists c 2 I such that limn!1 fn .c/ exists. Then ffn g converges
uniformly on I to a differentiable function f , and
for all x 2 I .
Proof. Choose " > 0. As ffn .c/g converges, there exists N1 such that
Thus ffn g satisfies the Cauchy criterion for uniform convergence. Let this sequence
converge to a function f .
Next, for each n 2 N, x 2 I , and t 2 I fxg define
fn .t / fn .x/
hn .t / D I
t x
also let
f .t / f .x/
h.t / D :
t x
D lim lim hn .t /
t!x n!1
D lim h.t /:
t!x
0
We conclude that f .x/ exists and
t
u
10.3 Properties of Uniformly Convergent Sequences 459
log.1 C n2 x 2 /
fn .x/ D :
2n
However, we can show that ffn0 g is not uniformly convergent on 0; 1. Since
.1 nx/2 0;
we have
1 C n2 x 2 2nx;
so that fn0 .x/ 1=2 for each relevant n and x. Moreover fn0 .x/ attains its maximum
value of 1=2 at 1=n. Hence
1
sup jfn0 .x/ 0j D sup jfn0 .x/j D
x20;1 x20;1 2
for all n. As this result is nonzero, Theorem 10.2.1 shows that ffn0 g is not uniformly
convergent. 4
Exercises 10.2.
1. Let
n2 x
fn .x/ D
1 C n2 x 2
(b) Is f continuous?
(c) Is the convergence uniform?
2. Show that fsinn xg converges on 0; . Is the convergence uniform?
3. Let fn .x/ D x n =n for all n 2 N and x 2 0; 1.
(a) Does the sequence ffn g converge uniformly?
(b) Is
Z 1 Z 1
lim fn D lim fn
n!1 0 0 n!1
(c) Is
0
lim fn0 D lim fn
n!1 n!1
1 nx if 0 x < n1 ;
fn .x/ D
0 if x n1 .
2n2 x
fn .x/ D
e n2 x 2
(b) Is
Z 1 Z 1
lim fn D lim fn
n!1 0 0 n!1
7. Let
2nx
fn .x/ D
1 C n2 x 2
8. Show that
xn
x
n
12. It is crucial that the interval of integration be finite in Theorem 10.3.3. For all
n 2 N let
(
1
if 0 x n;
fn .x/ D n
0 if x > n.
but
Z 1
lim fn D 0:
0 n!1
but
Z 1
fn
0
diverges.
The results of Sect. 10.3 can be readily adapted to infinite series of functions. Let
ffn g be a sequence of functions defined on a set I and let fSn g be the sequence of
partial sums defined by
X
n
Sn .x/ D fj .x/
j D0
P
for all x 2 I . The series 1 j D0 fj .x/ is said to converge uniformly on I if fSn g
converges uniformly on I . Properties of uniformly convergent sequences can be
used to derive analogous results for uniformly convergent series. Moreover the
comparison, ratio, and root tests are applicable for uniformly convergent series.
P
Theorem 10.4.1. Let 1 j D0 jfj .x/j be a series that converges uniformly on a set
I . For all " > 0 there is an integer N such that jfk .x/j < " whenever k N and
x 2 I.
P
Proof. Noting that the sequence f nj D0 jfj .x/jg converges uniformly on I , we
apply the Cauchy principle. Thus for each " > 0 there exists N1 such that
X
n X
n X
N1
jfj .x/j D jfj .x/j jfj .x/j < "
j DN1 C1 j D0 j D0
P
Theorem 10.4.2. Let 1 j D0 jfj .x/j be a series that converges uniformly on a set I .
P
Then 1 f
j D0 j .x/ converges uniformly on I .
Proof. By the Cauchy principle, for each " > 0 there exists N such that
X
n X
n X
m
jfj .x/j D jfj .x/j jfj .x/j < "
j DmC1 j D0 j D0
for each c 2 I . t
u
The function Sn is integrable or differentiable on I if each fj is integrable
or differentiable, respectively, on I . These simple observations coupled with
Theorems 10.3.3 and 10.3.6 give the following results immediately.
Theorem 10.4.5 (Term-by-Term Integration). Let ffn g be a sequence of func-
P1 that are integrable on the interval I D a; b. Suppose that the series
tions
j D0 fj .x/ is uniformly convergent on I . Then
0 1
1 Z
X b Z b 1
X
fj .x/ dx D @ fj .x/A dx:
j D0 a a j D0
464 10 Sequences of Functions
for all x 2 I .
Although the results concerning the uniform convergence of sequences can be
readily exported to get analogous results for series, the tests for uniform convergence
given in Sect. 10.2 rely on the use of the sequence of partial sums. The sequence
fSn g of partial sums can prove to be an elusive quantity to obtain in a form conducive
to evaluating limits. Indeed, fSn g can be found in closed form only for a few types
of series such as the geometric series. If fSn g is difficult to procure in a useful form,
then identifying a candidate for the limit is yet another potentially formidable task.
Ideally, one desires a test that avoids these problems and relies directly on the terms
of the series. The next result is a comparison test for uniform convergence.
Theorem 10.4.7 (Comparison Test). Let ffn g and fgn g be sequences of nonneg-
ative functions defined on the set I , and suppose that for all x 2 I and k 2 N we
have
fk .x/ gk .x/:
P P1
If the series 1j D0 gj .x/ is uniformly convergent on I , then the series j D0 fj .x/
is uniformly convergent on I .
Proof. Choose " > 0, and let
X
n
Sn .x/ D fj .x/
j D0
and
X
n
Tn .x/ D gj .x/
j D0
X
n
D fj .x/
j DmC1
X
n
gj .x/
j DmC1
D Tn .x/ Tm .x/
< ":
The integer N does not depend on x 2 I , and therefore fSn g is uniformly convergent
on I by Theorem 10.2.3. t
u
The next result, although limited in applications as we shall explain later,
nonetheless proves to be one of the most useful and convenient tests for uniform
convergence of series. It is an immediate consequence of Theorem 10.4.7.
Corollary 10.4.8 (Weierstrass M-Test). Let ffn g be a sequence of functions
sequence fMn g of constants
defined on a set I . Suppose there exists aP P1such that
jfn .x/j Mn for all x 2 I and all n. If 1 j D0 Mj converges, then j D0 fj .x/
converges uniformly on I .
Example 10.4.1. Let ffn g be the sequence of functions defined by
sin nx
fn .x/ D ;
n2 C jxj
1
jfn .x/j
n2
P P1
for all n 2 N. Now, 1 2
j D1 1=j is convergent, and therefore the series j D1 fj .x/
is uniformly convergent on R. 4
We know that power series define functions that are differentiable within the
interval of convergence of the series and that the derivative can be obtained by
differentiating the series term by term. A power series can also be integrated term
by term within the interval of convergence. It should thus occasion little surprise
that a power series is uniformly convergent within the interval of convergence.
466 10 Sequences of Functions
has a radius of convergence r > 0 and let and be any numbers such that
D maxfjj; jjg:
P
The hypotheses show that
< 1, so that the series 1 j
j D0 aj
is absolutely
convergent. Moreover, if x 2 I D ; , then jxj
. Therefore
jan x n j jan j n
for all x 2 I and all n. The uniform convergence of the power series thus follows
from the Weierstrass M-test with Mn D jan j
n . t
u
The Weierstrass M-test is a comparison test for uniform convergence. The key
feature is that the comparison series consists of terms that are constants. Other series
tests that spawn from the comparison test can also be adapted to test for uniform
convergence. We give two such results now.
Theorem 10.4.10 (DAlembert Ratio Test). Let ffn g be a sequence of functions
defined on a set I . Suppose there exist numbers r < 1 and N such that fN is
bounded and for all x 2 I and n N we have fn .x/ 0 and
jfnC1 .x/j
r:
jfn .x/j
P1
Then the series j D0 fj .x/ converges uniformly on I .
Proof. Arguing as in the proof of Theorem 3.7.1, we see by induction that
for all x 2 I and j 2 N. The result now follows from the comparison test since fN
is bounded and r < 1. t
u
The reader should have no trouble proving the next theorem.
10.4 Infinite Series 467
jfn .x/j1=n r
P1
for all x 2 I and n N . Then the series j D0 fj .x/ converges uniformly on I .
The Weierstrass M-test is perhaps the most frequently used test for the uniform
convergence of series. Indeed, Bromwich ([4] p. 124) notes that series satisfying
the Weierstrass M-test were called normally convergent by Baire and that this
terminology has the advantage of emphasizing the fact that the M-test can be
applied to nearly all series in ordinary everyday use. A major limitation of the
test, however, is that a series must be absolutely convergent at each point in the set
I in order to apply the test successfully. More delicate tests are needed to cope with
series that are uniformly convergent in a set but conditionally convergent at points
in the set. However, we note the following result due to Baire that simply says that
every uniformly convergent series of bounded functions on a set I can be made into
a normally convergent series by a judicious grouping of terms. The proof of this
theorem may be found in [4].
Theorem 10.4.12 (Baire). For every uniformly convergent series of functions
bounded on some set, there exists a regrouping of terms such that the resulting series
satisfies the Weierstrass M-test.
Exercises 10.3.
P1
1. Determine whether the following series j D2 fj .x/ converge uniformly on the
set I :
(a) fn .x/ D sin nx
2n
, I D ; .
(b) fn .x/ D x
n2 Cx 2
, I D R.
x2
(c) fn .x/ D .1Cx 2 /n
, I D R.
.nC1/x
(d) fn .x/ D 2 , I D 0; 1.
e nx =2
log.1Cnx/
(e) fn .x/ D nxn
, I D c; 1/ for some c > 1 [hint: log.1 C h/ < h when
h > 0].
(f) fn .x/ D log 1 C x
n log2 n
, I D c; c for some c > 0.
(g) fn .x/ D 1
2n1 x
, I D .0; 1.
(h) fn .x/ D sinpnx sin x
nCx
,I D
0; 2.
c c
(i) fn .x/ D .1/ nC1 1
nx
,I D c; 1/ for some c > 0 [hint: nx D nx 2 n 2 ].
2. Let
sin nx
fn .x/ D
n2
468 10 Sequences of Functions
P
for all n > 0 and x 2 R. Show that 1 j D1 fj .x/ converges uniformly over R
P
whereas 1 f
j D1 j
0
.x/ diverges at 0.
3. For all n > 0 let
(
0 if x D 0;
fn .x/ D x n log x
n
if 0 < x 1.
n2 x 2
fn .x/ D :
e n2 x
4
sup jfn .x/j D :
x2R n2 e 2
P1
(b) Show that j D1 fj .x/ converges uniformly on R.
5. For all n > 0 and x 2 R let
(
1
if 1
< x n1 ;
fn .x/ D n nC1
0 otherwise.
P1
Show that j D1 fj .x/ converges uniformly but
1
X
sup jfj .x/j (10.13)
j D1 x2R
P1
diverges. Note that in general if (10.13) converges, then j D1 fj .x/ converges
uniformly (why?).
P
6. Show that if 1 j D0 aj is absolutely convergent, then
1
X
aj sin jx
j D1
10.4 Infinite Series 469
and
1
X
aj cos jx
j D0
converge uniformly
P on R.
7. Suppose that 1 j D0 fj .x/ converges uniformly on an interval I to a bounded
P
function f W I ! R. Show that 1 j D0 f .x/fj .x/ converges uniformly on I .
8. Let ffn g be a sequence of functions defined on an interval I , and suppose that
fn .x/ 0 for all n and all x 2 I . Suppose also that ffn .x/g is a decreasing
sequence for all x 2 I and that
Show that
1
X
.1/j fj .x/
j D0
converges uniformly on I .
9. Let
is differentiable on R.
Bibliography
1. Ali, S.A.: The mth ratio test: new convergence tests for series. Math. Assoc. Am. 115, 514524
(2008)
2. Anderson, G.D., Vamanamurthy, M.K., Vuorinen, M.: Monotonicity of Some Functions in
Calculus, Research Report Series, vol. 538, University of Auckland (2005)
3. Bartle, R.G., Sherbert, D.R.: Introduction to Real Analysis. Wiley, New York (1982)
4. Bromwich, T.J.IA.: An Introduction to the Theory of Infinite Series. Macmillan, London
(1926)
5. Carlson, B.C.: Algorithms involving arithmetic and geometric means. Am. Math. Mon. 78(5),
496505 (1971)
6. Dunlap, R.A.: The Golden Ratio and Fibonacci Numbers. World Scientific, Singapore (1997)
7. Fulks, W.: Advanced Calculus, 3rd edn. Wiley, New York (1978)
8. Huang, X.-C.: A discrete lHopitals rule. Coll. Math. J. 19(4), 321329 (1988)
9. Kemeny, J.G.: The exponential function. Am. Math. Mon. 64(3), 158160 (1957)
10. Little, C.H.C., Teo, K.L., van Brunt, B.: The Number Systems of Analysis. World Scientific,
Singapore (2003)
11. Marsden, J.E., Hoffman, M.J.: Basic Complex Analysis, 2nd edn. Freeman, New York (1987)
12. Moritz, R.E.: On the extended form of Cauchys condensation test for the convergence of
infinite series. Bull. Am. Math. Soc. 44(6), 441442 (1938)
13. Piaggio, H.T.H.: An Elementary Treatise on Differential Equations and Their Applications. G.
Bell & Sons, London (1920). (Reprinted 1971)
14. Shiu, P.: A generalization of some convergence tests. Math. Gazette 56, 227228 (1972)
15. Smith, D., Teo, K.L.: Linear Algebra. New Zealand Mathematical Society, Wellington (1990)
16. Stone, M.H.: Developments in Hermite polynomials. Ann. Math. 29, 113 (1927)
17. Tong, J.-C.: Cauchys mean value theorem involving n functions. Coll. Math. J. 35, 50,51
(2004)
18. Zhang, X., Wang, G., Chu, Y.: Extensions and sharpenings of Jordans and Kobers inequalities.
J. Inequal. Pure Appl. Math. 7(2), Article 63 (2006)
P
K partition, 4, 333
KummerJensen test, 142 refinement of, 338
peak index, 100
polynomial, 9
L coefficient of, 9
lHpitals rule, 290 degree of, 9
least upper bound, 67 root of, 9
Legendres equation, 332 product, 8, 165
Leibnizs rule, 256 Cartesian, 12
Leibnizs test, 147 factors of, 8
limit product of sums, 165
infinite, 208
one-sided, 205
limit comparison test, 128 R
limit point, 75 Raabes test, 143
Lipschitz condition, 248 ratio test, 132
Lipschitzs theorem, 247 uniform convergence, 466
lower bound, 67 relation, 3
lower sum, 336 equality, 3
equivalence, 3
inclusion, 3
M reflexive, 3
maximum- and minimum-value theorem, 225 symmetric, 3
mean-value theorem, 258 transitive, 3
mean-value theorem for integrals, 360 Riemann sum, 337
mesh, 334 convergence of, 341
method of successive approximations, 438 Riemanns theorem, 160
multiplication, 15 Rolles theorem, 257
476 Index