Madhava's correction term

From HandWiki

Madhava's correction term is a mathematical expression attributed to Madhava of Sangamagrama (c. 1340 – c. 1425), the founder of the Kerala school of astronomy and mathematics, that can be used to give a better approximation to the value of the mathematical constant π (pi) than the partial sum approximation obtained by truncating the Madhava-Leibniz infinite series for π. The Madhava-Leibniz infinite series for π is

π4=113+1517+

Taking the partial sum of the first n terms we have the following approximation to π:

π4113+1517++(1)n112n1

Denoting the Madhava correction term by F(n), we have the following better approximation to π:

π4113+1517++(1)n112n1+(1)nF(n)

Three different expressions have been attributed to Madhava as possible values of F(n), namely,

F1(n)=14n
F2(n)=n4n2+1
F3(n)=n2+14n3+5n

In the extant writings of the mathematicians of the Kerala school there are some indications regarding how the correction terms F1(n) and F2(n) have been obtained, but there are no indications on how the expression F3(n) has been obtained. This has led to a lot of speculative work on how the formulas might have been derived.

Correction terms as given in Kerala texts

The expressions for F2(n) and F3(n) are given explicitly in the Yuktibhasha, a major treatise on mathematics and astronomy authored by the Indian astronomer Jyesthadeva of the Kerala school of mathematics around 1530, but that for F1(n) appears there only as a step in the argument leading to the derivation of F2(n).[1][2]

The Yuktidipika-Laghuvivrthi commentary of Tantrasangraha, a treatise written by Nilakantha Somayaji an astronomer/mathematician belonging to the Kerala school of astronomy and mathematics and completed in 1501, presents the second correction term in the following verses (Chapter 2: Verses 271 - 274):[3][1]

English translation of the verses:[3]

"To the diameter multiplied by 4 alternately add and subtract in order the diameter multiplied by 4 and divided separately by the odd numbers 3, 5, etc. That odd number at which this process ends, four times the diameter should be multiplied by the next even number, halved and [then] divided by one added to that [even] number squared. The result is to be added or subtracted according as the last term was subtracted or added. This gives the circumference more accurately than would be obtained by going on with that process."

In modern notations this can be stated as follows (where d is the diameter of the circle):

Circumference =4d4d3+4d5±4dp4d(p+1)/21+(p+1)2

If we set p=2n1, the last term in the right hand side of the above equation reduces to 4dF2(n).

The same commentary also gives the correction term F3(n) in the following verses (Chapter 2: Verses 295 - 296):

English translation of the verses:[3]

"A subtler method, with another correction. [Retain] the first procedure involving division of four times the diameter by the odd numbers, 3, 5, etc. [But] then add or subtract it [four times the diameter] multiplied by one added to the next even number halved and squared, and divided by one added to four times the preceding multiplier [with this] multiplied by the even number halved."

In modern notations, this can be stated as follows:

Circumference=4d4d3+4d5±4dp4dm(1+4m)(p+1)/2,

where the "multiplier" m=1+((p+1)/2)2. If we set p=2n1, the last term in the right hand side of the above equation reduces to 4dF3(n).

Accuracy of the correction terms

Let

si=113+1517++(1)n112n1+(1)nFi(n).

Then, writing p=2n+1, the errors |π4si(n)| have the following bounds:[2][4]

1p3p1(p+2)3(p+2)<|π4s1(n)|<1p3p,4p5+4p4(p+2)5+4(p+2)<|π4s2(n)|<4p5+4p,36p7+7p5+28p336p36(p+2)7+7(p+2)5+28(p+2)336(p+2)4p5+4p4(p+2)5+4(p+2)<|π4s3(n)|<36p7+7p5+28p336p.

Numerical values of the errors in the computation of π

The errors in using these approximations in computing the value of π are

E(n)=π4(113+1517++(1)n112n1)
Ei(n)=E(n)4×(1)nFi(n)

The following table gives the values of these errors for a few selected values of n.

Errors in using the approximations F1(n),F2(n),F3(n) to compute the value of π
n E(n) E1(n) E2(n) E3(n)
11 9.07×102 1.86×104 1.51×106 2.69×108
21 4.76×102 2.69×105 6.07×108 3.06×1010
51 1.96×102 1.88×106 7.24×1010 6.24×1013
101 9.90×103 2.43×107 2.38×1011 5.33×1015
151 6.62×103 7.26×108 3.18×1012 1×1016

Continued fraction expressions for the correction terms

