A Better Bowstring: The Mādhava Jyā Series

What's better than an improved jyā table and an improved method for interpolation? A full jyā series that lets you compute jyā of any arc, to any degree of precision you wish.

निहत्य चापवर्गेण चापं तत्तत्फलानि च । 
हरेत् समूलयुग्वर्गैस्त्रिज्यावर्गाहतैः क्रमात् ॥
चापं फलानि चाधोऽधो न्यस्योपर्युपरित्यजेत् ।
जीवापत्यै संग्रहोऽस्यैव विद्वान् इत्यदिना कृतः ॥

Multiply the arc by the square of the arc. Multiply successive results by the square of the arc again, and divide by the square of the radius (trjyā) multiplied by sum of successive odd numbers and their squares. Set the arc and the other terms up in a vertical line, and subtract the last from the next, and the result from the next higher, and so on, to get the jīva (jyā). The same can be done by the phrases vidvān and so on.

Or:

\(
jyā(s) = s – s.\frac{s^2}{R^2.(2^2+2)} + s.\frac{s^2}{R^2.(2^2+2)}\frac{s^2}{R^2.(4^2+4)} – s.\frac{s^2}{R^2.(2^2+2)}.\frac{s^2}{R^2.(4^2+4)}.\frac{s^2}{R^2.(6^2+6)} …
\)

निहत्य चापवर्गेण रूपं तत्तत्फलानि च ।
हरेद्विमूलयुग्वर्गैस्त्रिज्यावर्गाहतैः क्रमात् ॥
किन्नु व्यासदलेनैव द्विघ्नेनाद्यं विभज्यताम् ।
फलान्यधोऽधः क्रमशो न्यस्योपर्युपरित्यजेत्
शरापत्यै संग्रहोऽस्यैव स्तेनस्त्रीत्यादिना कृतः ॥

Multiply one by the square of the arc. Multiply successive results by the square of the arc again, and divide by the square of the radius (trjyā) multiplied by difference of successive odd numbers from their squares. Let the divisor of the first term be twice the radius. Set the terms up in a vertical line, and subtract the last from the next, and the result from the next higher, and so on, to get the śara. The same can be done by the phrases stenastrī and so on.

Or:
\(
śara(s) = \frac{s^2}{2R} – \frac{s^2}{2R}.\frac{s^2}{R^2.(4^2-4)} + \frac{s^2}{2R}.\frac{s^2}{R^2.(4^2-4)}.\frac{s^2}{R^2.(6^2-6)} …
\)

Since \( jyā(s) = R.sin(\frac{s}{R})\), and \(n.(n+1) = n^2+n=(n+1)^2-(n+1)\) these two series can be seen to be equivalent to the modern series:
\(
sin(\theta) = {\theta} – \frac{\theta^3}{3!} + \frac{\theta^5}{5!} … \\
vers(\theta) = \frac{\theta^2 }{2!} – \frac{\theta^4}{4!} + \frac{\theta^6}{6!} …
\)

These series yield jyā or śara of any arc, correct to thirds of arc, as we will soon see.

Vidvān – Partly Precomputed Series

Having derived these series, we ask, how many terms do we need to compute? We could go as far as we need to to get the accuracy we need. Mādhava has made things even easier for us by giving us a partially pre-computed series that is accurate to the thirds of arc.

