Lim Sup And Lim Inf Of Sets

10 min read

You've seen the notation. Maybe in a probability textbook. Maybe in a measure theory lecture where the professor wrote $\limsup A_n$ and $\liminf A_n$ on the board like everyone should just know what they mean.

And if you're like most people, you nodded along. Then you went home, stared at the definitions, and thought: wait, what does "infinitely often" actually mean here?

Here's the thing — these concepts aren't mysterious. They're just set theory's way of talking about patterns that persist. And once you see them visually, they click.

What Are limsup and liminf of Sets

Let's start with a sequence of sets. $A_1, A_2, A_3, \dots$ — each one a subset of some universal space $\Omega$. Could be events in a probability space. Could be measurable sets in $\mathbb{R}$. The setting doesn't change the definitions.

The Formal Definitions

$\liminf_{n \to \infty} A_n = \bigcup_{n=1}^{\infty} \bigcap_{k=n}^{\infty} A_k$

$\limsup_{n \to \infty} A_n = \bigcap_{n=1}^{\infty} \bigcup_{k=n}^{\infty} A_k$

Read them slowly. Here's the thing — the liminf is a union of intersections. The limsup is an intersection of unions. That order matters — a lot Simple as that..

What They Actually Mean

liminf $A_n$ — the set of points that belong to all but finitely many $A_n$. Eventually, they're in every set. They stick around Practical, not theoretical..

limsup $A_n$ — the set of points that belong to infinitely many $A_n$. They keep showing up. Maybe they leave. Maybe they come back. But they return infinitely often That's the part that actually makes a difference..

That's it. That's the whole intuition. Everything else follows from those two sentences.

A Visual Way to Think About It

Picture a point $\omega \in \Omega$. Track its membership across the sequence:

  • $\omega \in A_1$? Yes
  • $\omega \in A_2$? No
  • $\omega \in A_3$? Yes
  • $\omega \in A_4$? Yes
  • $\omega \in A_5$? No
  • ...

If the "Yes" answers eventually become permanent — after some index $N$, it's always yes — then $\omega \in \liminf A_n$.

If the "Yes" answers keep appearing forever, even with gaps — then $\omega \in \limsup A_n$ Small thing, real impact..

Every point in liminf is automatically in limsup. The reverse isn't true Surprisingly effective..

$\liminf A_n \subseteq \limsup A_n$

Always. No exceptions.

Why This Matters

You might wonder: why do we care about "eventually always" versus "infinitely often"?

Because probability theory runs on this distinction Worth knowing..

The Borel-Cantelli Lemmas

It's where limsup of sets earns its keep. The first Borel-Cantelli lemma says: if $\sum P(A_n) < \infty$, then $P(\limsup A_n) = 0$.

Translation: if the total probability mass of your events is finite, then almost surely only finitely many of them occur. The "infinitely often" set has probability zero That's the whole idea..

The second lemma (with independence): if $\sum P(A_n) = \infty$ and the events are independent, then $P(\limsup A_n) = 1$.

Infinitely many occur almost surely.

This isn't abstract. It's the foundation for:

  • Almost sure convergence of random variables
  • The law of the iterated logarithm
  • Zero-one laws
  • Ergodic theory

Measure Theory and Integration

In measure theory, liminf and limsup of sets give you Fatou's lemma for sets:

$\mu(\liminf A_n) \leq \liminf \mu(A_n)$ $\mu(\limsup A_n) \geq \limsup \mu(A_n)$

These inequalities are the set-theoretic ancestors of the integral versions. They tell you that measure behaves "continuously" with respect to these limits — but only in one direction each way Easy to understand, harder to ignore..

When the Limit Exists

If $\liminf A_n = \limsup A_n$, we say the sequence converges and write $\lim A_n$ for the common value.

This happens exactly when every point is either eventually always in the sets or eventually always out. No oscillation allowed.

How to Work With Them

Computing liminf and limsup: A Step-by-Step Approach

Let's do this concretely. Suppose $\Omega = \mathbb{R}$ and:

$A_n = \begin{cases} [0, 1 + \frac{1}{n}] & \text{if } n \text{ is odd} \ [0, 1 - \frac{1}{n}] & \text{if } n \text{ is even} \end{cases}$

Step 1: Understand the pattern. Odd-indexed sets are slightly larger than $[0,1]$. Even-indexed sets are slightly smaller.

Step 2: Find $\bigcap_{k=n}^{\infty} A_k$ for a fixed $n$. This is the set of points in every $A_k$ from $n$ onward.

