Birth date: 
Birth place: 
Date of death: 
Place of death: 
about 780 
Baghdad (now in Iraq) 
about 850 

We know few details of Abu Ja'far Muhammad ibn Musa alKhwarizmi's life. One unfortunate effect of this lack of knowledge seems to be the temptation to make guesses based on very little evidence. In Toomer suggests that the name alKhwarizmi may indicate that he came from Khwarizm south of the Aral Sea in central Asia. He then writes: But the historian alTabari gives him the additional epithet "alQutrubbulli", indicating that he came from Qutrubbull, a district between the Tigris and Euphrates not far from Baghdad, so perhaps his ancestors, rather than he himself, came from Khwarizm ... Another epithet given to him by alTabari, "alMajusi", would seem to indicate that he was an adherent of the old Zoroastrian religion. ... the pious preface to alKhwarizmi's "Algebra" shows that he was an orthodox Muslim, so AlTabari's epithet could mean no more than that his forebears, and perhaps he in his youth, had been Zoroastrians.
However, Rashed , put a rather different interpretation on the same words by AlTabari: ... AlTabari's words should read: "Muhammad ibn Musa alKhwarizmi and alMajusi alQutrubbulli ...", (and that there are two people alKhwarizmi and alMajusi alQutrubbulli): the letter "wa" was omitted in the early copy. This would not be worth mentioning if a series of conclusions about alKhwarizmi's personality, occasionally even the origins of his knowledge, had not been drawn. In his article ( ) G J Toomer, with naive confidence, constructed an entire fantasy on the error which cannot be denied the merit of making amusing reading.
This is not the last disagreement that we shall meet in describing the life and work of alKhwarizmi. However before we look at the few facts about his life that are known for certain, we should take a moment to set the scene for the cultural and scientific background in which alKhwarizmi worked. Harun alRashid became the fifth Caliph of the Abbasid dynasty on 14 September 786, about the time that alKhwarizmi was born. Harun ruled, from his court in the capital city of Baghdad, over the Islam empire which stretched from the Mediterranean to India. He brought culture to his court and tried to establish the intellectual disciplines which at that time were not flourishing in the Arabic world. He had two sons, the eldest was alAmin while the younger was alMamun. Harun died in 809 and there was an armed conflict between the brothers. AlMamun won the armed struggle and alAmin was defeated and killed in 813. Following this, alMamun became Caliph and ruled the empire from Baghdad. He continued the patronage of learning started by his father and founded an academy called the House of Wisdom where Greek philosophical and scientific works were translated. He also built up a library of manuscripts, the first major library to be set up since that at Alexandria, collecting important works from Byzantium. In addition to the House of Wisdom, alMamun set up observatories in which Muslim astronomers could build on the knowledge acquired by earlier peoples. AlKhwarizmi and his colleagues the Banu Musa were scholars at the House of Wisdom in Baghdad. Their tasks there involved the translation of Greek scientific manuscripts and they also studied, and wrote on, algebra, geometry and astronomy. Certainly alKhwarizmi worked under the patronage of AlMamun and he dedicated two of his texts to the Caliph. These were his treatise on algebra and his treatise on astronomy. The algebra treatise Hisab aljabr w'almuqabala was the most famous and important of all of alKhwarizmi's works. It is the title of this text that gives us the word "algebra" and, in a sense that we shall investigate more fully below, it is the first book to be written on algebra. Rosen's translation of alKhwarizmi's own words describing the purpose of the book tells us that alKhwarizmi intended to teach (see also ): ... what is easiest and most useful in arithmetic, such as men constantly require in cases of inheritance, legacies, partition, lawsuits, and trade, and in all their dealings with one another, or where the measuring of lands, the digging of canals, geometrical computations, and other objects of various sorts and kinds are concerned.
This does not sound like the contents of an algebra text and indeed only the first part of the book is a discussion of what we would today recognise as algebra. However it is important to realise that the book was intended to be highly practical and that algebra was introduced to solve real life problems that were part of everyday life in the Islam empire at that time. Early in the book alKhwarizmi describes the natural numbers in terms that are almost funny to us who are so familiar with the system, but it is important to understand the new depth of abstraction and understanding here : When I consider what people generally want in calculating, I found that it always is a number. I also observed that every number is composed of units, and that any number may be divided into units. Moreover, I found that every number which may be expressed from one to ten, surpasses the preceding by one unit: afterwards the ten is doubled or tripled just as before the units were: thus arise twenty, thirty, etc. until a hundred: then the hundred is doubled and tripled in the same manner as the units and the tens, up to a thousand; ... so forth to the utmost limit of numeration.
Having introduced the natural numbers, alKhwarizmi introduces the main topic of this first section of his book, namely the solution of equations. His equations are linear or quadratic and are composed of units, roots and squares. For example, to alKhwarizmi a unit was a number, a root was x, and a square was x^{2}. However, although we shall use the now familiar algebraic notation in this article to help the reader understand the notions, AlKhwarizmi's mathematics is done entirely in words with no symbols being used. He first reduces an equation (linear or quadratic) to one of six standard forms: 1. Squares equal to roots. 2. Squares equal to numbers. 3. Roots equal to numbers. 4. Squares and roots equal to numbers; e.g. x^{2} + 10 x = 39. 5. Squares and numbers equal to roots; e.g. x^{2} + 21 = 10 x. 6. Roots and numbers equal to squares; e.g. 3 x + 4 = x^{2}.
The reduction is carried out using the two operations of aljabr and almuqabala. Here "aljabr" means "completion" and is the process of removing negative terms from an equation. For example, using one of alKhwarizmi's own examples, "aljabr" transforms x^{2} = 40 x  4 x^{2} into 5 x^{2} = 40 x. The term "almuqabala" means "balancing" and is the process of reducing positive terms of the same power when they occur on both sides of an equation. For example, two applications of "almuqabala" reduces 50 + 3 x + x^{2} = 29 + 10 x to 21 + x^{2} = 7 x (one application to deal with the numbers and a second to deal with the roots). AlKhwarizmi then shows how to solve the six standard types of equations. He uses both algebraic methods of solution and geometric methods. For example to solve the equation x^{2} + 10 x = 39 he writes : ... a square and 10 roots are equal to 39 units. The question therefore in this type of equation is about as follows: what is the square which combined with ten of its roots will give a sum total of 39? The manner of solving this type of equation is to take onehalf of the roots just mentioned. Now the roots in the problem before us are 10. Therefore take 5, which multiplied by itself gives 25, an amount which you add to 39 giving 64. Having taken then the square root of this which is 8, subtract from it half the roots, 5 leaving 3. The number three therefore represents one root of this square, which itself, of course is 9. Nine therefore gives the square.
The geometric proof by completing the square follows. AlKhwarizmi starts with a square of side x, which therefore represents x^{2} (Figure 1). To the square we must add 10x and this is done by adding four rectangles each of breadth 10/4 and length x to the square (Figure 2). Figure 2 has area x^{2} + 10 x which is equal to 39. We now complete the square by adding the four little squares each of area ^{5}/_{2} ^{5}/_{2} = ^{25}/_{4}. Hence the outside square in Fig 3 has area 4 ^{25}/_{4} + 39 = 25 + 39 = 64. The side of the square is therefore 8. But the side is of length ^{5}/_{2} + x + ^{5}/_{2} so x + 5 = 8, giving x = 3. These geometrical proofs are a matter of disagreement between experts. The question, which seems not to have an easy answer, is whether alKhwarizmi was familiar with Euclid 's Elements. We know that he could have been, perhaps it is even fair to say "should have been", familiar with Euclid 's work. In alRashid's reign, while alKhwarizmi was still young, alHajjaj had translated Euclid 's Elements into Arabic and alHajjaj was one of alKhwarizmi's colleagues in the House of Wisdom. This would support Toomer's comments in : ... in his introductory section alKhwarizmi uses geometrical figures to explain equations, which surely argues for a familiarity with Book II of Euclid 's "Elements".
Rashed writes that alKhwarizmi's: ... treatment was very probably inspired by recent knowledge of the "Elements".
However, Gandz in (see also ), argues for a very different view: Euclid 's "Elements" in their spirit and letter are entirely unknown to [alKhwarizmi]. AlKhwarizmi has neither definitions, nor axioms, nor postulates, nor any demonstration of the Euclidean kind.
I [EFR] think that it is clear that whether or not alKhwarizmi had studied Euclid 's Elements, he was influenced by other geometrical works. As Parshall writes in : ... because his treatment of practical geometry so closely followed that of the Hebrew text, Mishnat ha Middot, which dated from around 150 AD, the evidence of Semitic ancestry exists.
AlKhwarizmi continues his study of algebra in Hisab aljabr w'almuqabala by examining how the laws of arithmetic extend to an arithmetic for his algebraic objects. For example he shows how to multiply out expressions such as (a + b x) (c + d x)
although again we should emphasise that alKhwarizmi uses only words to describe his expressions, and no symbols are used. Rashed sees a remarkable depth and novelty in these calculations by alKhwarizmi which appear to us, when examined from a modern perspective, as relatively elementary. He writes : AlKhwarizmi's concept of algebra can now be grasped with greater precision: it concerns the theory of linear and quadratic equations with a single unknown, and the elementary arithmetic of relative binomials and trinomials. ... The solution had to be general and calculable at the same time and in a mathematical fashion, that is, geometrically founded. ... The restriction of degree, as well as that of the number of unsophisticated terms, is instantly explained. From its true emergence, algebra can be seen as a theory of equations solved by means of radicals , and of algebraic calculations on related expressions...
If this interpretation is correct, then alKhwarizmi was as Sarton writes: ... the greatest mathematician of the time, and if one takes all the circumstances into account, one of the greatest of all time....
In a similar vein Rashed writes : It is impossible to overstress the originality of the conception and style of alKhwarizmi's algebra...
but a different view is taken by Crossley who writes : [AlKhwarizmi] may not have been very original...
and Toomer who writes in : ... AlKhwarizmi's scientific achievements were at best mediocre.
In Gandz gives this opinion of alKhwarizmi's algebra: AlKhwarizmi's algebra is regarded as the foundation and cornerstone of the sciences. In a sense, alKhwarizmi is more entitled to be called "the father of algebra" than Diophantus because alKhwarizmi is the first to teach algebra in an elementary form and for its own sake, Diophantus is primarily concerned with the theory of numbers.
The next part of alKhwarizmi's Algebra consists of applications and worked examples. He then goes on to look at rules for finding the area of figures such as the circle and also finding the volume of solids such as the sphere, cone, and pyramid. This section on mensuration certainly has more in common with Hindu and Hebrew texts than it does with any Greek work. The final part of the book deals with the complicated Islamic rules for inheritance but require little from the earlier algebra beyond solving linear equations. AlKhwarizmi also wrote a treatise on HinduArabic numerals. The Arabic text is lost but a Latin translation, Algoritmi de numero Indorum in English AlKhwarizmi on the Hindu Art of Reckoning gave rise to the word algorithm deriving from his name in the title. Unfortunately the Latin translation (translated into English in ) is known to be much changed from alKhwarizmi's original text (of which even the title is unknown). The work describes the Hindu placevalue system of numerals based on 1, 2, 3, 4, 5, 6, 7, 8, 9, and 0. The first use of zero as a place holder in positional base notation was probably due to alKhwarizmi in this work. Methods for arithmetical calculation are given, and a method to find square roots is known to have been in the Arabic original although it is missing from the Latin version. Toomer writes : ... the decimal placevalue system was a fairly recent arrival from India and ... alKhwarizmi's work was the first to expound it systematically. Thus, although elementary, it was of seminal importance.
Seven twelfth century Latin treatises based on this lost Arabic treatise by alKhwarizmi on arithmetic are discussed in . Another important work by alKhwarizmi was his work Sindhind zij on astronomy. The work, described in detail in , is based in Indian astronomical works : ... as opposed to most later Islamic astronomical handbooks, which utilised the Greek planetary models laid out in Ptolemy 's "Almagest"...
The Indian text on which alKhwarizmi based his treatise was one which had been given to the court in Baghdad around 770 as a gift from an Indian political mission. There are two versions of alKhwarizmi's work which he wrote in Arabic but both are lost. In the tenth century alMajriti made a critical revision of the shorter version and this was translated into Latin by Adelard of Bath. There is also a Latin version of the longer version and both these Latin works have survived. The main topics covered by alKhwarizmi in the Sindhind zij are calendars; calculating true positions of the sun, moon and planets, tables of sines and tangents; spherical astronomy; astrological tables; parallax and eclipse calculations; and visibility of the moon. A related manuscript, attributed to alKhwarizmi, on spherical trigonometry is discussed in . Although his astronomical work is based on that of the Indians, and most of the values from which he constructed his tables came from Hindu astronomers, alKhwarizmi must have been influenced by Ptolemy 's work too : It is certain that Ptolemy 's tables, in their revision by Theon of Alexandria, were already known to some Islamic astronomers; and it is highly likely that they influenced, directly or through intermediaries, the form in which AlKhwarizmi's tables were cast.
AlKhwarizmi wrote a major work on geography which give latitudes and longitudes for 2402 localities as a basis for a world map. The book, which is based on Ptolemy 's Geography, lists with latitudes and longitudes, cities, mountains, seas, islands, geographical regions, and rivers. The manuscript does include maps which on the whole are more accurate than those of Ptolemy . In particular it is clear that where more local knowledge was available to alKhwarizmi such as the regions of Islam, Africa and the Far East then his work is considerably more accurate than that of Ptolemy , but for Europe alKhwarizmi seems to have used Ptolemy 's data. A number of minor works were written by alKhwarizmi on topics such as the astrolabe , on which he wrote two works, on the sundial, and on the Jewish calendar. He also wrote a political history containing horoscopes of prominent persons. We have already discussed the varying views of the importance of alKhwarizmi's algebra which was his most important contribution to mathematics. Let us end this article with a quote by Mohammad Kahn, given in : In the foremost rank of mathematicians of all time stands AlKhwarizmi. He composed the oldest works on arithmetic and algebra. They were the principal source of mathematical knowledge for centuries to come in the East and the West. The work on arithmetic first introduced the Hindu numbers to Europe, as the very name algorism signifies; and the work on algebra ... gave the name to this important branch of mathematics in the European world...
Source:School of Mathematics and Statistics University of St Andrews, Scotland
