Madhava's correction term

From testwiki
Jump to navigation Jump to search

Template:Pi box 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 Template:Pi (pi) than the partial sum approximation obtained by truncating the Madhava–Leibniz infinite series for Template:Pi. The Madhava–Leibniz infinite series for Template:Pi is

π4=113+1517+

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

π4113+1517++(1)n112n1

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

π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 Template:Pi

The errors in using these approximations in computing the value of Template:Pi 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 Template:Pi
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 Template:Pi 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

Template:Reflist

Additional reading

Template:Kerala School Template:Indian mathematics