I am trying to prove that the following series diverges when $1\le |x|$
$$\sum_{n=0}^{\infty}(-1)^nx^{2n}$$
So applying the ratio test I got that,
$$\lim_{n\to\infty}|\frac{x^{2n+2}}{x^{2n}}|$$ $$\lim_{n\to\infty}|x^2|=x^2$$
So then how can I prove that it converges only on $(-1,1)?$