Wednesday, 18 June 2025

My interview with Elon Musk

In 1999, I was between jobs. For nearly five years I had worked at Microsoft in Redmond (which is a suburb of Seattle). It rains eight months a year in Seattle, so it is one of the most beautiful cities in the world, with several lakes, always filled with water, breathtakingly green with trees everywhere, with dazzling colours in autumn, and mild winters for a city that far north – only in 1996 was there heavy snow. There are two snowcapped mountain ranges to the East and West of Seattle, called the Cascades and the Olympics respectively, and a magnificent volcano called Mt Rainier about 70miles south, which was an awesome sight on clear days. It never rained heavily in Seattle, only mild drizzles.

Microsoft was mostly a wonderful place to work, and I was astounded that I even got a job there in 1994, barely four years after reading about in the small library at my college in Srivilliputtur. The campus was beautiful, the software work was interesting and quite different than what I imagined, but by 1999, I was probably saturated, though not quite burnt out. But I was perhaps very depressed in 1999, not realizing it then, perhaps because of the weather. Ten to twelve hours of looking at a computer screen, is probably terrible for the human psyche, even with

But it was an exciting time in software, and the computer industry, because the Internet had exploded with Netscape’s browser and a few websites in 1995. The internet really started taking off in 1997. Coincidentally that was the year cellphones also became affordable. Most of the action was in Silicon Valley, in San Jose and Sunnyvale and Mountain View and Palo Alto and the various suburbs south of San Francisco. By 1999, I was reading news and essays from several websites, some of newspapers others of e-magazines. Two prominent websites were Slate and Salon. Slate was run by Microsoft, most of its staff was in Buiding E, in Redmond West campus, where I was working in the MSN group.

In August, Microsoft fired me (the official reason was that I was not good at writing software) and  after having no luck looking for jobs in Seattle, I decided to look for a job in the San Francisco Bay Area. I was also trying to write screenplays because I had become interested in screenwriting, both for movies and for TV. I even attended a screenwriters conference in LA in 1998. I sent out spec scripts to agents, which produced no responses. I was staying at a friend’s house in San Jose, when I read an essay/interview in Salon.com about a guy called Elon Musk, who had just sold his software company to Compaq, a major PC manufacturing company. He had bought a McLaren street model car (similar to a Formula 1 car, but a version which you can drive on city roads and highways). I was an F-1 fan then, so this fascinated me. Musk  was my age and he had already sold his company for 300 million dollars. The interview mentioned he was starting a new company, called X.com and it had his email address. As a lark, I sent him an email with my resume and asked for a job (I am almost never this enterprising).

Yes. Elon Musk in 1999 was planning to start a company called X.com, 25 years before he bought Twitter and renamed it X (now in 2024). This was before he even started Tesla or SpaceX.

Surprisingly, I got a response to my email inviting me to a coffee shop in Palo Alto a day later. So I went and met him. He was friendly and genial, and spoke in that same series of staccato sentences, that you see now on TV or youtube. He talked about his company, but I had no idea what his business plan was. He explained, I just didn’t understand. I had just recently read a book called “The Lexus and the Olive Tree” by Thomas Friedman, a New York Times journalist, and I had realized I knew almost nothing about the business world or finance or economics. After five years working for perhaps the world’s most famous business at that time, I felt ridiculously ignorant about money.

It was also perhaps the worst time in the history of the human race to learn about money or economics or business, because at that time, every company was trying to do everything for FREE. I had no idea where any company’s revenue would come from. The two internet company crashes in 2000 and 2001/2002 suggest that most of the venture capitalists who invested in these companies, and even those who managed or worked in these companies, had no idea where they money would come from, either. They just ran out of capital, before raking in revenue.

Musk got his coffee, I got hot chocolate, and then basically he described the job he was hiring for. It was basically managing a software team, most of the work would be testing software that the company developed. Some of it would be developing in-house tools and some probably acquiring software from other companies. Software companies spend 90% of their software effort in testing software and only 10% in actual development. Even software developers spend more than half their time fixing bugs in software that they or others wrote. Now, I had five years of software development and testing experience, but only two years was in the internet division, and they had lower standards than boxed software like Microsoft Windows or Office or SQL Server – software products that were common before the internet. And I had no experience at all buying software or even evaluating it. And I had very little experience hiring people – I had only interviewed a few candidates for hiring at Microsoft. Even as he was speaking, I realized Musk was looking for someone two levels above me. This was not suprising. Company founders look to hire top level people, not low level developers, except a very few brilliant people. So, I leaned backwards, understanding that I was underqualified for the job.

Nothing special so far. But the next few minutes have haunted me. Not immediately, but about five years later. Because while I thought the interview ended, and the disappointment in my face obvious, but hopefully not too melancholy, Musk kept talking. He didn’t finish his coffee, he was just sipping it, I had barely sipped my drink either. And he talked about several aspects of what he was visualising. Some of it was abstract and way over my head, some of it was concrete and I could grasp some of it (I don’t remember any of it). But I didn’t get an overall picture. I vaguely think it was some sort of money related software, but much more than that. But I had no real understanding of what it was. I had interviewed with several other dotcoms at this time: Calpurnia, Yodlee, Decide, PartsRiver, are some of the names I remember; for a few months I worked for decide.com, before quitting software and returning to India.

