MathorynMathematical Formula Database

Sequences & Series

Alternating Harmonic Series

Although the harmonic series diverges, alternating its signs gives a convergent series whose sum is ln⁡2\ln 2. It is the standard example of conditional convergence and is used to illustrate the alternating series test and the Riemann rearrangement theorem.

∑n=1∞(−1)n+1n=1−12+13−14+⋯=ln⁡2\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n}=1-\frac12+\frac13-\frac14+\cdots=\ln2
LaTeX\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n}=1-\frac12+\frac13-\frac14+\cdots=\ln2

Variables

nn
positive integer index
ln⁡2\ln2
natural logarithm of 2 ≈ 0.693147

Example

Estimate the sum with 10001000 terms.

  1. Partial sum S1000≈0.692647S_{1000}\approx0.692647.
  2. The error is below the next term 11001\frac1{1001}.

Answer: The sum is ln⁡2≈0.693147\ln2\approx0.693147.

Related formulas