Skip to main content
Written by

Al-Qalasadi Used Algebra's Symbols and Never Invented Them

Al-Qalasadi of Baza used shin, mim and kaf as algebra symbols but did not invent them. Maghrebi precedents, the dust board and Ibn al-Banna's role explained.

Illustrated Maghrebi arithmetic manuscript with Arabic letters written above columns of numbers on a dust board, the notation of al-Qalasadi algebra, warm lamplight

In his Tabsira, from about 1443, al-Qalasadi tells readers to write shin, mim or kaf over the unknown, the square and the cube.

Al-Qalasadi, born in Baza in 1412, is the name usually attached to Arabic algebra's letter symbols, but he used them rather than invented them.⁠[1] Ibn Qunfudh had set out shin for the unknown, mim for its square and kaf for its cube around 1370 on Abdeljaouad's dating, decades before al-Qalasadi was born.⁠[2] Al-Qalasadi's own part was to teach letter symbols in his arithmetic textbooks, though not in his commentary on the Talkhis, and a nineteenth-century manuscript find made his the name that stuck.⁠[3]
Al-Qalasadi's lifespan
1412–1486
Born in Baza, died in Béja, Tunisia⁠[1]
Ibn Qunfudh's symbol rules
c. 1370
Hatt an-niqab, dated 1370 by Abdeljaouad⁠[2]
Pilgrimage and study
11 years
Left Almuñécar in July 1437, back in Almería on 25 April 1451⁠[4]

From Baza to Béja: a life on the move

Baza, at the northern edge of the Nasrid kingdom, is where al-Qalasadi was born in 1412; he died in Béja, Tunisia, in December 1486.⁠[1] His education began at home with law, the Qur'an and the science of fixed shares in an estate, which is inheritance arithmetic.⁠[5] A notable Baza family then sent him to Granada while he was still young, pushed by the Christian advance, and Granada became his residence.⁠[6]

Baza itself stayed on the front line. It withstood one of the hardest sieges of the whole campaign, from mid-June to early December 1489, three years after his death.⁠[7]

Timeline
  1. c. 1370

    Ibn Qunfudh's Hatt an-niqab

    Dated to Fez, 1370, in Abdeljaouad's chronology.

  2. 1412

    Born in Baza

    In the north of the Nasrid kingdom.

  3. 1437

    Leaves Almuñécar

    The start of an eleven-year pilgrimage and study journey.

  4. 1451

    Back in Almería

    He lands on 25 April.

  5. 1486

    Dies in Béja

    Six years before the Catholic Monarchs take Granada.

In July 1437 he sailed from the port of Almuñécar, and he landed at Almería again on 25 April 1451, after eleven years of pilgrimage and study.⁠[4] The kingdom he came back to was at war, and the road then led to North Africa, where he died.⁠[8]

The notation itself: letters written over numbers

Al-Qalasadi's notation is a short set of Arabic letters written above numbers: shin for the unknown, mim for its square and kaf for its cube. In his Tabsira, from about 1443, he tells the reader to write shin, or three dots, over the shay, mim over the mal and kaf over the kab, and to leave the plain number bare.⁠[9]

Alongside the letters, his textbooks use short Arabic words as operation signs: wa ("and") for plus, illa ("less") for minus, fi ("times") for multiplication and ala ("over") for division.⁠[10] The letters, each the initial of its word, ran as follows:⁠[11]

  • shin, from shay ("thing"): the unknown
  • mim, from mal: its square
  • kaf, from ka'b: its cube
  • jim: the root
  • lam, from the verb yadilu ("equals"): the equals sign
Stucco-decorated oratory of the Madraza of Granada showing Nasrid geometric patterns

Explore nearby · Monument

Madraza of Granada

The Madraza, founded in 1349 by Sultan Yusuf I, was Granada's first Islamic college. Its Nasrid oratory and Baroque facade stand near the Royal Chapel.

The symbols grew out of habits already present in Maghrebi arithmetic: fractions were written in a complex notation with specific signs for the operations between them, and those signs reappear in the algebraic symbolism.⁠[12] Al-Qalasadi inherited that habit; he did not found it.

