Alternating series test

A convergence test for alternating series with decreasing term magnitudes tending to zero.
Alternating series test

Alternating series test (Leibniz): Let (an)(a_n) be a sequence of real numbers such that

  1. an0a_n\ge 0 for all nn,
  2. (an)(a_n) is decreasing, and
  3. an0a_n\to 0.

Then the n=1(1)n1an\sum_{n=1}^\infty (-1)^{n-1}a_n .

A common consequence is an error bound for : if ss is the limit and sN=n=1N(1)n1ans_N=\sum_{n=1}^N (-1)^{n-1}a_n, then ssNaN+1|s-s_N|\le a_{N+1}. This test is a basic source of and uses the necessary condition .