All Thinkers

Al-Khwārizmī

Muḥammad ibn Mūsā al-Khwārizmī was a Persian scholar born around 780, probably in Khwarezm, a region in what is now Uzbekistan. His family name, al-Khwārizmī, means 'from Khwarezm'. He spent most of his working life in Baghdad, the capital of the Abbasid Caliphate. Baghdad at that time was one of the world's great centres of learning. He worked at the House of Wisdom, a famous library and research centre set up by the Caliph al-Ma'mūn. Scholars there translated Greek, Persian, and Indian texts into Arabic and wrote original works of their own. Al-Khwārizmī was one of the most important scholars of his generation. He wrote on mathematics, astronomy, geography, and the calendar. His most famous book is usually called al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa'l-muqābala, or The Compendious Book on Calculation by Completion and Balancing. The word al-jabr in the title gave us the English word algebra. Another of his books explained how to calculate using the Hindu numerals from India. This book, translated into Latin centuries later, spread these numerals across Europe. We call them Arabic numerals today, but they came from India through scholars like him. He died around 850. Many of his works survive. Some exist only in later Latin translations. His influence on mathematics is hard to overstate.

Origin
Persia / Abbasid Caliphate (active in Baghdad)
Lifespan
c. 780-c. 850
Era
Islamic Golden Age
Subjects
Mathematics Algebra Islamic Golden Age Astronomy Algorithms
Why They Matter

Al-Khwārizmī matters because he helped invent two things that are everywhere in modern life: algebra and the algorithm.

Algebra, as we know it, starts with his book on al-jabr. Before him, mathematicians had solved individual equations. He gave general methods for solving whole classes of problems. He showed how to move terms from one side of an equation to the other, how to cancel equal terms, and how to reduce complex problems to simple forms. These are skills every student of algebra still learns.

The word algorithm comes from a Latin version of his name, Algoritmi. When his book on Hindu numerals was translated into Latin, readers called the method of calculation using these numerals an algorithm. Today, algorithm means any step-by-step procedure, including those used in computers. Every time a computer runs, the word al-Khwārizmī echoes.

He also matters because his story corrects a common error. Many people think mathematics goes Greek to European Renaissance, with nothing in between. In fact, for about 800 years, the Islamic world was the leading centre of mathematical work. Al-Khwārizmī is proof. His name is stamped on modern mathematics in two languages at once.

Key Ideas
1
The Birth of Algebra
2
Where 'Algorithm' Comes From
3
Baghdad and the House of Wisdom
Key Quotations
"That fondness for science, by which God has distinguished the Imām al-Ma'mūn... has encouraged me to compose a short work on Calculating by Completion and Reduction."
— Preface to The Compendious Book on Calculation by Completion and Balancing, c. 820-830
Al-Khwārizmī opens his famous book by honouring the Caliph al-Ma'mūn, who supported him. This shows that his science was supported by a ruler who loved learning. It also shows how he saw his own work: a short, clear, practical book. Not a grand philosophical statement. Just a useful guide. His humility and his clear purpose are part of why his book was so successful.
"When I considered what people generally want in calculating, I found that it always is a number."
— Preface to the Algebra, c. 820-830
Al-Khwārizmī is saying something simple but important. When people do mathematics in real life, they want an answer. A number. He built his book around that practical goal. His methods are not games. They solve real problems: how much does each child inherit, how much grain is in the storehouse, how wide is this field. This practical focus made his mathematics useful to merchants, judges, and farmers, not just to scholars. It also makes his book readable even today.
Using This Thinker in the Classroom
Problem Solving When students first learn to solve equations
How to introduce
Before starting algebra exercises, tell the story. The word algebra comes from al-jabr, an Arabic word meaning 'restoration'. It was the name of a book written in Baghdad around 820 AD. The author was al-Khwārizmī. Every time students move a number across the equals sign, they are using his method. Making this connection shows that mathematics is a human invention with a history. Students are joining a tradition that is more than 1,200 years old.
Cultural Heritage and Identity When exploring where mathematical ideas come from
How to introduce
Show students the words algebra and algorithm. Ask where they come from. Most students will guess Greek or Latin. Tell them both come from Arabic and from the name of a Persian scholar. Ask: why do we not hear this story in school? What other inventions have histories that have been forgotten? This is a gentle way to introduce the idea that knowledge has a global history, not only a European one.
Further Reading

For a first introduction, the BBC radio programme In Our Time has an episode on al-Khwārizmī that gives a good overview. The book Al-Khwarizmi: The Inventor of Algebra by Corona Brezina (Rosen, 2006) is written for younger readers. The MacTutor History of Mathematics Archive online has a solid biographical article. For a wider view of the Islamic Golden Age, Jim Al-Khalili's book The House of Wisdom (2010) includes a lively chapter on al-Khwārizmī. Al-Khalili's BBC television series Science and Islam is also a good starting point.

