“What is easiest and most useful in arithmetic, such as men constantly require in cases of inheritance, legacies, partition, law-suits, and trade, and in all their dealings with one another.”
al-Khwarizmi, in the preface to his book
Around the year 820, in Baghdad, a scholar named Muhammad ibn Musa al-Khwarizmi wrote a book on calculation under the rule of Caliph al-Ma'mun.
That book gave us the word algebra. His name, written in Latin as Algorizmi, later gave us the word algorithm.
It's also where the name AlgoAI comes from.
What interests me most is why he wrote the book in the first place.
He wanted to solve practical problems. Dividing an estate, settling a trade, measuring land, digging a canal. These were questions people faced in everyday life.
He believed mathematics should help answer them.
The math had a purpose
Al-Khwarizmi worked with three kinds of number: roots, squares, and ordinary numbers.
He called an unknown quantity shay', meaning "thing". Its square was māl, a word also used for wealth or property. Many of his examples used dirhams, the silver coins of the time.
One problem reads:
"one square, and ten roots of the same, amount to thirty-nine dirhems."
A large part of the book deals with inheritance. Another section explains trade, including how to work out the price of goods when the quantity changes.
He wanted to give people a reliable way to work out an answer.
Two moves: restore and balance
The book's title describes two methods: al-jabr and al-muqābala.
In simple terms, restoring and balancing. Here are two of his examples, in modern wording.
Restore. When something has been subtracted, put it back on the other side so the equation is easier to solve.
Balance. Remove what is the same on both sides, leaving a simpler problem.
The language is old, but the thinking is easy to follow: find what is missing, remove what gets in the way, and work with what remains.
He showed what was missing
One of my favourite parts of the book is how al-Khwarizmi explained a problem using shapes.
He began with a square and added four strips around it. But the shape wasn't complete. It had a small gap in each corner.
In his words, "in each of the four corners … a square piece … is wanting."
Each missing corner had an area of 6¼. Together, the four corners added 25.
Adding those pieces turned the shape into a full square with an area of 64. Each side of the full square measured 8. The strips added 2½ on each side of the original square, 5 in all. Take away the 5, and the original side is 3. That's the answer.
The missing pieces were the key to solving the problem.
Six cases, one rule each
Al-Khwarizmi grouped his problems into six standard forms. Each had a method for finding the answer.
"Proceed in this manner … for it will always answer," he wrote.
He was also clear when a problem had no valid solution: "then the instance is impossible."
His work on arithmetic later became known in Europe through Latin translations. One began with the words Dixit Algorizmi, meaning "Algorizmi said."
Over time, his name became the word algorithm. Today it means a clear, repeatable set of steps for solving a problem.
Why I chose the name
What draws me to al-Khwarizmi's work is how he approached a problem. He broke it down, worked through it step by step, and found a way to explain the answer.
That's what I wanted the name AlgoAI to stand for.
When I work with a business, I start by understanding how it runs day to day. Where does it make money? Where does it lose value? What's getting in the way of better performance?
Sometimes the opportunity is in pricing or purchasing. Sometimes it's in how the work gets done.
I organize that thinking around five areas. Four follow the customer: Capture, winning demand; Convert, securing the business; Complete, delivering it profitably; and Cultivate, growing the relationship. Core sits underneath all four: the people, processes, systems and data that support them.
But a framework is only a starting point. The real work is finding the cause, understanding what needs to change, and putting those changes into practice.
What has stayed with me is that his answers were meant to be used.
That's the standard I want to bring to every engagement.
Sources
- Frederic Rosen, The Algebra of Mohammed ben Musa (London, 1831). Public-domain English translation. archive.org
- G. J. Toomer, "Al-Khwārizmī," Dictionary of Scientific Biography. mathshistory.st-andrews.ac.uk
- Cambridge University Library, manuscript MS Ii.6.5. cudl.lib.cam.ac.uk