It has been noted that the correction terms F1(n),F2(n),F3(n) are the first three convergents of the following continued fraction expressions:[3]

  • 14n+1n+1n+
  • 14n+12n+224n+32n++r2n[43(rmod2)]+=14n+224n+424n+624n+824n+

The function f(n) that renders the equation

π4=113+15±1nf(n+1)

exact can be expressed in the following form:[1]

f(n)=12×1n+12n+22n+32n+

The first three convergents of this infinite continued fraction are precisely the correction terms of Madhava. Also, this function f(n) has the following property:

f(2n)=14n+224n+424n+624n+824n+

Speculative derivation by Hayashi et al.

In a paper published in 1990, a group of three Japanese researchers proposed an ingenious method by which Madhava might have obtained the three correction terms. Their proposal was based on two assumptions: Madhava used 355/113 as the value of π and he used the Euclidean algorithm for division.[5][6]

Writing

S(n)=|113+1517++(1)n12n1π4|

and taking π=355/113, compute the values S(n), express them as a fraction with 1 as numerator, and finally ignore the fractional parts in the denominator to obtain approximations:

S(1)=  97452=   14+649714,S(2)=  1611356=  18+6816118,S(3)=  5516780= 112+168551112,S(4)= 292347460= 116+6922923116,S(5)=21153427140=120+408021153120.

This suggests the following first approximation to S(n) which is the correction term F1(n) talked about earlier.

S(n)14n

The fractions that were ignored can then be expressed with 1 as numerator, with the fractional parts in the denominators ignored to obtain the next approximation. Two such steps are:

6497= 11+336411,3364=11+313311,68161= 12+256812,2568=12+182512,168551= 13+4716813,47168=13+274713,6922923=14+15569214,155692=14+7215514,408021153=15+753408015,7534080=15+31575315.

This yields the next two approximations to S(n), exactly the same as the correction terms F2(n),

S(n)14n+1n=n4n2+1,

and F3(n),

S(n)14n+1n+1n=n2+1n(4n2+5),

attributed to Madhava.

See also

References

  1. 1.0 1.1 1.2 C. T. Rajagopal & M. S. Rangachari (1978). "On an Untapped Source of Medieval Keralese Mathematics". Archive for History of Exact Sciences 18 (2): 89–102. doi:10.1007/BF00348142. 
  2. 2.0 2.1 K. V. Sarma with explanatory notes in English by K. Ramasubrahmanyan, M. D. Srinivas, M. S. Sriram (2008). Ganita-Yukti-Bhasha of Jyeshthadeva. Volume I - Mathematics. New Delhi: Hindustan Book Agency. pp. 201–207. ISBN 978-81-85931-81-4. 
  3. 3.0 3.1 3.2 3.3 C. K. Raju (2007). History of Science, Philosophy and Culture in Indian Civilization General Editor D. P. Chattopadhyaya Volume X Part 4. Cultural Foundations of Mathematics: The Nature of Mathematical Proof and the Transmission of the Calculus from India to Europe in the 16th c. CE. New Delhi: Centre for Studies in Civilizations and Dorling Kindersley (India) Pvt Ltd.. pp. 173–174. ISBN 978-81-317-0871-2. 
  4. Ranjan Roy (2011). Sources in the Development of Mathematics Infinite Series and Products from the Fifteenth to the Twenty-first Century. New York: Cambridge University Press. p. 5. ISBN 978-0-521-11470-7. 
  5. T. Hayashi, T. Kusuba and M. Yano (1990). "The Correction of the Madhava Series for the Circumference of a Circle". Cenluurus (33): 149–174. 
  6. George Ghevarghese Joseph (2009). A Passage to Infinity Medieval Indian Mathematics from Kerala and Its Impact. New Delhi: SAGE Publications India Pvt Ltd. pp. 132–133. ISBN 978-81-321-0168-0. 

Additional reading

  • C. T. Rajagopal and M. S. Rangachari (1986). "On Medieval Kerala Mathematics". Archive for History of Exact Sciences 35 (2): 91–99. doi:10.1007/BF00357622. http://www.jstor.org/stable/41133779. 
  • P. Rajasekhar (June 2011). "Derivation of remainder term for the Series expansion of π as depicted in Yukthibhasa and its modern Interpretation". Bulletin of Kerala Mathematics Association 8 (1): 17–39. 
  • Ranjan Roy (13 June 2011). "Power Series in Fifteenth-Century Kerala", except from Sources in the Development of Mathematics: Infinite Series and Products from the Fifteenth to the Twenty-first Century. Cambridge University Press. ISBN 978-0-521-11470-7.