Al-Khwarizmi: The Father of Algebra and Architect of Algorithms

17 sentences from Al-Khwarizmi’s Algebra in Frederic Rosen’s 1831 translation, checked against the text, with commentary on each.

Muhammad ibn Musa al-Khwarizmi (c. 780 – c. 850) was a Persian mathematician, astronomer and geographer who worked in Baghdad at the House of Wisdom, under the caliph al-Ma’mun. His book on calculating by completion and reduction, written about 820, gave algebra its name, and the word algorithm comes from the Latin form of his own name. The portrait on this page is an AI-generated illustration, not a historical likeness.

AI-generated portrait of Muhammad ibn Musa al-Khwarizmi

The Algebra is a short practical treatise. It classifies equations into six types, gives a rule in words for each, and proves the rules with figures of squares and rectangles. In the old English translation the author is called Mohammed ben Musa, and the book teaches how to solve what we now write as quadratic equations. Readers of our pages on Archimedes: The Mathematical Titan Who Defied Rome, Blaise Pascal: The Mathematician of the Heart and the Infinite and Gottfried Wilhelm Leibniz: The Polymath of Optimism and Infinite Calculus will find more voices from the same world.

This collection contains 17 sentences from The Algebra of Mohammed ben Musa, edited and translated from the Arabic by Frederic Rosen (London, 1831), read in the Internet Archive scan of that book. The scan is machine-read, so its stray marks and spaces before punctuation were corrected by hand, and each sentence was checked against the text. They are a translation of Al-Khwarizmi’s Arabic, in the English of 1831.

17 Sentences from Al-Khwarizmi’s Algebra, “Calculating by Completion and Reduction”

What Calculation Needs

““When I considered what people generally want in calculating, I found that it always is a number.””

Al-Khwarizmi begins with a plain observation: what people want when they calculate is always a number. The remark is modest, yet it sets the scope of the book, which is practical arithmetic for the needs of everyday life. He explains his purpose before giving any rule. The sentence comes from the preface of the treatise, in Rosen’s English translation.

““I also observed that every number is composed of units, and that any number may be divided into units.””

Every number, he says, is composed of units and can be divided into units. The sentence rests the whole book on the plainest foundation, the unit. From it he builds up numbers, and from numbers the kinds of quantity that he is about to define. The simplicity is deliberate, since he writes for readers who want to calculate, not to philosophize about number.

““Moreover, I found that every number, which may be expressed from one to ten, surpasses the preceding by one unit: afterwards the ten is doubled or tripled, just as before the units were: thus arise twenty, thirty, &c.””

He explains how numbers are built up: each number from one to ten exceeds the one before it by a unit, and then the ten is doubled or tripled to make twenty and thirty. Al-Khwarizmi also wrote a separate work on Indian numerals, and this passage shows him describing the tens in the simplest language. It is a short lesson in counting before the real subject, equations, begins.

Roots, Squares and Numbers

““I observed that the numbers which are required in calculating by Completion and Reduction are of three kinds, namely, roots, squares, and simple numbers relative to neither root nor square.””

This sentence names the building blocks of his algebra: roots, squares and simple numbers. A root is the unknown, a square is the unknown multiplied by itself, and a simple number is just a number. With these three kinds he can express every problem he treats, using words and no symbols. The classification is the foundation of the six cases that follow.

““A simple number is any number which may be pronounced without reference to root or square.””

A simple number, he says, is one that can be pronounced without reference to a root or a square. In modern terms it is a known constant. Al-Khwarizmi writes everything in words, since algebraic symbols had not yet been invented, so each term has to be defined in ordinary language before it can be used in a rule. The definition is short and complete.

““Thus, all squares, multiples, and sub-multiples of them, are reduced to a single square.””

All squares, whether multiples or parts of a square, are reduced to a single square. This is the first step in his method: divide through so that the equation starts with exactly one square. It shows his habit of reducing every case to a standard form before solving it. The sentence also explains why six types of equation are enough to cover so many different problems.

““If there be only part of a square, you add thereto, until there is a whole square; you do the same with the equivalent in numbers.””

If there is only part of a square, you add to it until there is a whole square, and you do the same to the other side. Here the word completion, which gives his book its name, finds its meaning: restoring what is missing and applying the same change to both sides. The Arabic word for completion, al-jabr, is the origin of the word algebra.

Solving by Rule

““Your first business must be to complete your square, so that it amounts to one whole square.””

Your first business, he tells the reader, is to complete your square. The sentence addresses the reader as a teacher addresses a pupil, and the tone is practical throughout the book: do this, then do that. It also shows that his equations are solved by a fixed procedure, a step-by-step method of the kind we now call an algorithm, a word that comes from the Latin form of his name.

““Now take the root of this, which is eight, and subtract from it half the number of the roots, which is five; the remainder is three.””

