*Ashoka briefly describes some of the characteristics of the medieval Indian ´as¯stra of jyoti. sa. This discipline concerned matters included in such Western areas of inquiry as astronomy, mathematics, divination, and astrology. In fact, the jyoti. s¯is, the Indian experts in jyoti. sa, produced more literature in these areas – and made more mathematical discoveries – than scholars in any other culture prior to the advent of printing. In order to explain how they managed to make such discoveries – and why their discoveries remain largely unknown – he explains the general social and economic position of the jyoti. s¯is. The author dwells on India’s contribution to mathematics, in his erudite weekly column, exclusively for Different Truths.*

* “Next to God, if I love something the most, it is mathematics!” *~

**Vinoba Bhave**

One of the most significant things one learns from the study of the exact sciences as practiced in a number of ancient and medieval societies is that, while science has always travelled from one culture to another, each culture before the modern period approached the sciences it received in its own unique way and transformed them into forms compatible with its own modes of thought. Science is a product of culture; it is not a single, unified entity. Therefore, a historian of premodern scientific texts–whether they be written in Akkadian, Arabic, Chinese, Egyptian, Greek, Hebrew, Latin, Persian, Sanskrit, or any other linguistic bearer of a distinct culture–must avoid the temptation to conceive of these sciences as more or less clumsy attempts to express modern scientific ideas. They must be understood and appreciated as what their practitioners believed them to be. The historian is interested in the truthfulness of his own understanding of the various sciences, not in the truth or falsehood of the science itself.

In order to illustrate the individuality of the sciences as practiced in the older non-Western societies, and their differences from early modern Western science (for contemporary science is, in general, interested in explaining quite different phenomena than those that attracted the attention of earlier scientists), I propose to describe briefly some of the characteristics of the medieval Indian ´as¯stra of jyoti. sa. This discipline concerned matters included in such Western areas of inquiry as astronomy, mathematics, divination, and astrology. In fact, the jyoti. s¯is, the Indian experts in jyoti. sa, produced more literature in these areas – and made more mathematical discoveries – than scholars in any other culture prior to the advent of printing. In order to explain how they managed to make such discoveries – and why their discoveries remain largely unknown – I will also need to describe briefly the general social and economic position of the jyoti. s¯is ‘S¯astra’ (‘teaching’) is the word in Sanskrit closest in meaning to the Greek, ‘επιστηµη ´’ and the Latin ‘scientia’. The teachings are often attributed to gods or considered to have been composed by divine .risis; but since there were many of both kinds of superhuman beings, there were many competing varieties of each ´as¯stra. Sometimes, however, a school within a ´as¯stra was founded by a human; scientists were free to modify their ´as¯stras as they saw fit. No one was constrained to follow a system taught by a god. Jyoti. s¯is is a Sanskrit word meaning ‘light,’ and then ‘star’; so that jyotihs. sa¯stra means ‘teaching about the stars.’ This ´sas¯stra was conventionally divided into three sub-teachings: ganita. (mathematical astronomy and mathematics itself ), sam- . hit¯a (divination, including by means of celestial omens), and hor¯a (astrology). A number of jyoti. s¯is (students of the stars) followed all three branches, a larger number just two (usually samhit¯ .a and hor¯a), and the largest number just one (hor¯a).

**Principal Writings in Jyotihs Sastra**

The principal writings in jyotihs. ´sa¯stra, as in all Indian ´sas¯stras, were normally in verse, though the numerous commentaries on them were almost always in prose. The verse form with its metrical demands, while it aided memorisation, led to greater obscurity of expression than prose composition would have entailed. The demands of the poetic meter meant that there could be no stable technical vocabulary; many words with different metrical patterns had to be devised to express the same mathematical procedure or geometrical concept, and mathematical formulae had frequently to be left partially incomplete. Moreover, numbers had to be expressible in metrical forms (the two major systems used for numbers, the bh¯utasa. nkhya¯and the ka. tapaya¯di, will be explained and exemplified below), and the consequent ambiguity of these expressions encouraged the natural inclination of Sanskrit pan. dits. to test playfully their readers’ acumen. It takes some practice to achieve sureness in discerning the technical meanings of such texts. But in this opaque style the jyoti. s¯is produced an abundant literature. It is estimated that about three million manuscripts on these subjects in Sanskrit and in other Indian languages still exist. Regrettably, only a relatively small number of these has been subjected to modern analysis, and virtually the whole ensemble is rapidly decaying. And because there is only a small number of scholars trained to read and understand these texts, most of them will have disappeared before anyone will be able to describe correctly their contents.

