Aditya Makkar
Upper and Lower Limits

Most of what follows is taken from Rudin's book Principles of Mathematical Analysis.

Introduction

The concept of upper and lower limits (commonly denoted by lim sup\limsup and lim inf\liminf respectively) shows up routinely when discussing the limiting behaviour of a sequence. For example, consider the Big O notation, O\mathcal{O}, defined as f(n)=O(g(n))f(n) = \mathcal{O}(g(n)) iff there exists a positive real number cc and an integer NN such that for every nZn \in \Z, n>Nn > N, we have f(n)cg(n)|f(n)| \leq c g(n). This can be succinctly written as

lim supnf(n)g(n)<.\begin{aligned} \limsup_{n \to \infty} \frac{|f(n)|}{g(n)} < \infty.\end{aligned}

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.

Definitions

I start with some definitions.

Definition 1: A sequence is a real-valued function defined on the set N\mathbb N of positive integers. If f(n)=xnf(n) = x_n, for nNn \in \mathbb N, we denote the sequence ff by the symbol {xn}nN\{x_n\}_{n \in \mathbb N}, or simply {xn}\{x_n\}, or sometimes by x1,x2,x_1, x_2, \ldots.
Definition 2: A sequence {pn}\{p_n\} in a metric space (X,d)(X, d) is said to converge if there is a point pXp \in X with the following property: for every ε>0\varepsilon > 0 there is an integer NN such that nNn \geq N implies that d(pn,p)<εd(p_n, p) < \varepsilon. We write this as limnpn=p\lim_{n \to \infty} p_n = p or simply as pnpp_n \to p.
Definition 3: Let {sn}\{s_n\} be a sequence of real numbers with the following property: For every real MM there is an integer NN such that nNn \geq N implies snMs_n \geq M. We then write sn+s_n \to +\infty. Similarly for sns_n \to -\infty.

Note: The symbol \to is now used for certain type of divergent sequences as well.

Definition 4: Given a sequence {pn}\{p_n\}, consider a sequence {nk}\{n_k\} of positive integers, such that n1<n2<n_1 < n_2 < \cdots. Then the sequence {pnk}kN\{p_{n_k}\}_{k \in \mathbb N}, which is a composition of the functions {nk}k\{n_k\}_k and {pn}n\{p_n\}_n, is called a subsequence of the sequence {pn}\{p_n\}. If {pnk}\{p_{n_k}\} converges, its limit is called a subsequential limit of {pn}\{p_n\}.
Definition 5: Let {sn}\{s_n\} be a sequence of real numbers. Let EE be the set of numbers xx (in the extended real number system, i.e., xR:=R{+,}x \in \overline{\mathbb R} := \mathbb R \cup \{+\infty, -\infty\}) such that snkxs_{n_k} \to x for some subsequence {snk}\{s_{n_k}\}. Therefore, this set contains all the subsequential limits of {sn}\{s_n\} plus possibly the numbers ++\infty and -\infty. We define
s=supEs=infE.\begin{aligned} s^* &= \sup E \\ s_* &= \inf E. \end{aligned}
The numbers ss^* and ss_* are called the upper and lower limits of {sn}\{s_n\} respectively. We use the notation
lim supnsn=slim infnsn=s.\begin{aligned} \limsup_{n \to \infty} s_n &= s^* \\ \liminf_{n \to \infty} s_n &= s_*. \end{aligned}

It immediately follows that sss_* \leq s^*.

The fact that EE is non-empty (and thus taking sup\sup or inf\inf makes sense) follows from the observation that either {sn}\{s_n\} 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 ++\infty or -\infty.

Some Useful Lemmas

Now let us prove some lemmas that will be useful later.

Lemma 1: The subsequential limits of a sequence {pn}\{p_n\} in a metric space XX form a closed subset of XX.

As before, let EE be the set of all subsequential limits of {pn}\{p_n\} and let qq be a limit point of EE. We have to show that qEq \in E. To show this we will construct a subsequence of {pn}\{p_n\} which converges to q.q.

Choose n1n_1 so that pn1qp_{n_1} \neq q. If no such n1n_1 exists, then EE has only one element, namely q=p1=p2=q = p_1 = p_2 = \cdots, and there is nothing to prove. Define δ=d(q,pn1)\delta = d(q, p_{n_1}). Suppose n1,,ni1n_1, \ldots, n_{i-1} for some fixed i2i \ge 2 are chosen. Since qq is a limit point of EE, there is a point xEx \in E with d(q,x)<δ/2id(q, x) < \delta /2^i. Since xEx \in E, there is an ni>ni1n_i > n_{i-1} such that d(x,pni)<δ/2id(x, p_{n_i}) < \delta/2^i. Thus

