This paper illustrates basic mathematics about π and its computation, comparing the Indian Knowledge System with other approaches. It discusses infinite-series computation and its applications, together with pseudocode for a decision-making process. This computation may be useful to early-career researchers exploring applications of π in knowledge-processing tasks.
Keywords: Decision making; Indian Knowledge System; Knowledge representation; Mathematics; Turiyam
1. INDIAN KNOWLEDGE SYSTEM AND PI VALUE COMPUTATION
and Guru (G) in Sanskrit [9, 10, 11]. Pingala’s Chandasastra is also depicted in Sanskrit literature [12, 13, 14]. Sanskrit has been considered a language for knowledge representation [15]; related constructions in other countries are known as Pascal’s triangle, as shown in Figure 2.
The computation of π and infinite series has long been considered an important mathematical problem [1, 2, 3]. Baudhayana explored the area of a circle using a square, as shown in Figure 1 [4, 5]. The area of the circle was understood to be approximately equal to the square of its radius, giving an approximation of 3 in the Sulbasutra [6, 7]. The mathematical exploration is connected in this paper to Turiyam awareness [8].
Figure 2. Pingala’s Chandasastra for generating the number series.Figure 1. The Baudhayana circle area approximation.
The exploration continued with Pingala’s binary number system and the representation of combinations using Laghu (L)
The Pingala series is also associated with Jyotirlinga constructions, illustrated in Figure 3; Figure 4 presents other geometries based on the series.
Figure 3. The Pingala series applied to Jyotirlinga constructions.Figure 4. Some other geometry based on the Pingala series.
Aryabhata gave a formula for computing π in Sanskrit [16, 17]:
The calculation adds 4 to 100, multiplies the result by 8, and then adds 62,000. The resulting circumference, 62,832, is divided by a diameter of 20,000, giving π ≈3.1416:
100+4 = 104, 104×8 = 832, (1)
832+62,000 = 62,832, π = 62,832
20,000 ≈3.1416.
Aryabhata also used this value in spherical geometry, shown in Figure 5.
Figure 5. The Aryabhata spherical geometry for data representation.
Narayana extended the Pingala-inspired sequence through a problem about cows: starting with one cow, each cow gives birth to one calf each year from the age of four. The number of calves follows the third-order recurrence [18]
Cn = Cn−1 +Cn−3, n ≥3, C0 = C1 = C2 = C3 = 1.
The Egyptian Papyrus presents another approach, using the circumference-to-diameter ratio, as shown in Figure 6 [19]. A game-like arrangement uses 64 balls to represent a circle and 9 balls along its diameter, as shown in Figure 7. The circle is also represented using a square whose area is related to the circle’s area in Figures 8 and 9.
Figure 6. The Egyptian Papyrus method for computing the value of π.Figure 7. The Egyptian Papyrus game using 64 balls arranged in a circle.
Madhava developed series for sine, cosine, and the inverse tangent in the early fourteenth century [20]. Their series
Figure 8. The area of a square equal to the area of a circle and four triangles (see Figure 9).Figure 9. The area of a square equal to the area of a circle and four triangles (see Figure 8).
forms are shown in Figure 10 and written below:
(−1)kθ2k+1
∞ ∑ k=0
(2k +1)! , (4) sinθ =
(−1)kθ2k
∞ ∑ k=0 cosθ =
(2k)! , (5)
(−1)kx2k+1
∞ ∑ k=0
arctanx =
Figure 10. Madhava series for sine, cosine, and arctan(x).
Madhava also gave a formula for computing π in Sanskrit, shown in Figure 11, with its mathematical exploration in Figure 12.
Figure 11. Madhava’s formula for computing π.
Setting x = 1 in the Madhava inverse-tangent series gives the Leibniz formula [1]:
(−1)n
4 = ∞ ∑ n=0
Figure 12. Mathematical exploration of the formula shown in Figure 11.
Figure 13 illustrates this formula. The series of reciprocal squares gives Euler’s approximation, shown in Figure 14 [21]:
6 = ∞ ∑ n=1
1 n2= 1+1
Figure 13. The Leibniz formula for π, obtained by setting x = 1.Figure 14. Euler’s approximation of π via the square series.
Nilakantha gave an infinite series for computing π, shown in Figure 15. It uses products of three consecutive numbers in each denominator, with the variable increasing by two and the sign alternating:
The pseudocode below iterates up to a chosen limit of one million terms:
n = 2; pi = 3; sign = 1 for i = 0 to 1,000,000:
pi = pi + sign * 4/(n*(n+1)*(n+2)) sign = -sign n = n + 2 print(pi)
The paper reports a maximum computational complexity of O(nlognloglogn). This exploration of π is framed in terms of Turiyam consciousness rather than only indigenous or nonindigenous categories. Future work will explore the Buffon needle problem, illustrated in Figure 16 [22].
Figure 15. Nilakantha’s approximation of π.Figure 16. The Buffon needle problem for estimating π.
2. CONCLUSION
This paper presents a mathematical exploration of π and its computation in the context of the Indian Knowledge System, alongside comparisons with the Egyptian Papyrus and other mathematicians. It discusses the computation of π using infinite series and describes the Nilakantha method. The discussion aims to support early-career researchers and students in data visualization and to inform decision-making applications involving π.
References
[1] R. Roy. The discovery of the series formula for Pi by leibniz, gregory and nilakantha. Mathematics Magazine, 63, 1990.
[2] P. K. Singh. A note on basic proof of some famous mathematical theorem and its illustration. Journal of Neutrosophic and Fuzzy Systems, 3(1):39–53, 2022.
[3] Amulya Kumar Bag. Madhava’s sine and cosine se-ries. Indian Journal of History of Science, 11(1):54–57, 1976.
[4] C. K. Raju. Cultural Foundations of Mathematics: The Nature of Mathematical Proof and the Transmission of the Calculus from India to Europe in the 16th c. CE. Pearson Longman, New Delhi, 2007.
[5] E. Burgess. The Surya Siddhanta: A Text-Book of Hindu Astronomy (reprinted 1997). Motilal Banarsidass Pub-lishers, New Delhi, 1860.
[6] S. N. Sen and A. K. Bag. The Sulbasutras. Indian National Science Academy, New Delhi, 1983.
[7] D. W. Henderson. Square roots in the sulba sutra. In C. A. Gorini, editor, Geometry at Work: Papers in Ap-plied Geometry, pages 39–45. Mathematical Associa-tion of America, 2000.
[8] P. K. Singh. Mathematical concept exploration using turiyam cognition. Galoitica: Journal of Mathematical Structures and Applications, 9(1):8–22, 2023.
[9] J. J. Playfair. Remarks on the astronomy of the brah-mins. Transactions of the Royal Society of Edinburgh, 2(1):135–192, 1789.
[10] R. Burrow. A proof that the hindoos had the binomial theorem. Asiatik Researches, 2:487–497, 1790.
[11] J.-B. Tavernier. Travels in India (English translation), volume 2. Cambridge University Press, Cambridge, 1889.
[12] B. Datta. Early history of the arithmetic of zero and infinity in india. Bulletin of the Calcutta Mathematical Society, 18:165–176, 1927.
[13] B. Datta. The Science of the Sulbas. Calcutta University Press, Calcutta, 1932.
[14] B. Datta and A. N. Singh. History of Hindu Mathemat-ics, Volume 2: Algebra (originally published in Lahore; reprinted 1962). Asia Publishing House, Mumbai, 1938.
[15] R. Briggs. Knowledge representation in sanskrit and artificial intelligence. AI Magazine, 6:22–38, 1985.
[16] G. G. Joseph. The Crest of the Peacock: Non-European Roots of Mathematics. Princeton University Press, Princeton, 2010.
[17] B. A. Rosenfeld. Al-khwarizmi and indian science. In W. H. Abdi et al., editors, Interaction Between Indian and Central Asian Science and Technology in Medieval Times, volume 1, pages 132–139. Indian National Sci-ence Academy, New Delhi, 1990.
[18] C. T. Rajagopal and T. V. V. Aiyar. On the hindu proof of gregory’s series. Scripta Mathematica, 17:65–74, 1951.
[19] Frederic G. Kenyon. Palaeography of Greek Papyri. Clarendon Press, Oxford, 1899.
[20] V. M. Mallayya. An interesting algorithm for compu-tation of sine tables from the golasara of nilakantha. Ganita Bharati, 26:40–55, 2004.
[21] D. M. Jesseph. Squaring the Circle: The War Be-tween Hobbes and Wallis. University of Chicago Press, Chicago, 1999.
[22] N. Mantel. An extension of the buffon needle problem. The Annals of Mathematical Statistics, 24(4):674–677, 1953.