Upper and Lower Limits
Most of what follows is taken from Rudin's book Principles of Mathematical Analysis.
The concept of upper and lower limits (commonly denoted by limsup and liminf respectively) shows up routinely when discussing the limiting behaviour of a sequence. For example, consider the Big O notation, O, defined as f(n)=O(g(n)) iff there exists a positive real number c and an integer N such that for every n∈Z, n>N, we have ∣f(n)∣≤cg(n). This can be succinctly written as
n→∞limsupg(n)∣f(n)∣<∞. In this post, I aim to expound on the concept of upper and lower limits so that the second formulation of Big O notation above becomes just as natural as the first one.
I start with some definitions.
Definition 1: A
sequence is a real-valued function defined on the set
N of positive integers. If
f(n)=xn, for
n∈N, we denote the sequence
f by the symbol
{xn}n∈N, or simply
{xn}, or sometimes by
x1,x2,….
Definition 2: A sequence
{pn} in a metric space
(X,d) is said to
converge if there is a point
p∈X with the following property: for every
ε>0 there is an integer
N such that
n≥N implies that
d(pn,p)<ε. We write this as
limn→∞pn=p or simply as
pn→p.
Definition 3: Let
{sn} be a sequence of real numbers with the following property: For every real
M there is an integer
N such that
n≥N implies
sn≥M. We then write
sn→+∞. Similarly for
sn→−∞.
Note: The symbol → is now used for certain type of divergent sequences as well.
Definition 4: Given a sequence
{pn}, consider a sequence
{nk} of positive integers, such that
n1<n2<⋯. Then the sequence
{pnk}k∈N, which is a composition of the functions
{nk}k and
{pn}n, is called a
subsequence of the sequence
{pn}. If
{pnk} converges, its limit is called a
subsequential limit of
{pn}.
Definition 5: Let
{sn} be a sequence of real numbers. Let
E be the set of numbers
x (in the extended real number system, i.e.,
x∈R:=R∪{+∞,−∞}) such that
snk→x for some subsequence
{snk}. Therefore, this set contains all the subsequential limits of
{sn} plus possibly the numbers
+∞ and
−∞. We define
s∗s∗=supE=infE. The numbers
s∗ and
s∗ are called the
upper and lower limits of
{sn} respectively. We use the notation
n→∞limsupsnn→∞liminfsn=s∗=s∗. It immediately follows that s∗≤s∗.
The fact that E is non-empty (and thus taking sup or inf makes sense) follows from the observation that either {sn} is bounded or unbounded. If it is bounded then it must contain a convergent subsequence (by the Bolzano–Weierstrass theorem) and thus at least one element, or if it is unbounded then it must contain either +∞ or −∞.
Now let us prove some lemmas that will be useful later.
Lemma 1: The subsequential limits of a sequence
{pn} in a metric space
X form a closed subset of
X.
As before, let E be the set of all subsequential limits of {pn} and let q be a limit point of E. We have to show that q∈E. To show this we will construct a subsequence of {pn} which converges to q.
Choose n1 so that pn1=q. If no such n1 exists, then E has only one element, namely q=p1=p2=⋯, and there is nothing to prove. Define δ=d(q,pn1). Suppose n1,…,ni−1 for some fixed i≥2 are chosen. Since q is a limit point of E, there is a point x∈E with d(q,x)<δ/2i. Since x∈E, there is an ni>ni−1 such that d(x,pni)<δ/2i. Thus
d(q,pni)≤d(q,x)+d(x,pni)<2i−1δfor i=1,2,…. This implies
pnk→q, showing
q∈E.
Lemma 2: Let
F be a nonempty closed set of real numbers which is bounded above. Let
α=supF. Then
α∈F.
Assume for the sake of the contradiction that
α∈/F. Then since
Fc is an open set (because
F is closed) there exists an
ε>0 such that
(α−ε,α+ε)⊂Fc. But this implies
α−2ε is an upper bound for
F which is smaller than
α. This gives us our required contradiction.
We now have all the tools to prove the highlight of this blog post, a very useful characterization of upper and lower limits.
Theorem 1: Let {sn} be a sequence of real numbers. Let E and s∗ have the same meaning as previously. Then s∗ has the following two properties:
s∗∈E, and
if x>s∗, then there exists an integer N such that n≥N implies sn<x.
Moreover, s∗ is the only number with these two properties.
Of course, an analogous result is true for s∗.
We start by showing the two properties.
We divide it into three cases depending on what value s∗ takes:
If s∗=+∞, then E is not bounded above, hence {sn} is not bounded above, and thus there is a subsequence {snk} such that snk→+∞. Therefore, +∞∈E, or in other words s∗∈E.
If s∗ is real, then E is bounded above, and at least one subsequential limit exists by the definition of sup. **Therefore, s∗∈E follows from the Lemmas 1 and 2, and the fact that s∗=supE.
Lastly, if s∗=−∞, then E contains only one element, namely −∞, and there is no subsequential limit. Thus, s∗∈E.
Suppose for the sake of contradiction that there is a number x>s∗ such that sn≥x for infinitely many values of n. Let's denote this set of n's with K and let {sk}k∈K be this subsequence. If {sk}k∈K is unbounded then s∗=+∞ contradicting the fact that there exists an x>s∗. And if {sk}k∈K is bounded that it contains a convergent subsequence (by the Bolzano–Weierstrass theorem). Suppose this convergent subsequence converges to y. Then y≥x>s∗. This contradicts the definition of s∗.
To show the uniqueness, suppose there are two distinct numbers, p and q, which satisfy the two properties, and suppose p<q. Choose x such that p<x<q. Since p satisfies the second property, there exists an integer N such that sn<x for n≥N. But then q cannot satisfy the first property.
An intuitive theorem:
Theorem 2: If for two sequences
{sn} and
{tn} we have
sn≤tn for
n≥N, where
N∈N is fixed, then
n→∞liminfsnn→∞limsupsn≤n→∞liminftn≤n→∞limsuptn. Let s∗=limsupn→∞sn and t∗=limsupn→∞tn, as before. Suppose for the sake of contradiction t∗<s∗. Choose x such that t∗<x<s∗. Then by the second property of Theorem 1 there is an integer N1 such that n≥N1 implies tn<x. Also by the first property of Theorem 1 there exists a subsequence {snk} such that snk→s∗. This implies that there exists an integer N2 such that n≥N2 implies x<sn. But then for n≥max{N1,N2} we have tn<x<sn. This gives us our required contradiction.
A similar argument can be made for the liminf case.
Next we give a necessary and sufficient condition for the convergence of a sequence in terms of its liminf and limsup.
Theorem 3: For a real-valued sequence
{sn},
sn→s∈R if and only if
n→∞limsupsn=n→∞liminfsn=s. We divide the analysis into three cases.
First, let s∈R. Then if s∗=s∗=s, Theorem 1 implies that for any ε>0 we have sn∈(s−ε,s+ε) for all but finitely many n, which means sn→s. On the other hand if sn→s then every subsequence {snk} must converge to s and hence s∗=s∗=s.
Now let s=+∞. Then sn→s means that for every M∈R there is an integer N such that n≥N implies sn≥M. This is same as saying s∗=+∞, which gives s∗=+∞ curtsy of Theorem 2.
Lastly, let s=−∞. Then sn→s means that for every M∈R there is an integer N such that n≥N implies sn≤M. This is same as saying s∗=−∞, which gives s∗=−∞ curtsy of Theorem 2.
There is an equivalent and often useful way to express upper and lower limits.
Definition 6: Let
{sn} be a sequence of real numbers. We define the notation
k≥nsupskk≥ninfsk:=sup{sk:k≥n}:=inf{sk:k≥n}. We note that the sequence {supk≥nsk}n∈N is monotonically decreasing and the sequence {infk≥nsk}n∈N is monotonically increasing, and thus their limits exist in R.
We now show the equivalence of the two ways of looking at upper and lower limits.
Theorem 4: Let
{sn} be a sequence of real numbers. Then
n→∞limk≥nsupskn→∞limk≥ninfsk=n→∞limsupsn,=n→∞liminfsn. We will prove the first equation. The proof for the second is similar. We prove the equation in two steps.
Let S={sn:n∈N}. Let's show that supS=+∞ if and only if s∗=+∞. Suppose first that supS=+∞. Then we construct a subsequence {snk} as follows. We let n1=1. Suppose n1,…,nk for some fixed k≥1 have been chosen and let
Sk={n∈N:sn≥max{sn1,…,snk,k}+1}. Notice that Sk is infinite as otherwise we can find an M∈R such that sn≤M for all n≥1, contradicting the fact that supS=+∞. We pick nk+1 to be the smallest element of Sk which is bigger than nk. The resulting subsequence satisfies the condition that snk≥k for k≥2 and thus we conclude that snk→+∞ which gives s∗=+∞. Now suppose that s∗=+∞. From Theorem 1 we can conclude that there exists a subsequence {snk} such that snk→+∞. This immediately implies supS=+∞.
For the second step, suppose supS<+∞. Denote
an=k≥nsupsk. Notice that
a1<+∞ and
{an} is a monotonically decreasing sequence. Therefore, we have that either
{an} is lower bounded, in which case it converges to, say,
a, or it is not, in which case
an→−∞. Since
sn≤an, by Theorem 2 we can conclude
s∗≤a∗=n→∞liman, where the last equality follows from Theorem 3. We will now show that
s∗≥n→∞liman, which will give us our required equality. If
limn→∞an=−∞, there is nothing to prove and so we assume that
a>−∞. Let
ε>0 be given and define
B:={n∈N:sn≥a−ε}. We claim that
B is infinite. Indeed, if
B were finite we could find
N∈N so that
N≥maxB. This will imply that
sn≤a−ε for all
n≥N and so
an≤a−ε for
n≥N. But then by Theorem 2 we would conclude
a=liman≤a−ε. Thus
B is infinite and we let
{snk} be a subsequence of
{sn} with
nk∈B. Notice that
limsupk→∞snk≤s∗, since any subsequential limit of
{snk} is also a subsequential limit of
{sn}. This along with Theorem 2 give
a−ε≤k→∞limsupsnk≤s∗. Since
ε was arbitrary we conclude that
s∗≥a, which is what we wanted.
These theorems make it easier to discover more properties of upper and lower limits.
Theorem 5: Let
{sn} be a sequence of real numbers. Then
n→∞liminfsn=−n→∞limsup(−sn). If for a set
S of real numbers, we denote by
−S the set
{−s:s∈S}, then the theorem follows immediately from the simple observation that
infS=−sup(−S) and Theorem 4.
Theorem 6 [Subadditivity of limsup]: For any two real sequences
{sn} and
{tn}, we have
n→∞limsup(sn+tn)≤n→∞limsupsn+n→∞limsuptn, provided the sum on the right is not of the form
∞−∞. If s∗=+∞ or t∗=+∞ or s∗=−∞ or t∗=−∞, it is easily checked that the inequality is true, and so we may assume s∗,t∗∈R.
For two sets S and T of real numbers satisfying S⊆T, we know that supS≤supT. This fact along with the observation
{(k,k):k≥n}⊆{k:k≥n}×{k:k≥n} for any
n∈N, imply
k≥nsup(sk+tk)≤k≥nsupsk+k≥nsuptk. Taking limit as
n→∞ now gives us our desired inequality.
Theorem 7 [Superadditivity of liminf]: For any two real sequences
{sn} and
{tn}, we have
n→∞liminf(sn+tn)≥n→∞liminfsn+n→∞liminftn. Similar to the proof of Theorem 6.
Back to top