01

A scholar in the caliph's Baghdad

Very little is known about the life of Muhammad ibn Musa al-Khwarizmi. His name suggests family origins in Khwarazm, the oasis region south of the Aral Sea, and he worked in Baghdad in the early ninth century under the Abbasid caliph al-Mamun, a ruler famous for sponsoring translation and science. Later sources associate him with the House of Wisdom, though historians debate what that institution actually was, a formal academy or a looser circle of court scholars and translators. What survives with certainty is a small shelf of enormously consequential books.

Baghdad in his lifetime was the crossroads of the learned world. Greek geometry and astronomy arrived through Syriac and Arabic translation; Indian arithmetic and astronomical tables came east to west along trade and embassy routes; Persian administrative tradition supplied practical problems of taxation, inheritance and surveying. Al-Khwarizmi's genius was synthesis. He absorbed these inheritances and reorganized them into clear, teachable manuals, written in Arabic prose for working judges, merchants and officials rather than for a scholarly elite alone. That practical clarity is precisely what made the books travel so far.

02

Restoring and balancing

His most famous work, the Kitab al-Jabr wa al-Muqabala, or Book of Restoring and Balancing, gave algebra its name. It contains no symbols at all: problems and solutions are worked entirely in words, with equations reduced to standard types and quadratic cases solved by systematic procedures, often justified with geometric diagrams. The examples are deliberately practical, treating inheritance shares, commercial exchange and land measurement. Al-Khwarizmi did not invent equation-solving; Babylonian scribes, Diophantus and Indian mathematicians such as Brahmagupta preceded him. His achievement was to make the method itself the subject, a discipline with rules.

A second treatise explained calculation with the nine Indian digits and zero, the decimal place-value system we now call Hindu-Arabic numerals. The Arabic original is lost, and the work survives only in Latin versions whose opening words rendered his name as Algorizmi. From that accident of transmission, the medieval term algorism, meaning reckoning with these digits, evolved into the modern word algorithm. He also produced astronomical tables and a revised geography that corrected Ptolemy's exaggerated length of the Mediterranean, evidence of a mind applied wherever measurement mattered.

03

The long journey west

In the twelfth century, translators in Spain, including Robert of Chester and Gerard of Cremona, turned al-Khwarizmi's algebra into Latin, and his books became teaching texts in a Europe just discovering the new arithmetic. Fibonacci's influential Liber Abaci drew on the tradition al-Khwarizmi had founded. For centuries, European students learned to calculate and to solve equations from methods that had been organized in ninth-century Baghdad, a debt recorded in the very vocabulary of mathematics.

Modern historians are careful about what they claim for him. He was not a lone founder; he worked within a court, alongside other mathematicians, and much of his material was inherited. Some details repeated about his life, including his supposed dates, are conventions rather than documented facts. But the judgment of the discipline stands: by turning scattered techniques into a systematic art of restoring and balancing, al-Khwarizmi marks the point where algebra becomes a subject in its own right, and his accidental gift of the word algorithm now names the defining tool of our age.