Skip to content
Book of Riddles

Journey through time

Islamic world · Baghdad, 9th century

Hisab al-jabr w’al-muqabala

Al-Khwarizmi and the square

A square and ten roots are 39 dirhems, laid out instead of calculated

Scene In Baghdad, Muhammad ibn Musa al-Khwarizmi wrote a “short work” on calculating by completion and balancing, for the things people need in daily life: inheritance, partition, trade. All its equations are written in words.

A square and ten of its roots amount to 39 dirhems. How big is the square? Al-Khwarizmi solves it with a picture: you lay rectangles against a square and fill the corners until a large square appears, and read the unknown side from it. Lay it out, work out the numbers, and then divide an inheritance by his rule.

The tile game

One square and ten of its roots together amount to 39 dirhems.

x²squarex · 2.52.5 · xx · 2.52.5 · x2.5 · 2.52.5 · 2.52.5 · 2.52.5 · 2.5

x² + … Lay a rectangle against each side of the square: a quarter of ten is 2.5 wide. Tap the dashed spaces.

The inheritance problem

A man dies, leaving four sons and his wife. He bequeaths to a person as much as the share of one of the sons, less the share of the widow. How is it divided?

Under the law of inheritance the widow receives one eighth, and the sons share the rest equally.

Distribute parts among the heirs with + and −, then tap “Check”.

  • Widow 0
  • Son 1 0
  • Son 2 0
  • Son 3 0
  • Son 4 0
  • Legatee 0

Total: 0 parts

Seals of this station

  1. Solved solve the puzzle
  2. Best effort lay both figures (four and two rectangles) and divide the inheritance board correctly
  3. Masterpiece lay both figures and divide the inheritance without entering a single wrong number or division
On to the next stationAl-Kindi and the frequency of letters

The word algebra

Our word “algebra” comes from the title. According to MacTutor the book can be considered the first book on algebra.

Source

MacTutor (St Andrews): Abu Ja'far Muhammad ibn Musa Al-Khwarizmi

His algebra treatise Hisab al-jabr w'al-muqabala gives us the word algebra and can be considered as the first book to be written on algebra.

Inventor of algebra?

It is often said that al-Khwarizmi invented algebra. In 1831 Rosen wrote that he had long been regarded as the real inventor, but considered Indian influences possible. The book itself uses no symbols; the equations are written in words.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

was for a long time consi- dered as the original inventor of Algebra

The manuscript

The only manuscript Rosen found is in the Bodleian Library in Oxford and was copied in 1342. The book itself is older; when exactly it was written is not documented.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

bears the date of the transcription A.H. 743 (A.D. 1342)

No x

In the book the problem is stated in words, without a sign like x: “one square, and ten roots of the same, amount to thirty-nine dirhems”. The x and the equation x² + 10x = 39 are our notation.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

one square, and ten roots of the same, amount to thirty-nine dirhems … what must be the square which, when increased by ten of its own roots, amounts to thirty-nine

The rule in words

His rule needs no formula: halve the number of roots (5), multiply it by itself (25), add it to 39 (64), take the root (8) and subtract half the number of roots: what remains is 3.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

you halve the number of the roots, which in the present instance yields five. This you multiply by itself; the product is twenty- five. Add this to thirty-nine; the sum is sixty- four. Now take the root of this, which is eight, and subtract from it half the number of the roots, which is five; the remainder is three.

First figure

The first figure: take a quarter of ten, that is two and a half, and lay a rectangle of that width against each of the four sides of the square. Four squares are missing in the corners, 25 together. With them the large square is full: 64, side 8, minus twice 2.5 leaves 3.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

we must add (to that which we have already) four times the square of two and a half, that is, twenty-five … then the remainder of such a side will be three, and that is the root of the square, or the side of the original figure A B.

Second figure

The second figure needs only two rectangles: halve ten, lay a rectangle of length five against two sides and fill the corner 5 by 5. It is the same calculation in another form.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

construct two quadrangles on two sides of the quadrate A B … the length of each of them being five

The inheritance problem

The inheritance problem on the board: a man leaves four sons and his wife and bequeaths to a person as much as the share of one son, less the share of the widow. Dividing into 32 parts gives 4 for the widow and 7 per son; the legacy is 3, so the estate is 35 parts.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

Divide the heritage into thirty-two parts. The widow receives one-eighth,* namely four; and each son seven. Consequently the legatee must receive three-sevenths of the share of a son. Add, therefore, to the heritage three-sevenths of the share of a son, that is to say> three parts, which is the amount of the legacy. This gives thirty-five, from which the legatee receives three; and the remaining thirty- two are distributed among the heirs proportionably to their legal shares.

A harder problem

There is a harder inheritance problem in the same chapter, with a debt of one son. It is not in our station.

Source

Rosen (ed. and trans.), The Algebra of Mohammed Ben Musa, London 1831 (archive.org, digitized by the Univ. of Toronto)

A MAN dies, leaving two sons behind him, and bequeathing one-third of his capital to a stranger. He leaves ten dirhems of property and a claim of ten dirhems upon one of the sons.

Our source

We follow Rosen’s English translation of 1831. We have not read newer translations or the Arabic text. We checked the figures and numbers of the game ourselves.