Musk just kept talking, sometimes smiling, sometimes serious. I had dismissed myself as a candidate but he hadn’t. I suspect he liked something about me, and was just hoping I would say something like, “Look just hire me now and we will figure out what I can do later.” He was looking for someone who was willing to take a career risk (after all I had emailed him, which was taking a chance). But I am not that kind of risk taker, I suppose. I also think he had some great idea for software and he just wanted to explain to a fellow geek and share the excitement, without revealing much. If I figured out what he described, he would have offered me a job.

Remember, he was not famous then. I didn’t know what Musk was hinting at.  He would go on to build PayPal, but I don’t think that’s what he described to me. PayPal is easy enough to understand. It seems that he joined PayPal and took over. According to Wikipedia, Musk had founded a banking company called X.com, which he merged with Paypal, and ran it for sometime, before Peter Thiel took over. Paypal became extremely succesful, becoming the first paymetnt alternative to credit cards and electronic transfer from brick and mortar banks. Musk started SpaceX from the money he cashed in from Paypal, and revolutionized rocket launches. And later he joined and then took over Tesla, and revolutionized the car industry.

I have no regrets that Musk didn’t hire me – I don’t know if I would have been successful. I also realized I was bored of the software industry after I returned to India, and didn’t miss writing software. I was perhaps burnt out.

1999 in my Seattle apartment

My only other encounter with a global celebrity was perhaps a sideline chat with Bill Gates at a Microsoft developer in conference in Bellevue. This was a internal company conference, for software developers, in 1996 I think. Some demos, some discussion of general strategy, but mostly a full day of talks by executives and software experts. During lunch and tea breaks, several of the star developers and execs were surrounded, mostly by fresh hires or those who really wanted to be heard. Gates was surrounded by three rings of developers, and he was hotly debating a few of them who thought Microsoft should switch to Java or something different in the Internet space. Microsoft was the most admired company by investors and most engineers outside the USA and somewhat feared but totally hated by competitors in the USA. I snatched the chance at a pause to ask him a technical question, and he dismissed it as not significant.

All my other interviews in the software industry were far less dramatic. I don’t think anyone else has become a global celebrity. Anyway, I thought this encounter might interest some readers of my blog, though not much happened.

Links


Sunday, 8 June 2025

மோகன் ஹரிஹரனின் வாழ்த்து

 மோகன் ஹரிஹரன் அறிமுகமானதும் அவருடன் நட்புண்டானதும் அவரால் பல சொற்பொழிவு வாய்ப்புகளும் இச்சமயம் சவீதா கல்லூரியில் ஆசிரியனாக வேலை கிடைத்ததையும் முன்பே இவ்வலைப்பூவில் எழுதியுள்ளேன். அவரோடு முகநூலில் வாட்சாப்பில் பல உரையாடல்கள், அங்குமிங்கும் பல பயணங்கள். 

சென்ற 2024 அக்டோபர் 5 இறைவனடி சேர்ந்தார்.

2018ல் காஞ்சி கலை உலா சென்ற போது ஒரு கோயிலில் நான் பேசும் குறும் காணொளியை முகநூலில் பகிர்ந்து, என் பிறந்தநாளுக்கு வாழ்த்தாக இந்த கவிதையையும் புனைந்து பகிர்ந்தார். இரண்டு நாள் முன்பு நினைவுத்தூண்டலாக முகநூலில் வந்தது. அவர் எழுதியதை இங்கே பகிர்ந்து கொள்கிறேன். என்னை புகழும் கவிதையாயினும் “சாத்வீக அஹங்காரம்” என்ற வகையில் இதை இங்கே பதிவேற்றுகிறேன்.

-----------------

நுனிப்புல் மேயும் கிளிகள்காள்
இங்கே வம் ,யாம் இரண்டொன்று உளரிடுவேன்!
ஆழப்படிக்க அச்சமுறும் எமக்கு
தேடிப் பிடித்துக்கொடுப்பாய் உளங்கனிந்து!
கோபுயரக் கலை உள்வாங்க,அளிப்பார் !
ஓவியப் பூச்சின் அஜந்த சூட்சமங்களறிய
காவியக் கதை பலவும் களமிறங்குவார்!
அறிவியல் காட்டில் இனம் காட்டி எமை
பரிவுடன் பாதைகாட்டி பகிர்வார் !
வான்வழி அறிவியரோ வராரஹமிஹரோ இவர்!
எடிஸனுக்கும் அடிசறுக்கும், அவரின் வால்மீகி வஷ்லவ்வென்றும்  
எலிஸன் எவர்ரென்றும், மனதின் வரலாறு என்றொரு நூலுளதென்றும்
நாட்டையழிக்கவந்தவரெல்லாம் வெள்ளையரேயுன்தொரு பொய்யுரை,
எத்தனைபல எழுத சொற்களின்றித் தவிக்கிறேன் என ஆணியுரை !
செங்கிஸ்கான் முதலாய், பாபிங்டன் உள்வந்து தேவன் ஈராக, மதறாஸப்பட்டணத்தில் பாட்டரையும் பாங்குடனே பகிர்ந்தவர் ! 

புனைவதெல்லாம் பொய்யென்பதிக் காலம்!
நினைப்பதெல்லாம் வெற்றுப் புகழ்ச்சியென
வெறும் சொற்பூவால் சாற்றுவதில்லை இப்பாமாலை
ஆண்டுயர, எம் ஆயுளில் சிலநாள் சேர்த்தளிப்பதில்
சுகமுண்டு, சிரமில்லை மனமே !
ஆண்டுயர, எம் ஆயுளில் சிலநாள் கூட்டுவது பயமில்லை மனமே !
Rangarathnam Gopu 💐💐🙏🙏