Key Ideas
1
Six Types of Equations
2
The Two Operations: al-jabr and al-muqābala
3
Beyond Algebra: Astronomy and Geography
Key Quotations
"I compose this work to teach the easiest and most useful in arithmetic, such as men constantly require in cases of inheritance, legacies, partition, law-suits, 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."
— Preface to the Algebra, c. 820-830
This longer quote makes al-Khwārizmī's goal completely clear. His mathematics was for society. It was for the court, the market, the farm, and the construction site. This is important for students who think of mathematics as abstract. From the beginning, algebra was a tool for the everyday world. It was the state's tool for taxation, law, and administration. It was the merchant's tool for trade. The abstraction came later. The roots were practical.
"The etymology of 'algorithm' is indeed derived from the name of al-Khwārizmī... al-Khwārizmī is thus the eponymous father of algebra and his name is immortalised in 'algorithm'."
— Roshdi Rashed, Al-Khwārizmī: The Beginnings of Algebra, 2009
This is a modern scholar explaining al-Khwārizmī's legacy. Rashed is one of the leading historians of Arabic science. He makes clear that two of the most important words in modern mathematics, algebra and algorithm, both come from al-Khwārizmī. That is an astonishing legacy for any one scholar. For students, it is a reminder that the vocabulary we use daily has a history, and that history is often from places we do not expect.
Using This Thinker in the Classroom
Critical Thinking When discussing how knowledge travels between cultures
How to introduce
Al-Khwārizmī learned from Indian and Greek sources. He wrote in Arabic. His books were translated into Latin. Latin became the language of European science. English then took vocabulary from Latin. Ask students to trace this journey. What does it tell us about how ideas move? What does it tell us about who gets credit and who does not? The story of algebra is a case study in the long, slow transmission of ideas across borders and languages.
Scientific Thinking When introducing the concept of a systematic method
How to introduce
Al-Khwārizmī's key move was to give a method. Not just an answer, but a procedure that anyone could follow to get an answer. This is the idea behind all algorithms. Give students a simple problem. Let them solve it. Then ask them to write down the steps, so someone else could follow them and get the same answer. That is what al-Khwārizmī did for equation solving. It is what computer scientists still do today. A method is more powerful than an answer, because it solves infinitely many problems.
Research Skills When teaching students to build on the work of others
How to introduce
Al-Khwārizmī did not invent algebra from nothing. He learned from Babylonian, Greek, and Indian sources. He gave them credit where he knew them. He organised, improved, and extended their work. Use him as a model of good research: learn from others, cite them, add your own contribution. The idea of the lone genius is misleading. Most great work is a careful building on what came before.
Further Reading

For a deeper look, Roshdi Rashed's Al-Khwārizmī: The Beginnings of Algebra (Saqi Books, 2009) is the leading scholarly biography in English. It includes translations of key passages. George Saliba's Islamic Science and the Making of the European Renaissance (2007) places al-Khwārizmī in the broader story of how Islamic science shaped Europe. Victor Katz's A History of Mathematics: An Introduction is an excellent textbook that treats Islamic mathematics seriously. For primary sources, Frederic Rosen's 1831 English translation of the Algebra is available free online.

Key Ideas
1
Originality and Inheritance
2
Transmission to Europe and the Colonial Erasure
3
Mathematics and Social Life
Key Quotations
"Al-jabr is the operation by which an incomplete quantity, which lacks something because of a subtraction, is completed by the addition of what is missing."
— Traditional explanation of al-jabr, based on al-Khwārizmī's usage
This is a classical explanation of what al-jabr means. The word has a concrete image behind it: restoring or completing something that is broken or incomplete. In Arabic, the same word was used for setting a broken bone. This is why, in medieval Spain, an algebrista was both a mathematician and a bone-setter. The word carries a memory of wholeness: take a broken equation and make it whole. Language preserves ideas across centuries. Every time we use the word algebra, we carry this meaning without knowing it.
"Dixit Algoritmi: laudes Deo rectori nostro atque defensori."
— Opening line of the Latin translation Liber Algoritmi de numero indorum, 12th century
This Latin sentence means 'Algoritmi said: praise to God, our ruler and defender.' It is the opening of a 12th-century Latin translation of al-Khwārizmī's book on Hindu numerals. The Arab name has become Algoritmi. Through repeated opening lines like this one, European scholars began to associate the method of calculation with the name. Over centuries, algoritmi became algorithm. The quote captures a moment of cultural transmission: a Persian scholar's name, misspelled in Latin, becoming one of the most important words in modern technology.
Using This Thinker in the Classroom
Problem Solving When students study algorithms in computer science or mathematics
How to introduce
Tell students that the word algorithm comes from al-Khwārizmī's name. Every computer program is a kind of algorithm. The idea that problems can be solved by step-by-step procedures is his legacy. Ask: what does it mean to treat a problem as a procedure? What problems can be solved this way, and what problems cannot? This is a deep question in computer science. It begins, in a sense, in 9th-century Baghdad.
Critical Thinking When studying the history of science and whose contributions get remembered
How to introduce
Until the 20th century, European textbooks often told the history of mathematics as Greek, then European. The 800 years of Islamic mathematics in between were often skipped. Al-Khwārizmī was sometimes reduced to a footnote. Ask students why this might have happened. Colonialism, orientalism, and European self-image all played a role. Compare old textbooks with new ones. This is a lesson in the history of history: who tells the story, and what gets left out.
Common Misconceptions
Common misconception