For large $n$, the even sets shrink toward $[0,1)$ and odd sets shrink toward $[0,1]$. Consider this: the intersection will be $[0, 1 - \frac{1}{n}]$ if $n$ is even, or $[0, 1 - \frac{1}{n+1}]$ if $n$ is odd. Either way, as $n$ grows, these intersections approach $[0,1)$.

Step 3: Take the union over $n$. $\bigcup_{n=1}^{\infty} \bigcap_{k=n}^{\infty} A_k = [0, 1)$.

So $\liminf A_n = [0, 1)$.

Step 4: Find $\bigcup_{k=n}^{\infty} A_k$ for a fixed $n$. This is points in at least one $A_k$ from $n$ onward.

For any $n$, there are odd indices ahead, so the union always includes $[0, 1 + \frac{1}{n}]$ (or slightly larger). As $n$ grows, these unions shrink toward $[0,1]$ Practical, not theoretical..

Step 5: Take the intersection over $n$. $\bigcap_{n=1}^{\infty} \bigcup_{k=n}^{\infty} A_k = [0, 1]$ The details matter here..

So $\limsup A_n = [0, 1]$.

Notice: $\liminf \neq \limsup$. In practice, the sequence doesn't converge. Points in $(1, 1+\epsilon)$ appear infinitely often (in odd sets) but not eventually always.

The Indicator Function Trick

Here's a technique that saves enormous time. For any $\omega \in \Omega$, define the indicator sequence:

$x_n(\omega) = \mathbf{1}_{A_n}(\omega) = \begin{cases} 1 & \omega \in A_n \ 0 & \omega \notin A_n \end{cases}$

Then:

$\mathbf{1}{\liminf A_n}(\omega) = \liminf{n \to \infty} x_n(\omega)$ $\mathbf{1}{\limsup A_n}(\omega) = \limsup{n \to \infty} x_n(\omega)$

The liminf/limsup of sets is the pointwise liminf/limsup of the indicator functions That's the part that actually makes a difference..

This means you can compute set limits

Leveraging Indicator Functions for Practical Computation

The indicator‑function trick turns the problem of finding set‑wise limits into a pointwise problem that is often far easier to handle. On top of that, in essence, the liminf and limsup of a sequence of measurable sets are exactly the sets of points whose indicator sequences have the corresponding pointwise liminf (resp. limsup) equal to 1 Worth keeping that in mind..

  1. Identify the pointwise behaviour.
    For each (\omega\in\Omega) consider the binary sequence (x_n(\omega)=\mathbf 1_{A_n}(\omega)). Determine (\liminf_{n}x_n(\omega)) and (\limsup_{n}x_n(\omega)). These are simply the smallest and largest accumulation points of the 0–1 sequence Which is the point..

  2. Translate back to sets.
    (\displaystyle \liminf_{n\to\infty}A_n={\omega:\liminf_{n}x_n(\omega)=1}) and
    (\displaystyle \limsup_{n\to\infty}A_n={\omega:\limsup_{n}x_n(\omega)=1}).

Because the values are only 0 or 1, the pointwise limits are easy to read off: a point belongs to the liminf exactly when the indicator is eventually constantly 1; it belongs to the limsup exactly when the indicator is infinitely often 1.

The official docs gloss over this. That's a mistake.

Example: A “wiggling” Interval Sequence

Let (\Omega=[0,2]) and define

[ B_n= \begin{cases} \bigl[0,1+\tfrac{1}{n}\bigr) & n\ \text{odd},\[4pt] \bigl( \tfrac12,1-\tfrac{1}{n}\bigr] & n\ \text{even}. \end{cases} ]

The odd sets stretch beyond 1, while the even sets contract to a sub‑interval that stays strictly below 1. Using the indicator trick:

  • For (\omega\le \tfrac12) we have (\mathbf 1_{B_n}(\omega)=1) for all (n) (the even sets still contain (\tfrac12)). Hence (\liminf=\limsup) contains ([0,\tfrac12]) Most people skip this — try not to..

  • For (\omega\in(\tfrac12,1)) the indicator oscillates: odd (n) give 1, even (n) give 1 only when (\omega>1-\tfrac{1}{n}). As (n\to\infty) the even‑index condition eventually fails, so the point is 1 infinitely often but not eventually always. Thus (\omega\in\limsup) but (\omega\notin\liminf).

  • For (\omega=1) the odd sets contain it, the even sets exclude it for all sufficiently large even (n); again (\omega\in\limsup\setminus\liminf).

  • For (\omega>1) the odd sets contain it only when (\omega<1+\tfrac{1}{n}); this holds for infinitely many odd (n) but never eventually. Hence (\omega\in\limsup) as well.

  • Points (\omega\ge 2) never appear, so they are outside both limits.