Not every work of his carries the notation. His commentary on the Talkhis, the Sharh al-Talkhis, is a syncopated algebra poor in symbols, with the operators left unrepresented.⁠[36] The Tabsira of 1443 and the works after it are different: every operation there is designated by a symbol.⁠[37]

The older hands behind the letters

Letter symbols were in use before al-Qalasadi, though the record shows related systems rather than one identical to his, so he has no claim to priority. Ibn Qunfudh, who died in 1406 or 1407,⁠[13] wrote his rules as a letter placed over the number: mim for squares,⁠[38] shin for the unknown⁠[39] and kaf for cubes.⁠[40] Nothing confirms that he also used al-Qalasadi's three-dot shin or his operator words. The older trail runs like this:

  • Ibn al-Yasamin (died 1204): in an otherwise rhetorical algebra chapter, algebraic symbols appear in a single formula, where he multiplies polynomial expressions, with no explanation.⁠[14] Elsewhere in the manuscript he places the letter jim over the number 60 to mark a root.⁠[41]
  • Ibn Qunfudh (about 1370): born around 1340 in Constantine,⁠[42] where he served as judge, mufti and preacher,⁠[43] he left for the far Maghreb in 1358⁠[44] and came home in 1374.⁠[45] His Hatt an-niqab, a commentary on Ibn al-Banna's Talkhis, is dated to Fez, 1370, in Abdeljaouad's chronology alone.⁠[2]
  • The Cairo-born Ibn al-Ha'im (1388): describes shin for things, mim for the square and kaf for cubes.⁠[15]
  • Ya'qub ibn Ayyub of Morocco (active about 1350), and many earlier writers in the East.⁠[16]

The oldest trace is barely a system at all. Why the symbols began is open; Abdeljaouad's hypothesis, offered as a hypothesis, ties them to the middle of the twelfth century, when the Almohad takeover of 1147 and the rise of Marrakesh drew Andalusian scholars to the Maghreb.⁠[17] Ibn Tufayl of Guadix was one such scholar, physician at the Almohad court.

The dust board and the inheritance table

The notation lived on a calculating board, the lawha, and al-Qalasadi ties the algebraic symbols to its use explicitly.⁠[18] His main arithmetic treatise, the Tabsira, was followed by two simpler versions for teaching, the last titled Unfolding the Secrets of the Use of Dust Letters.⁠[19]

The Tabsira's worked example is a sum: 4x + 5x² + 4x³ + 6 added to 6x + 4x² + 8x³ + 8, each power marked by its letter above the figure.⁠[20] On a board where figures are written and wiped, a letter over a number tells the student which column the number belongs to, which is most of what the exercise asks of the symbols.

Inheritance law supplied the everyday demand, since the science of fixed shares combined jurisprudence with arithmetic and was widely studied in the Maghreb and al-Andalus.⁠[21] Earlier algebra in the East was written out in words, a branch of practical calculation popularised by inheritance specialists, and al-Andalus and the Maghreb had many such specialists in both rhetorical algebra and succession law.⁠[22]

Ibn al-Banna: the commented text, not the notation

Ibn al-Banna, born in Marrakesh on 29 December 1256, wrote the Talkhis, the summary of arithmetic operations that al-Qalasadi later commented.⁠[24] The Talkhis drew outstanding commentaries, among them Ibn al-Banna's own Raf' al-hijab and that of al-Qalasadi of Granada.⁠[25] Ibn al-Banna supplied the text being commented; the question is whether he supplied the notation.

One cannot be sure he introduced a system of notation at all.⁠[26] The older popular view nonetheless credited both men with developing algebraic symbolism, and it misled some authors and historians.⁠[27]

1066 Granada massacre scene in Jewish history: a mob attacking the Jewish quarter of Nasrid-era Granada at dusk, the Alhambra hill silhouetted in the background, smoke rising over whitewashed rooftops, sombre red and amber tones

Deep dive · Article

1066 Granada Massacre: When the Jewish Golden Age Ended in a Day

The 1066 Granada massacre killed Joseph ha-Nagid and thousands of the city's Jews in a single day, ending three decades of Jewish power under Samuel ha-Nagid.

