Arctangent series

In mathematics, the arctangent series, traditionally called Gregory's series, is the Taylor series expansion at the origin of the arctangent function:[1] This series converges in the complex disk

It was first discovered in the 14th century by Indian mathematician Mādhava of Sangamagrāma (c. 1340 – c. 1425), the founder of the Kerala school, and is described in extant works by Nīlakaṇṭha Somayāji (c. 1500) and Jyeṣṭhadeva (c. 1530).

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.

[2] In recent literature the arctangent series is sometimes called the Mādhava–Gregory series to recognize Mādhava's priority (see also Mādhava series).

[3] 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 (1706) expressed ⁠

⁠ as a sum of arctangents of smaller values, eventually resulting in a variety of Machin-like formulas for ⁠

Isaac Newton (1684) and other mathematicians accelerated the convergence of the series via various transformations.

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,[4] Again integrating both sides, In the limit as

converge within the complex disk

However, its term-by-term integral, the series for

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 (it takes five billion terms to obtain 10 correct decimal digits), 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.

Isaac Newton accelerated the convergence of the arctangent series in 1684 (in an unpublished work; others independently discovered the result and it was later popularized by Leonhard Euler's 1755 textbook; Euler wrote two proofs in 1779), yielding a series converging for

cos ⁡ ( arctan ⁡ x )

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.

The earliest person to whom the series can be attributed with confidence is Mādhava of Sangamagrāma (c. 1340 – c. 1425).

The original reference (as with much of Mādhava's work) 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 (c. 1500),[6][7] Jyeṣṭhadeva's Yuktibhāṣā (c. 1530),[8] and the Yukti-dipika commentary by Sankara Variyar, where it is given in verses 2.206 – 2.209.

The derivative of arctan x is 1 / (1 + x 2 ) ; conversely, the integral of 1 / (1 + x 2 ) is arctan x .