From sequence and selection to repetition... Algorithms: a technological term inspired by Islamic civilization.
Ahwal Al-Ma'rifa: Special Report
The widespread use today of a scientific term rooted in the intellectual heritage of the Arab-Islamic civilization, amid a world dominated by technology, media, and digital tools, is clear evidence of the remarkable intellectual and scientific achievements reached by that civilization. In the ninth century, the renowned scholar Abu Ja'far Muhammad ibn Musa al-Khwarizmi developed the concept of the algorithm, which has become one of the most widely used concepts across languages and disciplines worldwide. Al-Khwarizmi structured his method around three principles: sequencing, selection, and composition, describing a series of ordered mathematical and logical steps.
Although there is no universally accepted formal definition of an algorithm, it can be described informally as “a set of rules defining a specific sequence of operations.” Such a definition encompasses computer programs, including those that do not perform numerical calculations. For some, any program that eventually terminates can be considered an algorithm. For others, a program qualifies as an algorithm only when it performs a defined number of computational steps.
According to Wikipedia, the term refers to a finite or potentially unbounded sequence of well-defined operations that can be used to solve a problem or perform a task. The concept of the algorithm is also closely associated with the idea of computability and decision-making. This concept is fundamental to explaining how formal systems are constructed from a limited set of axioms and rules. In logic and computer science, questions surrounding the time required to complete an algorithm also raise broader questions about how computational processes relate to the physical world. Such considerations have contributed to the absence of a single definition that fully encompasses both the specific and abstract uses of the term.
Algorithms are essential for enabling computers to process data and perform tasks efficiently. Many computer programs contain algorithms that provide computers with specific instructions that must be executed in a particular sequence to accomplish a defined task, such as calculating employees’ salaries or printing student report cards. Algorithms can therefore be understood as sequences of operations that can be executed or simulated by a computational system.
Artificial Intelligence Algorithms
Algorithms have become increasingly sophisticated and, at the same time, more flexible as artificial intelligence has expanded rapidly in recent years and entered numerous areas of everyday life. This development has brought artificial intelligence algorithms to the forefront of the technological landscape, along with a wide range of concepts based on scientific, mathematical, and philosophical foundations. Using and developing these systems requires familiarity with computer science, technology, and digital tools, as the terminology and technical frameworks involved can be highly complex and difficult for the average person to understand, let alone implement and develop. Researchers and specialists in Europe, the United States, Japan, China, and elsewhere continue to advance these technologies.
Artificial intelligence has made rapid progress within a relatively short period across industries and operations, including manufacturing, marketing, storage, and logistics. A range of standard algorithms has been refined over many years, helping determine how these technologies operate. A better understanding of artificial intelligence therefore requires an understanding of these algorithms and how they function. AI algorithms can be described as sets of instructions given to computers so that they can analyze data, make decisions, and perform tasks. They teach systems how to learn and operate independently, enabling them to predict patterns, assess trends, calculate accuracy, and optimize processes. Virtually every task performed by artificial intelligence relies on specific algorithms, often working alongside machine-learning algorithms to accomplish a particular objective.
There are three main categories of artificial intelligence algorithms, encompassing several other types whose applications vary according to the task at hand: classification algorithms, Bayesian classification, and decision trees.
From Artificial Intelligence to Cybersecurity
The wide range of algorithmic concepts associated with artificial intelligence reflects the complexity of the field, particularly amid the rapid expansion of technology today. These concepts include random forest algorithms, support vector algorithms, and linear regression algorithms, which themselves branch into several approaches, including Lasso regression, logistic regression, and multivariate regression. Other examples include clustering algorithms, the expectation-maximization algorithm, hierarchical clustering algorithms, and many others.
Today, algorithms are used across a wide range of fields, including artificial intelligence and machine learning (AI & Machine Learning), search engines and the web (Search Engines), e-commerce and streaming platforms (E-commerce & Streaming), logistics and transportation (Logistics), data science and cybersecurity (Data Science & Cybersecurity), and multimedia processing (Multimedia Processing). In the latter field, algorithms play an important role in image- and video-editing applications, including resizing, background removal, and color enhancement.
One of the Arab-Islamic civilization’s most significant intellectual achievements is the legacy of Al-Khwarizmi, who made important contributions to geography, astronomy, geometry, and calendar systems. His most influential contributions, however, were in mathematics, where he played a major role in advancing algebra and arithmetic. He improved techniques for solving algebraic problems, and his famous work, The Compendious Book on Calculation by Completion and Balancing (Al-Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala), earned him recognition as a foundational figure in algebra. The book provided detailed procedures for solving linear and quadratic equations, and its methods continued to influence mathematical works from his era through the beginning of the modern period.


