Lim Inf and Sup PDF
Lim Inf and Sup PDF
Lim Inf and Sup PDF
Sequences
(b) | x| = |x|;
30
3. Sequences
One useful consequence of the triangle inequality is the following reverse triangle inequality.
Proposition 3.3. If x, y R, then
so |x| |y| |x y|. Similarly, exchanging x and y, we get |y| |x| |x y|, which
proves the result.
We can give an equivalent condition for the boundedness of a set by using the
absolute value instead of upper and lower bounds as in Definition 2.9.
Proposition 3.4. A set A R is bounded if and only if there exists a real number
M 0 such that
|x| M for every x A.
Proof. If the condition in the proposition holds, then M is an upper bound of
A and M is a lower bound, so A is bounded. Conversely, if A is bounded from
above by M and from below by m , then |x| M for every x A where M =
max{|m |, |M |}.
A third way to say that a set is bounded is in terms of its diameter.
Definition 3.5. Let A R. The diameter of A is
3.2. Sequences
A sequence (xn ) of real numbers is an ordered list of numbers xn R, called the
terms of the sequence, indexed by the natural numbers n N. We often indicate a
sequence by listing the first few terms, especially if they have an obvious pattern.
Of course, no finite list of terms is, on its own, sufficient to define a sequence.
Example 3.7. Here are some sequences:
1, 8, 27, 64, . . . ,
1 1 1
1, , , , . . .
2 3 4
1, 1, 1, 1, . . .
2
3
1
1
, 1+
, ...
(1 + 1) , 1 +
2
3
xn = n3 ,
1
xn = ;
n
xn = (1)n+1 ,
n
1
xn = 1 +
.
n
31
3.2. Sequences
3
2.9
2.8
2.7
xn
2.6
2.5
2.4
2.3
2.2
2.1
2
10
15
20
n
25
30
35
40
Note that unlike sets, where elements are not repeated, the terms in a sequence
may be repeated.
The formal definition of a sequence is as a function on N, which is equivalent
to its definition as a list.
Definition 3.8. A sequence (xn ) of real numbers is a function f : N R, where
xn = f (n).
We can consider sequences of many different types of objects (for example,
sequences of functions) but for now we only consider sequences of real numbers,
and we will refer to them as sequences for short. A useful way to visualize a
sequence (xn ) is to plot the graph of xn R versus n N. (See Figure 1 for an
example.)
If we want to indicate the range of the index n explicitly, we write the sequence
as (xn )
n=1 . Sometimes it is convenient to start numbering a sequence from a
different integer, such as n = 0 instead of n = 1. In that case, a sequence (xn )
n=0
is a function f : N0 R where xn = f (n) and N0 = {0, 1, 2, 3, . . . }, and similarly
for other starting points.
Every function f : N R defines a sequence, corresponding to an arbitrary
choice of a real number xn R for each n N. Some sequences can be defined
explicitly by giving an expression for the nth terms, as in Example 3.7; others can
32
3. Sequences
be defined recursively. That is, we specify the value of the initial term (or terms) in
the sequence, and define xn as a function of the previous terms (x1 , x2 , . . . , xn1 ).
A well-known example of a recursive sequence is the Fibonacci sequence (Fn )
1, 1, 2, 3, 5, 8, 13, . . . ,
which is defined by F1 = F2 = 1 and
Fn = Fn1 + Fn2
for n 3.
That is, we add the two preceding terms to get the next term. In general, we cannot
expect to solve a recursion relation (especially if it is nonlinear) and get an explicit
expression for the nth term. The recursion relation for the Fibonacci sequence is
linear with constant coefficients, so it can be solved to give explicit expression for
Fn , called the Euler-Binet formula.
Proposition 3.9 (Euler-Binet formula). The nth term in the Fibonacci sequence
is given by
n
1
1+ 5
1
n
,
=
.
Fn =
2
5
Proof. The terms in the Fibonacci sequence are uniquely determined by the linear
difference equation
Fn Fn1 Fn2 = 0,
n 3,
with the initial conditions
F1 = 1,
F2 = 1.
We see that Fn = rn is a solution of the difference equation if r satisfies
r2 r 1 = 0,
which gives
1
1+ 5
r = or ,
=
1.61803.
2
By linearity, the general solution of the difference equation is
n
1
n
Fn = A + B
The number appearing in Proposition 3.9 is the golden ratio. It has the
property that subtracting 1 from it gives its reciprocal, or
1
1= .
Geometrically, this property means that removing a square from a rectangle whose
sides are in the ratio leaves a rectangle whose sides are in the same ratio. As a
33
result, the Ancient Greeks considered such rectangles to be the most aesthetically
pleasing.
|xn x| <
for all n > N ,
2
Also
lim xn = ,
34
3. Sequences
That is, xn as n means the terms of the sequence (xn ) get arbitrarily
large and positive for all sufficiently large n, while xn as n means
that the terms get arbitrarily large and negative for all sufficiently large n. The
notation xn does not mean that the sequence converges.
To illustrate these definitions, we discuss the convergence of the sequences in
Example 3.7.
Example 3.13. The terms in the sequence
1, 8, 27, 64, . . . ,
xn = n3
xn = (1)n+1 ,
oscillate back and forth infinitely often between 1 and 1, but they do not approach
any fixed limit, so the sequence does not converge. To show this explicitly, note
that for every x R we have either |x 1| 1 or |x + 1| 1. It follows that there
is no N N such that |xn x| < 1 for all n > N . Thus, Definition 3.10 fails if
= 1 however we choose x R, and the sequence does not converge.
Example 3.16. The convergence of the sequence
2
3
n
1
1
1
(1 + 1) , 1 +
, 1+
,...
xn = 1 +
,
2
3
n
illustrated in Figure 1, is less obvious. Its terms are given by
1
xn = ann ,
an = 1 + .
n
As n increases, we take larger powers of numbers that get closer to one. If a > 1
is any fixed real number, then an as n so the sequence (an ) does not
35
converge (see Proposition 3.31 below for a detailed proof). On the other hand, if
a = 1, then 1n = 1 for all n N so the sequence (1n ) converges to 1. Thus, there
are two competing factors in the sequence with increasing n: an 1 but n .
It is not immediately obvious which of these factors wins.
In fact, they are in balance. As we prove in Proposition 3.32 below, the sequence
converges with
n
1
= e,
lim 1 +
n
n
where 2 < e < 3. This limit can be taken as the definition of e 2.71828.
For comparison, one can also show that
n2
n
1
1
= .
= 1,
lim 1 +
lim 1 + 2
n
n
n
n
In the first case, the rapid approach of an = 1+1/n2 to 1 beats the slower growth
in the exponent n, while in the second case, the rapid growth in the exponent n2
beats the slower approach of an = 1 + 1/n to 1.
An important property of a sequence is whether or not it is bounded.
Definition 3.17. A sequence (xn ) of real numbers is bounded from above if there
exists M R such that xn M for all n N, and bounded from below if there
exists m R such that xn m for all n N. A sequence is bounded if it is
bounded from above and below, otherwise it is unbounded.
An equivalent condition for a sequence (xn ) to be bounded is that there exists
M 0 such that
|xn | M for all n N.
Example 3.18. The sequence (n3 ) is bounded
from below but not from above,
while the sequences (1/n) and (1)n+1 are bounded. The sequence
1, 2, 3, 4, 5, 6, . . .
xn = (1)n+1 n
Defining
M = max {|x1 |, |x2 |, . . . , |xN |, 1 + |x|} ,
36
3. Sequences
Thus, boundedness is a necessary condition for convergence, and every unbounded sequence diverges; for example, the unbounded sequence in Example 3.13
diverges. On the other hand, boundedness is not a sufficient condition for convergence; for example, the bounded sequence in Example 3.15 diverges.
The boundedness, or convergence, of a sequence (xn )
n=1 depends only on the
behavior of the infinite tails (xn )
n=N of the sequence, where N is arbitrarily
37
|y yn | <
for all n > Q,
2
Choosing n > max{P, Q}, we have
x = xn + x xn < yn + = y + yn y + < y + .
2
2
Since this holds for every > 0, it follows that x y.
This result, of course, remains valid if the inequality xn yn holds only for
all sufficiently large n > N . It follows immediately that if (xn ) is a convergent
sequence with m xn M for all n N, then
m lim xn M.
n
Limits need not preserve strict inequalities. For example, 1/n > 0 for all n N but
limn 1/n = 0.
The following squeeze or sandwich theorem is often useful in proving the
convergence of a sequence by bounding it between two simpler convergent sequences
with equal limits.
Theorem 3.23. Suppose that (xn ) and (yn ) are convergent sequences of real numbers with the same limit L. If (zn ) is a real sequence such that
xn zn yn
for all n N.
It is essential here that (xn ) and (yn ) have the same limit.
Example 3.24. If xn = 1, yn = 1, and zn = (1)n+1 , then xn zn yn for all
n N, the sequence (xn ) converges to 1 and (yn ) converges 1, but (zn ) does not
converge.
As once consequence, we show that we can take limits inside absolute values.
Corollary 3.25. If xn x as n , then |xn | |x| as n .
Proof. By the reverse triangle inequality,
0 | |xn | |x| | |xn x|,
38
3. Sequences
Proof. We let
x = lim xn ,
n
y = lim yn .
n
The first statement is immediate if c = 0. Otherwise, let > 0 be given, and choose
N N such that
|xn x| <
for all n > N .
|c|
Then
|cxn cx| <
for all n > N ,
which proves that (cxn ) converges to cx.
For the second statement, let > 0 be given, and choose P, Q N such that
for all n N
|xn x| <
for all n > P ,
|yn y| <
2M
2M
and let N = max{P, Q}. Then for all n > N ,
Note that the convergence of (xn + yn ) does not imply the convergence of (xn )
and (yn ) separately; for example, take xn = n and yn = n. If, however, (xn )
converges then (yn ) converges if and only if (xn + yn ) converges.
39
40
3. Sequences
41
Proof. If 0 < a < 1, then 0 < an+1 = a an < an , so the sequence (an ) is strictly
monotone decreasing and bounded from below by zero. Therefore by Theorem 3.29
it has a limit x R. Theorem 3.26 implies that
x = lim an+1 = lim a an = a lim an = ax.
n
k
k=0
1
= 1 + n + n(n 1) 2 + + n
2
> 1 + n.
Given M 0, choose N N such that N > M/. Then for all n > N , we have
an > 1 + n > 1 + N > M,
so an as n .
The next proposition proves the existence of the limit for e in Example 3.16.
Proposition 3.32. The sequence (xn ) with
n
1
xn = 1 +
n
1
n(n 1)(n 2) 1
n(n 1) 1
+
2+
3
n
2!
n
3!
n
n(n 1)(n 2) . . . 2 1 1
n
+ +
n!
n
1
1
1
2
1
1
+
1
1
=2+
2!
n
3!
n
n
1
1
2
2 1
+ +
1
1
... .
n!
n
n
n n
=1+n
Each of the terms in the sum on the right hand side is a positive increasing function
of n, and the number of terms increases with n. Therefore (xn ) is a strictly increasing sequence, and xn > 2 for every n 2. Moreover, since 0 (1 k/n) < 1, we
have
n
1
1
1
1
< 2 + + + + .
1+
n
2! 3!
n!
42
3. Sequences
zn = inf {xk : k n} .
As n increases, the supremum and infimum are taken over smaller sets, so (yn ) is
monotone decreasing and (zn ) is monotone increasing. The limits of these sequences
are the lim sup and lim inf, respectively, of the original sequence.
Definition 3.33. Suppose that (xn ) is a sequence of real numbers. Then
lim sup xn = lim yn ,
n
yn = sup {xk : k n} ,
zn = inf {xk : k n} .
nN
sup xk ,
kn
nN
inf xk .
kn
Note that lim sup xn exists and is finite provided that yn is finite and (yn ) is bounded
from below; similarly, lim inf xn exists and is finite provided that zn is finite and
(zn ) is bounded from above.
As for the limit of monotone sequences, it is convenient to allow the lim inf or
lim sup to be , and we say what this means. We have < yn for every
n N, since the supremum of a non-empty set cannot be , but it is possible
that yn ; similarly, zn < , but it is possible that zn . This leads
to the following explicit definition.
43
if yn = for every n N,
lim sup xn =
if yn as n ,
lim inf xn =
if zn = for every n N,
lim inf xn =
n
if zn as n .
In all of these cases, we have zn yn for every n N, with the usual ordering
conventions for , and taking the limit as n , we get that
lim inf xn lim sup xn .
n
We illustrate the definition of the lim sup and lim inf with a number of examples.
Example 3.35. Consider the bounded, increasing sequence
1
1 2 3
xn = 1 .
0, , , , . . .
2 3 4
n
Defining yn and zn as above, we have
1
1
1
yn = sup 1 : k n = 1, zn = inf 1 : k n = 1 ,
k
k
n
and both yn 1 and zn 1 converge monotonically to the limit 1 of the original
sequence. Thus,
lim sup xn = lim inf xn = lim xn = 1.
n
xn = (1)n+1 .
Then
yn = sup (1)k+1 : k n = 1,
zn = inf (1)k+1 : k n = 1,
lim inf xn = 1.
n
yn = sup {xk : k n} =
zn = inf {xk : k n} =
1 + 1/n
if n is odd,
1 + 1/(n + 1) if n is even,
44
3. Sequences
2
1.5
1
0.5
0
0.5
1
1.5
2
10
15
20
n
25
30
35
40
lim inf xn = 1.
n
The limit of the sequence does not exist. Note that infinitely many terms of the
sequence are strictly greater than lim sup xn , so lim sup xn does not bound any
tail of the sequence from above. However, every number strictly greater than
lim sup xn eventually bounds the sequence from above.
Example 3.38. Consider the unbounded, increasing sequence
1, 2, 3, 4, 5, . . .
xn = n.
We have
yn = sup{xk : k n} = ,
zn = inf{xk : k n} = n,
lim inf xn = .
n
45
1/n
if n even,
1/(n + 1) if n odd.
Therefore
lim sup xn = ,
n
lim inf xn = 0.
n
As these examples illustrate, the lim sup of a sequence neednt bound any tail
of the sequence. Nevertheless, the sequence is eventually bounded from above
by every number that is strictly greater than the lim sup, and the sequence is
greater infinitely often than every number that is strictly less than the lim sup.
This property gives another characterization of the lim sup, which is one that we
often use in practice.
Theorem 3.41. Let (xn ) be a real sequence. Then
y = lim sup xn
n
(2) y = and for every M R, there exist infinitely many n N such that
xn > M , i.e., (xn ) is not bounded from above.
(3) y = and for every m R there exists N N such that xn < m for all
n > N , i.e., xn as n .
Similarly,
z = lim inf xn
n
46
3. Sequences
Therefore, for every > 0 there exists N N such that yN < y + . Since xn yN
for all n > N , this proves (1a). To prove (1b), let > 0 and suppose that N N is
arbitrary. Since yN y is the supremum of {xn : n N }, there exists n N such
that xn > yN y , which proves (1b).
Conversely, suppose that < y < satisfies condition (1) for the lim sup.
Then, given any > 0, (1a) implies that there exists N N such that
yn = sup {xk : k n} y +
and (1b) implies that yn > y for all n N. Hence, |yn y| < for all n > N ,
so yn y as n , which means that y = lim sup xn .
We leave the verification of the equivalence for y = as an exercise.
Next we give a necessary and sufficient condition for the convergence of a sequence in terms of its lim inf and lim sup.
Theorem 3.42. A sequence (xn ) of real numbers converges if and only if
lim inf xn = lim sup xn = x
n
zn = inf {xk : k n} .
x < xn < x +
x zn yn x +
for all n > N .
Therefore yn , zn x as n , so lim sup xn = lim inf xn = x.
The sequence (xn ) diverges to if and only if lim inf xn = , and then
lim sup xn = , since lim inf xn lim sup xn . Similarly, (xn ) diverges to if
and only if lim sup xn = , and then lim inf xn = .
47
If lim inf xn 6= lim sup xn , then we say that the sequence (xn ) oscillates. The
difference
lim sup xn lim inf xn
so lim inf n xn |xn x| = lim supn xn |xn x| = 0. Theorem 3.42 implies that
limn |xn x| = 0, or limn xn = x.
Note that the condition lim inf n |xn x| = 0 doesnt tell us anything about
the convergence of (xn ).
Example 3.44. Let xn = 1 + (1)n . Then (xn ) oscillates between 0 and 2, and
lim inf xn = 0,
n
lim sup xn = 2.
n
The sequence is non-negative and its lim inf is 0, but the sequence does not converge.
48
3. Sequences
sup {xm : m n} xn + ,
49
50
3. Sequences
has subsequences (1) and (1) that converge to different limits, so it diverges.
In general, we define the limit set of a sequence to be the set of limits of its
convergent subsequences.
Definition 3.53. The limit set of a sequence (xn ) is the set
S = {x R : there is a subsequence (xnk ) such that xnk x as k }
The limit set of a convergent sequence consists of a single point, namely its
limit.
Example 3.54. The limit set of the divergent sequence ((1)n+1 ),
1, 1, 1, 1, 1, . . . ,
m = inf xn ,
nN
51
R0 = [(m + M )/2, M ].
At least one of the intervals L0 , R0 contains infinitely many terms of the sequence,
meaning that xn L0 or xn R0 for infinitely many n N (even if the terms
themselves are repeated).
Choose I1 to be one of the intervals L0 , R0 that contains infinitely many terms
and choose n1 N such that xn1 I1 . Divide I1 = L1 R1 in half into two
closed intervals. One or both of the intervals L1 , R1 contains infinitely many terms
of the sequence. Choose I2 to be one of these intervals and choose n2 > n1 such
that xn2 I2 . This is always possible because I2 contains infinitely many terms
of the sequence. Divide I2 in half, pick a closed half-interval I3 that contains
infinitely many terms, and choose n3 > n2 such that xn3 I3 . Continuing in this
way, we get a nested sequence of intervals I1 I2 I3 . . . Ik . . . of length
|Ik | = 2k (M m), together with a subsequence (xnk ) such that xnk Ik .
Let > 0 be given. Since |Ik | 0 as k , there exists K N such
that |Ik | < for all k > K. Furthermore, since xnk IK for all k > K we have
|xnj xnk | < for all j, k > K. This proves that (xnk ) is a Cauchy sequence, and
therefore it converges by Theorem 3.46.
The subsequence obtained in the proof of this theorem is not unique. In particular, if the sequence does not converge, then for some k N the left and right
intervals Lk and Rk both contain infinitely many terms of the sequence. In that
case, we can obtain convergent subsequences with different limits, depending on
our choice of Lk or Rk . This loss of uniqueness is a typical feature of compactness
proofs.
We can, however, use the Bolzano-Weierstrass theorem to give a criterion for
the convergence of a sequence in terms of the convergence of its subsequences. It
states that if every convergent subsequence of a bounded sequence has the same
limit, then the entire sequence converges to that limit.
Theorem 3.58. If (xn ) is a bounded sequence of real numbers such that every
convergent subsequence has the same limit x, then (xn ) converges to x.
Proof. We will prove that if a bounded sequence (xn ) does not converge to x, then
it has a convergent subsequence whose limit is not equal to x.
If (xn ) does not converges to x then there exists 0 > 0 such that |xn x| 0
for infinitely many n N. We can therefore find a subsequence (xnk ) such that
|xnk x| 0