What is the result of this sum
$\displaystyle \sum_{n=1}^\infty (-1)^n \cdot n^2 \;?$
And I have also tried the root test, but it gives me $1,$ so I can't use it, and also the alternating test is not useful.
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityWhat is the result of this sum
$\displaystyle \sum_{n=1}^\infty (-1)^n \cdot n^2 \;?$
And I have also tried the root test, but it gives me $1,$ so I can't use it, and also the alternating test is not useful.
$\sum\limits_{n=1}^\infty (-1)^n n^2=\sum\limits_{k=1}^\infty -(2k-1)^2+(2k)^2=\sum\limits_{k=1}^\infty(4k-1).$
Can you take it from here?
The series diverges, by the Divergence Test (if $\displaystyle\lim_{n\to\infty}a_n\neq0$, then $\displaystyle\sum_{n=1}^\infty a_n$ diverges).
Let $a_n=(-1)^nn^2$ and calculate $\displaystyle\lim_{n\to\infty}a_n$: $$\displaystyle\lim_{n\to\infty}a_n$$ $$=\displaystyle\lim_{n\to\infty}(-1)^nn^2$$ $$=\displaystyle\lim_{n\to\infty}(-1)^n\displaystyle\lim_{n\to\infty}n^2$$
We see that neither limit converges to a value. $\displaystyle\lim_{n\to\infty}(-1)^n$ oscillates between $-1$ and $1$; and $\displaystyle\lim_{n\to\infty}n^2$ goes to infinity. Clearly $\displaystyle\lim_{n\to\infty}a_n\neq0$, and so the series diverges.