I'm trying to find the limit superior and limit inferior of $\{cos\frac{n \pi}{2} \}_{k=1}^\infty$.
The definitions that I'm using are
$\displaystyle \limsup\{a_n\} = \lim_{n \rightarrow \infty} [sup \{a_k: k \geq n\}]$
$\displaystyle \liminf\{a_n\} = \lim_{n \rightarrow \infty} [inf \{a_k: k \geq n\}]$.
I've done some research and it looks like you can find the limit superior and limit inferior by taking the supremum and infimum over the collection of all possible subsequential limits.
So for my problem, if we write out some of the terms,
$\{cos\frac{n \pi}{2} \}_{k=1}^\infty = \{0, -1, 0, 1, .....\}$ and it repeats like this.
I have four sub sequential limits $0, -1, 1$.
So $\limsup\{cos\frac{n \pi}{2} \} = 1$
and $\liminf\{cos\frac{n \pi}{2} \} = -1$
Is my approach correct?
Thanks.