----------------

என்ன தவம் செய்தேன் மோகன் ஹரிஹரன் போல் ஒரு நண்பரை பெற. என் அப்பா இறந்த பின் அவர் ஸ்தானத்தில் சில் பெரியோர்கள் அவ்விடத்தை நிறப்ப பெற்றேன், அவர்கள் தந்தை போல் தாய்மாமன் போல் அன்போடு பொழிவது மட்டுமின்றி குருவாகவும் நண்பராகவும் அடடா ரசிகராகவும் மாற என்ன தவம் செய்தேன்.
தாயே புஷ்பா, தவம் எல்லாம், நீ செய்தாய், பலன் எல்லாம் நான் பெற்றேன்.


மோகனச் சுவை

Thursday, 24 April 2025

Aryabhata

The Genius and the Myth

He ranks with Archimedes, Euclid, Isaac Newton and Leonard Euler as one of the greatest mathematicians of the world. He began a new epoch in Indian astronomy and mathematics, that continued for more than a millenium. His book Aryabhateeyam is a masterpiece of brevity and eloquence.

But what did Aryabhata actually do? Aryabhata did NOT invent zero; or gravity; or the heliocentric system. As I wrote in my first essay, even Indian mathematics and Sanskrit scholars are stunningly ignorant of Aryabhata’s actual accomplishments. Since we are equally ignorant of almost all of ancient India’s glories, this is not specifically galling; just generally abysmal. Only Bhaskara was perhaps as popular and admired, but unlike Newton’s apple or Watt’s tea kettle, or the anecdotes of Birbal or Tenali Raman, we don’t even have popular legends about him. But we are so creative, we blame the British for this situation, decades after they left.

Ever computed a square root? Aryabhata.
Cube root? Aryabhata.
Summed up a series of numbers? Aryabhata.
Series of squares? Aryabhata.
Divided by a fraction by multiplying by its inverse? Aryabhata.
Computed the areas of triangles, circles, trapeziums? Aryabhata.
Calculated sines? Aryabhata. 

And that’s just the simple mathematics we learn in school.

Wait! Did he invent ALL of these? Ah, that’s the question. Aryabhata himself claims not a single invention. He explicitly states that “by the grace of Brahma, the precious jewel of knowledge (jnana-uttama-ratnam) has been extracted from the sea of true and false knowledge (sat-asat-jnaana-samudraat), by the boat of my intellect (sva-mati-navaa).” As Euclid compiled five centuries of geometrical discoveries of the Greeks, Aryabhata compiled several centuries of mathematical and astronomical discoveries of Indians.

Sulba sutra and Jain mathematicians knew how to compute, square roots, but Aryabhata was the first to describe the algorithm. We don’t know if cube roots were calculated earlier, his algorithm is the oldest extant. His sine calculations are considered much superior to those listed by Varahamihira. His kuttakara algorithm to find solutions is considered ingenious even today.

It is not feasible to explain his mathematical and astronomical discoveries in a magazine article for the general reader. There are excellent translations, technical papers, books that do that. This essay’s purpose is to provoke you to read them, and marvel at Aryabhata’s sva-mati-navaa. And to place Aryabhata and his work in historical context.

Manuja Grantham

The eighteen siddhantas were attributed to rishis. But every jyotisha siddhanta after Aryabhata and Varahamihira, is attributed only to men, not rishis. These arose from commenting, understanding, questioning, correcting, improving existing siddhantas and inventing or discovering new concepts. There was no fear or taboo against criticizing a mere manuja like Aryabhata or Bhaskara, rather than a rishi. This era of Mathematics and Astronomy is called “Classical” by historians. I prefer VarahaMihira’s phrase Manuja Grantha.

मुनिविरचितमिदमिति यच्चिरन्तनं साधु मनुजग्रथितम्
तुल्येऽर्थेऽक्षरभेदादमन्त्रके का विशेषोक्तिः ॥१–३॥ – बृहत्संहिता

muni-viracitam-idam-iti yat-cirantanam saadhu na manuja-grathitam
tulye-arthe-akshara-bhedaad-amantrake ko viSheshokti – BrihatSamhita 1-3

 Translation This (idam) is muni-uttered (muni-viracitam) so sacred (cirantanam) and good (saadhu). Not (na) so manuja-grathitam (man-composed) it is said (iti). If it is not a mantra (amantraka), and meaning (artha) is equal (tulye) but words different(akshara-bhedaa), what’s wrong (vishesha) with it?

Philosophically, this verse by Varahamihira, is as insightful and expressive as Kalidasa’s verse puraanamityeva na saadhu sarvam(Not everything is excellent, simply because it is ancient). 

Aryabhateeyam

The phrase Kusumapure abhyaarcitam gnaanam (knowledge respected in Kusumapura), in Aryabhateeyam hints that he lived in Kusumapura (Pataliputra or Patna). No biography or portrait of any Indian astronomer exists. The pictures of Aryabhata pervading the internet, as well as his statue, are merely artists’ imaginations. Almost all we know about him comes from his books and those of his critics and commentators, like Brahmagupta and Bhaskara I, who mentions Pandurangasvami, Latadeva and Nishanku, as pupils of Arybhata.

