Nearly four thousand years ago, a scribe in southern Mesopotamia pressed a reed into wet clay to solve a problem that would make a modern finance student sweat: if you lend silver at 20 percent interest, how long until your money doubles? His answer came out to just under four years. He had no calculator, no spreadsheet, and not even a symbol for “x.”
We usually credit algebra to medieval Baghdad, where the scholar al-Khwarizmi gave it its name. But more than two thousand years earlier, in the same river valley, people were already solving for unknowns. Their motivation wasn't philosophical curiosity. It was money: who owed what, to whom, and by when.
Interest Calculations: When Loans Had Babies
In Sumerian, the word for interest was máš, which also meant a young goat. A loan, in other words, was expected to have babies. It's a charming metaphor, and it quietly hints at the problem. Goats that have kids, whose kids have kids, multiply fast, and keeping track gets complicated.
Mesopotamian interest rates were remarkably standardized: about 20 percent a year on silver and 33⅓ percent on barley. These figures appear in the Laws of Hammurabi, around 1750 BCE. Simple interest is easy arithmetic. But when unpaid interest gets added to the debt, you're dealing with compounding. Then the hard question flips around: how many years until the debt reaches a certain amount? Today, students solve that with logarithms.
Babylonian scribes had no logarithms, so they improvised. They built tables of powers, found the two years the answer fell between, and estimated the gap. The doubling problem on a tablet now in the Louvre lands at about 3.8 years, which is almost exactly what your phone's calculator says. They weren't proving theorems. They were telling a lender when to come knocking. But the method of naming an unknown, setting up a relationship, and reasoning toward it is the beating heart of algebra.
TakeawayAbstract thinking often begins with a concrete question someone urgently needs answered. In this case, the question was simply: when do I get paid?
Clay Tablets: Promises You Couldn't Erase
Before writing, there was accounting. Archaeologist Denise Schmandt-Besserat traced how small clay tokens shaped like cones, spheres, and discs were used across the Near East for thousands of years to count sheep, grain, and oil. Around 3200 BCE in the city of Uruk, those counting marks evolved into writing. Epic poetry came later. Humanity's first written documents were essentially receipts.
Clay was cheap, abundant, and stubbornly permanent once dried. Contracts were often sealed inside clay envelopes stamped with personal cylinder seals, so nobody could quietly edit the terms. Around 1900 BCE, Assyrian merchants trading at Kanesh in central Anatolia left behind more than 20,000 tablets. These include letters, debt notes, and long-term partnerships in which several investors pooled silver to fund a single trader. The arrangement looks strikingly like an early joint venture.
Permanence let promises stretch across years and hundreds of miles, and that is exactly when the math gets difficult. It also gave kings a powerful tool. Rulers periodically issued debt-forgiveness edicts, and cancelling a debt could mean literally breaking its tablet. Clay records also became textbooks. In scribal schools called edubba, or “tablet houses,” students copied problem after problem until the methods stuck.
TakeawayThe medium shapes the mind. Once promises could be recorded and kept, people could plan further ahead, and planning further ahead demanded better mathematics.
Number Theory: Where Practical Math Got Curious
Babylonians counted in base 60, using a place-value system much like ours. Why 60? It divides cleanly by 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30, which is handy when splitting a barley shipment among several partners. You still use their system every time you check a clock or measure an angle. Sixty minutes, 360 degrees: that's Babylon on your wrist.
Scribes divided by multiplying with reciprocals, and they memorized tables of them. But some numbers, like 7, have reciprocals that never end in base 60. So scribes grew interested in “regular” numbers, the ones that divide cleanly. That isn't a question about barley anymore. It's a question about the nature of numbers themselves.
The evidence of that curiosity is stunning. A tablet called Plimpton 322, from around 1800 BCE, lists Pythagorean triples more than a thousand years before Pythagoras was born. Another, YBC 7289 at Yale, gives the square root of 2 accurately to about six decimal places. Scribes also solved quadratic puzzles, such as finding a field's sides from its area and perimeter, using steps equivalent to completing the square. The practical problems had become a playground.
TakeawayPractical problems are often the doorway, not the destination. Once people master a tool for daily needs, they start asking what else it can do.
Babylonian scribes never wrote “x,” and they wouldn't have called their work algebra. But they treated unknowns as something you could reason your way toward. That idea traveled through Greek astronomers who adopted base 60 and through scholars in Baghdad, eventually reaching the textbooks you once dreaded.
Next time you count minutes until your train, tip your hat to a scribe on the Euphrates. Algebra began with people trying to keep their promises.