See How Things Work

Al-Karaji and the algebra of polynomials

Unit
Mathematics in the Islamic World
Part
2. The Birth of Algebra
Lesson
2.3

Around the year 1000, a mathematician in Baghdad set out to calculate with unknown quantities exactly as one calculates with numbers.⁠[1][2] Al-Karajī named an endless sequence of powers of the unknown, gave rules for combining them, and built a table of numbers that Europe later called Pascal’s triangle.⁠[3][4] This lesson tells what he did, how we know it, and how historians judge it.

A mathematician of Baghdad

Almost nothing is known of al-Karajī’s life; even his name is uncertain.⁠[5] Manuscripts call him both al-Karajī, which would point to the city of Karaj in Iran, and al-Karkhī, which would point to Karkh, one of the old suburbs of Baghdad.⁠[6] Historians have argued for each, and the question is not settled.⁠[7] What is known is that he lived in Baghdad for most of his life and wrote his chief works there,⁠[8] around the year 1000.⁠[1] Later he seems to have left for the “mountain countries” and turned to engineering, writing on the drilling of wells.⁠[9]

His great book on algebra, al-Fakhrī, is named after the ruler to whom it is dedicated;⁠[10] MacTutor says that this was the ruler of Baghdad, and that the book was written in that city.⁠[11] He also wrote a second book, al-Badīʿ, which a younger algebraist, al-Samawʾal, read as a student.⁠[12] Part of al-Karajī’s work is lost and is known only through what al-Samawʾal recorded of it.⁠[13]

Caution.

His dates. Heath gives his death as “about 1029”, in another place as “probably about 1029”.⁠[14][15] MacTutor also gives “about 1029”, and in addition a birth date, 13 April 953, in Baghdad.⁠[16] Rashed’s article in the Dictionary of Scientific Biography gives no dates at all, only that he flourished in Baghdad at the end of the tenth century and the beginning of the eleventh;⁠[17] Toomer’s article on al-Khwārizmī in the same dictionary gives his death as 1029.⁠[18] Since Rashed says that virtually nothing is known of his life, a precise birth date should be treated with caution.

Calculating with unknowns as with numbers

Al-Khwārizmī’s equations had been made of three kinds of quantity: numbers, roots and squares.⁠[19] Al-Karajī read the work of al-Khwārizmī and his successors together with Diophantus’s Arithmetica, and from the two traditions drew a new plan for algebra.⁠[20] Heath notes that many problems in the second part of al-Fakhrī are taken directly from the Arithmetica.⁠[14] The first five books of the Arithmetica had been translated into Arabic around 870.⁠[21] Al-Samawʾal, his successor, described the aim of this new kind of algebra as

“operating on unknowns using all the arithmetical tools, in the same way as the arithmetician operates on the known”.⁠[2]

So al-Karajī began al-Fakhrī with a systematic study of the powers of the unknown, then applied the operations of arithmetic first to single terms and then to whole sums of terms,⁠[22] which he called “composite quantities”.⁠[23]

Definition (Composite quantity (polynomial)).

A sum of terms, each of which is a number times a power of the unknown: for example, “three cubes and two things and five”. Al-Karajī’s “composite quantities”, or sums of single terms, are what are now called polynomials.⁠[23][24]The historian Roshdi Rashed calls al-Karajī the author of the first account of the algebra of polynomials;⁠[20] Burton calls al-Fakhrī the earliest detailed account of it.⁠[10]

For the addition, subtraction and multiplication of polynomials al-Karajī gave general rules. For division he could treat only the division of a polynomial by a single term, and his method for the square root of a polynomial required all its numbers to be positive: every term added, none taken away.⁠[25][26] His successor al-Samawʾal described all four operations on polynomials, including division, and gave methods for extracting their roots.⁠[27]

Looking ahead.

Polynomials and their arithmetic are taught in the unit Polynomials, starting with “Monomials and polynomials”; division of polynomials in the unit Polynomial Division.

Caution.

Historians disagree about how new this was. Franz Woepcke, who published extracts of al-Fakhrī in Paris in 1853,⁠[28][29] saw in it the most complete, or rather the only, theory of algebraic calculation among the Arabs known in his time.⁠[30] Rashed goes further: al-Karajī, he argues, aimed to make algebra independent, so that the geometric representation of its operations could be rejected.⁠[31] The historian J. N. Crossley is less impressed: al-Karajī usually gives a numerical example for a rule, offers no proof beyond geometric pictures, and often says that he is following the style of Diophantus.⁠[32]

An endless ladder of powers

Al-Khwārizmī had a word for the square, māl, and a general word for the unknown, shai, “thing” (both in Cajori’s spelling).⁠[33] Al-Karajī continued without end, in both directions: the powers of the thing, upward without limit, and a second sequence of their reciprocals, one divided by the thing, by its square, and so on.⁠[3] Each power comes from the one before it by multiplying once more by the thing, or, in the second sequence, by one divided by the thing.⁠[34] He also gave rules for the product of any two of them, without any reference to geometry.⁠[35]