This is the closing step of his best-known worked example: a square and ten roots equal thirty-nine. The root of sixty-four, which is eight, less half the number of roots, which is five, leaves three. In modern notation the equation is x² + 10x = 39 and the answer is x = 3. The method is the quadratic formula, written out in words for one case.

““This is the root of the square which you sought for; the square itself is nine.””

The answer is given twice, as the root and as the square: the root is three and the square is nine. He does not stop at the number but says what it stands for in the original problem. The check is easy: nine plus ten times three gives thirty-nine. The sentence shows his clear and complete style, where every step is stated and nothing is left to be guessed.

““Proceed in this manner, whenever you meet with squares and roots that are equal to simple numbers: for it will always answer.””

Proceed in this manner, he says, whenever squares and roots equal simple numbers, for it will always answer. This shows he is giving a general rule, not a trick for one problem. The claim that it will always answer is the claim of generality, which is the idea behind an algorithm: a method that works for every case of a given kind, not just for one set of numbers.

““When you meet with an instance which refers you to this case, try its solution by addition, and if that do not serve, then subtraction certainly will.””

For the case where a square and a number equal roots, Al-Khwarizmi advises trying addition and, if that does not serve, subtraction. This is the one case with two answers. In his example, a square and twenty-one equal ten roots, the roots can be three or seven. He gives the advice as a practical hint, not as a theory, which is typical of the whole book.

Six Cases and Their Proofs

““Whenever you meet with a multiple or sub-multiple of a square, reduce it to one entire square.””

Again he repeats the instruction to reduce any multiple or part of a square to one entire square. Repeated across the cases, it shows the pattern of his method: reduce first, then solve by the rule. The repetition is part of the teaching. A reader who has no symbols to help must be able to remember the steps, and saying them again in the same words helps him to do so.

““These are the six cases which I mentioned in the introduction to this book.””

With this sentence Al-Khwarizmi closes his list. Every equation of the first and second degree that he treats falls into one of six standard types, which he mentioned in his introduction. This classification was a real achievement. Without negative numbers or symbols, each type needed its own rule, and having the six cases set out gave later writers a framework to build on.

““As for the other three, in which halving the roots is necessary, I think it expedient, more accurately, to explain them by separate chapters, in which a figure will be given for each case, to point out the reasons for halving.””

Al-Khwarizmi promises to prove the rules geometrically. For the three cases that need the roots to be halved, he will give a figure for each, to show why halving works. This is the sign of a real mathematician: the rule is not enough, he gives the reason. The figures are squares and rectangles, so his algebra rests on geometry, in the Greek tradition.

““In order to compensate for this want and to complete the quadrate, we must add (to that which we have already) four times the square of two and a half, that is, twenty-five.””

In the geometrical proof of the case of a square and ten roots, four rectangles are placed round the square, and each corner is missing a small square of two and a half by two and a half. Adding the four corners, which make twenty-five, completes the large square. The sentence shows the origin of the phrase completing the square, which is still taught today.

““If we subtract twice a fourth of ten, that is five, from eight, as from the two extremities of the side of the great quadrate D H, then the remainder of such a side will be three, and that is the root of the square, or the side of the original figure A B.””

The proof ends. Taking away five, which is twice a fourth of ten, from the side of the large square, which is eight, leaves three, the root of the original square. The geometry agrees with the arithmetic of the earlier example. This is one of the oldest well-known demonstrations of completing the square, written in a book composed around the year 820.

Conclusion

Read together, the sentences show a method taught in plain words. Al-Khwarizmi defines his three kinds of quantity, reduces each problem to a standard form, applies a fixed rule, and then proves the rule with a figure. Nothing is hidden and nothing depends on symbols, which had not yet been invented.

That clarity is why the book mattered. It gave later mathematicians a language of equations, a set of standard cases and the habit of general procedures. Its name gave us algebra, and the Latin form of his own name gave us the word algorithm.

Frequently Asked Questions

Who was Al-Khwarizmi?

Muhammad ibn Musa al-Khwarizmi (c. 780 – c. 850) was a Persian mathematician and astronomer who worked in Baghdad at the House of Wisdom. His book on completion and reduction gave algebra its name, and the word algorithm comes from the Latin form of his name.

What is the Algebra about?

It is a practical treatise on solving equations. Al-Khwarizmi sorts them into six types, gives a rule in words for each with worked examples, and proves the rules with geometrical figures, using no algebraic symbols.

Are these sentences Al-Khwarizmi’s own words?

They are his statements in English translation. He wrote in Arabic, so the wording belongs to the translator, Frederic Rosen (1831). The scan was machine-read, so stray marks and spacing were corrected by hand, and each sentence was checked against the text.

Which text is quoted here?

All 17 sentences come from The Algebra of Mohammed ben Musa, edited and translated by Frederic Rosen (London, 1831), read in the Internet Archive scan of that book.

Recommended Similar Collections on Quotyzen

Al-Khwarizmi explained algebra with nothing but words and figures. Do you think mathematics is easier to learn with symbols, or without? Share your view in the comments below!