Sine Tables: Computing the Heavens
The computational tools that made Indian astronomy possible
Explore how Indian mathematicians developed increasingly accurate sine tables for astronomical calculations, from Aryabhata's single-verse table in 499 CE to Madhava's nine-decimal values in the fifteenth century.
A Table on the Tip of the Tongue
In 499 CE, in the astronomical college at Kusumapura near modern Patna, a twenty-three-year-old mathematician named Aryabhata faced a practical problem. His siddhanta astronomers needed the value of the sine function at many angles, many times a day, to compute planetary positions, eclipse timings, and shadow lengths. Printing did not exist. Paper did not exist. Every working astronomer had to carry his trigonometric reference in memory, and any reference that could not be memorized could not be used. A Greek astronomer in Alexandria could walk to the library, unroll a papyrus, and consult Ptolemy's chord table. A Kusumapura astronomer riding a horse to time an eclipse in a Magadhan village had no such library.
Aryabhata's solution was startling. He divided the quadrant of ninety degrees into twenty-four equal arcs, computed the sine at each, and compressed the entire twenty-four-entry table into a single Sanskrit verse of two lines, encoded in an alphanumeric cipher he invented for the purpose. The verse begins makhi bhakhi phakhi dhakhi and proceeds through twenty more syllables. A student who memorized those two lines carried the earliest sine table in world mathematics on the tip of her tongue. This lesson is about how he built that table, and why the same architecture, precompute at fixed intervals and interpolate between them, is the foundation of every fast trigonometric computation in the modern world.
Why an Astronomer Needs Sine
Aryabhata needed sine for astronomy. To compute the position of a planet, the time of an eclipse, the length of a shadow, or the appearance of a conjunction, a Siddhanta astronomer has to convert angular quantities into linear ones. Sine is the conversion tool. But in the Indian tradition, sine was not the ratio of two sides of a right triangle. It was the half chord of a circle, the ardha-jya, the perpendicular dropped from a point on the circle to the diameter. Given a circle of radius R and an arc of angle theta, the half chord equals R times the modern sine of theta. Choose R carefully and the half chord becomes a number in minutes of arc that can be stored in a single verse.