The table of chords, created by the Greek astronomer, geometer, and geographer Ptolemy in Egypt during the 2nd century AD, is a trigonometric table in Book I, chapter 11 of Ptolemy's Almagest, a treatise on mathematical astronomy. It is essentially equivalent to a table of values of the sine function. It was the earliest trigonometric table extensive enough for many practical purposes, including those of astronomy. Centuries passed before more extensive trigonometric tables were created. One such table is the Canon Sinuum created at the end of the 16th century.
A chord of a circle is a line segment whose endpoints are on the circle. Ptolemy used a circle whose diameter is 120. He tabulated the length of a chord whose endpoints are separated by an arc of n degrees, for n ranging from to 180 by increments of . In modern notation, the length of the chord corresponding to an arc of θ degrees is As θ goes from 0 to 180, the chord of a θ° arc goes from 0 to 120. For tiny arcs, the chord is to the arc angle in degrees as is to 3, or more precisely, the ratio can be made as close as desired to ≈ by making θ small enough. Thus, for the arc of °, the chord length is slightly more than the arc angle in degrees. As the arc increases, the ratio of the chord to the arc decreases. When the arc reaches 60°, the chord length is exactly equal to the number of degrees in the arc, i.e. chord 60° = 60. For arcs of more than 60°, the chord is less than the arc, until an arc of 180° is reached, when the chord is only 120. The fractional parts of chord lengths were expressed in sexagesimal numerals. For example, where the length of a chord subtended by a 112° arc is reported to be 99 29 5, it has a length of rounded to the nearest . After the columns for the arc and the chord, a third column is labeled "sixtieths". For an arc of θ°, the entry in the "sixtieths" column is This is the average number of sixtieths of a unit that must be added to chord each time the angle increases by one minute of arc, between the entry for θ° and that for °. Thus, it is used for linear interpolation. Glowatzki and Göttsche showed that Ptolemy must have calculated chords to five sexigesimal places in order to achieve the degree of accuracy found in the "sixtieths" column.
How Ptolemy computed chords
Chapter 10 of Book I of the Almagest presents geometric theorems used for computing chords. Ptolemy used geometric reasoning based on Proposition 10 of Book XIII of Euclid'sElements to find the chords of 72° and 36°. That Proposition states that if an equilateral pentagon is inscribed in a circle, then the area of the square on the side of the pentagon equals the sum of the areas of the squares on the sides of the hexagon and the decagon inscribed in the same circle. He used Ptolemy's theorem on quadrilaterals inscribed in a circle to derive formulas for the chord of a half-arc, the chord of the sum of two arcs, and the chord of a difference of two arcs. The theorem states that for a quadrilateral inscribed in a circle, the product of the lengths of the diagonals equals the sum of the products of the two pairs of lengths of opposite sides. The derivations of trigonometric identities rely on a cyclic quadrilateral in which one side is a diameter of the circle. To find the chords of arcs of 1° and ° he used approximations based on Aristarchus's inequality. The inequality states that for arcs α and β, if 0 < β < α < 90°, then Ptolemy showed that for arcs of 1° and °, the approximations correctly give the first two sexigesimal places after the integer part.
The numeral system and the appearance of the untranslated table
Lengths of arcs of the circle, in degrees, and the integer parts of chord lengths, were expressed in a base 10 numeral system that used 21 of the letters of the Greek alphabet with the meanings given in the following table, and a symbol, "∠′ ", that means and a raised circle "○" that fills a blank space. Two of the letters, labeled "archaic" in the table below, had not been in use in the Greek language for some centuries before the Almagest was written, but were still in use as numerals and musical notes. Thus, for example, an arc of ° is expressed as ρμγ∠′. The fractional parts of chord lengths required great accuracy, and were given in two columns in the table: The first column gives an integer multiple of, in the range 0–59, the second an integer multiple of = , also in the range 0–59. Thus in Heiberg's , the beginning of the table, corresponding to arcs from ° to °, looks like this: Later in the table, one can see the base-10 nature of the numerals expressing the integer parts of the arc and the chord length. Thus an arc of 85° is written as πε and not broken down into 60 + 25. The corresponding chord length is 81 plus a fractional part. The integer part begins with πα, likewise not broken into 60 + 21. But the fractional part, + , is written as δ, for 4, in the column, followed by ιε, for 15, in the column. The table has 45 lines on each of eight pages, for a total of 360 lines.