Al-Khwārizmī invented the numerals 0 through 9.

What to teach instead

He did not. The numerals came from India, where they had been developed over several centuries, especially by mathematicians like Brahmagupta. Al-Khwārizmī wrote a book explaining how to use them for calculation. His book was translated into Latin and helped the numerals spread across Europe. His role was crucial as a bridge, but he was not the inventor. The numerals are sometimes called Arabic numerals in Europe, but in Arabic they are called 'Indian numerals' (al-arqām al-hindīyah), because Arab scholars knew their Indian origin.

Common misconception

Algebra was fully developed by al-Khwārizmī in its modern form.

What to teach instead

His Algebra was a huge step, but it looks very different from modern algebra. He used words, not symbols. He did not use letters for unknowns. He did not have a zero in his algebra (though he used it in arithmetic). He did not recognise negative numbers as solutions. The symbols and abstractions we use today were added slowly by later mathematicians, including Arab, Persian, Indian, and European scholars. Algebra is a collective achievement spanning many centuries. Al-Khwārizmī started a method. He did not finish it.

Common misconception

The Islamic Golden Age was just a period of preserving and passing on Greek knowledge.

What to teach instead

This is a common but wrong view. Islamic scholars did translate Greek texts, but they also did original work of their own. Al-Khwārizmī, al-Bīrūnī, Ibn al-Haytham, Omar Khayyam, and many others made genuine new discoveries. The Islamic Golden Age lasted for about 500 years and produced major advances in algebra, optics, astronomy, medicine, and chemistry. Treating it as just a preservation period is an old prejudice. The truth is that Baghdad, Cairo, Cordoba, and Samarkand were centres of real, original science.

Common misconception

Al-Khwārizmī is 'forgotten' or unknown today.

What to teach instead

His name is in daily use in every language that uses the words algebra or algorithm. He is studied by historians of mathematics. UNESCO and various scholarly bodies celebrate his work. What is true is that his name is often not taught in schools. Students learn algebra without learning about him. That is a different problem. It is not that he is forgotten in research, but that his story has not reached the classroom as often as it should.

Intellectual Connections
In Dialogue With
Jabir ibn Hayyan
Both al-Khwārizmī and Jabir ibn Hayyan worked within the Islamic scientific tradition, though Jabir was earlier and focused on chemistry. Both show the broad scientific culture of the early Islamic world. Both wrote in Arabic and were later translated into Latin. Their names, like al-Khwārizmī's, entered European languages (Jabir became Geber). They represent different branches of the same tree of scholarship.
Influenced
Ibn Rushd
Ibn Rushd came about 300 years later but worked in the same Islamic tradition of scholarship al-Khwārizmī helped build. The practice of systematic analysis, commentary, and transmission of Greek sources, which Ibn Rushd used for philosophy, was pioneered earlier for mathematics by scholars like al-Khwārizmī. Together they show the continuity of the Islamic Golden Age across centuries and disciplines.
Develops
Pāṇini
Pāṇini's grammar of Sanskrit, written around 500 BCE, was one of the earliest formal systems of rules in human history. Al-Khwārizmī's algebra is another. Both thinkers showed that complex human activities, whether language or calculation, can be reduced to clear, systematic rules. Al-Khwārizmī also drew on Indian mathematics, part of the broader intellectual tradition that included Pāṇini's formal thinking.
Anticipates
Isaac Newton
Newton's work depended on algebra. The mathematical language he used to describe motion and gravity was built on foundations laid by al-Khwārizmī and his successors. Without algebra, calculus would have been much harder to develop. Newton stood on a long chain of mathematical shoulders. Al-Khwārizmī was near the start of that chain in its modern form.
Anticipates
Ada Lovelace
Lovelace saw that the step-by-step procedures of mathematics could be turned into instructions for a machine. This is exactly what algorithm means today. The word algorithm comes from al-Khwārizmī. Lovelace, writing a thousand years later, took the idea of a procedure to its next stage: a procedure a machine could perform. Their connection runs through the deep idea of a method that can be executed without understanding.
Complements
Srinivasa Ramanujan
Both al-Khwārizmī and Ramanujan drew on Indian mathematical traditions. Al-Khwārizmī learned from Indian sources and passed them west. Ramanujan, a thousand years later, emerged from the ongoing Indian tradition and sent his work to England. Together they show a long history of Indian mathematical influence on the world. Both were part of a global mathematical conversation that crossed languages, religions, and empires.
Further Reading

For research-level study, the Encyclopaedia of the History of Arabic Science, edited by Roshdi Rashed, is essential. J. L. Berggren's Episodes in the Mathematics of Medieval Islam is a careful technical study. The journal Historia Mathematica regularly publishes work on al-Khwārizmī and related figures. For the transmission story, Menso Folkerts has written important articles on the Latin translations of al-Khwārizmī. For a critical perspective on how European scholarship has handled Islamic mathematics, see the work of Mohammed Abattouy. The Max Planck Institute for the History of Science has several ongoing projects on al-Khwārizmī that publish freely online.