Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Al-Khwarizmi

nounMathematicsalso Muhammad ibn Musa al-Khwarizmi, Algoritmi, Father of algebra

In one line

Al-Khwarizmi was a Baghdad mathematician whose book on equations gave algebra its name and whose Latinized name gave us the word algorithm.

Al-Khwarizmi (about 780 to about 850) was a mathematician and astronomer who worked in Baghdad under the Abbasid caliph al-Ma’mun. His book on solving equations gave the world the word algebra, and the Latin form of his name gave it the word algorithm.

Early life of al-Khwarizmi

Very little is known for certain about his life. His full name was Abu Ja’far Muhammad ibn Musa al-Khwarizmi. Most references give his birth as about 780 and his death as about 850, and the birthplace is sometimes guessed to be Baghdad. The lack of firm evidence has tempted writers to make guesses on thin grounds.

The name al-Khwarizmi points to Khwarizm, a region south of the Aral Sea in what is now Uzbekistan. The historian al-Tabari also gives him the epithet al-Qutrubbulli, which refers to a district near Baghdad, so it may have been his ancestors, not he himself, who came from Khwarizm. Al-Tabari adds a further epithet, al-Majusi, that some read as a sign of Zoroastrian forebears. One scholar argues that a letter was dropped from an early copy and that al-Tabari was actually naming two different people. The preface to his algebra shows that he was a devout Muslim.

Career and major work

Harun al-Rashid became caliph in 786, about the time al-Khwarizmi was born, and ruled from Baghdad over an empire that reached from the Mediterranean to India. His son al-Ma’mun became caliph after a war of succession ended in 813. Al-Ma’mun supported learning, founded the House of Wisdom, and built a library and observatories. Al-Khwarizmi and the Banu Musa brothers were scholars there.

Their work included translating Greek scientific manuscripts and writing on algebra, geometry and astronomy. Al-Khwarizmi worked under al-Ma’mun’s patronage and dedicated two texts to him, one on algebra and one on astronomy. The algebra treatise is the most famous of his works.

Ideas and contributions

The algebra treatise is titled Hisab al-jabr w’al-muqabala, or the Complete Book on Calculation by Completion and Balancing. Its author says he wrote it to teach what is most useful in arithmetic for inheritance, legacies, the division of property, lawsuits and trade, and for measuring land and digging canals. It was meant to be practical, and algebra served as a tool for everyday problems in the empire.

The book deals with linear and quadratic equations in one unknown. Al-Khwarizmi sorts them into six standard types, such as squares equal to roots, and shows how to reduce any equation to one of those types. Al-jabr, or completion, means moving negative terms to the other side of an equation. Al-muqabala, or balancing, means combining like terms that appear on both sides. His mathematics is written entirely in words, without symbols.

He solved the equations with rules and also proved them with geometry. For the problem of a square plus ten of its roots equal to 39, he explains how to complete a square and finds that the root is 3. The book also covers area and volume rules for circles, spheres, cones and pyramids, and ends with the complex Islamic inheritance rules, which need little more than linear equations. Readers today can follow the same ideas in algebra and geometry classes.

Al-Khwarizmi also wrote a treatise on Hindu-Arabic numerals. The Arabic original is lost, but a Latin translation, titled Algoritmi de numero Indorum, survives in a much altered form. The work describes the place-value system built on nine digits and a zero, and it gives methods for calculation. A modern historian describes it as the first systematic account of the decimal place-value system, which had only recently arrived from India. The word algorithm comes from the Latin spelling of his name in that title. Seven 12th-century Latin treatises drew on the lost Arabic text.

In astronomy he compiled a set of tables known as the Sindhind zij. It was based on an Indian astronomical work that, according to scholars, reached the Baghdad court around 770 with a political mission from India. This was unusual because most later Islamic astronomical handbooks followed the Greek models of Ptolemy.

Debates over his originality

Historians disagree about how original he was. One question is whether he knew Euclid‘s Elements, which had been translated into Arabic by a colleague at the House of Wisdom. Some experts believe his geometric proofs show Euclid’s influence. Others point out that his treatment has no definitions, axioms or postulates in the Euclidean style and that his practical geometry resembles a Hebrew text from about 150 CE and Hindu sources.

Assessments range widely. Some scholars call him one of the greatest mathematicians of his time, and one argues he deserves the title father of algebra more than the Greek mathematician Diophantus, because he taught algebra in an elementary form for its own sake. Others judge his scientific achievements to be modest. Many historians accept that his importance lies in presenting algebra as a general, teachable subject.

Legacy of al-Khwarizmi

Historians of mathematics see his algebra as a turning point. It was a unifying theory that let rational numbers, irrational numbers and geometric magnitudes all be treated as algebraic objects, a move away from the Greek view of mathematics as essentially geometry. His successors developed the idea further. About 40 years later, al-Mahani reduced geometric problems such as duplicating the cube to algebra, and Abu Kamil formed a link between al-Khwarizmi and later algebraists. Symbols did not appear in Arabic mathematics until much later.

His name lives on in two basic words of modern science. Algebra comes from al-jabr in the title of his book, and algorithm comes from the Latin form of his name. His books were translated into Latin and helped spread Hindu-Arabic numerals and Arabic methods of calculation to Europe. His work is a central example of the Islamic Golden Age, when scholars in Baghdad combined Greek, Indian and local knowledge. A statue honors him in Urgench, in the Khwarizm region where his name originates.

Key facts

  • Al-Khwarizmi was born about 780 and died about 850, and few details of his life are certain.1
  • He worked at the House of Wisdom in Baghdad under the caliph al-Ma'mun.1
  • His book Hisab al-jabr w'al-muqabala treats linear and quadratic equations and gave algebra its name.1
  • The word algorithm comes from the Latin form of his name in the title of his work on Hindu-Arabic numerals.1
  • Historians disagree about how original his work was and whether he knew Euclid.1

Related concepts

Quick checkWhy is al-Khwarizmi important to algebra?Show answer

His book on completion and balancing treated equations as a general, teachable subject. The word algebra comes from its title, and the word algorithm comes from the Latin form of his name.

Sources

  1. MacTutor History of Mathematics, Al-Khwarizmi, https://mathshistory.st-andrews.ac.uk/Biographies/Al-Khwarizmi/
  2. MacTutor History of Mathematics, Arabic mathematics: forgotten brilliance?, https://mathshistory.st-andrews.ac.uk/HistTopics/Arabic_mathematics/

Editorially reviewed by Specialty Digest Editorial TeamLast reviewed November 4, 2026Researched and drafted with AI assistanceReport an issue