In order to make my argument clearer, I will restrict my remarks to the first branch of jyotihs. ´a¯stra–ganita. Geometry, and its branch trigonometry, was the mathematics Indian astronomers used most frequently. In fact, the Indian astronomers in the third or fourth century, using a pre-Ptolemaic Greek table of chords, produced tables of sines and versines, from which it was trivial to derive cosines. This new system of trigonometry, produced in India, was transmitted to the Arabs in the late eighth century and by them, in an expanded form, to the Latin West and the Byzantine East in the twelfth century. But, despite this sort of practical innovation, the Indians practiced geometry without the type of proofs taught by Euclid, in which all solutions to geometrical problems are derived from a small body of arbitrary axioms. The Indians provided demonstrations that showed that their solutions were consistent with certain assumptions (such as the equivalence of the angles in a pair of similar triangles or the Pythagorean Theorem) and whose validity they based on the measurement of several examples. In their less rigorous approach they were quite willing to be satisfied with approximations, such as the substitution of a sine wave for almost any curve connecting two points. Some of their approximations, like those devised by ¯ Aryabha. ta in about 500 for the volumes of a sphere and a pyramid, were simply wrong. But many were surprisingly useful.

Not having a set of axioms from which to derive abstract geometrical relationships, the Indians in general restricted their geometry to the solution of practical problems. However, Brahmagupta in 628 presented formulae for solving a dozen problems involving cyclic quadrilaterals that were not solved in the West before the Renaissance. He provides no rationales and does not even bother to inform his readers that these solutions only work if the quadrilaterals are circumscribed by a circle (his commentator, Prth udakasvamin, writing in about 864, follows him on both counts). In this case, and clearly in many others, there was no written or oral tradition that preserved the author’s reasoning for later generations of students. Such disdain for revealing the methodology by which mathematics could advance made it difficult for all but the most talented students to create new mathematics. It is amazing to see, given this situation, how many Indian mathematicians did advance their field.

**Indeterminate Equations **

I will at this point mention as examples only the solution of indeterminate equations of the first degree, described already by ¯Aryabhat ta; the partial solution of indeterminate equations of the second degree, due to Brahmagupta; and the cyclic solution of the latter type of indeterminate equations, achieved by Jayadeva and described by Udayadivakara, in 1073, (the cyclic solution was rediscovered in the West by Bell and Fermat in the seventeenth century). Interpolation into tables using second-order differences was introduced by Brahmagupta in his Khan.dakhadyaka of 665. The use of two-point iteration occurs first in the Pañcasiddh¯antik¯a composed by Varahamihira in the middle of the sixth century, and fixed-point iteration in the commentary on the Mahabhaskarya written by Govindasvamin in the middle of the ninth century. The study of combinatorics, including the so-called Pascal’s triangle, began in India near the beginning of the current era in the Chandahsutras, a work on prosody composed by Pingala, and culminated in chapter 13 of the Ganitakaumud¯ . •completed by Narayana Pandita, in 1350. The fourteenth and final chapter of N¯ar¯ayana’s. work is an exhaustive mathematical treatment of magic squares, whose study in India can be traced back to the Brhatsamhita of Varahamihira.

In short, it is clear that Indian mathematicians were not at all hindered in solving significant problems of many sorts by what might appear to a non-Indian to be formidable obstacles in the conception and expression of mathematical ideas. Nor were they hindered by the restrictions of ‘caste,’ by the lack of societal support, or by the general absence of monetary rewards. It is true that the overwhelming majority of the Indian mathematicians whose works we know were Br¯ahmanas, but there are exceptions (e.g., among Jain, non-Brahm¯anical scribes, and craftsmen). Indian society was far from open, but it was not absolutely rigid; and talented mathematicians, whatever their origins, were not ignored by their colleagues. However, astrologers (who frequently were not Brahmanas) and the makers of calendars were the only jyoti. s¯is normally valued by the societies in which they lived. The attraction of the former group is easily understood, and their enormous popularity continues today. The calendar makers were important because their job was to indicate the times at which rituals could or must be performed. The Indian calendar is itself intricate; for instance, the day begins at local sunrise and is numbered after the tithi that is then current, with the tithis being bounded by the moments, beginning from the last previous true conjunction of the Sun and the Moon, at which the elongation between the two luminaries had increased by twelve degrees. Essentially, each village needed its own calendar to determine the times for performing public and private religious rites of all kinds in its locality.