He composed:

(1) Aryabhateeyam in 499AD when he was 23 years old. Multiple copies survive in full form.

(2) Aryabhata Siddhanta, which is lost, and known only by quotations from commentators. In this book, Arybhata advocated midnight as the starting hour of each day, instead of sunrise, perhaps based on Surya or Romaka Siddhanta. Aryabhateeyam uses sunrise as day-beginning.

I confine this essay to Aryabhateeyam. It consists of two parts. The first, Dasha Geetika (Ten Songs), lists astronomical constants:

·        Orbital periods and Diameters of Sun, Moon, Planets

·        Number of years in a yuga, yugas in a kalpa, kalpas in a manu

·        Deviation of planets from the ecliptic

·        Epicycles, in different quadrants

·        Table of Sine differences.

 

His first verse is a salutation to Brahma - he was a scientist, but not an atheist. Almost every jyotisha who followed him begins his work with a salutation to his favorite God. Jain mathematician Mahavira begins with an invocation to his namesake, the tirthankara Vardhamana Mahavira. It may also indicate that he was updating the Paitamaha (Brahma) siddhanta, some of whose data, had become obsolete.

The second part, called AryaAshataShatam (i.e The 108 Arya verses) consits of three chapters – Ganita (Mathematics), Kaala Kriyaa (Calculating Time), and Gola (Sphere – i.e. Celestial, Sphere meaning the visible universe).

The siddhantas of later jyotishas were each nearly a thousand verses long. What Aryabhata summaries in one or two verses is explained by them with whole chapters. So cryptic and compact was Aryabhateeyam, it was impossible to understand without bhashyaas (commentaries); such was its impact, that bhaashyaas were written on it centuries after others improved upon his methods. Telugu Marathi and Malayalam commentaries followed those in Sanskrit, Arabic etc; and English translations in the colonial period, which range in appreciation from astonishment to incredulity to calumny.


1.    Ganita - Mathematics

The mathematics set forth by Aryabhata is mostly practical, not theoretical: its primary purpose is astronomy. I mention only simpler concepts in this essay.

It also varies from extremely simple to extremely complex statements, hypotheses, and algorithms.

We must understand that mathematics was not taught to school children, then as it is today; it was perhaps the most advanced of technical subjects and confined to specialists.  Arithmetic symbols familiar to us like + - x ÷ = were only introduced in fifteenth century Europe. Mathematics was not expressed in equations, but in slokas.

Aryabhata gives two line slokas like this:

त्रिभुजस्य फल शरीरं समदलकोटी भुजार्ध संवर्गः

Tribhujasya phala shareeram samadalakoti bhujaardha samvargaH.

 Bhuja means Arm. Tribhuja means three-armed or Triangle.

Translation “Multiplication (SamvargaH) of perpendicular(Samadalakoti) and half (ardha) the base(Bhuja) results (phala) in Triangle’s (Tribhuja-sya) area(Shareeram).”

A similar verse(sloka) defines the area of a circle as its half-perimeter (or half-circumference) multiplied by its half-diameter (radius) 


This is a simple algorithm, just a formula really, to calculate one value, based on known parameters. A more complex version is his algorithm for summation of a series, which includes several calculations, including for the mean of the series, and encoding an alternate algorithm! This way of stating multiple mathematical formulae is called muktaka by Bhaskara I.

Kaalakriyaa – Time

Aryabhata divided time and circles  with the same geometric units as earlier siddhantas. His major departure, was to define the four yugapadas namely krta, treta, dvaapara and kali, as of equal time; and as the time it took all the nine planets to align, or complete an integral number of revolutions around the earth. He included a biographical note, that 3600 years passed between the beginning of Kali yuga (end of Mahabharata war) and the twenty-third year of his birth. This implies that the constants in DashaGitike were based on his personal observations in that year.

This differed from the smriti definition of the first three yugapadas as four, three and two times as long as the kaliyuga, and offended the orthodox of everyone. Even his followers didn’t accept this division, but they followed his computations and algorithms, as they were significantly better than those of earlier siddhantas.



Gola – Celestial Sphere

Arybahata states that Solar and Lunar eclipses are shadows of the Moon on Earth and Earth on the Moon, respectively. He also stated that the  Sun is the only source of light, and not just planets, but even the stars only reflect sunlight.

Kadamba flower

Aryabhata used the metaphor of a kadamba-pushpa-grantha,  to explain how people and creatures in all parts of the world believe they are standing on top of the world. He introduced another metaphor, for Earth’s rotation: consider a boat-rider on the Ganga, who feels trees on the shore pass him by; whereas, in reality it is the boat that is moving. Similarly Aryabhata suggested, the earth actually rotates, and like trees on a river bank, the stars seem to revolve around it. But it was only a metaphor, not a proof.

He also explains such concepts as Ascencions of the Zodiac, Sine of Ecliptic etc. which are too technical for this essay.

The impact of Aryabhata was phenomenal. Even fervent critics could not ignore him or his works. But he launched an era of manuja grantham, and he was followed by a long line of brilliant scholars, whom we will discuss next.

-----------
This essay was first published as part of a series in Swarajya
For the entire series click this link --> Indian Astronomy and Mathematics   

References

1.      The Aryabhateeyam by Walter Eugene Clark, University of Chicago, 1930.

