India and the Islamic world
The next major contribution to trigonometry came from India. In the sexagesimal system, multiplication or division by 120 (twice 60) is analogous to multiplication or division by 20 (twice 10) in the decimal system. Thus, rewriting Ptolemy’s formula as c/120 = sin B, where B = A/2, the relation expresses the half-chord as a function of the arc B that subtends it—precisely the modern sine function. The first table of sines is found in the Aryabhatiya. Its author, Aryabhata I (c. 475–550), used the word ardha-jya for half-chord, which he sometimes turned around to jya-ardha (“chord-half”); in due time he shortened it to jya or jiva. Later, when Muslim scholars translated this work into Arabic, they retained the word jiva without translating its meaning. In Semitic languages words consist mostly of consonants, the pronunciation of the missing vowels being understood by common usage. Thus jiva could also be pronounced as jiba or jaib, and this last word in Arabic means “fold” or “bay.” When the Arab translation was later translated into Latin, jaib became sinus, the Latin word for bay. The word sinus first appeared in the writings of Gherardo of Cremona (c. 1114–87), who translated many of the Greek texts, including the Almagest, into Latin. Other writers followed, and soon the word sinus, or sine, was used in the mathematical literature throughout Europe. The abbreviated symbol sin was first used in 1624 by Edmund Gunter, an English minister and instrument maker. The notations for the five remaining trigonometric functions were introduced shortly thereafter.
During the Middle Ages, while Europe was plunged into darkness, the torch of learning was kept alive by Arab and Jewish scholars living in Spain, Mesopotamia, and Persia. The first table of tangents and cotangents was constructed around 860 by Ḥabash al-Ḥāsib (“the Calculator”), who wrote on astronomy and astronomical instruments. Another Arab astronomer, al-Bāttāni (c. 858–929), gave a rule for finding the elevation θ of the Sun above the horizon in terms of the length s of the shadow cast by a vertical gnomon of height h. (For more on the gnomon and timekeeping, see sundial.) Al-Bāttāni’s rule, s = h sin (90° − θ)/sin θ, is equivalent to the formula s = h cot θ. Based on this rule he constructed a “table of shadows”—essentially a table of cotangents—for each degree from 1° to 90°. It was through al-Bāttāni’s work that the Hindu half-chord function—equivalent to the modern sine—became known in Europe.
Passage to Europe
Until the 16th century it was chiefly spherical trigonometry that interested scholars—a consequence of the predominance of astronomy among the natural sciences. The first definition of a spherical triangle is contained in Book 1 of the Sphaerica, a three-book treatise by Menelaus of Alexandria (c. 100 ce) in which Menelaus developed the spherical equivalents of Euclid’s propositions for planar triangles. A spherical triangle was understood to mean a figure formed on the surface of a sphere by three arcs of great circles, that is, circles whose centres coincide with the centre of the sphere. There are several fundamental differences between planar and spherical triangles. For example, two spherical triangles whose angles are equal in pairs are congruent (identical in size as well as in shape), whereas they are only similar (identical in shape) for the planar case. Also, the sum of the angles of a spherical triangle is always greater than 180°, in contrast to the planar case where the angles always sum to exactly 180°.
Several Arab scholars, notably Naṣīr al-Dīn al-Ṭūsī (1201–74) and al-Bāttāni, continued to develop spherical trigonometry and brought it to its present form. Ṭūsī was the first (c. 1250) to write a work on trigonometry independently of astronomy. But the first modern book devoted entirely to trigonometry appeared in the Bavarian city of Nürnberg in 1533 under the title On Triangles of Every Kind. Its author was the astronomer Regiomontanus (1436–76). On Triangles contains all the theorems needed to solve triangles, planar or spherical—although these theorems are expressed in verbal form, as symbolic algebra had yet to be invented. In particular, the law of sines is stated in essentially the modern way. On Triangles was greatly admired by future generations of scientists; the astronomer Nicolaus Copernicus (1473–1543) studied it thoroughly, and his annotated copy survives.
The final major development in classical trigonometry was the invention of logarithms by the Scottish mathematician John Napier in 1614. His tables of logarithms greatly facilitated the art of numerical computation—including the compilation of trigonometry tables—and were hailed as one of the greatest contributions to science.