To name the powers he needed only two words besides “thing”: māl, the square, the thing multiplied by itself, and kaʿb, the cube, three things multiplied together.⁠[15] A longer name stands for the product of its words, and because a product of two things and three things contains five things, the values of the words are added. Florian Cajori calls this the additive principle, and notes that al-Karajī (Cajori writes al-Karkhī) followed it, as Diophantus had.⁠[36] Thomas Heath, who spells the name al-Karkhī, records al-Karajī’s names:⁠[37]

  • māl: two things; kaʿb: three things;
  • māl māl: four; māl kaʿb: five; kaʿb kaʿb: six; māl māl kaʿb: seven; and so on.
Definition (Power of the unknown (in words)).

The thing multiplied by itself a certain number of times. The number of things multiplied together is the number by which the powers are counted: māl, the square, counts two, and kaʿb, the cube, three.⁠[15]

The game below uses al-Karajī’s rule. Each word is drawn with its things, so that every name can be read by counting and adding.

Game

Names of the powers

Round
1
Score
0
Streak
0

In al-Karajī’s naming, how many things multiplied together make māl kaʿb? Each orange rod is one thing.

mālkaʿb
Example (Reading a name).

How many things are multiplied together in the power named māl kaʿb kaʿb?

  1. Write down the value of each word: māl is 2 things, kaʿb is 3, and the second kaʿb is 3 again.
  2. Under the additive principle the values are added: 2 + 3 = 5, and 5 + 3 = 8.

The name stands for eight things multiplied together. The order of the words does not change the count: kaʿb māl kaʿb also makes 3 + 2 + 3 = 8.

Example (One name, two meanings).

A reader meets the name māl kaʿb in an Arabic algebra. How many things does it stand for in al-Karajī’s naming, and how many in the naming most Arabic algebraists used?

  1. Al-Karajī adds the words: māl (2) and kaʿb (3) make 2 + 3 = 5 things.
  2. Most Arabic writers read the name the other way: the square of the cube, the cube taken twice over. Two cubes of three things each make 3 + 3 = 6 things.

So the same name means five things for al-Karajī⁠[37] and six for most other Arabic algebraists.⁠[36] Cajori makes the same point with the Greek names: under the multiplicative principle, “found later widely prevalent among the Arabs and Italians”, the “square-cube” would mean the sixth power, not the fifth.⁠[38] Reading such a name without knowing its writer’s convention is a common mistake.

Caution.

Two conventions. Cajori notes that Arabic algebraists usually built the names of higher powers on the multiplicative principle of the Indian (in his words, “Hindu”) algebraists, and that al-Karajī is at least one Arabic writer who followed Diophantus’s additive principle instead.⁠[36] A name of this kind means nothing without its convention.

Looking ahead.

Powers are taught in “Exponents as repeated multiplication” in the unit Powers & Square Roots; the rule that multiplying two powers adds their counts, in “The product rule” in the unit Exponents, and reciprocals of powers in “Negative exponents” in the same unit. Burton notes that al-Karajī stated the equivalent of the product rule in words.⁠[39]

The table of coefficients

Al-Karajī’s table of coefficients is known only through another writer. His own computation is lost; it survives because al-Samawʾal preserved it,⁠[40][41] a mathematician born in Baghdad who died about 1180.⁠[42][43]Al-Samawʾal wrote his book al-Bāhir (MacTutor translates the title as “The Brilliant”, the Dictionary of Scientific Biography as “The Dazzling”) when he was nineteen years old.⁠[44][45] There he reports that al-Karajī built a table by a simple rule: put one, and one below it; move the first one into a second column, and add it to the one below it, which gives two; write the second one below the two.⁠[46] The second column reads one, two, one, and the third, built the same way, one, three, three, one.⁠[47]

The columns tell how many times each product appears when a number divided into two parts is multiplied by itself several times. For the square, al-Samawʾal explains, each part is multiplied by itself once and each part by the other twice: one, two, one.⁠[48]

Game

Al-Karajī’s table

Round
1
Score
0
Streak
0

Each line begins and ends with one. Every other number is the sum of the two numbers just above it, to the left and to the right. Fill in line 3.

11
121
Example (The fourth column).

The third column is one, three, three, one. Build the fourth column by al-Karajī’s rule.

  1. The new column begins with one, moved over from the column before.
  2. Each next number is the sum of a number of the old column and the number below it: 1 + 3 = 4, then 3 + 3 = 6, then 3 + 1 = 4.
  3. The last one of the old column is written at the bottom: one.

The fourth column is one, four, six, four, one. Each column has one number more than the column before it, and reads the same from either end.

Example (Three names for one table).