2.      Aryabhatiyam, translated by KV Sarma and KC Sukla, Indian National Science Academy, New Delhi, 1976.

3.      Facets of Indian Astronomy, KV Sarma, Madras.

Related Links




Friday, 11 April 2025

The Kerala School of Mathematics and the Modern Era

The Classical Era Continues

For centuries after Bhaskara, the classical era continued. The Ganita Kaumudi of Narayana Pandita is a fascinating book, with an interesting structure and several novelties. Like Mahavira, he gave both rules and a series of examples. He expanded Arybhata’s formula for sum of series of numbers, their squares, and cubes, to any arbitrary power.

Effectively, he provided the formula

(Sn)r =  [n(n+1)(n+2)…(n+r)]  / [1.2….(r+1)]   

Narayana also expanded on the meru prastaras (Pascal’s triangles) of Pingala and Hemachandra into more elaborate versions. Permuatations, combinations, areas and volumes of more compelex geometric shapes were other areas of exploration and explanation.

His famous novelty was magic squares, squares filled with numbers so that each row and column adds up to the same number. He explained procedures to create magic squares of desired sizes, how to fill them up for a given total, and certain fascinating variations, including use of negative numbers. He extended this to magic rectangles, and other figures, like squares within squares, triangles within triangles etc. He also devised many more such shapes like vajra (diamond), padma (lotus), padmavrtta(lotus circle), manDapa(canopy), sadashra (hexagon), dvaadashaashra (dodacehedron) etc filled with such numbers. These are explorations with perhaps no practical applications, especially in astronomy.

Later Jaina mathematicians Dharamanandana and Sundarasuri, continued explorations on magic squares and similar arrangements.

But from the fourteenth century, Kerala became the locus of several new siddhaantas, bhaashyas, karanas etc., that it is now called the Kerala school of mathematics. 

The Kerala school

Shortly after Aryabhata, a mathematician called Haridatta had composed a work title ParahitaGanita based on Aryabhatiyam. After that we seem to have a vaccum in Kerala until Madhava (c 1340 AD) of Sangamagrama (Kudalur in Malayalam). What followed is an astonishing continuity of the guru-shishya parampara from Govinda Bhattatiri to Rajaraja Varma.

Madhava was famous as a skilled instrument maker. Indian historians of mathematics consider him the pitamaha of the Kerala school. Perhaps his most famous contribution is sums of infinite series. To calculate the circumference (paridhi) of a circle, said Madhava, we must multiply the diameter (vyaasa) by four times one minus tri-sharaa-aadi-vishama-samkhyaa-bhaktam-rNam-svam-prtak. A phrase of compactness, which Aryabhata would have enjoyed. In other words, a sequence of odd (vishama samkhyaa) denominators (bhaktam) starting (aadi) with three (tri) and five (sharaa), negative(rNam) svam(positive) alternately(prtak). The word sharaa here is a bhutasamkhya (see third essay) word for the five arrows of Manmatha, whose archery takes precedence over Rama and Arjuna and even Tripurantaka, in this case.

     paridhi = 4 * vyaasa * (1 -1/3 + 1/5 - 1/7 + 1/9 - 1/11....)

The sum of the series in the brackets adds up to π/4, and is famous as the Gregory Leibniz series.

Madhava’s series was quoted and a proof (upapatti) also given a century later by Jyeshtadeva.

Parameshvara – Like Brahmagupta providing a sphuTam to Paitamaha Siddhaanta, Parameshvara observed that over time predictions of earlier astronomers did not agree with observed positions based on calculations. In such a situation, he observed, one must adjust one’s methods and caluclations, because planets and stars will confirm to He titled his book Drg Ganitam. This title, which means Observed Calculations,  is a popular phrase for jyotisham in south India, though the author himself has faded from public memory. His shishya NilakanTha referred to him as Paschimaam Bodhi, the western scholar.

