This series converges to ln 2 ≈ 0.69314718. The sum of just the positive terms of this series is infinite, as is the sum of just the negative terms. (Such a series is called conditionally convergent.)
When written as a summation, alternating series are often expressed with a (−1)n in the formula, since this alternates between −1 and +1:
For example:
When using a (−1)n, the terms with even values of n are positive, and the terms with odd values of n are negative. If the opposite signs are required, a (−1)n−1 can be used instead:
The alternating series test (or Leibniz test, named after Gottfried Leibniz) provides a simple criterion for proving the convergence of an alternating series. In many cases, an alternating series converges even though the corresponding series of positive numbers would diverge—such a series is called conditionally convergent.