Arctangent series


In mathematics, the arctangent series, traditionally called Gregory's series, is the Taylor series expansion at the origin of the arctangent function:
This series converges in the complex disk except for , the founder of the Kerala school, and is described in extant works by Nīlakaṇṭha Somayāji and Jyeṣṭhadeva. Mādhava's work was unknown in Europe, and the arctangent series was independently rediscovered by James Gregory in 1671 and by Gottfried Leibniz in 1673. In recent literature the arctangent series is sometimes called the Mādhava–Gregory series to recognize Mādhava's priority.
The special case of the arctangent of is traditionally called the Leibniz formula for, or recently sometimes the Mādhava–Leibniz formula:
The extremely slow convergence of the arctangent series for makes this formula impractical per se. Kerala-school mathematicians used additional correction terms to speed convergence. John Machin expressed as a sum of arctangents of smaller values, eventually resulting in a variety of Machin-like formulas for. Isaac Newton and other mathematicians accelerated the convergence of the series via various transformations.

Proof

If then The derivative is
Taking the reciprocal,
This sometimes is used as a definition of the arctangent:
The Maclaurin series for is a geometric series:
One can find the Maclaurin series for by naïvely integrating term-by-term:
While this turns out correctly, integrals and infinite sums cannot always be exchanged in this manner. To prove that the integral on the left converges to the sum on the right for real can instead be written as the finite sum,
Again integrating both sides,
In the limit as the integral on the right above tends to zero when because
Therefore,

Convergence

The series for and converge within the complex disk, where both functions are holomorphic. They diverge for because when, there is a pole:
When the partial sums alternate between the values and never converging to the value
However, its term-by-term integral, the series for converges when because disagrees with its series only at the point so the difference in integrals can be made arbitrarily small by taking sufficiently many terms:
Because of its exceedingly slow convergence, the Leibniz formula is not a very effective practical method for computing Finding ways to get around this slow convergence has been a subject of great mathematical interest.

Accelerated series

of the arctangent series in 1684, yielding a series converging for
where and
Each term of this modified series is a rational function with its poles at in the complex plane, the same place where the arctangent function has its poles. By contrast, a polynomial such as the Taylor series for arctangent forces all of its poles to infinity.
Euler's formula above can be simplified and expressed as
Another arctangent series with rapid convergence is given by

History

The earliest person to whom the series can be attributed with confidence is Mādhava of Sangamagrāma. The original reference is lost, but he is credited with the discovery by several of his successors in the Kerala school of astronomy and mathematics founded by him. Specific citations to the series for include Nīlakaṇṭha Somayāji's Tantrasaṅgraha,
Jyeṣṭhadeva's Yuktibhāṣā, and the Yukti-dipika commentary by Sankara Variyar, where it is given in verses 2.206 - 2.209.