Nilakantha Somayaaji – More unknown than even Brahmagupta, NilakanTha was a polymath like Varahamihira. He was a scholar of Shad darshana (the six philosophies of Hinduism, and also in vyaakarana, chandas, the Bhagavata and various such litereature.  He also studied Vedanga Jyotisha, Pancha Siddhaantika, Brhat Samhita etc. This historical curiosity and scholarship may have shined in other scholars, too, but in Nilakantha we have contemporary evidence. He was also a prolific composer, of several texts.

He was a friend a Sundararaja, a jyotisha of the neighboring Tamilnadu, and took the effort to compile a written list of answers for questions posed by the former, compiled into a book called Sundararaja Prashnottara. Aficionados of European science may be reminded of the extensive correspondonce of Franklin, Newton, Darwin, Humboldt etc.

A ninth century mathematician called Virasena in his commentary Dhavala gave this equation, that the sum of all powers of 1/4 is 1/3. One sees the reflection of this in Madhava’s several infinte series. Nilakantha questioned this apparent absurdity. How does the sum of this infinite series increase to that finite value(1/3), and that it reaches finite value?

He reasoned and explained it by deriving the following sequence of results


As we add more terms, argued Nilakantha, the difference between 1/3 and the powers of 1/4 become extremely small, but never zero, unless we add terms upto infinity. In the 20th century, Ramanujan reveled in such series.

Quasi Heliocentric theory NilakanTha’s questioning of an assumption of planets’ latitudes(vikshepa), and his subsequent discovery was truly astronomical, pardon the pun. From the siddhantas through Bhaskaracharya, all astronomers used a slightly different method to calculate the latitudes of Mercury (Budha) and Venus (Shukra), than they did for the other planets. This niggled most of them, as “inappropriate”, especially Bhaskara, who then consoled himself with Prthudaka Svami’s exlpanation. But NilakanTha questioned this acceptance, and modified his computation, and effectively the orbital model for these planets. He came to the conclusion that these two planets revolve around the Sun (but in his model, the Sun still revolves around the Earth). The geometrical argument is too complicated not only for this article, but even perhaps for those who are not astronomers, so I will only present a visual illustration of his model here.

Effectively, NilakanTha formulated a quasi-heliocentric theory : sun centric for inner planets, and earth centric for everything else.

Jyeshta Deva a junior of Nilakantha wrote a work called Yuktibhaasha, in Malayalam, not Sanskrit. He extensively dealt with several proofs and also developed the theory of infinetesimals to greater refinement and sophistication.

Modern Era

The modern era was introduced gradually into India, with the advent of the East India company, and the influx of European scientific discoveries it brought along. I’ll refrain from the delving into the astronomical the Europeans themselves conducted here, including the establishment of the Madras observatory, the Madras meridian, observations of Venus transit, the discovery of Helium etc.

Sawai Jaisingh’s several Jantar Mantar are perhaps the most famous observatories in India, and really belong to the modern era. He was also instrumental in commissioning translations of Euclid and Ptolemy from Persian.

The most fascinating ganaka or siddhanta acharya of the modern era was Pathani Samanta Chandrasekhar, of Orissa. Utterly unaware of the European advances in astronomy including telescopes, electricity, gravity and optics, or even of the Madras observatory, and apparently not even aware of the Kerala school, he independently discovered the quasi helio centric theory of NilakanTha Somayaji. He also made several corrections and improvements to Bhaskara’s Siddhanata, using only the naked eye, besides develiping his own new instruments. His book Siddhanta Darpana, with 2500 slokas was published by PC Ray . He is only jyotishaacharya of whom we have a genuine portrait picture. The Bhubaneshvar obseratory is named after him.


Orientalists

Sir William Jones, judge of the Supreme court of Bengal, founder of the Asiatic Society of Bengal, discoverer of the Indo-European family of languages, translator of Manu Smriti and Shakuntalam into Sanskrit, rediscoverer of Pataliputra, ad infinitum, also declared that India gave the world algebra. Why we learn in school about FaHien and Hiuen Tsang, al Beruni and ibn Batuta, but nothing of this giant of Indian scholarship, I’ll never know. Some of us Indians possess the same myopic prejudice against such European stalwarts as the haughty colonialists did of us lesser Indians. It may also be cognitive dissonance. 

The Asiatic Society and such similar institutions like the Madras Literary Society produced extraordinary scholarship about several aspects of Indian history and culture, including astronomy and mathematics. Henry Thomas Colebrooke, George Thibaut, John Playfair, Burnell, Burgess, and such other European scholars translated, analyzed and compiled the history of Indian sciences and exposed them to the world., Charles Whish, and his collaborators John Warren and George Hyne played a significant role in bringing to light the Kerala school in the early nineteenth century. This was also the period when English effectively replaced Sanskrit as the primary language of science in India. The spectacular advances brought about by the Industrial revolution, and subsequent scientific advances in Europe, and the corresponding rise of European intellectual and military supremacy, drowned out the accomplishments of Indians in the past (and other cultures as well). The rest of the world is catching up in application of technology, but is stall far behind in the curiosity and spirit that drove discoveries and inventions. That is now changing. 

European orientalists did not work in isolation. Indian pandits, like Sudhakara Dwivedi, Chidambaram Iyer, and numerous others helped translate Sanskrit texts into English, French and other languages. 

Sir William Jones

In the twentieth century scholars like Bibhutibhushan Dutta and Avdesh Narayan Singh, TS Kuppanna Sastri, KV Sarma, KS Shukla, Rangacharya and others have translated books, and given us various detailed studies of such works also. Unfortuntately, these remain confined to the small community of scientists who know Sanskrit.

KV Sarma

The future

In my first essay in these series, I presented a quiz, contrasting our ignorance of Indian scientists and their contributions versus our knowledge of European scientists. I hope some of these essays have addressed that lacuna: we know a little about Brahmagupta and Nilakantha. There was much science in the investigations of our star gazers, than taught of in our philosophy. I hope that it has provoked curiosity about Indian history, especially of science and technology, and a desire to at least seek some of this information, of which we have zero exposure in the public education system. I hope also that we as a society, try to learn about sciences of various ancient cultures, such as China, Egypt, Olmecs-Mayans, Sumeria, etc. It is fascinating that Mayans independently discovered the zero, but not the place value system, for example. And our 24 hour clock is based on Egyptian astronomy.

I am not a mathematician, an astronomer, or a historian; I don’t know Sanskrit, except for a smattering of vocabulary, especially technical and scientific. If even I can learn enough to write a series like this, what can you not do?

-----------------
This essay was first published in Swarajya magazine

For the entire series click this link --> Indian Astronomy and Mathematics   

References

1Facets of Indian astronomy, KV Sarma

2 Studies in Indian Mathematics and Astronomy (Selected articles of Kripa Shankar Shukla) – Kolachana, Mahesh, Ramasubramanian

500 Years of TantraSangraha, MS Sriram, MD Srinivas, K Ramasubramaniam, 2002

Lecture on Samanta Chandrasekhar, by Dr Prahlad Chandra Naik , Seminar in Univ of Madras, February 2011.

The Discovery of Madhava series by Whish, Ganita Bharati Vol 32, 2002

NPTEL Lectures on Indian Mathematics by Profs MD Srinivas, MS Sriram, K Ramasubramanian


Related Links


Wednesday, 9 April 2025

From Brahmagupta to Bhaskara

 India’s greatest Mathematician

If there were a contest for who was India’s greatest mathematician, who would win? But first, who would be the candidates? Srinivasa Ramanujan? Aryabhata? How about Bhaskaracharya? Why not reach far back into Vedic times? Do Baudhayana or Apastamaba qualify? Should it be a public opinion poll? Does one have to be a great mathematician himself to judge?

Did any Indian jyotisha ever raise this question? Yes! Bhaskara, the 12th century mathematician famous for Lilavati and Siddhanta Shironmani, himself considered the greatest by some mathematicians, gave such a title – Ganaka Chakra Chudamani. Not to Aryabhata or Baudhayana, but to Brahmagupta.

Brahmagupta who?! What did he do? When and where did he live? Does he have an ISRO satellite named after him? Or even a bus stand?

If there is one severely neglected, least translated, often maligned, and barely known mathematician, perhaps mathematician, in Indian history, it must be Brahmagupta. Perhaps it is because he used harsh language himself against Aryabhata, Srishena, Varahamihira and Vishnuchandra among others.

The most fervent criticism of Brahmagupta, often by self proclaimed rationalists, is that he used orthodoxy to subvert the revolutionary concepts brought out by a more logical Aryabhata. These often stem from the false belief that a "secular and heterodox” Aryabhata proposed a heliocentric theory, and that somehow Brahmagupta derailed this with orthodoxy.

ब्रह्मोक्तं गृहगणितं महता कालेन यत् खिलीभूतम् ।
अभिधीयते स्फुटं तत् जिष्णुसुत ब्रह्मगुप्तेन ॥ 1 ॥

Brahma-uktam gruha-ganitam mahataa kaalena yat khilibhootam
abhidheeyate sphuTam tat jishnu-sutam brahmaguptena 

Translation The planetary calculations (gruha-ganitam) explained (uktam) by Brahma have decayed (khilibootam) because of passage of a long (mahataa) time(kaala). Hence a correction (sphuTam) is presented (abhidheeyate) by Brahmagupta, son (sutam) of Jishnu.

This is the introductory verse in his work BraahmaSphutaSiddhaanta. I leave it to the reader to judge the orthodoxy of someone who announces that he offers a full book as a correction to the siddhanta of the Creator Brahma himself, because it has decayed with time.

The BraahmaSphutaSiddhaanta is a massive book, with 1008 stanzas arranged in 24 chapters. It became the role model for most later siddhaantas. So big was were these siddhaantas, that smaller texts called karanas and tantras were prepared for the regular use. Brahmagupta himself prepared such a karana, called  Khandakaadhyaka. 

Brahmagupta advocated observation, and use of instruments. He dedicated an entire chapter to yantras, or simple devices to observe the sky. Most of these devices were made of wood, clay and such perishable material, not complicated instruments with gears and levers and large metal bases that we associate with European astronomy after Galileo. Hence we lack even significant artifacts of the this science. Several of his observations were improvements over earlier astronomers, including Aryabhata.

Brahmagupta’s Innovations

But his innovations in mathematics are what evoked Bhaskara’s admiration. Brahmagupta gave us the mathematics of zero. Its addition, subtraction, multiplication and division. He explained negative numbers (which were written with a dot over them) and their properties. God may have created integers; Brahmagupta explained them.


 

We admire the giants of complexity like Gauss, Euler and Newton, more than the geniuses whose simple inventions wrought about giant leaps in ease. For example, the basic arithmetic signs we use were invented only just before Newton.

A Bija, by any other name

Today we call unknowns “variables” and use English letters like x,y,z or Greek letters like theta, delta, omega to represent them. But the names of unknowns varied over centuries.

 

We also call a,b etc coefficients in an equation such as ax2+bx=c. Indian algebra perhaps suffered, never successfully coining a single term for this. (To be fair, nothing in Sanskrit ever seems to possess a unique name. But fortunately, unlike Mahavishnu, most concepts have less than a thousand names). Brahmagupta himself referred to coefficients as samkhya (number) or gunaakara (multiplier). His commentator, Prthudaka Svami called it anka or prakriti.

 

Brahmagupta invented the equation (without these European operator symbols). He called it sama or samikarana. The two sides were calle pakshas, itara paksha and the apara paksha, one written above the other. He devised logical names for exponential powers above four, as pancha-gata, shad-gata etc. rather than isolated names like varga, ghana for square and cubes. With this insight, he also realized that only coefficients of like powers, which he called samaana-jaati, could be added. He arranged equations so that like powers lined up. This picture shows Prthudaka Svami’s format, based on Brahmagupta’s notation.


 

What Lavoisier did for elements, and Linnaeus for species, Brahmagupta did for algebra. 

Brahmagupta also came up with a general algorithm for solving quadratic equations, dealt with fractions of various types, cyclic quadrilaterals, used second order differences for sine calculations, and explored integer solutions for x,y for second order indeterminate equations of the type x2-by2 = k. He deviced a method called bhaavana for solving these.

Improvements and Commentaries

A number of jyotishas thrived in the centuries following Brahmagupta. No single book or school of astronomy was dominant or exclusive in India. Aryabhateeyam, BrahmSphutaSiddhanta and SuryaSiddhanta were used in parallel for several centuries, Bhaskara’s Siddantha Shiromani was based on BrahmaSphutaSiddhanta. The SuryaSiddhanta predating Varahamihira,  and the most popular siddhanta of India, was anonymously updated with several concepts discovered by Brahmagupta.

 


 

The classical era was one of thriving innovation, and saw an explosion of manuja grantham : siddhantas, bhaashyaas, vartikaas (explanations of commentaries), karanas, tantraa, and novelties like vaakya-panchaangas, a surprising number of which have been preserved, edited, published and some even translated into English in the last few centuries. Criticism, correction, observation, refinement, innovation marked this period of several centuries and across various geographies.

An interesting aside for an economist, is the variety of currencies and coins (dinara, paNaa, kaarshapaaNa, puraaNa, svarNaa) and weights (pala, krosha) and measures (angula, hasta) discussed in the various books. The primary focus is on astronomy, but every siddhanta discusses principal, interest, compounding, rate of growth, and such monetary calculations also.

Mahavira

Mahavira, the Jain mathematician who composed Ganita Saara Sangraha wrote the first mathematics book, shorn of astronomy. The structure of his book is that first two or three stanzas in each chapter explain an algorithm or formula, and the rest of the stanzas are problems of that type to be solved by the reader. His use of Jaina symbols, temples, methods of worship, calculations etc. are singular hallmarks of the book. Mahavira revels in several types of fractions:  bhaaga (simple fraction), prabhaaga( fractions of fractions), bhaagaabhaaga (complex fractions), and so on. For example, one problem posed is below:

दिवसैसत्रिभिस्सपादैरयोजनषट्कं चतुर्थभागोनम्
गच्छति यः पुरुशोसौ दिनयुतवर्षेण किं कथय

divasais-tribhis-sa-paadair-yojana-shaTkam caturta-bhaaga-unam
Gacchati yaH purusho-asau dina-yuta-varsheNa kim kathaya

Translation The man (purusha) who (asau) walks (gacchati) quarter (caturtha-bhaaga) less (unam) than six (shaTka) yojanaas in three (tribhi) and quarter (paadai) days (divasau), tell (kataya) how much (kim) he walks in a day (dina) and (yuta) a year (varsha). 

Bhaskaracharya

The Lilavati of Bhaskara, author also of Siddhanta Siromani, is famous even to those unfamiliar with mathematics, as an example of beautiful poetry, and has a popular legend around it. Like Mahavira, Bhaskara tossed in several examples from daily life to pose mathematics problems, and like Varahamihira, he reveled in his poetic talents. Lilavati is the usually only mathematics book that Sanskrit dictionaries quote. It inspired innumerable commentaries, over centuries, translation into multiple languages and became the standard textbook of Indian mathematics.

Bhaskara corrected Aryabhata’s wrong formula for the volume of a sphere, which escaped even Brahmagupta (who corrected Aryabhata’s wrong formula for volume of a tetrahedron).  He also gave correct volumes for surface area of a sphere. His metaphor of a net covering a ball (kandukasya jaalam), for sphere volume hints that he had stumbled upon the germ of the idea of infinetismals and calculus. But these fields would only develop later centuries, in Kerala.

Bhaskara also introduced the concept of kha-hara (a number divided by zero) for infinity (not just the philosophical ananta (endless).

Bhaskara was also the among the earliest to provide proofs of some of his derivations, and not leave it to commentators, or only teach students. After brief explorations by Pingala and Varahamihira, Bhaskara also explored permutations and combinations.

By Bhaskara’s time, algebra had developed into an advanced state. He acknowledges that he built on the works of his predecessors Sridhara and Padmanabha.

Historical perspective

Indian mathematicians were using irrational square roots for a thousand years and sines and cosines for several centuries before discovering negative numbers. The inspiration for negative numbers comes from commerce and the notion of debt, not any religious philosophy. It needed six centuries and a Bhaskara to correct Aryabhata’s sphere volume mistake. Bhaskara realized division by zero yields infinity, but didn’t fully grasp its consequences.

From the finite series of Aryabhata to the infinite series of Virasena took only two centuries. They discovered infinite series summed up to a finite number for six centuries before questioning it.

Just as the steam engine was invented a century before the much simpler bicycle, the history of mathematics is replete with examples of complex concepts being discovered before much simpler concepts. Astronomy inspired extraordinary mathematics, but also frequently fooled and misled the greatest of mathematicians.

------------------------
This essay was first published in a series in Swarajya magazine

For the entire series click this link --> Indian Astronomy and Mathematics   

References

BrahmaSphutaSiddhanta 1966 edited by RamSwarup Sharma; Introduction by Dr Satyaprakash

  History of Hindu mathematics, Bibhutibhushan Dutta and Avdesh Narayan Singh, 1935

4Ganita Saara Sangraha, translation by Prof Rangacharya, Presidency college, Madras, 1912

NPTEL Lectures on Indian Mathematics by Profs MD Srinivas, MS Sriram, K Ramasubramanian


Related Links


3.