
Algebra and the Art of Calculation
Free with an account
The EPUB is free. Create a HistorIQly account and it downloads straight to your device.
Sign in to downloadCreate a free accountFree account, no card needed. Already have one? Sign in
Your account is ready — enjoy the read.
Download the EPUBFree for everyone with a HistorIQly account.
All EPUBs are in English. Translations are coming.
In early ninth-century Baghdad, Muḥammad ibn Mūsā al-Khwārizmī wrote an influential account of solving linear and quadratic equations under Caliph al-Ma’mun’s patronage. His Kitāb al-mukhtaṣar fī ḥisāb al-jabr wal-muqābala organised methods, demonstrations and practical applications. The operation al-jabr in its title gave algebra its name through later translation. His own name, Latinised in the transmission of a separate arithmetic work, gave rise to algorithm. These two histories should not be confused. Associated with the caliphal library called the House of Wisdom, he worked within Baghdad’s broader scholarly world; the institution’s precise organisation remains disputed.
“What is easiest and most useful in arithmetic, such as men constantly require in cases of inheritance, legacies, partition, lawsuits, and trade.”
c. 780–850 CE
Birth and death dates are approximate. His name connects him or his family with Khwarezm, but his birthplace and early education are uncertain. His surviving works place his scholarship in the Abbasid world under al-Ma’mun’s patronage.
2
His algebra book gave us the word 'algebra' (from <em>al-jabr</em>, meaning completion or restoration). The Latin transliteration of his own name — <em>Algoritmi</em> — gave us the word 'algorithm'. Few individuals have contributed two such fundamental terms to the vocabulary of mathematics.
2,402
His geographical treatise, <em>Kitāb Ṣūrat al-Arḍ</em> (Book of the Image of the Earth), listed coordinates for 2,402 locations — cities, mountains, seas, and islands — correcting and expanding Ptolemy's second-century Geography with data gathered across the Islamic world.
12+
His algebra book was translated into Latin in the twelfth century and influenced later European mathematical learning. His work on Hindu-Arabic numerals, transmitted via the Latin translation <em>Algoritmi de numero Indorum</em>, helped displace Roman numerals and circulate decimal place-value calculation.
Influential author on algebra, arithmetic, astronomy and geography; his name gave rise to 'algorithm'
Defining Events

The Algebra Book
Al-Khwārizmī's Kitāb al-mukhtaṣar fī ḥisāb al-jabr wal-muqābala offered a systematic treatment of standard linear and quadratic equation forms with positive quantities. Earlier traditions had methods for such problems; his influential presentation organised procedures and explained them with geometrical demonstrations. The book's practical orientation was explicit: it was designed for use in inheritance disputes, commercial transactions, land surveying, and legal judgements. The word al-jabr (restoration) described the operation of moving a subtracted term to the other side of an equation. When the book was translated into Latin in the twelfth century, al-jabr became algebra.

The Language of Number
Al-Khwārizmī's treatise on Hindu numerals — known in Latin as Algoritmi de numero Indorum — helped explain and circulate Indian decimal place-value methods in the Islamic world and, through later adaptations, in Europe. The key insight was that the position of a digit determines its value, and that a placeholder zero makes the system work. Roman numerals — MCCXLVII — are laborious to compute with. The Hindu-Arabic system he described made written arithmetic practical. The Latin text's opening word, Algoritmi (his name in transliteration), passed into medieval Latin as a common noun meaning a calculation procedure, and thence into English as 'algorithm'.

