Al-Khwarizmi
Al-Khwarizmi gave the world two words it still uses every day, and most people who say them have no idea. The word algebra comes from the title of one of his books. The word algorithm comes from the Latinized form of his own name. He was born around 780 and worked during the Islamic Golden Age, producing works in mathematics, astronomy, and geography written entirely in Arabic. Around 820 he was at the House of Wisdom in Baghdad, the capital of the Abbasid Caliphate. Yet for a man whose ideas shaped how Europe would count and calculate, almost nothing about his life is known with certainty. Who was he, and where did he come from? How did a treatise compiled in Baghdad become the principal mathematics textbook of European universities for centuries? And why do the words digit, algorism, and algorithm all trace back to a single scholar?
Ibn al-Nadim, whose Al-Fihrist includes a short biography and a list of his books, gives his birthplace as Khwarazm. His name means 'from Khwarazm', a region that was part of Greater Iran and is now part of Turkmenistan and Uzbekistan. He was of Persian stock, probably Khwarezmian, yet he wrote his scientific works entirely in Arabic despite his non-Arabic origin. Al-Tabari recorded his name as Muhammad ibn Musa al-Khwarizmi al-Majusi al-Qutrubbulli, and that string of epithets has caused centuries of confusion. The epithet al-Qutrubbulli could suggest he came from Qutrubbul, near Baghdad. David A. King affirms this nisba, noting he was called al-Qutrubbulli because he was born just outside of Baghdad. Roshdi Rashed disagrees entirely, arguing the citation should be read as naming two separate people, with the Arabic word for 'and' dropped in an early copy. The epithet al-Majusi seemed to mark him as an adherent of the old Zoroastrian religion. But Toomer points to the pious preface of his Algebra as proof he was an orthodox Muslim. Toomer suggests the epithet meant only that his forebears, and perhaps he in his youth, had been Zoroastrians. Even his identity is contested. Douglas Morton Dunlop suggested he might have been the same person as Muhammad ibn Musa ibn Shakir, eldest of the three Banu Musa brothers.
Around 820 CE, al-Khwarizmi was appointed astronomer and head of the library of the House of Wisdom, an institution established by the Abbasid Caliph al-Ma'mun. After the Muslim conquest of Persia, Baghdad had become the centre of scientific studies and trade. He accomplished most of his work between 813 and 833, studying sciences and mathematics and translating Greek and Sanskrit scientific manuscripts. Beyond mathematics, he was also a historian, cited by figures such as al-Tabari and Ibn Abi Tahir. His reach extended into diplomacy as well. During the reign of al-Wathiq, he is said to have been involved in the first of two embassies to the Khazars. The patronage of al-Ma'mun did more than fund a library. It encouraged the very book that would carry his name into the languages of Europe.
Al-Jabr, whose full title translates as The Compendious Book on Calculation by Completion and Balancing, was written approximately 820 CE with the encouragement of Caliph al-Ma'mun. It was a popular work, replete with examples drawn from trade, surveying, and legal inheritance. It presented the first systematic solution of linear and quadratic equations, and showed how to solve quadratic equations by completing the square, with geometric justifications. The word algebra comes from al-jabr, meaning restoration, the act of adding a number to both sides of an equation to consolidate or cancel terms. His method reduced every equation to one of six standard forms, then applied two operations: al-jabr, the restoring, and al-muqabala, the balancing. Al-jabr removes negative units, roots, and squares by adding the same quantity to each side. Al-muqabala brings quantities of the same type to the same side. In his day most modern notation had not yet been invented, so he worked in ordinary text. Even numbers were written out in words rather than symbols. Solomon Gandz called him more entitled to be the father of algebra than Diophantus, because he was the first to teach algebra in an elementary form and for its own sake. Victor J. Katz noted his work, written in Baghdad around 825, is the first true algebra text still extant. Roshdi Rashed and Angela Armstrong observed that his text introduces the idea of an equation for its own sake from the very beginning. A unique Arabic copy is kept at Oxford and was translated in 1831 by F. Rosen.
On the Calculation with Hindu Numerals, written about 825, spread the Hindu-Arabic numeral system throughout the Middle East and Europe. His arithmetic writings include kitab al-hisab al-hindi, the Book of Indian computation, and perhaps a more elementary text on addition and subtraction in Indian arithmetic. These texts described algorithms on decimal numbers that could be carried out on a dust board, called takht in Arabic. A board covered with a thin layer of dust or sand let figures be written with a stylus and easily erased. His algorithms were used for almost three centuries, until replaced by Al-Uqlidisi's algorithms that worked with pen and paper. The original Arabic of this work is lost, surviving only in Latin translations. Four Latin adaptations survive, none believed to be a literal translation, including Dixit Algorizmi, meaning 'Thus spake Al-Khwarizmi'. That manuscript sits in the University of Cambridge library, attributed to Adelard of Bath, who had translated the astronomical tables in 1126. His Latinized name, Algorismus, became the name of the method itself, gradually replacing the abacus-based methods used in Europe. Both 'algorithm' and 'algorism' descend from the Latinized forms of his name, Algoritmi and Algorismi.
His Zij as-Sindhind, the astronomical tables of Siddhanta, contains roughly 37 chapters and 116 tables of calendrical, astronomical, and astrological data, plus a table of sine values. The word Sindhind is a corruption of the Sanskrit Siddhanta, the usual designation of an astronomical textbook. The mean motions in his tables derive from the corrected Brahmasiddhanta of Brahmagupta. The tables track the movements of the Sun, Moon, and the five planets known at the time. The original Arabic, written about 820, is lost. A version by the Spanish astronomer Maslama al-Majriti, made around 1000, survives in a Latin translation. Four surviving manuscripts of that Latin translation are kept at the Bibliotheque publique in Chartres, the Bibliotheque Mazarine in Paris, the Biblioteca Nacional in Madrid, and the Bodleian Library in Oxford. His astronomical tables became essential tools for later generations, enabling calculations to predict eclipses and the positions of celestial bodies, crucial for navigation and timekeeping. The same Zij carried tables for the trigonometric functions of sine and cosine, and a related treatise on spherical trigonometry is attributed to him. He produced accurate sine and cosine tables.
Kitab Surat al-Ard, the Book of the Description of the Earth, was finished in 833 as a major reworking of Ptolemy's second-century Geography. It lists 2402 coordinates of cities and other geographical features following a general introduction. One surviving copy is kept at the Strasbourg University Library, with a Latin translation at the Biblioteca Nacional de Espana in Madrid. He assisted a project to determine the circumference of the Earth and to make a world map for the caliph al-Ma'mun, overseeing 70 geographers. He corrected Ptolemy's gross overestimate for the length of the Mediterranean Sea from the Canary Islands to its eastern shores. Ptolemy had estimated it at 63 degrees of longitude; al-Khwarizmi almost correctly estimated nearly 50 degrees. He depicted the Atlantic and Indian Oceans as open bodies of water, not the land-locked seas Ptolemy had drawn. Neither the Arabic copy nor the Latin translation includes the map of the world. Hubert Daunicht reconstructed the missing map from the list of coordinates, reading the latitudes and longitudes of coastal points, transferring them onto graph paper, and connecting them with straight lines. His Prime Meridian at the Fortunate Isles sat around 10 degrees east of the line used by Marinus and Ptolemy. Most medieval Muslim gazetteers continued to use his prime meridian.
Robert of Chester translated Al-Jabr into Latin at Segovia in 1145, under the title Liber algebrae et almucabala, and Gerard of Cremona produced his own version. That book was used until the 16th century as the principal mathematical textbook of European universities. The reach of his work was not limited to algebra and arithmetic. He wrote a treatise on the Hebrew calendar describing the Metonic cycle, a 19-year intercalation cycle, and rules for determining the day of the week on which Tishrei begins. Ibn al-Nadim's Al-Fihrist mentions his Kitab al-Tarikh, a book of annals; no direct manuscript survives, but a copy had reached Nusaybin by the 11th century, where the metropolitan bishop Mar Elias bar Shinaya found it and quoted it. Scattered manuscripts in Berlin, Istanbul, Tashkent, Cairo, and Paris hold further material likely his, including a paper on sundials and one on determining the direction of Mecca. He wrote two books on using and constructing astrolabes. His name now circles places he never saw: a crater on the far side of the Moon bears his name, and so do two main-belt asteroids, one discovered in 1986 and one in 1997.
Continue Browsing
Common questions
Who was Al-Khwarizmi and why is he called the father of algebra?
Al-Khwarizmi was a mathematician born around 780 who worked during the Islamic Golden Age, producing Arabic-language works in mathematics, astronomy, and geography. He has been described as the father or founder of algebra because he was the first to treat algebra as an independent discipline and introduced the methods of reduction and balancing. Solomon Gandz argued he was more entitled to the title than Diophantus because he was the first to teach algebra in an elementary form and for its own sake.
Where does the word algorithm come from in relation to Al-Khwarizmi?
The word algorithm comes from the Latinized forms of Al-Khwarizmi's name, Algoritmi and Algorismi. His Latinized name Algorismus became the name of the method used for computations in Europe. Both algorithm and algorism derive from his name, while the word algebra comes from the title of his book Al-Jabr.
What did Al-Khwarizmi write in his book Al-Jabr?
Al-Jabr, fully titled The Compendious Book on Calculation by Completion and Balancing, was written approximately 820 CE and presented the first systematic solution of linear and quadratic equations. It showed how to solve quadratic equations by completing the square with geometric justifications, and used the operations al-jabr (restoration) and al-muqabala (balancing). It was replete with examples drawn from trade, surveying, and legal inheritance.
Where was Al-Khwarizmi from and what was his background?
Ibn al-Nadim gives Al-Khwarizmi's birthplace as Khwarazm, a region that was part of Greater Iran and is now part of Turkmenistan and Uzbekistan. He was of Persian stock, probably Khwarezmian, and his name means 'from Khwarazm'. Despite his non-Arabic origin, he wrote his scientific works entirely in Arabic.
What did Al-Khwarizmi do at the House of Wisdom in Baghdad?
Around 820 CE, Al-Khwarizmi was appointed astronomer and head of the library of the House of Wisdom in Baghdad, an institution established by the Abbasid Caliph al-Ma'mun. He studied sciences and mathematics and translated Greek and Sanskrit scientific manuscripts. He accomplished most of his work between 813 and 833.
What were Al-Khwarizmi's contributions to astronomy and geography?
Al-Khwarizmi produced the Zij as-Sindhind, astronomical tables with roughly 37 chapters and 116 tables covering the movements of the Sun, Moon, and five known planets, along with sine and cosine tables. In geography, his Kitab Surat al-Ard, finished in 833, listed 2402 coordinates and reworked Ptolemy's Geography, correcting Ptolemy's overestimate of the Mediterranean's length to nearly 50 degrees of longitude. He also oversaw 70 geographers in making a world map for the caliph al-Ma'mun.
All sources
72 references cited across the entry
- 1NewsMonument to Muhammad al-Khwarizmi erected in MadridNovember 26, 2020
- 2BookDictionary of Scientific BiographyGerald J. Toomer — Scribner — 1970–1980
- 3BookThe Encyclopaedia of IslamJuan Vernet — Brill — 1960–2005
- 6BookThe Art of Computer ProgrammingDonald Knuth — Addison-Wesley — 1997
- 7BookThe Voyage and the Messenger: Iran and PhilosophyHenry Corbin — North Atlantic — 1998
- 8JournalStages in the History of Algebra with Implications for TeachingVictor J. Katz
- 9BookThe Oxford History of IslamJohn L. Esposito — Oxford University Press — 6 April 2000
- 10AlgebraSonja Brentjes — 1 June 2007
- 11BookAlgorithms in Modern Mathematics and Computer ScienceDonald Knuth — Springer-Verlag — 1979
- 12JournalThe Origin of the Term "Algebra"Solomon Gandz — 1926
- 13Struik (1987) p. 93Struik — 1987
- 14BookHistory of the ArabsPhilip Khuri Hitti — Palgrave Macmillan — 2002
- 15BookA History of the Islamic WorldFred James Hill et al. — Hippocrene — 2003
- 16Al-KhwarizmiShawn Overbay et al. — University of Kentucky
- 18Arndt (1983) p. 669Arndt — 1983
- 19JournalFrom Al-Khwarizmi to AlgorithmBahman Mehri — Vilinus University — 2017
- 20BookThe Oxford Encyclopedia of Philosophy, Science, and Technology in IslamJeffrey A. Oaks — Oxford University Press — 2014
- 21The Fihrist of al-Nadīm: A Tenth-Century Survey of Islamic CultureColumbia University Press — 1970
- 22BookThe Math Book: From Pythagoras to the 57th Dimension, 250 Milestones in the History of MathematicsClifford A. Pickover — Sterling Publishing Company, Inc. — 2009
- 23JournalScience and medicineGeorge Saliba — September 1998
- 24BookHistorical Encyclopedia of Natural and Mathematical SciencesAri Ben-Menahem — Springer — 2009
- 25BookA History of World SocietiesMerry E. Wiesner-Hanks et al. — Bedford/St. Martin's — 2017
- 26BookAstronomy in the Islamic World: A European PerspectiveRichard Kerner — Laboratoire de Physique Théorique de la Matière Condensée Sorbonne-Université — January 14, 2026
- 28BookThe Encyclopaedia of IslamClifford Edmund Bosworth — Brill — 1960–2005
- 30BookArab Civilization: Challenges and Responses : Studies in Honor of Constantine K. ZuraykRoshdi Rashed — SUNY Press — 1988
- 31VideoAstronomy in the Service of IslamAl-Furqān Islamic Heritage Foundation – Centre for the Study of Islamic Manuscripts — 7 March 2018
- 32Toomer (1990)Toomer — 1990
- 33BookThe World of the Khazars: New Perspectives. Selected Papers from the Jerusalem 1999 International Khazar ColloquiumPeter Golden et al. — BRILL — 13 August 2007
- 34Dunlop (1943)Dunlop — 1943
- 35Mathematics Education in Iran From Ancient to ModernYahya Tabesh
- 36BookEthics of the Algorithm: Digital Humanities and Holocaust MemoryTodd Presner — Princeton University Press — 2024-09-24
- 37Daffa (1977)Daffa — 1977
- 38BookScientifica Historica: How the world's great science books chart the history of knowledgeBrian Clegg — Ivy Press — 1 October 2019
- 39BookThe Birth of Mathematics: Ancient Times To 1300Michael John Bradley — Infobase Publishing — 2006
- 40Al-Khwārizmī - Biography, Notable Achievements & FactsWorld History Edu — 28 September 2022
- 42Al-Khwarizmi | Biography & Facts | Britannica1 December 2023
- 43JournalThe Legacy of Al-Khwarizmi: Pioneering Contributions to Mathematics, Astronomy and EducationZhantaev Maksud Ibragimovich — Scientific Bulletin — December 5, 2024
- 45JournalHistory of Mathematics in the Recent Edition of the Encyclopædia BritannicaKarpinski, L.C. — 1912
- 46Boyer (1991) p. "The Arabic Hegemony" p. 229Boyer — 1991
- 47BookThe Development of Arabic MathematicsR. Rashed et al. — Springer — 1994
- 48BookA History of MathematicsFlorian Cajori — Macmillan — 1919
- 49BookA History of MathematicsCarl Benjamin Boyer — 1968
- 50The Earliest Extant Arabic Arithmetic: Kitab al-Fusul fi al Hisab al-Hindi of Abu al-Hasan, Ahmad ibn Ibrahim al-UqlidisiA. S. Saidan — The University of Chicago Press — Winter 1966
- 51Islamic Civilization in South Asia: A history of Muslim power and presence in the Indian subcontinentBurjor Avari — Routledge — 2013
- 52Routledge Revivals: Medieval Science, Technology and Medicine (2006): An EncyclopediaGlen Van Brummelen — Taylor & Francis — 2017
- 53Routledge Revivals: Medieval Science, Technology and Medicine (2006): An EncyclopediaTaylor & Francis — 2017
- 54Trattati D'AritmeticaTipografia delle Scienze Fisiche e Matematiche — 1857
- 55Thus Spake al-Khwārizmī: A Translation of the Text of Cambridge University Library Ms. Ii.vi.5John N. Crossley et al. — 1990
- 56How Algorithm Got Its Name8 January 2018
- 57Early AstronomyHugh Thurston — Springer Science & Business Media — 1996
- 58Kennedy (1956) p. 26–29Kennedy — 1956
- 59BookA History of Algebra: From al-Khwārizmī to Emmy NoetherBartel Leendert van der Waerden — Springer-Verlag — 1985
- 60Kennedy (1956) p. 128Kennedy — 1956
- 61BookMathematics Across Cultures: The History of Non-western MathematicsSpringer Science+Business Media — 2000
- 63The history of cartographyGAP computer algebra system
- 65BookDas Kitāb ṣūrat al-arḍ des Abū Ǧaʻfar Muḥammad Ibn Mūsā al-ḪuwārizmīMuḥammad Ibn Mūsā al-Ḫwarizmī — 1926
- 66BookThe Man of Numbers: Fibonacci's Arithmetic RevolutionKeith J. Devlin — Bloomsbury — 2012
- 67Rashed, Morelon (1996) p. 185–201Rashed, Morelon — 1996
- 68JournalThe Third DimensionRichard Covington — 2007
- 69BookChronographie de Mar Elie bar SinayaLJ Delaporte — 1910
- 70JournalAl-Khwarizmi: A New-Found Basin on the Lunar Far SideFarouk El-Baz — 1973