Humans of History

from the archive · Medieval era

Al-Khwarizmi

c. 750 CE – 846 CE · mathematician · astronomer · geographer · philosopher

By The Keeper · Published
AI-assisted writing, automatically checked. Editorial process

Muhammad ibn Musa al-Khwarizmi was a mathematician, astronomer, and geographer who worked in Baghdad during the early Abbasid caliphate, roughly between 750 and 846 CE. His treatise on restoring and balancing equations gave the world the word algebra, and the Latin rendering of his name produced the word algorithm. Anyone asking who was Al-Khwarizmi is really asking where systematic equation solving and Hindu-Arabic numerals entered the mainstream of world science. Few scholars of the medieval period left a deeper mark on how humanity calculates.

Early Life

The name al-Khwarizmi points to Khwarazm, an oasis region along the lower Amu Darya river south of the Aral Sea, in territory now divided between Uzbekistan and Turkmenistan. He was born there around 750 CE, in the years when the Abbasid dynasty was seizing power from the Umayyads and shifting the center of the Islamic world eastward [1]. Almost nothing is recorded about his childhood, his family, or his early education, a silence common for scholars of that era whose biographers cared more about books than birthplaces.

Even his origins invite debate. The tenth-century bibliographer Ibn al-Nadim, whose catalogue the Fihrist remains a key source for early Islamic science, simply attaches him to Khwarazm [2]. A later copyist added the epithet al-Majusi, suggesting Zoroastrian ancestry, though the pious opening of his algebra book shows he wrote as a committed Muslim. Some historians read another epithet, al-Qutrubbulli, as evidence that his family had already settled near Baghdad, in a district famed for its vineyards, before his birth [1]. The sources allow no firm conclusion, and his nationality in any modern sense remains unknown.

What can be said with confidence is that Khwarazm sat on trade routes linking Persia, the steppe, and Central Asia, and that its people had long traditions of irrigation engineering, land survey, and commerce. A boy raised in or descended from such a milieu would have met practical arithmetic early, the kind used to split inheritances, measure fields, and settle accounts. Those exact problems fill his later mathematical writing [3].

Path to Prominence

Baghdad made him. The city was founded in 762 CE by the caliph al-Mansur, and within two generations it had become the largest intellectual marketplace west of China. Under the caliph al-Ma'mun, who reigned from 813 to 833 CE, court patronage of learning intensified around the institution remembered as the Bayt al-Hikma, or House of Wisdom, where Greek, Persian, and Indian scientific texts were collected and translated into Arabic [1]. Al-Khwarizmi worked as a scholar under al-Ma'mun's patronage, and he dedicated his algebra to the caliph in a preface that thanks him for encouraging authors to make difficult subjects useful [3].

His position was not ornamental. Ibn al-Nadim and later biographers describe him as attached to the caliph's library and active in astronomy, a discipline the court prized because it served the calendar, astrology, and the determination of prayer times and the direction of Mecca [2]. He compiled a set of astronomical tables, the Zij al-Sindhind, adapting an Indian handbook that had reached Baghdad in the 770s. The tables let a user compute planetary positions, and they mark the first substantial Arabic work of mathematical astronomy to survive in any form, though only in a later Latin translation of a revised version [4].

The court also put him to work on geography and even statecraft. One report has al-Khwarizmi traveling to the Khazars on official business, and another places him at the deathbed of the caliph al-Wathiq in 847 CE, asked to cast the ailing ruler's horoscope [1]. Whatever the truth of these anecdotes, they show a man trusted at the highest level of the Abbasid state for decades.

Major Achievements

Any list of Al-Khwarizmi achievements begins with a single book: the Kitab al-mukhtasar fi hisab al-jabr wa'l-muqabala, the Compendious Book on Calculation by Completion and Balancing, written in Baghdad around 820 CE [3]. In it he classified linear and quadratic equations into six standard types, then showed step by step how to solve each type, using the operations of al-jabr (restoring, that is, moving a subtracted quantity to the other side) and al-muqabala (balancing, canceling like terms). The word al-jabr, carried into Latin, became algebra. He worked entirely in words and geometric diagrams, without symbols, yet the book is recognizably the founding text of algebra as an independent discipline because it treats equations themselves, not particular puzzles, as the object of study [5].

