In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, an alternating series is an
infinite series of the form
or
with for all . The signs of the general terms alternate between positive and negative. Like any series, an alternating
series converges if and only if the associated sequence of partial sums
converges.
Examples
The geometric series
1/2 − 1/4 %2B 1/8 − 1/16 %2B %E2%8B%AF sums to 1/3.
The
alternating harmonic series has a finite sum but the
harmonic series does not.
The
Mercator series
In mathematics, the Mercator series or Newton–Mercator series is the Taylor series for the natural logarithm:
:\ln(1+x)=x-\frac+\frac-\frac+\cdots
In summation notation,
:\ln(1+x)=\sum_^\infty \frac x^n.
The series converges to the natural ...
provides an analytic expression of the
natural logarithm
The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
:
The functions sine and cosine used in
trigonometry
Trigonometry () is a branch of mathematics that studies relationships between side lengths and angles of triangles. The field emerged in the Hellenistic world during the 3rd century BC from applications of geometry to astronomical studies. T ...
can be defined as alternating series in
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithm ...
even though they are introduced in elementary algebra as the ratio of sides of a right triangle. In fact,
and
When the alternating factor is removed from these series one obtains the
hyperbolic function
In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the u ...
s sinh and cosh used in calculus.
For integer or positive index α the
Bessel function
Bessel functions, first defined by the mathematician Daniel Bernoulli and then generalized by Friedrich Bessel, are canonical solutions of Bessel's differential equation
x^2 \frac + x \frac + \left(x^2 - \alpha^2 \right)y = 0
for an arbitrary ...
of the first kind may be defined with the alternating series
where is the
gamma function
In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
.
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 form ...
, 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 Diric ...
.
Alternating series test
The theorem known as "Leibniz Test" or the
alternating series test tells us 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