Biography.guide
Home › People › Mathematician › Ibn Hamza al-Maghribi
Portrait of Ibn Hamza al-Maghribi

Ibn Hamza al-Maghribi

1500 – 1611

Muslim mathematician

Don't just read it — keep itBiographies to ownE-book · Audio · Video From $7 →

About Ibn Hamza al-Maghribi

Lived 1500 – 1611. Ibn Hamza al-Maghribi was an Algerian mathematician.

Alī ibn Walī Ibn Hamza al-Maghribi , was a 16th-century Algerian mathematician. He was born between 1554-1575 in Algiers in Ottoman Algeria and died around 1611, during the rule of Murad III.

His most important work was Tuhfat al-a'dad fi-l-hisab (The Ornament of Numbers), which discusses some form of the concept of the logarithm.

Biography Ibn Hamza was born in Algiers during the 16th century to an Algerian father and a Turkish mother. He studied and memorized in his youth the Quran and a large part of the hadiths, while showing great talents in mathematics. When he reached the age of twenty, his father decided to send him to Istanbul to his maternal family to study mathematics with scholars in the capital of the Ottoman Empire. He thus spent part of his life in Istanbul during the reign of the Ottoman caliph Mourad III, where he quickly became one of the experts in the accounts of the Ottoman Diwan. His dual command of the Arabic and Ottoman Turkish languages also enabled him to teach children of Istanbul schools.

Ibn Hamza remained in Istanbul until the death of his father, when he resigned from his post to return to Algiers in order to take care of his widowed mother. Once in Algeria, Ibn Hamza worked in his father's stalls for some time before deciding to sell them all as well as the family house to move with his mother to Mecca to make his Hajj pilgrimage and subsequently settle in the city. he also thanks and cites many authors in his work, including Sinan bin Al-Fath, Ibn Yunus, Abu Abdullah bin Ghazi Al-Mankisi Al-Maghribi, Al-Kashi, Naseeruddin Al-Tusi, Al-Nasawi and many other mathematicians.

It is possible that Ibn Hamza's work had some success and circulated as far as Egypt, where two copies are still preserved in Cairo today. However, the fact that he writes his work in Turkish and not in Arabic means that the latter quickly fell into oblivion before being rediscovered by the Turkish epistemologist and mathematician Sâlih Zekî, in 1888 by chance when the latter bought from a Istanbul Grand Bazaar bookseller an old copy of Ibn Hamza's manuscript. Sâlih Zekî first disseminates the hypothesis of the discovery of logarithms by Ibn Hazam by analyzing his copy of Ibn Hamza.

Pierre Ageron, studying superficially8 a copy of Ibn Hamza's manuscript in Ottoman Turkish, kept at the Süleymaniye Kütüphanesi library, and dated to the Hijri year 1013, highlights an example linking geometric progression and arithmetic progression: the first written in oriental Arabic numerals (۱ ۲ ٤ ۸ ۱٦ ۳۲ ٦٤ ۱۲۸), and the second in alphabetical numbers (ا ب ج د ه و ز ح). In the margin is a figure which gives two graduations of the same segment: a regular one above, and a "logarithmic" graduation below. But, for the latter, the use of alphabetic and therefore whole numbers suggests that Ibn Hamza did not think of inserting non-integers and no approximate logarithm calculation is recorded in the manuscript9. Nevertheless we can note that, in the text in Ottoman Turkish, where Pierre Agero identifies the Arabic words us (exponent), dil'ayn (two sides) and a series of powers of 2 in oriental Arabic numerals and that of the corresponding exponents in numerals alphabetic, he was unable to read the actual text of the book because he did not master Ottoman Turkish.

The eighty-one palm problem “ A father dies leaving eighty-one palm trees to his nine sons. The first palm produces one pound of dates a year, the second produces two pounds, and so on until the eighty-first. How do you divide the palms among the heirs so that everyone benefits from the same number of trees and the same annual harvest of dates? " His treasure of numbers is known in Egypt and notably famous for the "problem of the palm trees", posed by an Indian scholar who was named Mollah Muhammad on the occasion of the great pilgrimage to Mecca in the year 998 of the Hijrah. (1590) to Ibn Hamza. This problem can be solved by means of a magic square of order n, the properties of which were still known in the Muslim world at the time as shown in the treatise drawn up by the Egyptian Muhammad Shabrâmallisî in the 17th century. But this was not the solution proposed by Ibn Hamza who proposed several that he would later integrate at the end of his future book under the name of the problem of Mecca.

Biography shop

Don’t just read it —
keep it.

Full-length biographies made to live with: read them, listen on the way to work, watch them tonight.

  • E-book
  • Audio
  • Video
Browse the shop — from $7

Instant download · yours to keep · every purchase keeps this site free

Important facts

Born
1500, Algiers
Birth century
Died
1611, Mecca
Occupation
Nationality

Contemporaries

People whose lives overlapped Ibn Hamza al-Maghribi's

Frequently asked questions

Who was Ibn Hamza al-Maghribi?

Muslim mathematician

When was Ibn Hamza al-Maghribi born?

Ibn Hamza al-Maghribi was born in 1500 in Algiers.

When did Ibn Hamza al-Maghribi die?

Ibn Hamza al-Maghribi died in 1611 in Mecca.

What was Ibn Hamza al-Maghribi's occupation?

Ibn Hamza al-Maghribi was a mathematician.

What nationality was Ibn Hamza al-Maghribi?

Ibn Hamza al-Maghribi was Algerian.

Sources & further reading

· Wikipedia: Ibn Hamza al-Maghribi

· Wikidata: Q4119124

· DBpedia: Ibn Hamza al-Maghribi

Cite this page

APA: Biography.guide. (2026). Ibn Hamza al-Maghribi. https://biography.guide/ibn-hamza-al-maghribi/

MLA: "Ibn Hamza al-Maghribi." Biography.guide, https://biography.guide/ibn-hamza-al-maghribi/.

Chicago: "Ibn Hamza al-Maghribi." Biography.guide. https://biography.guide/ibn-hamza-al-maghribi/.

Data last updated: 2026-09-20 · Spot an error? Report a correction.

Page generated 2026-09-27 05:21 UTC