Muhammad ibn Musa al-Khwarizmi was a mathematician who worked in the Islamic world in the ninth century. His work helped people learn two connected skills. One was calculating with a decimal number system. The other was finding unknown quantities by solving equations. His name and a word from one of his books are still used in mathematics and computing.
Arithmetic and the place of zero
Arithmetic is calculation with numbers, such as addition and multiplication. In the decimal place-value system, the position of a digit tells you how much it stands for. In 505, the first 5 means five hundreds and the last 5 means five ones. The zero shows that there are no tens. Changing the position of a digit changes the value of the number.
The system that uses ten digits, including zero, is often called the Hindu-Arabic numeral system. Important parts developed in India. Scholars writing in Arabic learned and spread the system, and versions reached Europe. Al-Khwarizmi wrote about Indian place-value arithmetic, which uses zero. His work helped transmit the system. Its Indian development came before him, and the surviving texts do not establish who was the first Muslim to use zero.
Brahmagupta was an Indian mathematician who wrote rules for calculation with zero in 628 CE. He explained, for example, that a number plus zero stays the same. This is an early written treatment of zero as a number in its own right. People had used signs for empty positions before, so an early surviving set of rules is a different kind of milestone from first use.
Zero works as both a number and a place holder. In a sum such as 17 + 0, it is the number zero. In 507, it also shows that the tens place is empty.
Algebra and the name of a book
Algebra uses relationships between known and unknown quantities. For example, if two equal bags together contain eight apples, taking half of the total gives four apples in each bag. You can write the same reasoning as an equation. Al-Khwarizmi explained ways to solve equations in his book on calculation by completion and balancing, commonly called Al-Jabr wa al-Muqabala. The word algebra comes from al-jabr in the title.
His work presented methods related to everyday matters such as property and measurement. A written procedure shows the reader how to solve a kind of problem again, using new numbers. Later translations helped readers beyond the Arabic-speaking world learn from this work.
What an algorithm is
An algorithm is an ordered set of steps to solve a problem or carry out a task. The word came through a Latin form of al-Khwarizmi's name. Long addition is an example of a procedure. It tells you which column to start with, when to carry a number and where to write each result. The steps can be followed for many different sums.
Modern computers follow algorithms. Al-Khwarizmi lived many centuries before electronic computers. His historical contribution was to written methods of calculation and algebra. That link explains why his name comes up in the history of computing and why algebra, arithmetic and algorithm answer different questions.
Facts to remember
Algebra
The name comes from al-jabr, a term in the title of al-Khwarizmi's work.
Algorithm
The English term developed from forms of al-Khwarizmi's name.
Do not confuse
Algebra
Works with unknown quantities and relationships
Algorithm
A sequence of steps for solving a task
Remember these points
- Brahmagupta wrote rules using zero in 628 CE.
- Al-Khwarizmi helped transmit Indian place-value arithmetic and the use of zero.
- Al-Khwarizmi wrote Al-Jabr wa al-Muqabala. The word algebra comes from the title.
- Algorithm comes from a Latin form of al-Khwarizmi’s name.
- An algorithm is a set of steps, while arithmetic is calculation with numbers.