I need to prove that the sequence $(-1)^n$ for $n\in\mathbb{N}$ diverges. Is this proof correct? Is there a better way to prove it? Probably my proof is very poor, but here it is.
We prove this by contradiction. First of all, we know that $-1 \leq (-1)^n \leq 1$. Now suppose it converges to a value $a$. Then we have $$\forall \epsilon >0, \exists n_0\in\mathbb{N}: |(-1)^n-a| < \epsilon \,\,\,\, \forall n\in\mathbb{N}, n> n_0$$ in particular, take $\epsilon :=1$.
Then $\exists n_0 \in \mathbb{N}$ such that the above holds for $\epsilon =1$. Take now $n > n_0$ then we have $$|(-1)^n-a| \leq |(-1)^n|+|a| = |-1|^n+|a|=1+|a| \geq 1$$ where I have used the triangle inquality and the fact that $|b^n| = |b|^n$ and that $|a| \geq 0$.
Hence we have a contradiction because this doesn't hold for any $\epsilon >0$.
Is this proof correct? Because in my book the solution is quite different. It involves diving into cases where $n$ is odd or even. I am pretty sure I can't do the triangle inequality part, but I have no other idea since I don't understand the proof in the book.