d(q,pni)d(q,x)+d(x,pni)<δ2i1for i=1,2,.\begin{aligned} d(q, p_{n_i}) \leq d(q, x) + d(x, p_{n_i}) < \frac{\delta}{2^{i-1}} \quad \text{for } i = 1,2,\ldots.\end{aligned}
This implies pnkqp_{n_k} \to q, showing qEq \in E.

Lemma 2: Let FF be a nonempty closed set of real numbers which is bounded above. Let α=supF\alpha = \sup F. Then αF\alpha \in F.
Assume for the sake of the contradiction that αF\alpha \notin F. Then since FcF^\mathsf{c} is an open set (because FF is closed) there exists an ε>0\varepsilon > 0 such that (αε,α+ε)Fc(\alpha - \varepsilon, \alpha + \varepsilon) \subset F^\mathsf{c}. But this implies αε2\alpha - \frac{\varepsilon}{2} is an upper bound for FF which is smaller than α\alpha. This gives us our required contradiction.

Properties

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}\{s_n\} be a sequence of real numbers. Let EE and ss^* have the same meaning as previously. Then ss^* has the following two properties:

  1. sEs^* \in E, and

  2. if x>sx > s^*, then there exists an integer NN such that nNn \geq N implies sn<x.s_n < x.

Moreover, ss^* is the only number with these two properties.

Of course, an analogous result is true for ss_*.

We start by showing the two properties.

  1. We divide it into three cases depending on what value ss^* takes:

    1. If s=+s^* = +\infty, then EE is not bounded above, hence {sn}\{s_n\} is not bounded above, and thus there is a subsequence {snk}\{s_{n_k}\} such that snk+.s_{n_k} \to +\infty. Therefore, +E+\infty \in E, or in other words sEs^* \in E.

    2. If ss^* is real, then EE is bounded above, and at least one subsequential limit exists by the definition of sup\sup. **Therefore, sEs^* \in E follows from the Lemmas 1 and 2, and the fact that s=supE.s^* = \sup E.

    3. Lastly, if s=s^* = -\infty, then EE contains only one element, namely -\infty, and there is no subsequential limit. Thus, sEs^* \in E.

  2. Suppose for the sake of contradiction that there is a number x>sx > s^* such that snxs_n \geq x for infinitely many values of nn. Let's denote this set of nn's with K\mathcal{K} and let {sk}kK\{s_k\}_{k \in \mathcal{K}} be this subsequence. If {sk}kK\{s_k\}_{k \in \mathcal{K}} is unbounded then s=+s^* = +\infty contradicting the fact that there exists an x>s.x > s^*. And if {sk}kK\{s_k\}_{k \in \mathcal{K}} is bounded that it contains a convergent subsequence (by the Bolzano–Weierstrass theorem). Suppose this convergent subsequence converges to yy. Then yx>sy \geq x > s^*. This contradicts the definition of s.s^*.

To show the uniqueness, suppose there are two distinct numbers, pp and qq, which satisfy the two properties, and suppose p<qp < q. Choose xx such that p<x<qp < x < q. Since pp satisfies the second property, there exists an integer NN such that sn<xs_n < x for nNn \geq N. But then qq cannot satisfy the first property.

An intuitive theorem:

Theorem 2: If for two sequences {sn}\{s_n\} and {tn}\{t_n\} we have sntns_n \leq t_n for nNn \geq N, where NNN \in \mathbb N is fixed, then
lim infnsnlim infntnlim supnsnlim supntn.\begin{aligned} \liminf_{n \to \infty} s_n &\le \liminf_{n \to \infty} t_n \\ \limsup_{n \to \infty} s_n &\le \limsup_{n \to \infty} t_n. \end{aligned}

Let s=lim supnsns^* = \limsup_{n \to \infty} s_n and t=lim supntnt^* = \limsup_{n \to \infty} t_n, as before. Suppose for the sake of contradiction t<st^* < s^*. Choose xx such that t<x<st^* < x < s^*. Then by the second property of Theorem 1 there is an integer N1N_1 such that nN1n \geq N_1 implies tn<xt_n < x. Also by the first property of Theorem 1 there exists a subsequence {snk}\{s_{n_k}\} such that snkss_{n_k} \to s^*. This implies that there exists an integer N2N_2 such that nN2n \geq N_2 implies x<snx < s_n. But then for nmax{N1,N2}n \geq \max\{N_1, N_2\} we have tn<x<snt_n < x < s_n. This gives us our required contradiction.