The second achievement traveled under his own name. Al-Khwarizmi wrote a treatise explaining calculation with the nine Indian digits and a small circle for zero, including methods for addition, subtraction, multiplication, division, and the extraction of roots. The Arabic original is lost, but Latin adaptations produced in twelfth-century Spain, with openings such as Dixit Algorizmi (thus spoke al-Khwarizmi), spread decimal place-value arithmetic across Europe [4]. Medieval Latin writers called the new arithmetic algorismus after him, and from that word English eventually derived algorithm, the modern term for any step-by-step computational procedure [6].

His geography deserves nearly equal billing. The Kitab Surat al-Ard, the Book of the Picture of the Earth, completed around 833 CE, lists coordinates of latitude and longitude for more than two thousand localities, revising Ptolemy's data with better values, most famously a much-reduced and more accurate length for the Mediterranean Sea [7]. He also wrote on the Jewish calendar, on the astrolabe, and on sundials, and he contributed to a court project to measure the length of a degree of the meridian, an early attempt to fix the size of the Earth by direct survey [1]. Among Al-Khwarizmi facts, the range is as striking as the depth: one working lifetime produced foundational texts in algebra, arithmetic, astronomy, and geography.

Method and Purpose

Al-Khwarizmi announced his aims plainly. The algebra, he wrote in its preface, confined itself to what is easiest and most useful in arithmetic, the things people constantly need in inheritance cases, legacies, partition, lawsuits, trade, land measurement, and the digging of canals [3]. Roughly half the surviving book applies his equation methods to Islamic inheritance law, whose fractional shares generated exactly the linear problems his techniques dispatch. That practical framing shaped the discipline: algebra entered the world as a tool for judges, merchants, and surveyors before it became an abstract art.

His intellectual method blended traditions rather than inventing from nothing. From Indian astronomy he took planetary models and the decimal numerals; from Greek geometry, absorbed through translation in Baghdad, he took the habit of proving results with diagrams; from Babylonian and Persian practice he inherited procedural, recipe-like solutions [5]. Historians of mathematics have long debated the exact weight of each source, but the synthesis was his own, and the demonstrations he supplied for his quadratic solutions, completing a literal square drawn on the page, gave rule-based calculation a justification it had rarely carried before [4].

He also standardized. By reducing every quadratic problem to one of six canonical forms and prescribing a fixed procedure for each, he showed that a well-chosen classification could turn an unruly mass of problems into routine work. That insight, that hard questions yield to systematic procedure, is the thread connecting his algebra to the algorithms that now bear his name [6].

Later Years

Al-Khwarizmi remained in Baghdad through the reigns of al-Ma'mun's successors, al-Mu'tasim and al-Wathiq, as the capital's scholarly institutions continued to flourish despite political turbulence and the temporary removal of the court to Samarra [1]. His geography, datable to about 833 CE by internal evidence, and reports of service under later caliphs indicate a long, productive old age spent close to power [7].

The historian al-Tabari preserves the anecdote of his final documented act: summoned with other astrologers to attend al-Wathiq, who lay gravely ill, the group is said to have predicted the caliph would live another fifty years, only for the ruler to die within days [1]. The story, told partly at the astrologers' expense, at least confirms that al-Khwarizmi was alive and prominent in the late 840s. He died in Baghdad in 846 CE, in his nineties by the traditional reckoning of his birth around 750 CE, having outlived the caliph who first raised him to prominence by more than a decade [2].

No tomb, portrait, or physical trace of him survives, and nothing certain is known of a wife or children. As with so many scholars of the early Abbasid age, the man dissolved almost entirely into his books, which copyists in Baghdad, Cairo, and Cordoba kept alive long after the House of Wisdom itself was gone [2].

Legacy

The afterlife of his work outshines almost any other scientific legacy of the medieval world. In the twelfth century, Robert of Chester and Gerard of Cremona independently translated the algebra into Latin at Toledo and Segovia, and those versions served as Europe's algebra textbooks for roughly four centuries, shaping Fibonacci's Liber Abaci of 1202 and, through it, Renaissance mathematics [5]. The arithmetic treatise did comparable work for numbers themselves: the digits Europeans still call Arabic numerals spread westward largely through texts descending from al-Khwarizmi's manual [6].