What has this table been called, and by whom?

  1. Burton writes that in seventeenth-century Europe the triangular arrangement of these numbers became known as the Arithmetic Triangle, or Pascal’s Triangle.⁠[4]
  2. The Dictionary of Scientific Biography says that it became known in the West as Tartaglia’s or Pascal’s triangle.⁠[40]
  3. Rosen adds that in Iran it is known as Khayyám’s triangle, after Omar Khayyam, who also wrote about it.⁠[49]

The names honor later writers, not the first known author of the table. According to the Dictionary of Scientific Biography, al-Karajī found it after 1007,⁠[50] centuries before Pascal’s seventeenth century.

Historical note.

Rosen describes the same pattern from the modern side: in Pascal’s triangle, two neighboring numbers added together give the number between them in the next row.⁠[51] That is exactly al-Karajī’s rule, read with the columns turned into rows.

Looking ahead.

The Chinese form of the table is the subject of “Pascal’s triangle before Pascal: Jia Xian and Yang Hui” in the unit Mathematics in Asia. The table itself is taught in “Pascal’s triangle” in the unit Combinatorics, and what its numbers mean in the unit The Binomial Theorem.

A step toward proof by induction

Al-Karajī also added the cubes of the numbers that follow one another from one. In Rashed and Ahmad’s translation of his words, as MacTutor quotes them: “If we want to add the cubes of the numbers that follow one another in their natural order we multiply their sum by itself.”⁠[52] He showed it for the numbers from one to ten.⁠[53] His argument used a figure: a square whose side is 1 + 2 + … + 10, cut into a small corner square and a series of L-shaped pieces, one for each number.⁠[54] The outermost piece holds the cube of ten, the next the cube of nine, and so on down to the corner. Removing one L-shaped piece leaves the same kind of square for the numbers up to nine, so the same step can be repeated until only the corner is left.⁠[54]

182764
Side: 1 + 2 + 3 + 4 = 10
corner square: 1
first L: 8 unit squares
second L: 27 unit squares
third L: 64 unit squares
1 + 8 + 27 + 64 = 100,
which is 10 rows of 10
Al-Karajī’s figure for adding cubes, drawn for the numbers one to four. A square whose side is 1 + 2 + 3 + 4 is cut into a corner square and three L-shaped pieces. Count the unit squares: the pieces hold 1, 8, 27 and 64, the cubes of 1, 2, 3 and 4. Al-Karajī drew the same figure for the numbers one to ten and peeled off one L-shaped piece after another.⁠[54]
Example (Checking the figure for one to four).

Check, by counting, that the cubes of 1, 2, 3 and 4 together fill the square whose side is 1 + 2 + 3 + 4.

  1. The side is 1 + 2 + 3 + 4 = 10. The square holds 10 rows of 10 unit squares: adding ten tens gives 100.
  2. Count the pieces in the figure: the corner square holds 1, and the three L-shaped pieces hold 8, 27 and 64 unit squares, the cubes of 2, 3 and 4. (The cube of 1 is 1 itself: the corner piece is the special case with no arms.)
  3. Add the pieces: 1 + 8 = 9, 9 + 27 = 36, and 36 + 64 = 100.
  4. Remove the outer piece of 64. What remains is the square of side 1 + 2 + 3 = 6, which holds 6 rows of 6, that is, 36: the same 36 as 1 + 8 + 27.

Both counts give 100, and peeling off the outer piece leaves a smaller square of the same kind, as al-Karajī’s step requires.

Reasoning of this kind, in which each case is reduced to the one before it, is the core of the method of proof called mathematical induction. In a proof by induction one shows that a statement holds for the first number, and that whenever it holds for one number it also holds for the next.⁠[55] In al-Karajī the reasoning appears for particular numbers: a case is shown, the next case is derived from it, and so on for a few steps, before the remark that the process can go on without end.⁠[56]

Caution.

Is this induction? Rashed sees in al-Samawʾal’s arguments a slightly old-fashioned form of mathematical induction, and a proof that can be considered its beginning.⁠[57] MacTutor calls al-Karajī’s reasoning not induction proper, but a major step toward it.⁠[56] Burton notes that al-Karajī’s proof was given only for ten, but that the argument works for any number.⁠[53]

Looking ahead.

Proof by induction is taught in “The principle of induction” in the unit Mathematical Induction, and the sum of cubes in “Sums of powers” in the same unit.

Exercises

Exercise .

How many things make kaʿb kaʿb in al-Karajī’s naming? What would a writer using the multiplicative principle have meant?

▸ Show solution

Under the additive principle the words are added: kaʿb kaʿb is 3 + 3 = 6 things, the sixth power. Under the multiplicative principle the name would mean the cube of the cube: three things, three times over, 3 + 3 + 3 = 9 things. Cajori says the same of the Greek “cube-cube”: the multiplicative principle would make it the ninth power.⁠[38] Al-Karajī used the additive principle, so for him it is six.⁠[37]

Exercise .

