We can deduce from al-Quhi's name that he came from the village of Quh in Tabaristan. He was brought up during the period that a new dynasty was being established which would rule over Iran. The Buyid Islamic dynasty ruled in western Iran and Iraq from 945 to 1055 in the period between the Arab and Turkish conquests. The period began in 945 when Ahmad Buyeh occupied the 'Abbasid capital of Baghdad. The high point of the Buyid dynasty was during the reign of 'Adud ad-Dawlah from 949 to 983. He ruled from Baghdad over all southern Iran and most of what is now Iraq. A great patron of science and the arts, 'Adud ad-Dawlah supported a number of mathematicians at his court in Baghdad, including al-Quhi, Abu'l-Wafa and al-Sijzi.
In 969 'Adud ad-Dawlah ordered that observations be made of the winter and summer solstices in Shiraz. These observations of the winter and summer solstices were made by al-Quhi, al-Sijzi and other scientists in Shiraz during 969/970.
Sharaf ad-Dawlah was 'Adud ad-Dawlah's son and he became Caliph in 983. He continued to support mathematics and astronomy so al-Quhi remained at the court in Baghdad working for the new Caliph. Sharaf ad-Dawlah required al-Quhi to make observations of the seven planets and in order to do this al-Quhi had an observatory built in the garden of the palace in Baghdad. The instruments in the observatory were built to al-Quhi's own design and installed once the building was complete. Al-Quhi was made director of the observatory and it was officially opened in June 988.
A number of scientists were present at the opening. One in particular, the famous mathematician and astronomer Abu'l-Wafa, is worthy of mention. He was also employed at the court of Sharaf ad-Dawlah. Another who was present at the opening was Abu Ishaq al-Sabi. Al-Sabi was a high ranking official in Baghdad who was interested in mathematics. We mention later in this article correspondence between al-Quhi and al-Sabi. Some accurate observations were made but the observatory ceased work in 989 on the death of Sharaf ad-Dawlah. The Buyid dynasty was by this stage beginning to lose control of the empire. The economy was on a downward path, and rebellions in the army made the ruler's life difficult. Fine cultural activities such as an observatory took a lower priority.
Our description of al-Quhi's life has highlighted his work in astronomy. However, it is in mathematics that he is more famous, being the leading figure in a revival and continuation of Greek higher geometry in the Islamic world. The geometric problems that al-Quhi studied usually led to quadratic or cubic equations. Nasir al-Din al-Tusi described one of the problems considered by al-Quhi writing (see for example ):-
To construct a sphere segment equal in volume to a given sphere segment and equal in area to a second sphere segment - a problem similar to but more difficult than related problems solved by Archimedes - Al-Quhi constructed the two unknown lengths by intersecting an equilateral hyperbola with a parabola and rigorously discussed the conditions under which the problem is soluble.Al-Quhi's solution to the problem is given in . It is a classical style of solution using results from Euclid's Elements, Apollonius's Conics and Archimedes' On the sphere and cylinder. If a solution exists, al-Quhi showed that it will have coordinates which lie on a particular rectangular hyperbola that he has constructed. Of course, al-Quhi does not express the mathematics in these modern terms but rather in the usual classical geometry of ancient Greek mathematics. Next al-Quhi introduces the "cone of the surface" which, after many deductions, leads to showing that the solution has coordinates lying on a parabola. The problem is then beautifully solved as the intersection of the two curves.
In another treatise On the construction of an equilateral pentagon in a known square al-Quhi solves the problem given in the title again using the intersection of two conic sections, this time two hyperbolas. Although it is impossible to inscribe a regular pentagon in a square, an equilateral pentagon can be inscribed in two ways. One, which requires the solution of a quadratic equation, had been found by Abu Kamil in the ninth century. The other, which requires the solution of a quartic equation, is the one presented by al-Quhi. Details of this treatise are given in  (see the corrections and additions of ), and .
Al-Quhi also described a conic compass, a compass with one leg of variable length, for drawing conic sections in the treatise On the perfect compass :-
... he first described the method of constructing straight lines, circles, and conic sections with this compass, and then treated the theory. He concluded that one could now easily construct astrolabes, sundials and similar instruments.Indeed al-Quhi did consider the problem of constructing astrolabes in On the construction of the astrolabe. The astrolabe was an instrument used to observe altitudes, and it provided a mechanical means to transform celestial coordinates between an equatorial system and one based on the horizon. This treatise is in two Books, the first being divided into four chapters, the second book into seven chapters.
There are a number of difficult mapping problems solved by al-Quhi in this work. In particular, using a method resembling descriptive geometry, he maps circles on the sphere into the equatorial plane. After manipulation, they are mapped back again onto the sphere in a remarkable piece of visualisation. Despite the appearance of the work being of practical use in constructing an astrolabe, it would appear that al-Quhi was more interested in the mathematics for its own sake than he was in giving a practical manual.
Finally we should mention the correspondence between al-Quhi and al-Sabi which we mentioned above. It is known that there were at least six letters exchanged but only details of four survive. These are given in both Arabic and English in . Topics covered are quite varied, ranging from a discussion of what "known" means to solutions of specific problems such as the following Suppose we are given a circle and two intersecting straight lines l and m. Suppose the tangent to the circle at a point T meets l at L and m at M. How can one choose T so that TL : TM is equal to a given ratio? Perhaps the most interesting parts of the correspondence are six theorems given by al-Quhi concerning the centres of gravity of various figures. Five of the six results are correct but the sixth is false. It states that the centre of gravity of a semicircle divides the radius in the ratio 3 : 7. From this false result al-Quhi deduces the equally false result that π = 28/9. Even the best mathematicians can make mistakes!
Article by: J J O'Connor and E F Robertson