The Man From Khwarazm Whose Name Became "Algorithm"

How a scholar Khiva claims as its own gave the world algebra, algorithms, and new numerals.

📍 Khiva, Khorazm

ScienceHistory

Listen to this story, narrated, in the TourPods app.

Your first 20 stories are free — no credit card required.

Download free

Key facts

  • Muhammad ibn Musa al-Khwarizmi was born around 780 and died around 850.
  • The medieval bibliographer Ibn al-Nadim gives al-Khwarizmi's birthplace as Khwarazm, and he is generally thought to have come from that region.
  • Some scholars read the epithet al-Qutrubbulli, recorded by al-Tabari, as linking him to a district near Baghdad; Roshdi Rashed rejects this reading and David A. King accepts it.
  • Russian Wikipedia states that al-Khwarizmi was presumably born in Khiva, in the Khorezm region.
  • Uzbek Wikipedia gives Khiva as al-Khwarizmi's birthplace.
  • Al-Khwarizmi was a scholar at the House of Wisdom in Baghdad, an academy founded under the caliph al-Ma'mun.
  • Al-Khwarizmi dedicated two of his texts to the caliph al-Ma'mun.
  • The word 'algebra' comes from the title of al-Khwarizmi's book Hisab al-jabr w'al-muqabala, the calculation by completion and balancing.

Read the story

Every time your phone finds a route or sorts a playlist, it runs an algorithm. That word began as a man's name, and Khiva claims him as its own.

Muhammad ibn Musa al-Khwarizmi was born around 780. The medieval bibliographer Ibn al-Nadim placed his birth in Khwarazm, the region around this oasis, and Russian and Uzbek reference works go further, naming Khiva itself. Some scholars disagree, reading one of his epithets as pointing to a district near Baghdad.

What is certain is where he did his work: Baghdad, at the House of Wisdom, the academy that grew up under the caliph al-Ma'mun. Al-Khwarizmi dedicated two books to that patron, and one of them changed mathematics.

Its title promised calculation by al-jabr and al-muqabala, completion and balancing. Al-jabr cleared away negative terms; al-muqabala cancelled matching terms on both sides of an equation. That was the method. The motive was strikingly practical. He wrote for people dividing inheritances and legacies, settling lawsuits, conducting trade, measuring land, and digging canals. In 1145, Robert of Chester carried the book into Latin, and out of that first word, al-jabr, came algebra.

A second book taught reckoning with Hindu numerals. Its Arabic original is lost. What survived was a Latin version titled Algoritmi de numero Indorum, with his name bent into Latin as Algoritmi. That work helped carry the Hindu-Arabic numerals into Europe, and Algoritmi became algorithm.

Khwarazm was not finished producing great minds. In 973, al-Biruni was born at Kath, in the same region; he later measured a hill, watched how far the horizon dipped from its summit, and used trigonometry to calculate the radius of the Earth.

In 1983, Uzbekistan celebrated twelve hundred years since al-Khwarizmi's birth. Here in Khiva, a monument honors him. Stand before it and remember: every step-by-step recipe a machine follows still answers to the name of a man this oasis calls its own.

There are more stories where this came from — near you.

TourPods narrates the hidden history, true crime, and local lore of wherever you're standing. Your first 20 stories are free.

Download TourPods free