Al-Qalasadi's own commentary is the surprise. His Sharh al-Talkhis uses no symbol for any arithmetical operation, whether on integers, fractions, radicals or polynomials.⁠[28] He also complained about commentators who content themselves with the symbol and the sign, while illustrating his own treatises with algebraic symbols.⁠[29]

The credit stuck to him for a mundane reason: Woepcke's 1854 note on the Arabic algebraic notations, listed as Comptes rendus vol. 39, pp. 162–165,⁠[46] began from an al-Qalasadi manuscript,⁠[3] and ignorance of the earlier writers then led historians to give him too much credit.⁠[30] Djebbar's work pushed the practice of these symbols back about two centuries before al-Qalasadi,⁠[47] and he is now seen as an illustrious representative of the Maghrebi school.⁠[31]

Where Nasrid Granada fits, and where to stand

Nasrid Granada's link to al-Qalasadi is his biography: born in Baza, schooled and settled in Granada, and back in the kingdom in 1451.⁠[4][6] The teaching itself travelled.

Djebbar counts him among the last scholars of Andalusian origin who spent much of their lives carrying what they knew of earlier Arab mathematics to the central Maghreb, Ifriqiya and Egypt.⁠[32] The fifteenth-century world he worked in produced repetitive mathematics, poems and commentaries for a narrowing public of teachers, muwaqqits (mosque timekeepers), judicial functionaries and bookkeepers.⁠[33]

His arithmetic books were popular classroom texts with little original in them, and the two simpler versions stayed in use in North African teaching for over 100 years.⁠[34][35] The notation outlived the man who got the credit.

For a visit, these are the nearest anchors in Granada:

Frequently asked questions

Did al-Qalasadi invent algebraic notation?

Al-Qalasadi did not invent algebraic notation. He used a Maghrebi letter notation that Ibn Qunfudh had already set out around 1370 on Abdeljaouad's dating, and scholars now call him an illustrious representative of the Maghrebi school rather than its founder. The credit stuck because Woepcke's 1854 account of the Arabic notations began from one of his manuscripts.

What did al-Qalasadi contribute to algebra?

Al-Qalasadi contributed teaching rather than invention. His Tabsira and its two simpler versions carried arithmetic and the Maghrebi letter symbols into classrooms across North Africa, and the simpler versions stayed in use for over 100 years. His algebra book is a commentary on Ibn al-Yasamin's verse treatise, and there was little original in his work.

Which symbols did al-Qalasadi use for the unknown, square and cube?