A similar argument can be made for the lim inf\liminf case.

Next we give a necessary and sufficient condition for the convergence of a sequence in terms of its lim inf\liminf and lim sup\limsup.

Theorem 3: For a real-valued sequence {sn}\{s_n\}, snsRs_n \to s \in \overline{\mathbb R} if and only if
lim supnsn=lim infnsn=s.\begin{aligned} \limsup_{n \to \infty} s_n = \liminf_{n \to \infty} s_n = s.\end{aligned}

We divide the analysis into three cases.

  1. First, let sRs \in \mathbb R. Then if s=s=ss^* = s_* = s, Theorem 1 implies that for any ε>0\varepsilon > 0 we have sn(sε,s+ε)s_n \in (s-\varepsilon, s+\varepsilon) for all but finitely many nn, which means sns.s_n \to s. On the other hand if snss_n \to s then every subsequence {snk}\{s_{n_k}\} must converge to ss and hence s=s=ss^* = s_* = s.

  2. Now let s=+s = +\infty. Then snss_n \to s means that for every MRM \in \mathbb R there is an integer NN such that nNn \geq N implies snM.s_n \geq M. This is same as saying s=+s_* = +\infty, which gives s=+s^* = +\infty curtsy of Theorem 2.

  3. Lastly, let s=s = -\infty. Then snss_n \to s means that for every MRM \in \mathbb R there is an integer NN such that nNn \geq N implies snM.s_n \leq M. This is same as saying s=,s^* = -\infty, which gives s=s_* = -\infty curtsy of Theorem 2.

Upper and Lower Limits — A Reprise

There is an equivalent and often useful way to express upper and lower limits.

Definition 6: Let {sn}\{s_n\} be a sequence of real numbers. We define the notation
supknsk:=sup{sk:kn}infknsk:=inf{sk:kn}.\begin{aligned} \sup_{k \ge n} s_k &:= \sup \{s_k : k \ge n\} \\ \inf_{k \ge n} s_k &:= \inf \{s_k : k \ge n\}. \end{aligned}

We note that the sequence {supknsk}nN\{\sup_{k \ge n} s_k\}_{n \in \mathbb N} is monotonically decreasing and the sequence {infknsk}nN\{\inf_{k \ge n} s_k\}_{n \in \mathbb N} is monotonically increasing, and thus their limits exist in R.\overline{\mathbb R}.

We now show the equivalence of the two ways of looking at upper and lower limits.

Theorem 4: Let {sn}\{s_n\} be a sequence of real numbers. Then
limnsupknsk=lim supnsn,limninfknsk=lim infnsn.\begin{aligned} \lim_{n \to \infty} \sup_{k \ge n} s_k &= \limsup_{n \to \infty} s_n, \\ \lim_{n \to \infty} \inf_{k \ge n} s_k &= \liminf_{n \to \infty} s_n. \end{aligned}

We will prove the first equation. The proof for the second is similar. We prove the equation in two steps.

Let S={sn:nN}S = \{ s_n : n \in \mathbb N \}. Let's show that supS=+\sup S = +\infty if and only if s=+.s^* = + \infty. Suppose first that supS=+.\sup S = + \infty. Then we construct a subsequence {snk}\{s_{n_k}\} as follows. We let n1=1.n_1 = 1. Suppose n1,,nkn_1, \ldots, n_{k} for some fixed k1k \ge 1 have been chosen and let

Sk={nN:snmax{sn1,,snk,k}+1}.\begin{aligned} S_k = \{ n \in \mathbb N : s_n \geq \max\{s_{n_1}, \ldots, s_{n_k}, k\} + 1 \}.\end{aligned}

Notice that SkS_k is infinite as otherwise we can find an MRM \in \mathbb R such that snMs_n \leq M for all n1n \geq 1, contradicting the fact that supS=+\sup S = + \infty. We pick nk+1n_{k+1} to be the smallest element of SkS_k which is bigger than nk.n_k. The resulting subsequence satisfies the condition that snkks_{n_k} \geq k for k2k \geq 2 and thus we conclude that snk+s_{n_k} \to +\infty which gives s=+.s^* = +\infty. Now suppose that s=+.s^* = +\infty. From Theorem 1 we can conclude that there exists a subsequence {snk}\{s_{n_k}\} such that snk+.s_{n_k} \to +\infty. This immediately implies supS=+.\sup S = +\infty.