The House of Wisdom
Al-Khwārizmī spent his most productive years at the Bayt al-Ḥikma — the House of Wisdom in Baghdad — under the patronage of Caliph al-Ma'mun, the most intellectually ambitious ruler of the Abbasid dynasty. The House of Wisdom was a caliphal library; its portrayal as a vast research academy is debated. Translation and scientific inquiry flourished more broadly in Baghdad under court and private patronage. His own output reflects this breadth: he wrote on algebra, Hindu numerals, geography, astronomy, the astrolabe, sundials, and the Jewish calendar. He was not a specialist. He was the synthesiser of an age.
Timeline
Uncertain Beginnings
His name points toward Khwarezm in the lower Amu Darya region. It may identify his own origin or a family connection. His birth is conventionally placed around 780, but his birthplace, childhood and teachers cannot be recovered confidently.
Scholarship in Baghdad
Baghdad, founded in 762, developed into a major centre of administration, commerce and scholarship. Al-Khwārizmī’s work is associated with its courtly patronage, but the date and circumstances of his arrival are unknown.
Al-Ma'mun Becomes Caliph
Al-Ma’mun became the ruling caliph after al-Amin’s defeat and death in 813. He remained in Merv until his entry into Baghdad in August 819. His patronage supported scientific inquiry and translation; the preface of al-Khwārizmī’s algebra book acknowledges that encouragement.
The Algebra Book
Al-Khwārizmī completed Kitāb al-mukhtaṣar fī ḥisāb al-jabr wal-muqābala — the Compendious Book on Calculation by Completion and Balancing. He dedicated it to Caliph al-Ma'mun. The book addressed six canonical forms of linear and quadratic equations, provided worked examples, and included practical applications to inheritance law and surveying. Its organised treatment helped establish algebra as a subject that later scholars developed further; earlier equation-solving traditions remained part of that history.
Hindu Numerals
Al-Khwārizmī wrote a treatise on the Indian positional number system — the decimal system using nine digits and zero. The original Arabic text has not survived, but its twelfth-century Latin translation, beginning with the words Dixit Algoritmi ('Al-Khwārizmī says'), transmitted the Hindu-Arabic numerals to European mathematics. This system made long multiplication, division, and written calculation vastly more efficient than any existing European system.
Book of the Image of the Earth
Al-Khwārizmī's Kitāb Ṣūrat al-Arḍ revised Ptolemy's second-century Geography using Islamic-era data. It listed 2,402 geographical locations with corrected coordinates, updated the locations of rivers, mountains, coastlines, and cities, and belongs to the wider mapping activity associated with Caliph al-Ma’mun. Accounts of seventy collaborators do not establish a documented team led by al-Khwārizmī. The corrections were significant: the Mediterranean and Indian Ocean dimensions were substantially more accurate than Ptolemy's estimates.
Death of Al-Ma'mun
Caliph al-Ma'mun died on campaign in Anatolia. Al-Mu’taṣim succeeded him. Details of al-Khwārizmī’s activity after his patron’s death are sparse, and his own death is conventionally placed around 850.
Death in Baghdad
Al-Khwārizmī died in Baghdad around 850 CE. His exact burial place is unknown. The scale of his influence would not become apparent for centuries — not until his algebra book was translated into Latin by Robert of Chester in 1145 CE, not until his numerals displaced Roman numerals across Europe, not until the twentieth century, when the word 'algorithm' became the organising concept of the digital age.
Key Figures

Caliph al-Ma'mun
The seventh Abbasid Caliph (r. 813–833 CE) was arguably the most intellectually ambitious ruler of the medieval world. He expanded the House of Wisdom, funded mass translation of Greek scientific and philosophical texts, and personally engaged with mathematicians and theologians. Al-Khwārizmī dedicated his algebra book to al-Ma'mun, noting that the Caliph had encouraged him to write 'what is easiest and most useful in arithmetic'. Without al-Ma'mun's patronage, al-Khwārizmī's work might never have been written, or at least never preserved.
Euclid & Brahmagupta
Al-Khwārizmī's achievement was synthesis. His work emerged amid Greek, Indian and other mathematical traditions. Scholars debate the precise relationship of his demonstrations to Euclid, and a direct debt to Diophantus is not established. Indian arithmetic and astronomy were especially important to the materials transmitted through Baghdad; Brahmagupta’s seventh-century work provides a significant predecessor, although al-Khwārizmī’s algebra treated positive quantities. He was not working in isolation but standing at the intersection of three great mathematical traditions: Greek, Indian, and Persian — and from that confluence, constructing something new.

The Legacy of Al-Khwarizmi
The irony of al-Khwārizmī's legacy is its invisibility. Almost no one who uses the word 'algorithm' knows where it came from. Fewer still know that the algebra they learned in school descends directly from a short practical manual written in ninth-century Baghdad for the purpose of settling inheritance disputes. His name — corrupted, Latinised, eventually stripped of its context — became a technical term. The modern word algorithm now denotes procedures far beyond the arithmetic of his book, reflecting centuries of further mathematical development.
The algebra book presents utility as an explicit aim. In the opening lines of his algebra book, he wrote that he had compiled what was 'easiest and most useful in arithmetic, such as men constantly require in cases of inheritance, legacies, partition, lawsuits, and trade.' A practical man, solving practical problems — and in doing so, contributing an influential account of methods that others would develop further.
Read a dramatised reconstruction of his life and work. The first-person ePub uses the surviving books as its firmest ground, with imagined scenes clearly distinguished from a memoir that does not exist.
Get the Full Book
Read the story of Al-Khwarizmi — 8 chapters of historical narrative.
Dramatised first-person narrative; not an autobiography.