Give two different names, built by the additive rule, for the power of eight things. Which is shorter?

▸ Show solution

māl kaʿb kaʿb makes 2 + 3 + 3 = 8 things, and so does māl māl māl māl, 2 + 2 + 2 + 2 = 8. The first has three words, the second four. (The order of the words does not matter, since the values are added: kaʿb māl kaʿb also makes eight.)

Exercise .

Line 4 of the table is 1, 4, 6, 4, 1. Build line 5 using only al-Karajī’s rule.

▸ Show solution

Line 4 is 1, 4, 6, 4, 1. Line 5: begin with 1; then 1 + 4 = 5, 4 + 6 = 10, 6 + 4 = 10, 4 + 1 = 5; end with 1. So line 5 is 1, 5, 10, 10, 5, 1.

Exercise .

The cubes of 1, 2 and 3 are 1, 8 and 27. Check al-Karajī’s result for the numbers one to three: compare their cubes added together with a square whose side is 1 + 2 + 3.

▸ Show solution

1 + 2 + 3 = 6, and a square of side 6 holds 6 rows of 6, which is 6 + 6 + 6 + 6 + 6 + 6 = 36 unit squares. The cubes are 1, 8 and 27, and 1 + 8 + 27 = 36. The two totals agree, as al-Karajī’s figure shows: the square of side 6 is the corner square and the first two L-shaped pieces.

Exercise .

Build the sixth column from the fifth, 1, 5, 10, 10, 5, 1, and add up its numbers.

▸ Show solution

The sixth column begins and ends with one, and its other numbers are sums of neighbors in the fifth column, 1, 5, 10, 10, 5, 1: 1 + 5 = 6, 5 + 10 = 15, 10 + 10 = 20, 10 + 5 = 15, 5 + 1 = 6. So it is 1, 6, 15, 20, 15, 6, 1. Adding them: 1 + 6 = 7, 7 + 15 = 22, 22 + 20 = 42, 42 + 15 = 57, 57 + 6 = 63, 63 + 1 = 64. (The fifth column adds up to 32 and the fourth to 16: each total found so far is twice the one before.)

Exercise .

How do we know that al-Karajī made the table of coefficients?

▸ Show solution

Al-Karajī’s own text with the table is lost. It is known because al-Samawʾal, writing in the twelfth century, preserved and explained al-Karajī’s method in his al-Bāhir.⁠[40][41] The attribution therefore rests on al-Samawʾal’s report, and the date “after 1007” on the dating of al-Karajī’s works.⁠[50]

Summary

  1. Al-Karajī (or al-Karkhī; his name and origin are uncertain) worked in Baghdad around 1000; his books include al-Fakhrī and al-Badīʿ.
  2. Reading al-Khwārizmī’s algebra together with the Arabic Diophantus, he set out to calculate with unknowns as with numbers, and gave the first account of the algebra of polynomials, with general rules for adding, subtracting and multiplying them.
  3. He named an unending sequence of powers with the words māl (two things) and kaʿb (three things), adding the values of the words, unlike most Arabic writers, who multiplied them.
  4. His table of coefficients, built only by adding neighbors, survives through al-Samawʾal’s al-Bāhir; it is the arrangement later called Pascal’s triangle in Europe.
  5. His argument for the sum of the cubes from one to ten reduces each case to the one before it: a step toward proof by induction, though not the general principle.

