History logo

Why algorithms are called algorithms

How a Mathematician from the 9th Century Shaped Your Google Search

By Marveline MerabPublished about a year ago 4 min read
Al-Khwarizmi

If you’ve ever typed something into Google, relied on social media feeds, or cursed at your phone’s autocorrect for changing “I’m hungry” to “I’m Hungary”you can thank (or blame) algorithms. Yes, these invisible lines of logic run our modern world, determining everything from the best route to work to which cat video you really need to see next.

But did you ever stop and wonder where the term “algorithm” even comes from? It’s not some modern tech jargon invented in a Silicon Valley brainstorming session. No, its roots go back more than 1,000 years to a man named Al-Khwarizmi, a brilliant scholar whose contributions would ultimately shape the future of mathematics, computer science, and, yes, even TikTok recommendations.

This is the story of how a 9th-century genius gave us a term that rules our digital lives—one calculation at a time.

Al-Khwarizmi

Who Was Al-Khwarizmi, and Why Was He So Smart?

To trace the origin of “algorithm,” we have to hop into the time machine and head back to Baghdad in the 9th century. At this time, the Islamic Golden Age was in full swing, and Baghdad was the intellectual hub of the world. Think of it as the Silicon Valley of the medieval era—except instead of startups, it had libraries, scholars, and groundbreaking ideas being churned out daily.

Born around 780 AD in what is now Uzbekistan, Al-Khwarizmi was a mathematician, astronomer, and geographer working at the House of Wisdom in Baghdad. Imagine a place where the greatest minds came together to study, translate, and preserve knowledge. That’s where Al-Khwarizmi flourished—and boy, did he leave a mark.

How Al-Khwarizmi Revolutionized Mathematics

Al-Khwarizmi’s most significant work was a groundbreaking book titled “Kitab al-Jabr wal-Muqabala”, which loosely translates to “The Book of Restoring and Balancing”. Don’t let the ancient-sounding title fool you—this was the birth of algebra.

Yes, if you’ve ever suffered through x + y = z equations in school, you have Al-Khwarizmi to thank. But don’t hold it against him; he was just trying to make sense of practical problems, like land division, inheritance laws, and trade calculations. His book laid out step-by-step methods for solving linear and quadratic equations, methods that are still the foundation of modern algebra.

And here’s where things get interesting: when Al-Khwarizmi’s works were translated into Latin several centuries later, his name morphed into something that sounded more familiar to European ears—Algoritmi. This Latinized version of his name would give rise to the word algorithm, referring to the step-by-step procedures for solving problems.

What Exactly Is an Algorithm? And Why Should You Care?

To put it simply, an algorithm is a set of instructions or rules for solving a problem or completing a task. If you’ve ever followed a recipe—preheat the oven, mix the ingredients, bake for 30 minutes—congratulations! You’ve used an algorithm.

Al-Khwarizmi’s approach to solving equations involved breaking problems into logical, sequential steps—a method that was both revolutionary and timeless. Today, this concept is the backbone of computer programming. Every app, website, or program you use relies on algorithms to function. Whether it’s Netflix deciding what you want to binge-watch next or Amazon suggesting yet another thing you “absolutely need,” algorithms are calling the shots.

But long before algorithms became the invisible puppeteers of our daily lives, they were simply practical tools for mathematicians. Al-Khwarizmi’s methodical problem-solving laid the groundwork for modern computational thinking.

Why algorithms are called algorithms | BBC Ideas

The Spread of the Algorithm: Europe Gets on Board

After Al-Khwarizmi wrote his groundbreaking work, it didn’t take long for it to spread. In the 12th century, his texts were translated into Latin, and European mathematicians adopted his methods. They called his techniques “algorismus,” a nod to his Latinized name. Over time, the term evolved into algorithm.

At first, algorithms were used mainly for calculations—like arithmetic on paper. But as technology advanced, the definition of an algorithm expanded. By the 20th century, algorithms had become essential tools in the development of computers. The logical, step-by-step procedures that Al-Khwarizmi pioneered were now being programmed into machines that could perform calculations at lightning speed.

The Algorithm in the Digital Age: From Math to Global Domination

Fast forward to today, and algorithms are everywhere. They decide the route your GPS suggests, curate your social media feeds, and even determine which job applications get through automated filters. In essence, they’re the invisible problem-solvers of the digital world, breaking down complex tasks into manageable steps—just like Al-Khwarizmi envisioned over 1,000 years ago.

But here’s the twist: while Al-Khwarizmi saw algorithms as tools for clarity and problem-solving, our modern world has taken them to a whole new level. We now rely on algorithms to predict behavior, analyze massive data sets, and even make decisions for us. Sometimes, it feels like they know us better than we know ourselves.

Al-Khwarizmi’s Legacy: More Than Just a Word

The story of the word “algorithm” isn’t just about mathematics; it’s about how ideas transcend time, culture, and language. Al-Khwarizmi didn’t invent the smartphone or teach AI to generate memes, but his logical problem-solving methods laid the foundation for everything we call technology today.

And perhaps the most remarkable part of his legacy is its universality. Whether you’re solving an equation, programming code, or just wondering why YouTube thinks you need to watch “10 Hours of Whale Sounds,” you’re engaging with algorithms.

In the end, algorithms are proof that great ideas stand the test of time. And Al-Khwarizmi? He’s the unsung hero behind every like, swipe, and search. Not bad for a mathematician from medieval Baghdad.

AnalysisAncientFiguresMedievalModernWorld History

About the Creator

Marveline Merab

“The only impossible journey is the one you never begin.”

― Anthony Robbins

Follow me on Medium

Support my writing

Email

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2026 Creatd, Inc. All Rights Reserved.