# Can someone clearly explain about the lim sup and lim inf?

Can some explain the lim sup and lim inf?
In my text book the definition of these two is this.

Let $(s_n)$ be a sequence in $\mathbb{R}$. We define

and

The right side of these two equality, can I think $\sup\{s_n:n>N\}$ and $\inf\{s_n:n>N\}$ as a sequence after $n>N$?
And how these two behave as $n$ increases? My professor said that these two get smaller as $n$ increases.

Consider this example:

It alternates between something approaching $3$ from below and something approaching $5$ from above. The lim inf is $3$ and the lim sup is $5$.

The inf of the whole sequence is $3-\frac12$.

If you throw away the first term or the first two terms, the inf of what’s left is $3-\frac14$.

If you throw away all the terms up to that one and the one after it, the inf of what’s left is $3-\frac16$.

If you throw away all the terms up to that one and the one after it, the inf of what’s left is $3-\frac18$.

If you throw away all the terms up to that one and the one after it, the inf of what’s left is $3-\frac1{10}$.

. . . and so on. You see that these infs are getting bigger.

If you look at the sequence of infs, their sup is $3$.

Thus the lim inf is the sup of the sequence of infs of all tail-ends of the sequence. In mathematical notation,

Just as the lim inf is a sup of infs, so the lim sup is and inf of sups.

One can also say that $L=\liminf\limits_{n\to\infty} a_n$ precisely if for all $\varepsilon>0$, no matter how small, there exists an index $N$ so large that for all $n\ge N$, $a_n>L-\varepsilon$, and $L$ is the largest number for which this holds.