Example of a sequence $(a_{n})_{n\in \mathbb{N}}$ such that $\liminf_{n\rightarrow \infty}a_{n}=-1$ and $\limsup_{n\rightarrow \infty}a_{n}=1$

47 Views Asked by At

Construct an example of a sequence $(a_{n})_{n\in \mathbb{N}}$ such that $\liminf_{n\rightarrow \infty}a_{n}=-1$ and $\limsup_{n\rightarrow \infty}a_{n}=1$

Is it right if I say the answer is $f(n)=\frac{1}{n}$?

3

There are 3 best solutions below

0
On BEST ANSWER

No. Observe that $\frac{1}{n} \to 0$, hence $\liminf_{n\rightarrow \infty}f(n)= \limsup_{n\rightarrow \infty}f(n)=0$

Consider $a_n=(-1)^n$.

0
On

No, because your $f(n) = \tfrac{1}{n} > 0 > -1$, so how would you get a $\lim \inf$ of $-1$?

This illustration of Wikipedia can provide some insight and inspiration, because I have the feeling you don't fully understand the concept of $\lim \inf$ and $\lim \sup$ yet. Take a good look at the graph: enter image description here There are however easier examples that satisfy your criteria, perhaps you can find one?

0
On

No; for $f(n) = \frac{1}{n}$, we have $\lim_{n \to \infty} f(n) = 0$, so the lim sup and lim inf are all equal to zero. In general, the limit existing is equivalent to the lim inf and lim sup coinciding. So for the two to be different, the limit must not exist.

Take for instance $a_n := (-1)^n$. Then we get the sequence $(1,-1,1,-1,\cdots)$. Clearly there are infinitely many $a_n$ that are equal to $1$, and there is no larger number that the sequence can get close to, so $\limsup_{n \to \infty} a_n = 1$. Similarly $\liminf_{n \to \infty} a_n = -1$. Intuitively, the lim sup / lim inf is the largest (resp. smallest) number that infinitely many points in the sequence can get close to