Al-Qalasadi wrote shin for the unknown (from shay), mim for its square (mal) and kaf for its cube (ka'b), placing each letter above the number it marked. He used jim for the root, lam for equality, and short words such as wa for plus and illa for minus.

Who used algebraic symbols before al-Qalasadi?

Ibn Qunfudh set out mim, shin and kaf around 1370 on Abdeljaouad's dating, and the Cairo-born Ibn al-Ha'im described shin, mim and kaf in 1388. Ibn al-Yasamin (died 1204) used symbols in a single formula, and Ya'qub ibn Ayyub of Morocco, active about 1350, used them too.

Why did Maghrebi mathematicians write algebraic symbols on a dust board?

Maghrebi mathematicians wrote the symbols on the dust board because the notation belonged to board arithmetic. Al-Qalasadi explicitly ties the symbols to the calculating board, the lawha, and Abdeljaouad's hypothesis treats them as a chapter of Maghrebi dust-board arithmetic rather than of algebra proper.

Where was al-Qalasadi from and how is he tied to Nasrid Granada?

Al-Qalasadi was born in Baza in 1412, at the northern edge of the Nasrid kingdom, and was sent young to Granada, where he settled. He returned to the kingdom in 1451 after an eleven-year journey and died in Béja, Tunisia, in 1486.

Sources

47 references Show
  1. mathshistory.st-andrews.ac.uk — Al Qalasadi.pdf (opens in a new tab)

    “b. Basta [now Baza], Spain, 1412; d. Béja, Tunisia, December 1486”

  2. sites.unipa.it (opens in a new tab)

    “Vers 1370, ibn Qunfudh rédigeait à Fès son Hatt an-niqab can wujuh a cmal al-his āb1 qui est l'un des commentaires du Talkhis a cmāl al-his āb d'ibn al-Bann ā.”

  3. sites.unipa.it (opens in a new tab)

    “F.Woepke introduit sa découverte des notations algébriques arabes à partir d'un manuscrit d'al-Qalas ādi”

  4. historia-hispanica.rah.es (opens in a new tab)

    “partió del puerto de Almuñécar el mes de julio del año 1437 y regresó al de Almería el 25 de abril de 1451.”

  5. mathshistory.st-andrews.ac.uk — Al Qalasadi (opens in a new tab)

    “Al-Qalasadi began his education in Bastah, studying law, the Qur'an and the science of fixed shares in an estate.”

  6. historia-hispanica.rah.es (opens in a new tab)

    “Nacido en una ilustre familia andalusí de Baza, el avance cristiano le obligó a marchar muy joven a Granada, en donde fijó su residencia.”

  7. riuma.uma.es (opens in a new tab)

    “resulted in one of the hardest sieges of the campaign, lasting from mid-June to the beginning of December, 1489.”

  8. historia-hispanica.rah.es (opens in a new tab)

    “le sorprendió la muerte en el año 1486, seis años antes de que los Reyes Católicos tomaran Granada”

  9. sites.unipa.it (opens in a new tab)

    “place au dessus du Shay le signe shin ou trois points, au dessus du M āl le [signe] mim, au dessus du Kaab le [signe] kaf”

  10. mathshistory.st-andrews.ac.uk — Al Qalasadi.pdf (opens in a new tab)

    “Third, al-Qala ṣā di used both short Arabic words and letters as symbols.”

  11. sites.unipa.it (opens in a new tab)

    “Au Maghreb, une écriture complexe des fractions est utilisée, les opérations entre fractions étant représentées par des symboles spécifiques”

  12. islamansiklopedisi.org.tr (opens in a new tab)

    “Kaynakların çoğunda vefat tarihi 810 (1407) olarak verilmekle birlikte Ebû Abdullah Muhammed b. Ahmed ez-Zerkeşî 12 Rebîülevvel 809’da (27 Ağustos 1406) öldüğünü belirtir”

  13. sites.unipa.it (opens in a new tab)

    “C'est au moment où Ibn al-Y āsamin se propose de multiplier les expressions polynomiales qu'il introduit les symboles algébriques sans donner aucune explication.”

  14. sites.unipa.it (opens in a new tab)

    “comme le Shin pour les Shay (les choses), le Mim pour le M āl (le carré), le Kaf pour les cubes et ainsi de suite”

  15. sites.unipa.it (opens in a new tab)

    “les symboles mathématiques sont apparus vers le milieu du XII ème siècle; or cela correspond à la prise du pouvoir politique en 1147 par le mouvement almohade”

  16. sites.unipa.it (opens in a new tab)

    “Il faut noter que l'auteur associe explicitement la symbolique algébrique à l'usage d'une planche à calcul, la lawha”

  17. mathshistory.st-andrews.ac.uk — Al Qalasadi (opens in a new tab)

    “Even this he must have considered to be too difficult to be used as a teaching book, for he wrote yet a third version Unfolding the secrets of the use of dust letters.”

  18. sites.unipa.it (opens in a new tab)

    “il s'agit ici de la somme des deux polynômes : 4x + 5x 2 + 4x 3 + 6 et 6x + 4x 2 + 8x 3 + 8 .”

  19. mjh.uomustansiriyah.edu.iq (opens in a new tab)

    “producing works that combine Islamic jurisprudence with arithmetic, due to the close relationship between these fields”

  20. sites.unipa.it (opens in a new tab)

    “En Andalousie et au Maghreb, nous retrouvons de nombreux spécialistes de l'algèbre rhétorique et du droit successoral”

  21. sites.unipa.it (opens in a new tab)

    “nous suggérons que l'absence de symboles dans les traités du treizième siècle n'était pas due à des choix délibérés”

  22. mathshistory.st-andrews.ac.uk — Al Banna.pdf (opens in a new tab)

    “Outstanding commentaries are the Raf ʿal-ḥij āb by Ibn al-Bann āʾ himself, with notes by Ibn Hayd ūr and that of al-Qala ṣā dī of Granada.”

  23. mathshistory.st-andrews.ac.uk — Al Banna.pdf (opens in a new tab)

    “one cannot be sure that Ibn al-Bann āʾ was responsible for introducing a system of mathematical notation”

  24. ugr.es (opens in a new tab)

    “ha conducido a ciertos autores e historiadores a creer que el simbolismo algebraico fue desarrollado en la Matemática del Mundo Islam por ibn al-Banna y al-Qalasadi”

  25. sites.unipa.it (opens in a new tab)

    “Aucune des opérations arithmétiques (addition, soustraction, multiplication ou division), qu'elle porte sur les entiers, les fractions, les radicaux ou sur les expressions polynomiales n'est représentée par un symbole.”

  26. sites.unipa.it (opens in a new tab)

    “l'hermétisme de l'expression de certains commentateurs qui se contentent du symbole et du signe”

  27. mathshistory.st-andrews.ac.uk — Al Qalasadi (opens in a new tab)

    “Ignorance of the earlier contributions led historians to give too much credit to al-Qalasadi”

  28. sites.unipa.it (opens in a new tab)

    “Nous savons maintenant qu'il n'est qu'un représentant illustre de l'école maghrébine de mathématique.”

  29. link.springer.com (opens in a new tab)

    “one of the last scholars of Andalusian origin who dedicated a large part of his life to disseminating – to the central Maghreb, to Ifriqiya, and to Egypt – what he knew of the Arab mathematical tradition of the preceding centuries.”

  30. link.springer.com (opens in a new tab)

    “In mathematics this tendency resulted in a repetitive scientific production made up of poems or commentaries directed at an increasingly narrow public”

  31. mathshistory.st-andrews.ac.uk — Al Qalasadi (opens in a new tab)

    “It is now certain that, despite being popular teaching books, there was little original in al-Qalasadi's work.”

  32. mathshistory.st-andrews.ac.uk — Al Qalasadi (opens in a new tab)

    “Both of the simpler versions of al-Qalasadi's arithmetic treatise proved popular in teaching arithmetic in North Africa and the works were in use for over 100 years.”

  33. sites.unipa.it (opens in a new tab)

    “Il s'agit ici d'une algèbre syncopée pauvre en symboles algébriques et dans laquelle les opérateurs ne sont pas représentés.”

  34. sites.unipa.it (opens in a new tab)

    “toutes les opérations sont désignées et représentées par un symbole.”

  35. sites.unipa.it (opens in a new tab)

    “Sache que pour représenter les M āl (les carrés de l'inconnue) , tu en écris le nombre que tu fais surmonter par la lettre Mim.”

  36. sites.unipa.it (opens in a new tab)

    “Pour représenter les Shay, tu en écris le nombre et tu le fais surmonter de la lettre Shin.”

  37. sites.unipa.it (opens in a new tab)

    “Pour représenter les cubes, tu en inscris le nombre que tu surmontes de la lettre”

  38. sites.unipa.it (opens in a new tab)

    “placer la lettre Jim au dessus du nombre 60 pour signifier que c'est une racine”

  39. islamansiklopedisi.org.tr (opens in a new tab)

    “740 (1340) yılı civarında Cezayir’in büyük şehirlerinden Kostantîne’de (Kosantîne) doğdu.”

  40. islamansiklopedisi.org.tr (opens in a new tab)

    “İbn Kunfüz Hafsîler’in yönetimindeki Kostantîne’de kadılık, müftülük ve hatiplik yaptı.”

  41. islamansiklopedisi.org.tr (opens in a new tab)

    “759’da (1358) ilim yolculuğuna çıkarak Mağrib-i Aksâ’ya gitti; Fas, Merakeş, Tilimsân, Selâ ve Sebte (Ceuta) gibi şehirlerde tahsiline devam etti.”

  42. islamansiklopedisi.org.tr (opens in a new tab)

    “Mağrib’de kıtlığın hüküm sürdüğü 776 (1374) yılında memleketine dönen İbn Kunfüz”

  43. ismi.mpiwg-berlin.mpg.de (opens in a new tab)

    “Note sur des notations algébriques employées par les Arabes”

  44. sites.unipa.it (opens in a new tab)

    “Ahmed Djebbar (1990) qui repousse de deux siècles la pratique de ces symboles”