For the second step, suppose supS<+.\sup S < + \infty. Denote

an=supknsk.\begin{aligned} a_n = \sup_{k \ge n} s_k.\end{aligned}
Notice that a1<+a_1 < +\infty and {an}\{a_n\} is a monotonically decreasing sequence. Therefore, we have that either {an}\{a_n\} is lower bounded, in which case it converges to, say, a,a, or it is not, in which case an.a_n \to -\infty. Since snan,s_n \leq a_n, by Theorem 2 we can conclude
sa=limnan,\begin{aligned} s^* \le a^* = \lim_{n \to \infty} a_n,\end{aligned}
where the last equality follows from Theorem 3. We will now show that
slimnan,\begin{aligned} s^* \ge \lim_{n \to \infty} a_n,\end{aligned}
which will give us our required equality. If limnan=\lim_{n \to \infty} a_n = -\infty, there is nothing to prove and so we assume that a>.a > -\infty. Let ε>0\varepsilon > 0 be given and define
B:={nN:snaε}.\begin{aligned} B := \{ n \in \mathbb N : s_n \ge a - \varepsilon \}.\end{aligned}
We claim that BB is infinite. Indeed, if BB were finite we could find NNN \in \mathbb N so that NmaxB.N \geq \max B. This will imply that snaεs_n \le a - \varepsilon for all nNn \geq N and so anaεa_n \leq a - \varepsilon for nN.n \geq N. But then by Theorem 2 we would conclude a=limanaε.a = \lim a_n \leq a-\varepsilon. Thus BB is infinite and we let {snk}\{s_{n_k}\} be a subsequence of {sn}\{s_n\} with nkB.n_k \in B. Notice that lim supksnks,\limsup_{k \to \infty} s_{n_k} \leq s^*, since any subsequential limit of {snk}\{s_{n_k}\} is also a subsequential limit of {sn}.\{s_n\}. This along with Theorem 2 give
aεlim supksnks.\begin{aligned} a - \varepsilon \le \limsup_{k \to \infty} s_{n_k} \leq s^*.\end{aligned}
Since ε\varepsilon was arbitrary we conclude that sas^* \ge a, which is what we wanted.

More Properties

These theorems make it easier to discover more properties of upper and lower limits.

Theorem 5: Let {sn}\{s_n\} be a sequence of real numbers. Then
lim infnsn=lim supn(sn).\begin{aligned} \liminf_{n \to \infty} s_n = - \limsup_{n \to \infty} (-s_n).\end{aligned}
If for a set SS of real numbers, we denote by S-S the set {s:sS},\{-s : s \in S\}, then the theorem follows immediately from the simple observation that
infS=sup(S)\begin{aligned} \inf S = - \sup (-S)\end{aligned}
and Theorem 4.
Theorem 6 [Subadditivity of lim sup\limsup]: For any two real sequences {sn}\{s_n\} and {tn}\{t_n\}, we have
lim supn(sn+tn)lim supnsn+lim supntn,\begin{aligned} \limsup_{n \to \infty} (s_n + t_n) \le \limsup_{n \to \infty} s_n + \limsup_{n \to \infty} t_n,\end{aligned}
provided the sum on the right is not of the form .\infty - \infty.

If s=+s^* = +\infty or t=+t^* = +\infty or s=s^* = -\infty or t=t^* = -\infty, it is easily checked that the inequality is true, and so we may assume s,tR.s^*, t^* \in \mathbb R.

For two sets SS and TT of real numbers satisfying STS \subseteq T, we know that supSsupT\sup S \le \sup T. This fact along with the observation

{(k,k):kn}{k:kn}×{k:kn}\begin{aligned} \{(k,k) : k \ge n\} \subseteq \{k : k \ge n\} \times \{k : k \ge n\}\end{aligned}
for any nNn \in \mathbb N, imply
supkn(sk+tk)supknsk+supkntk.\begin{aligned} \sup_{k \ge n} (s_k + t_k) \le \sup_{k \ge n} s_k + \sup_{k \ge n} t_k.\end{aligned}
Taking limit as nn \to \infty now gives us our desired inequality.

Theorem 7 [Superadditivity of lim inf\liminf]: For any two real sequences {sn}\{s_n\} and {tn}\{t_n\}, we have
lim infn(sn+tn)lim infnsn+lim infntn.\begin{aligned} \liminf_{n \to \infty} (s_n + t_n) \ge \liminf_{n \to \infty} s_n + \liminf_{n \to \infty} t_n.\end{aligned}
Similar to the proof of Theorem 6.

Back to top