Discover
Around 1650 BC in Egypt, the scribe Ahmes copied a scroll of problems that was already 200 years old. Problem 24 asks: a quantity and a quarter of it make 15. What is the quantity?
- Guess a convenient number, then correct it
- Write and solve with letters
Key idea
Three ways of solving, three places, three times.
- Step 1Ahmes c. 1650 BCNo portrait is knownAbout 1650 BC: Ahmes copies a 6-meter scroll of problems. He solves equations by false position.
- Step 2Liu Hui c. 225 – c. 295No portrait is knownChina: the Nine Chapters (246 problems) solve systems with tables of numbers. Liu Hui writes his commentary in AD 263.
- Step 3al-Khwarizmi c. 780 – c. 850Imagined portraitZarateman (photograph), 2022. Zarateman. CC0 1.0Baghdad, House of Wisdom: al-Khwarizmi's book on 'completion and balancing' gives us the word algebra. He writes only in words.
False position (Egypt): try 4. Then , but we want 15, which is 3 times as much, so the quantity is .
Balancing (Baghdad): do the same thing to both sides until the unknown stands alone, as we still do today.

One square, and ten roots of the same, amount to thirty-nine dirhems.
How does al-Khwarizmi write this equation?
- In words, with no symbols
- With letters, as
Worked example
The Chinese Nine Chapters set systems out as tables of numbers and removed one unknown after the other. Our version:
Practice ★
- The word algebra comes from the title of al-Khwarizmi's book. What did his al-muqabala, 'balancing', mean?
- Removing equal terms that appear on both sides
- Writing the unknown with the letter x
- Weighing goods on market scales
- Like Ahmes: a quantity and a quarter of it make 50. Try 4 first (4 and its quarter make 5), then correct. What is the quantity?
- Like Ahmes: a quantity and a quarter of it make 55. Try 4 first (4 and its quarter make 5), then correct. What is the quantity?
- As in the Nine Chapters: 2 bundles of rice and 1 bundle of millet weigh 13 units, 1 of rice and 1 of millet weigh 11. How much does a bundle of rice weigh?
Summary card
Linear equations today
- Spreadsheets and phone plans: total cost = fixed part + price × quantity.
- Mixtures in chemistry and cooking: systems of equations find the amounts.
- Computers solve systems with millions of unknowns, for weather forecasts and 3D graphics, by the elimination the Nine Chapters already used.
Sources: MacTutor articles on the Egyptian papyri, the Nine Chapters and al-Khwarizmi (see "Sources and credits").