Âé¶¹ÒùÔº

May 8, 2024

Why are algorithms called algorithms? A brief history of the Persian polymath you've likely never heard of

There are no images of what al-KhwÄrizmÄ« looked like, but in 1983 the Soviet Union issued a stamp in honour of his 1,200th birthday. Credit:
× close
There are no images of what al-KhwÄrizmÄ« looked like, but in 1983 the Soviet Union issued a stamp in honour of his 1,200th birthday. Credit:

Algorithms have become integral to our lives. From social media apps to Netflix, algorithms learn your preferences and prioritize the content you are shown. Google Maps and artificial intelligence are nothing without algorithms.

So, we've all heard of them, but where does the word "algorithm" even come from?

More than 1,000 years before the internet and smartphone apps, Persian scientist and polymath Muhammad ibn MÅ«sÄ al-KhwÄrizmÄ« invented the concept of algorithms.

In fact, the word itself comes from the Latinized version of his name, "algorithmi." And, as you might suspect, it's also related to algebra.

Largely lost to time

Al-KhwÄrizmÄ« lived from 780 to 850 CE, during the . He is considered the "," and for some, the "."

Yet, few details are known about his life. Many of his original works in Arabic have been lost to time.

It is believed al-KhwÄrizmÄ« was born in the south of the Aral Sea in present-day Uzbekistan. He lived during the Abbasid Caliphate, which was a time of remarkable scientific progress in the Islamic Empire.

Al-KhwÄrizmÄ« made important to mathematics, geography, astronomy and trigonometry. To help provide a more accurate world map, he corrected Alexandrian polymath Ptolemy's classic cartography book, Geographia.

He produced calculations for tracking the movement of the sun, moon and planets. He also wrote about trigonometric functions and produced the first table of tangents.

Al-KhwÄrizmÄ« was a scholar in the House of Wisdom () in Baghdad. At this intellectual hub, scholars were translating knowledge from around the world into Arabic, synthesizing it to make meaningful progress in a range of disciplines. This included mathematics, a field .

Get free science updates with Science X Daily and Weekly Newsletters — to customize your preferences!

The 'father of algebra'

Al-KhwÄrizmÄ« was a polymath and a religious man. His scientific writings started with dedications to Allah and the Prophet Muhammad. And Islamic mathematicians undertook at the House of Wisdom was to develop algebra.

Around 830 CE, encouraged al-KhwÄrizmÄ« to write a , Al-Jabr (or The Compendious Book on Calculation by Completion and Balancing). This became his most important work.

A page from The Compendious Book on Calculation by Completion and Balancing. Credit:
× close
A page from The Compendious Book on Calculation by Completion and Balancing. Credit:

At this point, "algebra" had been around for hundreds of years, but al-KhwÄrizmÄ« was the first to write a definitive book on it. His work was meant to be a practical teaching tool. Its was the basis for algebra textbooks in European universities until the 16th century.

In the first part, he introduced the concepts and rules of algebra, and methods for calculating the volumes and areas of shapes. In the second part he provided real-life problems and worked out solutions, such as inheritance cases, the partition of land and calculations for trade.

Al-KhwÄrizmÄ« didn't use modern-day mathematical notation with numbers and symbols. Instead, he and employed geometric diagrams:

"Four roots are equal to 20, then one root is equal to five, and the square to be formed of it is 25, or half the root is equal to 10."

In modern-day notation we'd write that like so:

4x = 20, x = 5, x2 = 25, x / 2 = 10

Grandfather of computer science

Al-KhwÄrizmÄ«'s mathematical writings introduced the to Western mathematicians. These are the 10 symbols we all use today: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0.

The Hindu-Arabic numerals are important to the history of computing because they use the number zero and a base-10 decimal system. Importantly, this is the that underpins modern computing technology.

Al-KhwÄrizmÄ«'s art of calculating mathematical problems laid the foundation for the . He provided the first detailed explanations for using decimal notation to perform the four basic operations (addition, subtraction, multiplication, division) and computing fractions.

This was a more efficient computation method than using the abacus. To solve a mathematical equation, al-KhwÄrizmÄ« systematically moved through a sequence of steps to find the answer. This is the underlying concept of an algorithm.

, a Medieval Latin term named after al-KhwÄrizmÄ«, refers to the rules for performing arithmetic using the Hindu-Arabic numeral system. Translated to Latin, al-KhwÄrizmÄ«'s book on Hindu numerals was titled Algorithmi de Numero Indorum.

In the early 20th century, the word algorithm came and usage: "a procedure for solving a mathematical problem in a finite number of steps; a step-by-step procedure for solving a problem."

Muhammad ibn MÅ«sÄ al-KhwÄrizmÄ« played a central role in the development of mathematics and computer science as we know them today.

The next time you use any digital technology—from your social media feed to your online bank account to your Spotify app—remember that none of it would be possible without the pioneering work of an ancient Persian polymath.

Provided by The Conversation

Load comments (0)

This article has been reviewed according to Science X's and . have highlighted the following attributes while ensuring the content's credibility:

fact-checked
trusted source
written by researcher(s)
proofread

Get Instant Summarized Text (GIST)

This summary was automatically generated using LLM.