There is very little information regarding al-Mahani's life. We do know a little about al-Mahani's work in astronomy from Ibn Yunus's astronomical handbook al-Zij al-Hakimi al-kabir. In this work Ibn Yunus quotes from writings by al-Mahani, which have since been lost, which describe observations which al-Mahani made between the years 853 and 866. At least we have accurate dating of al-Mahani's life from this source. Ibn Yunus writes that al-Mahani observed lunar eclipses and :-
... he calculated their beginnings with an astrolabe and that the beginnings of three consecutive eclipses were about half an hour later than calculated.The Fihrist (Index) was a work compiled by the bookseller Ibn an-Nadim in 988. It gives a full account of the Arabic literature which was available in the 10th century and in particular mentions al-Mahani, not for his work in astronomy, but rather for his work in geometry and arithmetic. However the work which al-Mahani did in mathematics may well have been motivated by various problems of an astronomical nature.
We know that some of al-Mahani's work in algebra was motivated by trying to solve problems due to Archimedes. The problem of Archimedes which he attempted to solve in a novel way was that of cutting a sphere by a plane so that the two resulting segments had volumes of a given ratio. It was Omar Khayyam, giving an important historical description of algebra, who puts al-Mahani's work into context. Omar Khayyam writes (see for example  or ):-
Al-Mahani was one of the modern authors who conceived the idea of solving the auxiliary theorem used by Archimedes in the fourth proposition of the second book of his treatise on the sphere and the cylinder algebraically. However, he was led to an equation involving cubes, squares and numbers which he failed to solve after giving it lengthy meditation. Therefore, this solution was declared impossible until the appearance of Ja'far al-Khazin who solved the equation with the help of conic sections.Omar Khayyam is quite correct to rate this work highly. It would be too easy to say that since al-Mahani has proposed a method of solution which he could not carry through then his work was of little value. However, this, as Omar Khayyam is well aware, is not so at all and the fact that al-Mahani conceived the idea of reducing problems such as duplicating the cube to problems in algebra was an important step forward.
A number of works by al-Mahani have survived, in particular commentaries which he wrote on parts of Euclid's Elements. In particular his work on ratio and irrational ratios which are contained in commentaries he gave on Books V and X of the Elements survive as does his attempt to clarify difficult parts of Book XIII. He also wrote a work which gives those 26 propositions in Book I which can be proved without using a reductio ad absurdum argument but this work has been lost. Also lost is his work attempting to improve the descriptions given by Menelaus in his Spherics.
Article by: J J O'Connor and E F Robertson