Language keeps the score. Algebra and algorithm, two words without which modern science and computing could not describe themselves, both trace directly to this one scholar, a linguistic double honor with few parallels in intellectual history [6]. A crater on the far side of the Moon carries his name, and universities and institutes across Central Asia, Iran, and the wider world are named for him. In Uzbekistan, a statue of the scholar stands in Khiva, near his ancestral region of Khwarazm, and his image has appeared on postage stamps commemorating his approximate 1,200th anniversary [7].

Modern historians continue to argue over particulars in any Al-Khwarizmi biography: the sources of his algebra, the reliability of the epithets attached to his name, the exact contents of his lost Arabic arithmetic. What no one disputes is the shape of the outcome. A scholar from a Central Asian oasis, working in a new capital on the Tigris, organized the mathematics of three civilizations into procedures anyone could learn, and the world has been executing his instructions ever since [4].

Questions & Answers

When was Al-Khwarizmi born?
Al-Khwarizmi was born around 750 CE in Khwarazm, a region along the Amu Darya river south of the Aral Sea, in what is now Uzbekistan and Turkmenistan. The exact date is unrecorded, and details of his early life are almost entirely unknown.
What is Al-Khwarizmi famous for?
He is famous as the founder of algebra, named after the operation al-jabr in his book on solving equations, written in Baghdad around 820 CE. His treatise on Indian numerals also spread the decimal system to Europe, and the Latin form of his name gave us the word algorithm.
Where did Al-Khwarizmi work?
He worked in Baghdad under the patronage of the Abbasid caliph al-Ma'mun, associated with the House of Wisdom, the court's center for translation and research. He served later caliphs as well and died in Baghdad in 846 CE.
Did Al-Khwarizmi invent algebra?
He did not invent equation solving, which existed in Babylonian, Greek, and Indian mathematics, but he was the first to treat equations systematically as a subject of their own. His classification of six equation types and standard solution methods made algebra an independent discipline.
Why is the word algorithm named after Al-Khwarizmi?
Medieval Latin translators rendered his name as Algorizmi, and his arithmetic textbook was so influential that calculation with Hindu-Arabic numerals became known as algorismus. Over the centuries that word evolved into algorithm, meaning any step-by-step procedure for solving a problem.
What else did Al-Khwarizmi contribute besides mathematics?
He compiled the Zij al-Sindhind, an influential set of astronomical tables, and wrote the Book of the Picture of the Earth, which improved on Ptolemy's geography with corrected coordinates for over two thousand places. He also wrote on the astrolabe, sundials, and the Jewish calendar.

References

Every record in this archive is kept against verifiable sources.

  1. [1]Gerald J. Toomer. Al-Khwarizmi, Abu Ja'far Muhammad ibn Musa. Dictionary of Scientific Biography, Charles Scribner's Sons, 1973. Book
  2. [2]Ibn al-Nadim, translated by Bayard Dodge. The Fihrist of al-Nadim: A Tenth-Century Survey of Muslim Culture. Columbia University Press, 1970. Primary source
  3. [3]Frederic Rosen (editor and translator). The Algebra of Mohammed ben Musa. Oriental Translation Fund, London, 1831. Primary source
  4. [4]J. L. Berggren. Episodes in the Mathematics of Medieval Islam. Springer, 1986. Book
  5. [5]I. G. Bashmakova and G. S. Smirnova. The Beginnings and Evolution of Algebra. Mathematical Association of America, 2000. Book
  6. [6]The Editors of Encyclopaedia Britannica. al-Khwarizmi. Encyclopaedia Britannica. https://www.britannica.com/biography/al-KhwarizmiWeb
  7. [7]J. J. O'Connor and E. F. Robertson. Abu Ja'far Muhammad ibn Musa Al-Khwarizmi. MacTutor History of Mathematics Archive, University of St Andrews, 1999. https://mathshistory.st-andrews.ac.uk/Biographies/Al-Khwarizmi/Web
The permanence seal of the archive

preserved for ever

Sealed on the blockchain. Tap the seal to verify.

This record is inscribed on the Arweave blockchain, a permanent public ledger replicated across hundreds of independent machines. The copy there cannot be edited, withdrawn, or lost. It will outlast this website, its server, and its keeper.

help the keeper

Spotted an error, or hold a source the archive lacks? Every record can be corrected. Submissions are reviewed against authentic references before any change is made.

share this record

Pass this life along. The archive grows by being read.

The seal of the archive

entered into the archive

kept by The Keeper