Putting these observations together,

[ \liminf_{n\to\infty}B_n=[0,\tfrac12],\qquad \limsup_{n\to\infty}B_n=[0,1)\cup{!1!}=[0,1]. ]

Notice how the indicator viewpoint makes the alternating inclusion/exclusion transparent without having to manipulate nested intersections and unions directly That's the part that actually makes a difference..

Why the Trick Works: A Short Proof

Let (x_n(\omega)=\mathbf 1_{A_n}(\omega)). By definition of set liminf,

[ \omega\in\liminf_{n}A_n \iff \exists N;\forall n\ge N:;\omega\in A_n \iff \exists N;\forall n\ge N:;x_n(\omega)=1 \iff \liminf_{n}x_n(\omega)=1 . ]

The second equivalence uses the elementary fact that for a 0–1 sequence, “eventually constantly 1’’ is exactly the definition of the liminf being 1. Which means an analogous argument yields the limsup statement. Hence the indicator representation is not merely a convenience—it is an exact equality of sets Which is the point..

Extensions and Applications

  • Convergence of measurable sets. When (\liminf A_n=\limsup A_n) we say the sequence converges (in the sense of sets). The indicator trick shows that convergence is equivalent to pointwise convergence of the corresponding indicator functions, which is precisely the notion of convergence used in measure theory and probability.

  • Egorov’s theorem and convergence almost everywhere. Because

Because the indicator functions ( \mathbf 1_{A_n} ) take only the values 0 and 1, pointwise convergence of these functions is equivalent to the set‑theoretic statement that each point eventually belongs to (or eventually stays out of) the sets (A_n). Translating back to sets, uniform convergence of the indicators means that there is an index (N) such that for all (n\ge N) the symmetric difference (A_n\triangle A) has measure less than (\varepsilon); in other words, the sequence ((A_n)) converges to (A) in measure. Still, when this convergence holds almost everywhere, Egorov’s theorem guarantees that, for any (\varepsilon>0), there exists a measurable set (E) with (\mu(E)<\varepsilon) on which the convergence is actually uniform. Thus the indicator trick not only clarifies liminf and limsup but also bridges the three fundamental modes of convergence for sequences of measurable sets: pointwise (set) convergence, almost‑everywhere convergence, and convergence in measure.

This changes depending on context. Keep that in mind And that's really what it comes down to..

A second important application appears in the Borel–Cantelli lemmas. The first lemma states that if (\sum_n \mu(A_n)<\infty) then (\mu(\limsup A_n)=0). Using indicators, (\limsup A_n={\omega:\limsup_n \mathbf 1_{A_n}(\omega)=1}); the bound on the sum of measures yields (\int \limsup_n \mathbf 1_{A_n},d\mu\le \sum_n\int \mathbf 1_{A_n},d\mu<\infty), forcing the limsup to be zero almost everywhere. The second lemma (the converse under independence) follows similarly by examining the divergence of the series and applying the second Borel–Cantelli lemma to the indicator variables.

Finally, Fatou’s lemma for non‑negative measurable functions is an immediate corollary: for any sequence (f_n\ge 0),

[ \int \liminf_n f_n,d\mu\le \liminf_n \int f_n,d\mu, ]

which is obtained by applying the set‑level inequality to the sets ({f_n>t}) and integrating over (t\ge 0) (the “layer‑cake’’ representation). Here again the indicator trick reduces a functional statement to a purely set‑theoretic one But it adds up..

To keep it short, replacing a sequence of sets by its sequence of indicator functions converts abstract liminf and limsup operations into familiar pointwise limits of 0‑1 sequences. This simple reinterpretation makes proofs transparent, connects set convergence with function convergence, and underlies cornerstone results such as Egorov’s theorem, the Borel–Cantelli lemmas, and Fatou’s lemma. The indicator viewpoint is therefore not merely a notational convenience but a powerful unifying tool in measure theory and probability Practical, not theoretical..

Hot and New

What's New

Neighboring Topics

Continue Reading

Thank you for reading about Lim Sup And Lim Inf Of Sets. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home