By contrast, those who worked in the various forms of ganita. usually enjoyed no public patronage – even though they provided the mathematics used by architects, musicians, poets, surveyors, and merchants, as well as the astronomical theories and tables employed by astrologers and calendar-makers. Sometimes a lucky mathematical astronomer was supported by a Mah¯ar¯aja whom he served as a royal astrologer and in whose name his work would have been published. For example, the popular R¯ajam. rig¯a . nka is attributed, along with dozens of other works in many ´sas¯stras, to Bhojadeva, the Mah¯ar¯aja of Dh¯ar¯a in the first half of the eleventh century. Other jyoti- . s¯is substituted the names of divinities or ancient holy men for their own as authors of their treatises. Authorship often brought no rewards; one’s ideas were often more widely accepted if they were presented as those of a divine being, a category that in many men’s minds included kings.

**Family Secret**

One way in which a jyoti. s¯i could make a living was by teaching mathematics, astronomy, or astrology to others. Most frequently this instruction took place in the family home, and, because of the caste system, the male members of a jyoti. s¯i’s family were all expected to follow the same profession. A senior jyoti. s¯i, therefore, would train his sons and often his nephews in their ancestral craft. For this the family maintained a library of appropriate texts that included the compositions of family members, which were copied as desired by the younger members. In this way a text might be preserved within a family over many generations without ever being seen by persons outside the family. In some cases, however, an expert became well enough known that aspirants came from far and wide to his house to study. In such cases these students would carry off copies of the manuscripts in the teacher’s collection to other family libraries in other locales.

The teaching of jyotihs. ´sa¯stra also occurred in some Hindu, Jain, and Buddhist monasteries, as well as in local schools. In these situations certain standard texts were normally taught, and the status of these texts can be established by the number of copies that still exist, by their geographical distribution, and by the number of commentaries that were written on them. Thus, in ganita . the principal texts used in teaching mathematics in schools were clearly the Li•lavati• on arithmetic and the B¯ijaganita . on algebra, both written by Bh¯askara in around 1150, and, among Jains, the Ganitas¯ . arasa . ngraha composed in about 850 by their coreligionist, Mah¯av¯ira. In astronomy there came to be five paksas (schools): the Br¯ahmapak. sa, whose principal text was the Siddh¯anta´iroma s ni . of the Bh¯askara mentioned above; the Aryapak ¯ . sa, based on the Arya- ¯ bha. t¯tya written by ¯Aryabha. ta in about 500; the Ardhar¯ ¯ atrikapak. sa, whose principal text was the Khandakhadyaka completed by Brahmagupta in 665; the Saurapaksa, based on the S¯uryasiddh¯anta composed by an unknown author in about 800; and the Ganesapaksa, whose principal text was the Grahal¯aghava authored by Ganesa, in 1520. Each region of India favoured one of these pak sas, though the principal texts of all of them enjoyed national circulation. The commentaries on these often contain the most innovative advances in mathematics and mathematical astronomy found in Sanskrit literature. By far the most popular authority, however, was Bh¯askara; a special college for the study of his numerous works was established, in 1222, by the grandson of his younger brother. No other Indian jyoti. s¯i was ever so honoured.

Occasionally, indeed, an informal school inspired by one man’s work would spring up. The most noteworthy, composed of followers of M¯adhava of Sa ngamagr¯ama in Kerala in the extreme south of India, lasted for over four hundred years without any formal structure –simply a long succession of enthusiasts who enjoyed and sometimes expanded on the marvellous discoveries of M¯adhava.

**Madhava’s Accurate Trigonometric Functions**

