On Sizes and Distances (of the Sun and Moon) (Περὶ μεγεθῶν καὶ ἀποστημάτων [ἡλίου καὶ σελήνης], Peri megethon kai apostematon) is a text by the ancient Greek astronomer Hipparchus. It is not extant, but some of its contents have been preserved in the works of Ptolemy and his commentator Pappus of Alexandria. Several modern historians have attempted to reconstruct the methods of Hipparchus using the available texts.
Most of what is known about Hipparchus' text comes from two ancient sources: Ptolemy and Pappus. The work is also mentioned by Theon of Smyrna and others, but their accounts have proven less useful in reconstructing the procedures of Hipparchus.
In Almagest V, 11, Ptolemy writes:
This passage gives a general outline of what Hipparchus did, but provides no details. Ptolemy clearly did not agree with the methods employed by Hipparchus, and thus did not go into any detail.
The works of Hipparchus were still extant when Pappus wrote his commentary on the Almagest in the 4th century. He fills in some of the details that Ptolemy omits:
This passage provides enough details to make a reconstruction feasible. In particular, it makes clear that there were two separate procedures, and it gives the precise results of each. It provides clues with which to identify the eclipse, and says that Hipparchus used a formula "as in Theorem 12," a theorem of Ptolemy's which is extant.
Several historians of science have attempted to reconstruct the calculations involved in On Sizes and Distances. The first attempt was made by Friedrich Hultsch in 1900, but it was later rejected by Noel Swerdlow in 1969. G. J. Toomer expanded on his efforts in 1974.
Friedrich Hultsch determined in a 1900 paper that the Pappus source had been miscopied, and that the actual distance to the Sun, as calculated by Hipparchus, had been 2490 Earth radii (not 490). As in English, there is only a single character difference between these two results in Greek.
His analysis was based on a text by Theon of Smyrna which states that Hipparchus found the Sun to be 1880 times the size of the Earth, and the Earth 27 times the size of the Moon. Assuming that this refers to volumes, it follows that
Assuming that the Sun and Moon have the same apparent size in the sky, and that the Moon is 671⁄3 Earth radii distant, it follows that
This result was generally accepted for the next seventy years, until Noel Swerdlow reinvestigated the case.
Swerdlow determined that Hipparchus relates the distances to the Sun and Moon using a construction found in Ptolemy. It would not be surprising if this calculation had been originally developed by Hipparchus himself, as he was a primary source for the Almagest.
Using this calculation, Swerdlow was able to relate the two results of Hipparchus (671⁄3 for the Moon and 490 for the Sun). Obtaining this relationship exactly requires following a very precise set of approximations.
Using simple trigonometric identities gives
By parallel lines and taking t = 1, we get
By similarity of triangles,
Combining these equations gives
The values which Hipparchus took for these variables can be found in Ptolemy's Almagest IV, 9. He says Hipparchus found that the Moon measured its own circle close to 650 times, and that the angular diameter of Earth's shadow is 2.5 times that of the Moon. Pappus tells us that Hipparchus took the mean distance to the Moon to be 671⁄3. This gives:
According to Swerdlow, Hipparchus now evaluated this expression with the following roundings (the values are in sexagesimal):
it follows that
Swerdlow used this result to argue that 490 was the correct reading of the Pappus text, thus invalidating Hultsch' interpretation. While this result is highly dependent on the particular approximations and roundings used, it has generally been accepted. It leaves open, however, the question of where the lunar distance 671⁄3 came from.
Following Pappus and Ptolemy, Swerdlow suggested that Hipparchus had estimated 490 Earth radii as a minimum possible distance to the Sun. This distance corresponds to a solar parallax of 7', which may have been the maximum that he thought would have gone unnoticed (the typical resolution of the human eye is 2'). The formula obtained above for the distance to the Sun can be inverted to determine the distance to the Moon:
Using the same values as above for each angle, and using 490 earth radii as the minimum solar distance, it follows that the maximum mean lunar distance is
Toomer expanded on this by observing that as the distance to the Sun increases without bound, the formula approaches a minimum mean lunar distance:
This is close to the value later claimed by Ptolemy.
In addition to explaining the minimum lunar distance that Hipparchus achieved, Toomer was able to explain the method of the first book, which employed a solar eclipse. Pappus states that this eclipse was total in the region of the Hellespont, but was observed to be 4/5 of total in Alexandria.
If Hipparchus assumed that the Sun was infinitely distant (i.e. that "the earth has the ratio of a point and center to the sun"), then the difference in magnitude of the solar eclipse must be due entirely to the parallax of the Moon. By using observational data, he would be able to determine this parallax, and hence the distance of the Moon.
Hipparchus would have known and , the latitudes of Alexandria and the Hellespontine region, respectively. He also would have known , the declination of the Moon during the eclipse, and , which is related to the difference in totality of the eclipse between the two regions.
Crd here refers to the chord function. Since the Moon is very distant, it follows that . Using this approximation gives
With and , we only need to get . Because the eclipse was total at H, and 4/5 total at A, it follows that is 1/5 of the apparent diameter of the Sun. This quantity was well known by Hipparchus—he took it to be 1/650 of a full circle. The distance from the center of the Earth to the Moon then follows from .
Toomer determined how Hipparchus determined the chord for small angles (see Chord (geometry)). His values for the latitudes of the Hellespont (41 degrees) and Alexandria (31 degrees) are known from Strabo's work on Geography. To determine the declination, it is necessary to know which eclipse Hipparchus used.
Because he knew the value which Hipparchus eventually gave for the distance to the Moon (71 Earth radii) and the rough region of the eclipse, Toomer was able to determine that Hipparchus used the eclipse of March 14, 190 BC. This eclipse fits all the mathematical parameters very well, and also makes sense from a historical point of view. The eclipse was total in Nicaea, Hipparchus' birthplace, so he may have heard stories of it. There is also an account of it in Strabo's Ab Urbe Condita VIII.2. The declination of the Moon at this time was . Hence, using chord trigonometry, gives
Now using Hipparchus' chord tables,
This agrees well with the value of 71 Earth radii that Pappus reports.
This analysis assumed that the eclipse took place in the middle of the day, with the Sun and Moon on the meridian. But this was not the case for the eclipse of 190 BC, which took place in the early morning of February 28th. 
Assuming that these reconstructions accurately reflect what Hipparchus wrote in On Sizes and Distances, then this work was a remarkable accomplishment. This approach of setting limits on an unknown physical quantity was not new to Hipparchus (see Aristarchus of Samos. Archimedes also did the same with pi), but in those cases, the bounds reflected the inability to determine a mathematical constant to an arbitrary precision, not uncertainty in physical observations.
Hipparchus appears to have eventually resolved the contradiction between his two results. His aim in calculating the distance to the moon was to obtain an accurate value for the lunar parallax, so that he might predict eclipses with more precision. To this, he had to settle on a particular value for the distance/parallax, not a range of values.
There is some evidence that he did this. Combining the calculations of Book 2 and the account of Theon of Smyrna yields a lunar distance of 60.5 Earth radii. Doing the same with the account of Cleomedes yields a distance of 61 Earth radii. These are remarkably close to both Ptolemy's value and the modern one.
According to Toomer,