विद्वान्स्तुन्नबलः कवीशनिचयः सर्वार्थशीलस्थिरो ।
निर्विद्धाङ्गनरेन्द्ररुङ् निगदितेष्वेषु क्रमात् पञ्चसु ॥
आधस्त्यात् गुणितादभीष्टधनुषः कृत्या विहृत्यान्तिम-
स्याप्तं शोध्यमुपर्युपर्यथ घनेनैवं धनुष्यन्ततः ॥
The phrases vidvān (44″), tunnabala (33″06”'), kavīśanicaya (16'05”41”'), sarvārthaśīlasthiro (273'57”47”') nirviddhāṅganarendraruṅ (2220'39”40”') are successive multipliers, placed in reverse order, successively multiplied by the square of the arc divided by the square of a quarter-circle, and subtracted from the next, finally multiplied by the cube of the desired arc divided by the cube of a quarter circle, then subtracted from the desired arc.

\(
jyā(s) = s – \frac{s^3}{5400^3}.(2220'39”40”' – \frac{s^2}{5400^2}.(273'57”47”' – \frac{s^2}{5400^2}.(16'05”41”' – \frac{s^2}{5400^2}.(33″06”' – \frac{s^2}{5400^2}.44”'))))
\)

We also have the convenient encodings नानाज्ञानतपोधरः for \(5400^2 = 29160000\) and अज्ञाननुन्ने नवतत्त्वसंशयः for \(5400^3 = 157464000000\)

Similarly for śara:
स्त्येनस्त्रीपिशुनस्सुगन्धिनगनुद्भद्राङ्गभव्यासनो
मीनाङ्गो नरसिंह ऊनधनकृद्भूरेव षट्स्वेषु तु ।
आधस्त्यात् गुणितादभीष्टधनुषः कृत्या विहृत्यान्तिम-
स्याप्तं शोध्यमुपर्युपर्यथ फलं स्यादुत्क्रमज्यान्त्यजम् ॥

\(
śara(s) = \frac{s^2}{5400^2}.(4241'09”0”' – \frac{s^2}{5400^2}.(872'03”05”' – \frac{s^2}{5400^2}.(71'43”24”' – \frac{s^2}{5400^2}.(3'09”37”' – \frac{s^2}{5400^2}.(5″12”' – \frac{s^2}{5400^2}.6”')))))
\)

Where do we get these coefficients from? It can be seen that these are derived from computing the Mādhava series for an arc of 5400′ (and hence the division by 5400′ in the formula, by त्रैराशिकम् )

The Mādhava Jyā Table

For those un-inclined to compute the series for arbitrary arcs, worry not – the Mādhava jyā table – understood to have been computed using the vidvān method – exists. Similar to the Āryabhaṭa table, Mādhava jyā table is a verse-encoded table of jyās at the standard 24 points, accurate to the thirds, ie: 3600 times more accurate than Āryabhaṭa. This can be used with the इष्टदोःकोटिधनुषोः method of interpolation to obtain intermediate values.

VerseValueModern
1श्रेष्ठं नाम वरिष्ठानां224,50,22,0224,50,21,49
2हिमाद्रिर्वेदभावनः448,42,58,0448,42,57,35
3तपनो भानु सूक्तज्ञो670,40,16,0670,40,16,2
4मध्यमं विद्धि दोहनं889,45,15,0889,45,15,36
5धिगाज्योनाशनं कष्टं1105,1,39,01105,1,38,56
6छन्नभोगा शयाम्बिका1315,34,7,01315,34,7,26
7मृगाहारो नरेशोयं1520,28,35,01520,28,35,27
8वीरो रणजयोत्सुकः1718,52,24,01718,52,24,11
9मूलं विशुद्धं नाळस्य1909,54,35,01909,54,35,11
10गानेषु विरळा नराः2092,46,3,02092,46,3,29
11अशुद्धिगुप्ता चोरश्रीः2266,39,50,02266,39,50,12
12शङ्कुकर्णो नगेश्वरः2430,51,15,02430,51,14,35
13तनुजो गर्भजो मित्रं2584,38,6,02584,38,5,31
14श्रीमानत्र सुखी सखे2727,20,52,02727,20,52,22
15शशी रात्रौ हिमाहारौ2858,22,55,02858,22,55,6
16वेगज्ञः पथि सिन्धुरः2977,10,34,02977,10,33,43
17छायालयो गजो नीलो3083,13,17,03083,13,16,56
18निर्मलो नास्ति सत्कुले3176,3,50,03176,3,49,57
19रात्रौ दर्पणमभ्राङ्गं3255,18,22,03255,18,21,34
20नागस्तुङ्गनखो बली3320,36,30,03320,36,30,12
21धीरो युवा कथालोलः3371,41,29,03371,41,29,8
22पूज्यो नारीजनैर्भगः3408,20,11,03408,20,10,56
23कन्यागारे नागवल्ली3430,23,11,03430,23,10,38
24देवो विश्वस्थली भृगुः3437,44,48,03437,44,48,22
The Mādhava Jyā Table

A minor point to note is the use of ळ encoding to 9 in a couple of lines.

Why Three Methods?

Comparing निहत्य चापवर्गेण with the famous व्यासे वारिधिनिहते series, we see that it is tougher to calculate through, and therefore could not have been expected to be used by someone with basic ability. It must be presumed that Mādhava and his followers left multiple options available for those with varying skills in computation.

Yukti for the Mādhava Jyā Series

As usual, we have detailed derivations of these available from Yuktibhāṣā, but we will leave that for the next article. As with the series itself, these proofs are involved, and require a bit of diligence.

Join the Conversation

2 Comments

  1. Namaste:
    I came to your blog because of my interest in the itihas and sanskriti of Indic mathematics. I do not have competence (nor interest) in math per se. So, you may answer my following question from that perspective.
    At a seminar in March 2022 organized by it was argued that Madhava provided an ingenious formula fittingly called “antyasanskar = अन्त्यसंस्कार” to end the never-ending & non-repeating value of π. Please provide basic details and source of this info. Thanks
    See also https://youtu.be/B8IB6D6Ew_8 via @YouTube

    1. Namaste, please see this post on my blog for details. The अन्त्यसंस्कार correction does not “end” Pi, but is an approximation that makes it easier for the Madhava series for circumference (and hence Pi) to converge faster.

Leave a comment

Leave a Reply

Close Bitnami banner
Bitnami