Madhava (c. 1360–1420), an Empr¯ ¯ antiri Br¯ahmana, apparently lived all his life on his family’sestate, Ilaññipa. l. li, in Sa . ngamagr¯ama (Irinj¯alakhuda) near Cochin. His most momentous achievement was the creation of methods to compute accurate values for trigonometric functions by generating infinite series. In order to demonstrate the character of his solutions and expressions of them, I will translate a few of his verses and quote some Sanskrit.

He began by considering an octant of a circle inscribed in a square, and, after some calculation, gave the rule (I translate quite literally two verses): Multiply the diameter (of the circle) by 4 and divide by 1. Then apply to this separately with negative and positive signs alternately the product of the diameter and 4 divided by the odd numbers 3, 5, and so on . . . . The result is the accurate circumference; it is extremely accurate if the division is carried out many times. This describes the infinite series: C = (4D/1)-(4D/3)+(4D/5)- (4D/7)+(4D/9)……. That in turn is equivalent to the infinite series for π that we attribute to Leibniz.

M¯adhava expressed the results of this formula in a verse employing the bh¯utasa . nkhy¯a system, in which numbers are represented by words denoting objects that conventionally occur in the world in fixed quantities: vibudhanetragaj¯ahihut¯a´sanatrigunaved- . abhav¯aranab¯ . ahavah | . navanikharvamite v. rtivistare paridhim¯anam idam jagadur budh¯ . ah A literal translation is: Gods [33], eyes [2], elephants [8], snakes [8], fires [3], three [3], qualities [3], Vedas [4], nak. satras [27], elephants [8], and arms [2] – the wise say that this is the measure of the circumference when the diameter of a circle is nine hundred billion. The bh¯utasa . nkhy¯a numbers are taken in reverse order, so that the formula is: π = 2827433388233/900000000000 (π = 3.14159265359, which is correct to the eleventh decimal place)

Another extraordinary verse written by M¯adhava employs the ka. tapay¯adi system in which the numbers 1, 2, 3, 4, 5, 6, 7, 8, 9, and 0 are represented by the consonants that are immediately followed by a vowel; this allows the mathematician to create a verse with both a transparent meaning due to the words and an unrelated numerical meaning due to the consonants in those words. M¯adhava’s verse is: vidv¯ams tunnabala . h kav¯ . isanicaya ´ h sar- . v¯artha ´s¯ilasthiro nirviddh¯a . nganarendraru. N

The verbal meaning is: “The ruler whose army has been struck down gathers together the best of advisors and remains firm in his conduct in all matters; then he shatters the (rival) king whose army has not been destroyed.” The numerical meaning is ½ve sexagesimal numbers: 0;0,44 0;33,6 16;5,41 273;57,47 2220;39,40.

Not surprisingly, M¯adhava also discovered the infinite power series for the cosine and the tangent that we usually attribute to Gregory.

The European mathematicians of the seventeenth century derived their trigonometrical series from the application of the calculus; M¯adhava in about 1400 relied on a clever combination of geometry, algebra, and a feeling for mathematical possibilities. I cannot here go through his whole argument, which has fortunately been preserved by several of his successors; but I should mention some of his techniques.

He invented an algebraic expansion formula that keeps pushing an unknown quantity to successive terms that are alternately positive and negative; the series must be expanded to infinity to get rid of this unknown quantity. Also, because of the multiplications, as the terms increase, the powers of the individual factors also increase. One of these factors in the octant is one of a series of integers beginning with 1 and ending with 3438 – the number of parts in the radius of the circle that is also the tangent of 45°, the angle of the octant; this means that there are 3438 infinite series that must be summed to yield the final infinite series of the trigonometrical function.

**Correct Astronomical Models **

Subsequent members of the ‘school’ of M¯adhava did remarkable work as well, in both geometry (including trigonometry) and astronomy. This is not the occasion to recite their accomplishments, but I should remark here that, among these members, Indian astronomers attempted especially to use observations to correct astronomical models and their parameters. This began with M¯adhava’s principal pupil, a Namp¯utiri Br¯ahmana named . Parame ´svara, whose family’s illam was Va. ta ´sreni in Asvatthagr¯ama, a village about thirty-five miles northeast of Sangamagr¯ama. He observed eighteen lunar and solar eclipses between 1393 and 1432 in an attempt to correct traditional Indian eclipse theory. One pupil of Parame ´svara’s son, D¯amodara, was N¯olakantha – another Namp¯utiri Br¯ahmana, who was born in 1444, in the Kelal l¯ur illam located at Kun.dapura, which is about fifty miles northwest of A´svatthagr¯ama.

