An alternating series is a series that alternates between positive and negative terms. Alternating series are in one of these two forms, where $b_n$ is positive:
$$ \sum_{n=1}^\infty a_n = \sum_{n=1}^\infty (-1)^n b_n $$
$$ \sum_{n=1}^\infty a_n = \sum_{n=1}^\infty (-1)^{n-1} b_n $$
If the alternating series $\displaystyle\sum_{n=1}^\infty (-1)^{n-1} b_n$ satisfies:
Then $\displaystyle\sum_{n=1}^\infty (-1)^{n-1} b_n$ converges.
<aside>
Consider the series $\displaystyle\sum_{n=1}^\infty\frac{(-1)^{n-1}}{n} = 1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots$ Does this diverge or converge?
</aside>
We can use the alternating series test here:
Therefore, the series converges. (In fact, it converges to $\ln(2)$.)
<aside>
Does the series $\displaystyle\sum_{n=1}^\infty\frac{(-1)^{n-1}}{2n+1}$ converge or diverge?
</aside>
Therefore, the series converges.