In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, an alternating series is an
infinite series of terms that alternate between positive and negative signs. In
capital-sigma notation
In mathematics, summation is the addition of a sequence of numbers, called ''addends'' or ''summands''; the result is their ''sum'' or ''total''. Beside numbers, other types of values can be summed as well: functions, vectors, matrices, polyn ...
this is expressed
or
with for all .
Like any series, an alternating series is a
convergent series if and only if the sequence of partial sums of the series
converges to a limit. The
alternating series test guarantees that an alternating series is convergent if the terms converge to 0
monotonically, but this condition is not necessary for convergence.
Examples
The geometric series
− + − + ⋯ sums to .
The
alternating harmonic series has a finite sum but the
harmonic series does not. The series
converges to , but is not absolutely convergent.
The
Mercator series provides an analytic
power series expression of the
natural logarithm
The natural logarithm of a number is its logarithm to the base of a logarithm, base of the e (mathematical constant), mathematical constant , which is an Irrational number, irrational and Transcendental number, transcendental number approxima ...
, given by
The functions sine and cosine used in
trigonometry
Trigonometry () is a branch of mathematics concerned with relationships between angles and side lengths of triangles. In particular, the trigonometric functions relate the angles of a right triangle with ratios of its side lengths. The fiel ...
and introduced in elementary algebra as the ratio of sides of a right triangle can also be defined as alternating series in
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
.
and
When the alternating factor is removed from these series one obtains the
hyperbolic functions sinh and cosh used in calculus and statistics.
For integer or positive index α the
Bessel function of the first kind may be defined with the alternating series
where is the
gamma function
In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
.
If is a
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
, the
Dirichlet eta function is formed as an alternating series
that is used in
analytic number theory
In mathematics, analytic number theory is a branch of number theory that uses methods from mathematical analysis to solve problems about the integers. It is often said to have begun with Peter Gustav Lejeune Dirichlet's 1837 introduction of Dir ...
.
Alternating series test
The theorem known as the "Leibniz Test" or the
alternating series test states that an alternating series will converge if the terms converge to 0
monotonically.
Proof: Suppose the sequence
converges to zero and is monotone decreasing. If
is odd and