N¯ilakan.. tha made a number of observations of planetary and lunar positions and of eclipses between 1467 and 1517. N¯ilakantha presented several different sets of planetary parameters and significantly different planetary models, which, however, remained geocentric. He never indicates how he arrived at these new parameters and models, but he appears to have based them at least in large part on his own observations. For he proclaims in his Jyotirm¯im¯ams¯. a – contrary to the frequent assertion made by Indian astronomers that the fundamental siddhantas expressing the eternal rules of jyotihs. ´a¯stra are those alleged to have been composed by deities such as S¯urya –that astronomers must continually make observations so that the computed phenomena may agree as closely as possible with contemporary observations. N¯ilakan.. tha says that this may be a continuous necessity because models and parameters are not fixed, because longer periods of observation lead to more accurate models and parameters, and because improved techniques of observing and interpreting results may lead to superior solutions. This affirmation is almost unique in the history of Indian jyoti. sa; jyoti. s¯is generally seem to have merely corrected the parameters of one pak sa to make them closely corresponded to those of another.

The discoveries of the successive generations of M¯adhava’s ‘school’ continued to be studied in Kerala within a small geographical area centered on Sa . n- gamagr¯ama. The manuscripts of the school’s Sanskrit and Malay¯alam treatises, all copied in the Malay¯alam script, never traveled to another region of India; the furthest they got was Ka. tattan¯at in northern Kerala, about one hundred miles north of Sa . ngamagr¯ama, where the R¯ajakum¯ara Sa´ . nkara Varman repeated M¯adhava’s trigonometrical series in a work entitled Sadratnam¯al¯a in 1823. This was soon picked up by a British civil servant, Charles M. Whish, who published an article entitled, “On the Hind ´u Quadrature of the Circle and the Infinite Series of the Proportion of the Circumference to the Diameter in the Four Sástras, the Tantra Sangraham, Yocti Bháshá, Carana Paddhati and Sadratnamála” in Transactions of the Royal Asiatic Society, in 1830. While Whish was convinced that the Indians (he did not know of M¯adhava) had discovered calculus – a conclusion that is not true even though they successfully found the infinite series for trigonometrical functions whose derivation was closely linked with the discovery of calculus in Europe in the seventeenth century–other Europeans scoffed at the notion that the Indians could have achieved such a startling success. The proper assessment of M¯adhava’s work began only with K. Mukunda Marar and C. T. Rajagopal’s “On the Hindu Quadrature of the Circle,” published in the Journal of the Bombay Branch of the Royal Asiatic Society, in 1944.

So while the discoveries of Newton, Leibniz, and Gregory revolutionised European mathematics immediately upon their publication, those of M¯adhava, Parame ´svara, and N¯ ilakantha, made between the late fourteenth and early sixteenth centuries, became known to a handful of scholars outside of Kerala in India, Europe, America, and Japan only in the latter half of the twentieth century. This was not due to the inability of Indian jyoti. s¯is to understand the mathematics, but to the social, economic, and intellectual milieux in which they worked. The isolation of brilliant minds was not uncommon in premodern India. The exploration of the millions of surviving Sanskrit and vernacular manuscripts copied in a dozen different scripts would probably reveal a number of other Madhavas whose work deserves the attention of historians and philosophers of science. Unfortunately, few scholars have been trained to undertake the task, and the majority of the manuscripts will have crumbled in just another century or two, before those few can rescue them from oblivion.

**(From the lecture delivered in Plovdiv, in 2014)**

##### ©Ashoka Jahnavi Prasad

**Pix from Net.**

### Ashoka Jahnavi Prasad

#### Latest posts by Ashoka Jahnavi Prasad (see all)

- For Whom the Language Speaks! - October 20, 2016
- The Role of Physics in the Making of 21stCentury - October 16, 2016
- Contestations between Science and Law inthe Legal System – II - October 13, 2016