Where the name Algorism comes from: al-Khwarizmi, algebra and algorithm
A ninth-century book on calculation from Baghdad, a Latin reworking that opens "Dixit Algorizmi", and two words every engineer uses.
Baghdad, around the year 825. A scholar at the court of caliph al-Ma'mun writes a book on calculating with the Indian numerals: nine digits and a small circle for the empty place. He explains how to add, subtract, multiply and divide with them.
Three centuries later the book is put into Latin, by all appearances in Spain. Nobody knows by whom. The Arabic text is lost. What survives is a twelfth-century Latin reworking that opens with two words: "Dixit Algorizmi", Algorizmi said. The link with the author was forgotten, and the method itself came to be called after him. A name had become a word.
One scholar, two words
The author was Muhammad ibn Musa al-Khwarizmi. He lived from about 780 to about 850 and worked in Baghdad. Very little is known about his life. His name means "the one from Khwarazm" and points to a region south of the Aral Sea, in today's Uzbekistan and Turkmenistan. Where he was born is not known.
Two words that every engineer uses go back to him. Algebra comes from the title of one of his books, algorithm from the Latin form of his name.
Algebra: sums for inheritances and canals
He wrote that other book under the same caliph, who reigned from 813 to 833, and dedicated it to him. Its title translates as "The Compendious Book on Calculation by Completion and Balancing". Completion is al-jabr in Arabic: getting rid of a negative term by adding the same amount to both sides of the equation. In modern notation, x² = 40x minus 4x² becomes 5x² = 40x. Through the Latin translations, al-jabr became our word algebra.
He wrote no formulas himself. Everything is set out in words, and the unknown is called "the thing". He reduces equations of the first and second degree to six standard forms, each with its own rule.
In the preface he says what the book is for. He confines it to "what is easiest and most useful in arithmetic", in Rosen's translation of 1831, and names inheritance, trade, lawsuits, "the measuring of lands, the digging of canals". It is a handbook for practical use.
From algorismus to algorithm
In the Middle Ages, Latin textbooks on calculating with the new numerals were called algorismus, and two of them became standard texts at the universities. English has had the word algorism since about 1230, for the decimal system of numeration and for arithmetic done with it.
The spelling later shifted to algorithm, probably under the influence of the Greek word for number. Today's meaning, a fixed series of steps that leads to a result, came centuries after him. So al-Khwarizmi did not invent the algorithm. It carries his name.
What he took from others
The numerals, the place-value system and the zero come from India. He says so himself: his book announces that it will explain the Indian method of calculation. His astronomical tables follow the form of the Greek astronomer Ptolemy. He probably had access to Babylonian results too, though we do not know in what form. And Greek and Indian mathematicians had solved harder problems before him than the ones he treats.
What historians do credit him with is this. His algebra is the oldest known Arabic work on the subject; it treats equations systematically and gave the discipline its name. His arithmetic made the Indian way of calculating known, first in the Arabic-speaking world and three centuries later in Latin Europe. Historians differ on how original he was. They agree on how far his books travelled.
The algebra part was translated into Latin twice in the twelfth century: by Robert of Chester at Segovia in 1145, and later by Gerard of Cremona at Toledo. When Fibonacci wrote his Liber abaci in 1202, he opened it with "the nine Indian figures" and the zero.
From Baghdad to Samarkand
Al-Khwarizmi belonged to a tradition that is seldom told in Europe. Five names and places, with one contribution each:
- Abu Ma'shar, astrologer and astronomer and a contemporary of al-Khwarizmi, was born in Balkh, in present-day Afghanistan. He was considered the greatest astrologer of the court in Baghdad.
- Al-Biruni determined the radius of the Earth by measurement and trigonometry. Born in Khwarazm in 973, he later worked at Ghazna, now Ghazni in Afghanistan, and died there in 1048.
- Ibn Sina (Avicenna) was born near Bukhara; his father came from Balkh. The Latin translation of his Canon was the basis of medical teaching at European universities until the seventeenth century.
- Omar Khayyam of Nishapur classified the cubic equations and solved them geometrically, with conic sections.
- Samarkand: Ulugh Beg, whose father ruled from Herat, built an observatory there in the 1420s; his star catalogue dates from 1437. In the same city al-Kashi computed 2π to sixteen decimal places in 1424.
These scholars had different mother tongues and different faiths. They built on Indian, Greek and older Mesopotamian knowledge and passed it on enlarged. Part of the foundation under today's mathematics was laid here.
Why we carry this name
Algorism is the old English word for that way of calculating: a rule of calculation that anyone can follow and check, written down for practical work. That is how we want to build software for machines. The name also points to a history we would like to see told more often.
Sources
- G. J. Toomer: al-Khwarizmi, Dictionary of Scientific Biography
- M. Folkerts: Early Texts on Hindu-Arabic Calculation, Science in Context 14 (2001)
- F. Rosen: The Algebra of Mohammed ben Musa (1831)
- MacTutor: al-Khwarizmi
- Murray's New English Dictionary (1888): Algorism
- Etymologiebank: algoritme (in Dutch)
- K. Yamamoto: Abu Ma'shar, Biographical Encyclopedia of Astronomers (2007)
- MacTutor: al-Biruni
- Stanford Encyclopedia of Philosophy: Ibn Sina
- MacTutor: Omar Khayyam
- MacTutor: Ulugh Beg
- MacTutor: al-Kashi
- A. F. Horadam: review of Sigler's translation of Fibonacci's Liber Abaci, The Fibonacci Quarterly