Sources

  1. 1.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 246 (the whole topic: pp. 242–247).
    “Little is known of the details of his life other than that he lived in Baghdad around the year 1000.”
    Used for: al-Karajī lived in Baghdad around the year 1000 (lead and first section).
  2. 2.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “operating on unknowns using all the arithmetical tools, in the same way as the arithmetician operates on the known.”
    Used for: al-Samawʾal’s description of al-Karajī’s new departure in algebra, quoted in the text: calculating with unknowns as with numbers.
  3. 3.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “the two sequnces, x, x², . . ., x⁹, . . ., 1/x, 1/x², . . ., 1/x⁹, . . . and, successively, formulated the following rules”
    Used for: in al-Fakhrī al-Karajī studied two endless sequences, the powers of the unknown and their reciprocals, and gave rules for them (the copy prints “sequnces”).
  4. 4.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 246 (the whole topic: pp. 242–247).
    “The values of these coefficients were arranged in a triangular table, which in seventeenth-century Europe became known as the Arithmetic Triangle, or Pascal’s Triangle.”
    Used for: al-Karajī’s table of coefficients was later called in Europe the Arithmetic Triangle or Pascal’s triangle (lead, example).
  5. 5.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “Virtually nothing is known of al-Karajī’s life; even his name is not certain.”
    Used for: almost nothing is known of his life, and even his name is uncertain.
  6. 6.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “The significance is that Karaj is a city in Iran and if the mathematician's name is al-Karaji then certainly his family were from that city. On the other hand Karkh is one of the original suburbs of Baghdad”
    Used for: the two forms of the name, al-Karajī pointing to Karaj in Iran and al-Karkhī to Karkh, a suburb of Baghdad.
  7. 7.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “della Vida’s argument is plausible but not decisive. On the basis of the manuscripts consulted it is far from easy to decide in favor of either name.”
    Used for: historians have argued for each name and the question is not settled.
  8. 8.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “Certainly we know that al-Karaji lived in Baghdad for most of his life and that his chief mathematical works were written during the time when he lived in that city.”
    Used for: he lived in Baghdad for most of his life and wrote his chief works there.
  9. 9.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “al-Karaji left Baghdad to live in what are described as the "mountain countries". He seems to have given up mathematics at this time and concentrated on engineering topics such as the drilling of wells.”
    Used for: he later seems to have left for the “mountain countries” and turned to engineering, such as the drilling of wells.
  10. 10.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 246 (the whole topic: pp. 242–247).
    “is dedicated to a local ruler of that name. Its significance lies in being the earliest detailed account of the algebra of polynomials.”
    Used for: al-Fakhrī is named after the ruler to whom it is dedicated; Burton calls it the earliest detailed account of the algebra of polynomials (definition).
  11. 11.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “His important treatise on algebra Al-Fakhri was dedicated to the ruler of Baghdad and was written in the city.”
    Used for: al-Fakhrī was dedicated to the ruler of Baghdad and written there.
  12. 12.
    Adel Anbouba, “Al-Samawʾal, Ibn Yaḥyā al-Maghribī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “He finished Euclid, then went on to the Algebra of Abū Kāmil, the al-Badī‘ of al-Karajī, and the Arithmetic of al-Wasītī”
    Used for: al-Badīʿ is a book of al-Karajī, which al-Samawʾal studied as a student.
  13. 13.
    J. J. O’Connor and E. F. Robertson, “Ibn Yahya al-Maghribi Al-Samawal”, MacTutor History of Mathematics Archive, University of St Andrews (November 1999).
    “It is a work of great importance both for the original ideas which it contains and also for the information that it records concerning works by al-Karaji which are now lost.”
    Used for: part of al-Karajī’s work is lost and known only through what al-Samawʾal recorded.
  14. 14.
    T. L. Heath, Diophantus of Alexandria: A Study in the History of Greek Algebra (2nd ed., Cambridge University Press, 1910).
    Chapter I, “Diophantus and his works”, p. 5 (the whole topic: pp. 4–5). Read it online.
    “Thus the second part of an algebraic treatise called the Fakhrī by Abū Bekr Muḥ. b. al-Ḥasan al-Karkhī (d. about 1029) is a collection of problems in determinate and indeterminate analysis which not only show that their author had deeply studied Diophantus, but in many cases are taken direct from the Arithmetica”
    Used for: al-Karajī (Heath: al-Karkhī) died about 1029; many problems in the second part of al-Fakhrī are taken directly from Diophantus’s Arithmetica.
  15. 15.
    T. L. Heath, Diophantus of Alexandria: A Study in the History of Greek Algebra (2nd ed., Cambridge University Press, 1910).
    Chapter III, “Notation and definitions of Diophantus”, section note 1, p. 41 (the whole topic: pp. 37–41). Read it online.
    “There is at least one Arabian algebraist, al-Karkhī (died probably about 1029), the author of the Fakhrī, who uses the Diophantine system of powers of the unknown depending on the addition of exponents. Al-Karkhī, namely, expresses all powers of the unknown above the third by means of māl, his term for the square, and kaʿb, his term for the cube of the unknown”
    Used for: māl the square and kaʿb the cube; al-Karajī named the higher powers from these two words, adding their values, as Diophantus did; his death “probably about 1029” (text, definition, Caution note).
  16. 16.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “Born 13 April 0953 Baghdad (now in Iraq) Died about 1029”
    Used for: MacTutor’s dates: born 13 April 953 in Baghdad, died about 1029 (Caution note).
  17. 17.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “(fl. Baghdad, end of tenth century/beginning of eleventh), mathematics.”
    Used for: the Dictionary of Scientific Biography gives no dates, only that he flourished in Baghdad at the end of the tenth century and the beginning of the eleventh (Caution note).
  18. 18.
    G. J. Toomer, “Al-Khwārizmī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “But even such advanced algebraists as al-Karajī (d. 1029) and ‘Umar al-Khayyāmī (d. 1123-1124) still used the”
    Used for: Toomer gives al-Karajī’s death as 1029 (Caution note).
  19. 19.
    J. J. O’Connor and E. F. Robertson, “Abu Ja’far Muhammad ibn Musa Al-Khwarizmi”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “His equations are linear or quadratic and are composed of units, roots and squares.”
    Used for: al-Khwārizmī’s equations were made of numbers (units), roots and squares.
  20. 20.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “the discovery and reading of the arithmetical work of Diophantus, in the light of the algebraic conceptions and methods of al-Khwārizmī and other Arab algebraists, made possible a new departure in algebra by al-Karajī, the author of the first account of the algebra of polynomials.”
    Used for: al-Karajī read Diophantus in the light of al-Khwārizmī and his successors and made a new departure in algebra; Rashed calls him the author of the first account of the algebra of polynomials.
  21. 21.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “The first five books of Diophantus's Arithmetica had been translated into Arabic by ibn Liqa around 870 and these were studied by al-Karaji.”
    Used for: the first five books of the Arithmetica were translated into Arabic around 870, and al-Karajī studied them.
  22. 22.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “In his treatise on algebra, al-Fakhrī, al-Karajī first presented a systematic study of algebraic exponents, then turned to the application of arithmetical operations to algebraic terms and expressions, and concluded with a first account of the algebra of polynomials.”
    Used for: the plan of al-Fakhrī: first the powers of the unknown, then the operations of arithmetic applied to terms and to sums of terms.
  23. 23.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “Having given rules for multiplication and division of monomials al-Karaji then looked at "composite quantities" or sums of monomials.”
    Used for: al-Karajī called sums of terms “composite quantities” (text and definition).
  24. 24.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “al-Karajī first considered the application of these rules to monomials before taking up “composed quantities,” or polynomials.”
    Used for: al-Karajī’s composite (in Rashed’s translation “composed”) quantities are polynomials (definition).
  25. 25.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “For these he gave rules for addition, subtraction and multiplication but not for division in the general case, only giving rules for the division of a composite quantity by a monomial.”
    Used for: general rules for adding, subtracting and multiplying polynomials; division only of a polynomial by a single term.
  26. 26.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “As for the extraction of the square root of a polynomial, al-Karajī succeeded in giving a general method—but it is valid only for positive coefficients.”
    Used for: his method for the square root of a polynomial required all its numbers (coefficients) to be positive.
  27. 27.
    J. J. O’Connor and E. F. Robertson, “Ibn Yahya al-Maghribi Al-Samawal”, MacTutor History of Mathematics Archive, University of St Andrews (November 1999).
    “After defining polynomials, al-Samawal describes addition, subtraction, multiplication and division of polynomials. He also gave methods for the extraction of the roots of polynomials.”
    Used for: al-Samawʾal described all four operations on polynomials, including division, and gave methods for extracting their roots.
  28. 28.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “F. Woepcke, Extrait du Fahri, traité d’algébre (Paris, 1853)”
    Used for: Woepcke published extracts of al-Fakhrī in Paris in 1853 (the copy prints “Fahri” and “algébre”).
  29. 29.
    T. L. Heath, Diophantus of Alexandria: A Study in the History of Greek Algebra (2nd ed., Cambridge University Press, 1910).
    Chapter I, “Diophantus and his works”, section note 5, p. 5 (the whole topic: pp. 4–5). Read it online.
    “See F. Woepcke, Extrait du Fakhrī, traité d’Algèbre par Abou Bekr Mohammed ben Alhaçan Alkarkhī (manuscrit 952, supplément arabe de la bibliothèque Impériale), Paris, 1853.”
    Used for: Woepcke’s edition of extracts of al-Fakhrī, Paris, 1853.
  30. 30.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “Woepcke remarked that it “offers first the most complete or rather the only theory of algebraic calculus among the Arabs known to us up to the present time.””
    Used for: Woepcke’s judgment: the most complete, or rather the only, theory of algebraic calculation among the Arabs then known.
  31. 31.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “The more or less explicit aim of this exposition was to find means of realizing the autonomy and specificity of algebra, so as to be in a position to reject, in particular, the geometric representation of algebraic operations.”
    Used for: Rashed’s view that al-Karajī aimed to make algebra independent, so that the geometric representation of its operations could be rejected.
  32. 32.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “al-Karaji usually gives a numerical example for his rules but does not give any sort of proof beyond giving geometrical pictures. Often he explicitely says that he is giving a solution in the style of Diophantus.”
    Used for: Crossley’s less impressed view, as MacTutor quotes it: numerical examples, no proof beyond geometric pictures, solutions in the style of Diophantus.
  33. 33.
    Florian Cajori, A History of Mathematical Notations (two volumes bound as one, Dover (first published by Open Court, 1928–1929), 1993).
    Vol. I, Chapter III, “Symbols in Arithmetic and Algebra (Elementary Part)”, section “Signs of Powers”, §290, “General remarks”, p. 336 (the whole topic: pp. 335–336).
    “al-Khowârizmî and the older Arabs looked upon x² as the principal unknown, and called it māl (“assets,” “sum of money”).”
    Used for: al-Khwārizmī’s word māl for the square (Cajori goes on, on the same page: “Al-Khowârizmî also had a general term for the unknown, shai (“thing”)”).
  34. 34.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 246 (the whole topic: pp. 242–247).
    “Each power is derived from its predecessor by multiplying by x or 1/x”
    Used for: each power comes from the one before it by multiplying once more by the thing, or by one divided by the thing.
  35. 35.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “and to give rules for products of any two of these. So what he achieved here was defining the product of these terms without any reference to geometry.”
    Used for: rules for the product of any two powers, without reference to geometry.
  36. 36.
    Florian Cajori, A History of Mathematical Notations (two volumes bound as one, Dover (first published by Open Court, 1928–1929), 1993).
    Vol. I, Chapter III, “Symbols in Arithmetic and Algebra (Elementary Part)”, section §116, “Arabic: al-Karkhī, early eleventh century A.D.”, p. 84 (the whole topic: pp. 84–85).
    “It is worthy of note that while Arabic algebraists usually build up the higher powers of the unknown quantity on the multiplicative principle of the Hindus, there is at least one Arabic writer, al-Karkhî of Bagdad, who followed the Diophantine additive principle.”
    Used for: the additive principle of Diophantus followed by al-Karajī, against the multiplicative principle usual among Arabic algebraists (text and Caution note).
  37. 37.
    T. L. Heath, Diophantus of Alexandria: A Study in the History of Greek Algebra (2nd ed., Cambridge University Press, 1910).
    Chapter III, “Notation and definitions of Diophantus”, section note 1, p. 41 (the whole topic: pp. 37–41). Read it online.
    “The fourth power is with him māl māl, the fifth māl kaʿb, the sixth kaʿb kaʿb, the seventh māl māl kaʿb, the eighth māl kaʿb kaʿb, the ninth kaʿb kaʿb kaʿb, and so on.”
    Used for: al-Karajī’s names of the fourth to ninth powers (list, game, examples and exercise 1).
  38. 38.
    Florian Cajori, A History of Mathematical Notations (two volumes bound as one, Dover (first published by Open Court, 1928–1929), 1993).
    Vol. I, Chapter III, “Symbols in Arithmetic and Algebra (Elementary Part)”, section “Greek: Diophantus, Third Century A.D.”, §102, p. 73 (the whole topic: pp. 71–73).
    “It is to be noted that in Diophantus’ “square-cube” symbol for x⁵, and “cube-cube” symbol for x⁶, the additive principle for exponents is employed, rather than the multiplicative principle (found later widely prevalent among the Arabs and Italians), according to which the “square-cube” power would mean x⁶ and the “cube-cube” would mean x⁹.”
    Used for: under the multiplicative principle, prevalent among the Arabs, “square-cube” would mean the sixth power and “cube-cube” the ninth (example and exercise 1).
  39. 39.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 246 (the whole topic: pp. 242–247).
    “In the case of multiplication, this required giving the rhetorical equivalent of the modern law of exponents”
    Used for: al-Karajī stated the equivalent of the product rule for powers in words (Looking ahead note).
  40. 40.
    Adel Anbouba, “Al-Samawʾal, Ibn Yaḥyā al-Maghribī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “Since al-Karajī’s original computation has been lost, al-Samaw’al’s work is of particular interest in having preserved it: these coefficients are arranged in the triangular table that much later became known in the west as Tartaglia’s or Pascal’s triangle.”
    Used for: al-Karajī’s own computation of the table is lost and survives through al-Samawʾal; the table later known in the West as Tartaglia’s or Pascal’s triangle (text, example, exercise 6).
  41. 41.
    J. J. O’Connor and E. F. Robertson, “Ibn Yahya al-Maghribi Al-Samawal”, MacTutor History of Mathematics Archive, University of St Andrews (November 1999).
    “The method is attributed by al-Samawal to al-Karaji and provides the only surviving account of this remarkable work.”
    Used for: al-Samawʾal’s account is the only surviving account of al-Karajī’s table (text and exercise 6).
  42. 42.
    Adel Anbouba, “Al-Samawʾal, Ibn Yaḥyā al-Maghribī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “(b. Baghdad, Iraq; d. Marāgha, Iran, [?] ca. 1180)”
    Used for: al-Samawʾal was born in Baghdad and died about 1180.
  43. 43.
    J. J. O’Connor and E. F. Robertson, “Ibn Yahya al-Maghribi Al-Samawal”, MacTutor History of Mathematics Archive, University of St Andrews (November 1999).
    “Born about 1130 Baghdad, Iraq Died about 1180 Maragha, Iran”
    Used for: al-Samawʾal born in Baghdad, died about 1180.
  44. 44.
    J. J. O’Connor and E. F. Robertson, “Ibn Yahya al-Maghribi Al-Samawal”, MacTutor History of Mathematics Archive, University of St Andrews (November 1999).
    “His most famous treatise al-Bahir fi'l-jabr, meaning The brilliant in algebra, was written when al-Samawal was only nineteen years old.”
    Used for: al-Bāhir, “The Brilliant”, written when al-Samawʾal was nineteen.
  45. 45.
    Adel Anbouba, “Al-Samawʾal, Ibn Yaḥyā al-Maghribī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “His extant book on algebra, Al-bāhir (“The Dazzling”), written when he was nineteen years old”
    Used for: the title translated as “The Dazzling”; written at nineteen.
  46. 46.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “Al-Karaji said that in order to succeed we must place 'one' on a table and 'one' below the first 'one', move the first 'one' into a second column, add the first 'one' to the 'one' below it. Thus we obtain 'two', which we put below the transferred 'one' and we place the second 'one' below the 'two'.”
    Used for: al-Samawʾal’s report, in Rashed and Ahmad’s translation, of how al-Karajī built the table.
  47. 47.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “we thus obtain a third column whose numbers are 'one', 'three', 'three', and 'one'.”
    Used for: the third column one, three, three, one.
  48. 48.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “This shows that for every number composed of two numbers, if we multiple each of them by itself once - since the two extremes are 'one' and 'one' - and if we multiply each one by the other twice - since the intermediate term is 'two' - we obtain the square of this number.”
    Used for: al-Samawʾal’s explanation of the column one, two, one for squaring a number divided into two parts (text and game).
  49. 49.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 6, “Counting”, section 6.4.2, “Pascal’s Identity and Triangle”, p. 442 (the whole topic: pp. 440–442).
    “mathematician Al-Karaji and the multitalented Omar Khayyám wrote about Pascal’s triangle in the eleventh and twelfth centuries, respectively; in Iran, Pascal’s triangle is known as Khayyám’s triangle.”
    Used for: in Iran the table is known as Khayyám’s triangle; al-Karajī and Omar Khayyam both wrote about it (example).
  50. 50.
    Adel Anbouba, “Al-Samawʾal, Ibn Yaḥyā al-Maghribī”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “Al-Samaw’al then presented a remarkable calculation of the coefficients of (a+b)ⁿ, which al-Karajī discovered after 1007”
    Used for: al-Karajī found the table after 1007 (example and exercise 6).
  51. 51.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 6, “Counting”, section 6.4.2, “Pascal’s Identity and Triangle”, p. 441 (the whole topic: pp. 440–442).
    “Pascal’s identity shows that when two adjacent binomial coefficients in this triangle are added, the binomial coefficient in the next row between these two coefficients is produced.”
    Used for: in Pascal’s triangle two neighboring numbers added give the number between them in the next row.
  52. 52.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “If we want to add the cubes of the numbers that follow one another in their natural order we multiply their sum by itself.”
    Used for: al-Karajī’s statement on adding the cubes, in Rashed and Ahmad’s translation, quoted in the text.
  53. 53.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 247 (the whole topic: pp. 246–247).
    “Al-Karajī’s proof was only for the particular case n = 10, but the demonstration applies to an arbitrary value.”
    Used for: al-Karajī showed the sum of cubes for the numbers one to ten; the argument works for any number (text and Caution note).
  54. 54.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 5, “The Twilight of Greek Mathematics: Diophantus”, section 5.5, “Mathematics in the Near and Far East”, “Abû Kâmil and Thâbit ibn Qurra”, p. 247 (the whole topic: pp. 246–247).
    “The L-shaped region ABCGFE can be viewed as consisting of two congruent rectangles and a square.”
    Used for: the square cut into L-shaped pieces; the process continuing until the square in the corner is reached (the page goes on: “The process continues until the square in the corner is reached”) (text and figure).
  55. 55.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 5, “Induction and Recursion”, section 5.1, “Mathematical Induction”, p. 333 (the whole topic: pp. 331–334).
    “induction has two parts, a basis step, where we show that P(1) is true, and an inductive step, where we show that for all positive integers k, if P(k) is true, then P(k + 1) is true.”
    Used for: what a proof by mathematical induction consists of.
  56. 56.
    J. J. O’Connor and E. F. Robertson, “Abu Bekr ibn Muhammad ibn al-Husayn Al-Karaji”, MacTutor History of Mathematics Archive, University of St Andrews (July 1999).
    “before remarking that one can continue the process indefinitely. Although this is not induction proper, it is a major step towards understanding inductive proofs.”
    Used for: al-Karajī proves cases one after another for a few steps and remarks that the process can go on; not induction proper, but a major step toward it (text and Caution note).
  57. 57.
    Roshdi Rashed, “Al-Karajī (or al-Karkhī)”, Complete Dictionary of Scientific Biography (Charles Scribner’s Sons; copy at the MacTutor archive) (2008).
    “al-Samawʾal uses a slightly old-fashioned from of mathematical induction.”
    Used for: Rashed’s view that al-Samawʾal uses a slightly old-fashioned form of mathematical induction (the copy prints “from”; the page goes on to call it “a proof that can be considered the beginning of mathematical induction”).