An Essay by The Uniquely Wise Abul Fath Omar Bin Al-Khayyam On Algebra and Equations
An Essay by The Uniquely Wise Abul Fath Omar Bin Al-Khayyam On Algebra and Equations
An Essay by The Uniquely Wise Abul Fath Omar Bin Al-Khayyam On Algebra and Equations
An Essay by the
Uniquely Wise
Abel Fath Omar
Bin Al-Khayyam
on Algebra and
Equations
Algebra wa Al-Muqabala
Omar Al-Khayyam
arnet P U B L I S H I N G
00 Book of Algebra prelims 24/11/07 1:50 PM Page iv
Published by
Garnet Publishing Limited
8 Southern Court
South Street
Reading
RG1 4QS
UK
First Edition
978-1-85964-180-4
Printed in Lebanon
00 Book of Algebra prelims 24/11/07 1:50 PM Page v
C ONTENTS
Foreword vii
Index 59
00 Book of Algebra prelims 24/11/07 1:50 PM Page vi
F OREWORD
the extent it was possible, to make the works accessible to the common reader. As
a rule, the use of footnotes has been kept to a minimum, though a more extensive
use of them was necessitated in some cases.
This series is presented in the hope that it will contribute to a greater under-
standing in the West of the cultural and intellectual heritage of Islam and will
therefore provide an important means towards greater understanding of todays
world.
May God Help Us!
Muhammad bin Hamad Al-Thani
Chairman of the Board of Trustees
00 Book of Algebra prelims 24/11/07 1:50 PM Page ix
x ALGEBRA WA AL-MUQABALA
acting on behalf of the Center has been the prominent university professors
who act under the chairmanship of Dr Raji Rammuny, Professor of Arabic at
the University of Michigan. This committee is charged with making known,
in Europe and in America, the books selected for translation, and in selecting
and enlisting properly qualied university professors, orientalists and students
of Islamic studies to undertake the work of translation and revision, as well as
overseeing the publication process.
00 Book of Algebra prelims 24/11/07 1:50 PM Page xi
BOARD OF TRUSTEES
MEMBERS
1. H.Eminence Sheikh al-Azhar, Cairo, Arab Republic of Egypt.
2. Director-General of the Islamic Educational, Scientific and Cultural Organization
(ISESCO).
3. Director-General of the Arab League Educational, Cultural and Scientific Organization
(ALECSO).
4. H.E. the Minister of Education, State of Qatar.
5. H.E. the Minister of Education, Kuwait.
6. H.E. the Minister of Education, Oman.
7. H.E. the Secretary-General of the Muslim World Association, Saudi Arabia.
8. H.E. Dr Ezzeddin Ibrahim, Cultural Advisor to H.H. the President of the U.A.E.
9. Professor Yousef al-Qaradhawi, Director, Sira and Sunna Research Centre, University of
Qatar.
10. Chairman, Arab Historians Union.
11. Professor Cesar Adib Majul, Professor at the American Universities.
Following are the names of the late prominent Muslim figures who (may All\h have mercy upon
them) passed away after they had taken vital roles in the preliminary discussions of the Centers
goals, work plan and activities. They are:
1. Dr Kamal Naji, former General Supervisor, Center for Muslim Contribution to
Civilization, Qatar (7 October 1997).
2. Sheikh Jad al-Haq Ali Jad al-Haq, Sheikh al-Azhar, Cairo, Arab Republic of Egypt.
3. Dr Muhammad Ibrahim Kazim, former Rector, University of Qatar.
4. Sheikh Abdullah bin Ibrahim al-Ansari, former Chairman, Department for the Revival of
Islamic Cultural Heritage, State of Qatar.
5. Muhammad al-Fasi, former Honorary Chairman, Islamic University Rabat,
Kingdom of Morocco.
6. Dr Abul-Wafa al-Taftazani, former Deputy Rector, University of Cairo,
Arab Republic of Egypt.
7. Senator Mamimatal Tamano, former member of the Philippino Congress and
Muslim leader in the Philippines.
00 Book of Algebra prelims 24/11/07 1:50 PM Page xii
BOARD
MEMBERS
1. H.E. Shaykha Ahmad Almahmud, Minister of Education, State of Qatar.
2. Professor Ibrahim Saleh al-Nuaimi, former Rector, University of Qatar.
3. Professor Yousef al-Qaradhawi, Director, Sira and Sunna Research Centre, University of
Qatar.
4. Professor Husam al-Khateeb, Professor of Arabic, Cultural Expert, National Council for
Culture, Arts and Heritage, State of Qatar.
5. Professor Abd al-Hamid Ismail al-Ansari, College of Sharia, Law and Islamic Studies.
6. H.E. Dr Hasan al-Nimi, Ambassador, State of Qatar.
7. Dr Hasan al-Ansari, Amiri Diwan, College of Arts and Science, University of Qatar.
8. Dr Ahmad Muhammad Ubaidan (Treasurer) Observer, Advisory Council
and Director-General, Trans-Orient Establishment (Doha, Qatar).
CENTERS ADVISORS
H.E. Dr Ezzeddin Ibrahim
Cultural Advisor to H.H. the President of the U.A.E.
T RANSLATOR S I NTRODUCTION
of Arab sciences. He drew my attention to the fact that there are actually two
different manuscripts of Al-Khayyams book. One copy is in Aleppo, the one that
I translated into English. The second copy is in France, the one he translated into
English. I thank Professor Rashid very much for his comments and the valuable
information he supplied me with.
I wish to thank Professor Raji Rammuny who suggested my name for the
project of translating Al-Khayyams book, thus offering me the chance to
explore part of the work of a great scholar of my culture.
I thank all those who helped me in my task in one way or another, in particular
my students S. Awamlah and A. Khawalda, who helped me in drawing the graphs
for the book.
01 Book of Algebra 24/11/07 1:54 PM Page 1
A LGEBRA WA A L -M UQABALA
An Essay by the Uniquely Wise Abel Fath Omar
Bin Al-Khayyam on Algebra and Equations
2 ALGEBRA WA AL-MUQABALA
keep silent his enviers and enemies. Once I despaired to meet someone like
him, perfect in every virtue, theoretical or practical, who can work deeply in
science, verify others work and seeks the welfare of everyone of his kind; I was
so delighted to see him. I achieved fame through his companionship. My affairs
were glorified by his illuminations, and my support intensified through his grace.
It was my opportunity to benefit from my new status.
So I started to summarize what I can verify of deep knowledge so as to be
closer to the master (Abi Tahir). Since the priority is mathematics, I started to
list the algebraic propositions.
I adhered to the guidance of God, and I entreated God to grant me success
in verifying my scientific research and the important research of those before me,
grasping the most trustworthy of Gods protection. For He is the one who answers
our prayers and on whom we depend.
With the help of God, and with his gentle guidance, I say:
The study of algebra and equations is a scientific art. The ingredients are the
absolute numbers and unknown measurable quantities, which are related to a
known quantity. Each known thing is either a quantity or a unique relation that
can be determined by careful examination.
By quantities we mean continuous quantities, and they are of four types: line,
surface, solid, and time as mentioned briefly in Categories, the book of Aristotle,
and in detail in his other book, Metaphysics. Some (researchers) consider place to
be a continuous quantity of the same type as surface. This is not the case, as one
can verify. The truth is: space is a surface with conditions, whose verification is
not part of our goal in this book. It is not usual to mention time as an object in
algebraic problems. But if it were mentioned, it would be quite acceptable.
It is a practice of the algebraists (in their work) to call the unknown to be
determined an object (variable), and the product of the object by itself a square
(maal). The product of the object by its square is called a cube, and the product
of the square by the square: square-square (maal-maal); the product of cube by
square: square-cube, and the product of cube by cube: cube-cube, and so on.
It is known from the Elements, the book of Euclid, that these ranked products
are all proportional in the sense that the ratio of one to the root is as the ratio of
root to square, is as the ratio of square to cube. So the ratio of the numbers to
roots is as the ratio of roots to squares, is as the ratio of squares to cubes, is as the
ratio of cubes to square-squares, and so on.
It has to be clear that for anyone to be able to understand this essay, he has
to be acquainted with the two books of Euclid (the Elements and the Data) and
two chapters of the book of Apollonius on Cones. Whoever lacks knowledge of
any of these three references, will not understand this essay. I have taken pains
in trying not to refer to any article or book except those three books.
Algebraic solutions are achieved using equations. I mean, as is well known,
by equating the ranks (powers) one with the other. If an algebraist uses square-
square in areas, then this would be figuration not fact, since it is impossible for
square-square to exist in measurable quantities. What we get in measurable
01 Book of Algebra 24/11/07 1:54 PM Page 3
OMAR AL-KHAYYAM 3
quantities is first one dimension, which is the root or the side in relation to
its square; then two dimensions, which represent the surface and the (algebraic)
square representing the squared surface (rectangle); and finally three dimensions,
which represent the solid. The cube in quantities is the solid bounded by six
squares (parallelepiped), and since there is no other dimension, the square of the
square does not fall under measurable quantities let alone higher powers.
If it is said that the square of the square is among measurable quantities, this
is said with reference to its reciprocal value in problems of measurement and not
because it in itself is measurable. There is a difference between the two cases.
The square of the square is, therefore, neither essentially nor accidentally a
measurable quantity and is not as even and odd numbers, which are accidentally
included in measurable quantities, depending on the way in which they represent
continuous measurable quantities as discontinuous.
Of the four (geometrical) equations that involve the absolute numbers,
sides, squares and cubes, the books of the algebraists contain only three of these
equations involving numbers, sides and squares. But we will give the methods by
which one can determine the unknown using equations that involve the four
measurable quantities that we mentioned, I mean: the number, the object, the
square and the cube. Whatever can be proved using the properties of the circle,
I mean using the two books of Euclid, the Elements and the Data, will be given
simpler proofs. But those that cannot be proved except by using conic sections
will be proved using two articles on conics.
As for the proofs of these types (of problems): if the problem is concerned
only with the absolute number, then we cannot (in general) supply the proofs
(and no one who works in this industry can). Hopefully, someone who comes
after us will be able to (supply the proofs). As for the first three ranks: number,
object and square, we will supply the proofs, and I may refer to numerical proofs
of problems that can be proved using the book of Euclid (the Elements).
You have to know that the geometrical proofs of these problems do not
dispense the numerical proofs if the topic is the number not the measurable
quantities. Can you not see that Euclid proved certain equations to find the
required rational measurable quantities in chapter five of his book (the Elements),
and then resumed his proof of such problems, in chapter seven of his book, to
determine these required ratios, if the topic is some number.
Equations involving these four types are either simple or multi-term equations.
The simple equations are of six types:
(1) Number equals root
(2) Number equals square
(3) Number equals cube
(4) Roots equal square
(5) Squares equal cube
(6) Roots equal cube.
01 Book of Algebra 24/11/07 1:54 PM Page 4
4 ALGEBRA WA AL-MUQABALA
Three of these six equations are mentioned in the books of the algebraists.
They (the algebraists) said: the ratio of the object to the square is as the ratio of
the square to the cube. So equating the square to the cube is as equating the
object to the square. Further, the ratio of the number to the square is as the ratio
of the root to the cube. So it follows that the equation of the number and the
square is as the equation of the root and the cube. They (the algebraists) did not
prove that using geometry.
As for the number that equals the (volume) cube, there is no way to determine
it (the number) except through mathematical induction. If a geometrical method
is to be used to determine the number, then it can only be done through conic
sections.
As for multi-term equations, they are of two classes: three-term equations
and four-term equations. The three-term equations are of twelve types. The first
three of them are:
(1) Square and a root equal a number
(2) Square and a number equal root
(3) Root and a number equal square.
These three have been mentioned in the algebraists books, including their
proofs using geometry, not using numbers. The second three (of the three-term
equations) are:
(1) Cube and square equal root
(2) Cube and root equal square
(3) Cube equals root and square.
The algebraists said that these three equations are equivalent to the first three,
each to the corresponding one. I mean: cube and root equal square is equivalent
to square and number equal root. And the other two are the same. They (the
algebraists) did not prove them if the topic (unknown) of the problem is area. But
they did solve them if the unknown is number, as is clear in the book of Elements.
I will prove the geometrical ones.
The other six types of the twelve types are:
(1) Cube and root equal number
(2) Cube and number equal root
(3) Number and root equal cube
(4) Cube and square equal number
(5) Cube and number equal square
(6) Number and square equal cube.
These six types were never mentioned in their (the algebraists) books,
except for one, where the proof was not complete. I will prove all of these types
using geometry, not numeric. The proofs of these six types can only be deduced
through the properties of conic sections.
01 Book of Algebra 24/11/07 1:54 PM Page 5
OMAR AL-KHAYYAM 5
As for the four-term equations, they consist of two groups. The first group,
where three terms equal one term, contains four types:
(1) Cube, square and root equal number
(2) Cube, square and number equal root
(3) Cube, root and number equal square
(4) Cube equals root, square and number.
The second group, in which two terms equal two terms, is of three types:
(1) Cube and square equal root and number
(2) Cube and root equal square and number
(3) Cube and number equal root and square.
These are the seven types of the four-term equations, none of which can be
solved except through geometry.
One of those (algebraists) who lived before us needed one type of one part of
these equations, as I will mention. The proof of these types cannot be produced
except through conic sections. We will prove the twenty-five types of these
equations, one by one, asking help from God, for those who sincerely depend on
Him will get help and guidance.
6 ALGEBRA WA AL-MUQABALA
of his book. The (area of) square h equals the given number, which is known. Its
side is also known. Examine the proof given by Euclid. This is the required result.
c d
a b
Whenever we say (in this essay) a number equals a surface (area of a rectangle),
we mean there is a right-angle surface (rectangle) with one side equal to one unit
and the other equals the given number, and each unit part of the area equals the
other side, which we assumed to be one.
h
c
m
d
b a
It is known then that the area of this surface equals the given number. Now,
we construct a cube of the same volume as this parallelepiped. Such a construction
cannot be done without using properties of conic sections. We delay this until
we introduce the background for this study. When we mentioned that a number
equals a parallelepiped we mean there is a parallelepiped (with right angles) with
a unit square base and its height equals the given number.
01 Book of Algebra 24/11/07 1:54 PM Page 7
OMAR AL-KHAYYAM 7
c b
c b
01 Book of Algebra 24/11/07 1:54 PM Page 8
8 ALGEBRA WA AL-MUQABALA
If we multiply the area of ac by two, we get the volume of the cube abcdh.
Also, if we multiply the area of ac by (the length of) bd we get the volume of the
cube again. So (the length of) bd must be equal to two. This is what we wanted
to show.
Whenever we say in this article the squares of the cube, we mean the
squares of its sides.
Now, we have finished the simple equations. Let us discuss the first three
of the twelve types of three-term equations.
First type: Square plus ten times its root equals thirty-nine (xx2 + 10xx = 39)
Multiply half the number of the roots by itself. Add the result to the number of
the roots. Then, subtract from the root of the outcome half the number of the
roots. What is left is the root of the square.
The number must satisfy two conditions. The first is: the number of the roots
must be even in order to have a half. The second is: the square of half the number
of the roots plus the given number is a complete square. Otherwise, it is impossible
to solve the problem numerically.
However, using geometry, none of the cases is impossible to solve. The
numerical solution is much simpler if one visualizes the geometric solution.
The geometric solution is as follows:
We let the area of the square ac plus ten times its root equal thirty-nine. But
ten times the root equals the area of the rectangle ch, so the side dh equals ten.
We bisect dh at z. Since dh was divided into two equal parts at z, and extended
to include ad, then the product of ha and ad (this product equals the area of bh)
plus the square of dz, equals the square of za.
h z d a
c b
But, the square of dz, which equals half the number of the roots, is known.
And the area of bh, which is the given number, is also known. So the square of
za is known, and so is the line za. If we subtract zd from za we are left with ad,
and so ad is known.
There is another proof:
We construct the square abcd, and extend ba to m so that ma equals one
fourth of the number of the roots, which is two and a half. We extend da to z so
01 Book of Algebra 24/11/07 1:54 PM Page 9
OMAR AL-KHAYYAM 9
that za equals one fourth of the number of the roots. We construct similar lines
from all corners of the square abcd.
We complete the rectangle mt, which is a square because zm is a square, ac
is a square and ct is a square as shown in chapter six of the book of Elements.
h m
z
a c
d a
c b
d
t
Each of the four squares at the corners of the big square (abcd) has area equal
to the square of two and a half. So the sum of all (areas) squares is twenty-five,
which equals the square of half the number of the roots. Further, the (area of)
rectangle zb equals two and a half of the roots (sides) of the square of ac, because
za equals two and a half, so the (area of the) four rectangles equals ten roots (side)
of the square of ac. But the square of ac and ten of its roots was assumed to equal
thirty-nine. Hence the square of mt is sixty-four. Take its root and subtract five.
What is left is ab.
Now, if the (length) line ab is assumed to equal ten, and we need to have a
square for which the product of the length of its side by the length of ab equals
the given number, then we let the given number equal the area of a rectangle h.
We construct, on the line ab, a rectangle equal (in area) to the rectangle
h, then we construct a square on the side of the new rectangle, say bd, as shown
by Euclid in chapter six of his book, the Elements. So the added square ad and its
side ac are known, as shown in Data.
b a c
d
01 Book of Algebra 24/11/07 1:54 PM Page 10
10 ALGEBRA WA AL-MUQABALA
b a z h b z a h
c d c d
First Second
a
b h
c d
Third
So, the line hb is divided into two halves at z and into unequal parts at a. So
the product of ha and ab added to the square of za equals the square of zb, as
shown in the second chapter of the book of Elements.
But the product of ha and ab is the given number, which is known. If this
product is subtracted from the square of zb, which equals half the number of
the roots, we are left with the square of za, which is known. In the third case,
subtract the product from zb. In the second case add to the product az. The
outcome will be ab, which is the required result. If you wish, you can prove it in
other ways, but we do not want to present them to avoid lengthy treatment.
But if it is assumed that the length of ab is ten, say, and a segment is to be
cut out from it (ab), so that the product of ab times (the length of) that line equals
01 Book of Algebra 24/11/07 1:54 PM Page 11
OMAR AL-KHAYYAM 11
the square of that line plus the area of another rectangle, not larger than the
square of half ab, I mean the given number which is the area of the rectangle h,
and we want to cut from ab a line whose square plus the rectangle h, equals
the product of ab times (the length of) that line, we add to the given line ab a
rectangle, say az, whose area equals the known area of h minus the area of
a square, say cd, which is possible because the area of h is not larger than the
square of half ab, as shown by Euclid in chapter six of his book (the Elements).
So the side of cb is known from the given data, and that is the required result.
It seems that this type has many kinds, some of them impossible to solve.
You can find the conditions on the number, which make the problem solvable,
based on what we have shown in our discussion of the first type.
b c a
d z
b z h a
c d m
01 Book of Algebra 24/11/07 1:54 PM Page 12
12 ALGEBRA WA AL-MUQABALA
But if it is assumed that hb equals the number of the roots, and it is required
to find a square for which the square plus its side equals the number of the sides
plus the given number, then abcd is the required square.
To see that, assume that the given number is the area of the rectangle t, and
the square that is equal to it is m. We construct an equal square (to m), say z. We
construct kc to equal the side of z; then we complete the square abcd. The square
abcd is the required square.
b k h c
m z
t
d a
We have shown that in this third type, no case is impossible to solve. This is
true also for the first type. For the second type there are cases with no solution,
and it involves cases that do not occur in the first and the third type.
First type: Cube and squares equal roots (xx3 + ax2 = bx)
We construct a cube abcdh. Extend ab to z so that az equals the given number of
the squares. Then complete the parallelepiped azmtcd beside the cube ah, as usual.
The parallelepiped at equals the number of the squares. So the parallelepiped bt,
which equals the cube plus the number of the given squares, equals the number
of the given roots. Construct the surface (rectangle) k to equal the number of the
assumed roots. The root is the side of the cube, and it is ad. Hence, if the area of the
rectangle k is multiplied by the length of ad, the result will be equal to the number
of the given roots. Now, if the (area) rectangle mb is multiplied by ad, we get the
cube plus the assumed number of squares. But these two quantities are equal.
I mean, the parallelepiped bt and the parallelepiped constructed on the base
k with height ad have the same volume. Since they have equal heights, they must
have equal bases. The base of mb is the square cb with the square ma, which is
the number of the roots of the assumed squares.
01 Book of Algebra 24/11/07 1:54 PM Page 13
OMAR AL-KHAYYAM 13
t
h
c m k
b a z
Hence, k, which is the assumed number of the roots, equals a square plus the
assumed number of the roots of the squares. That is what we wanted to show.
Example: A cube plus three squares equals ten roots is equivalent to a square
plus three roots equals ten.
Second type: Cube and two roots equals three squares, which is equivalent
to square plus two equals three roots (xx3 + 2xx = 3xx2 x2 + 2 = 3xx)
Proof: We construct the cube abcdh so that the cube plus two of its roots equals
three squares. We then construct a square m to equal the square cb, and we set
k equal to three. So the product of m with k equals three squares of the root of
the cube ah. We construct on ac a rectangle that equals two, then we complete
the solid (parallelepiped) azctd. Then azctd equals the number of the roots.
But if the (length) line bz is multiplied by the square ac we get the (volume)
parallelepiped bt. However, the parallelepiped at equals the number of roots.
So the parallelepiped bt equals the cube plus the number of its sides. So the
parallelepiped bt equals the number of the squares, and hence the length of bz is
equal to three, as was shown earlier. The rectangle bl is a square plus two, so a
square plus two equals three roots because the rectangle bl is the product of ab
by three and that is what we wanted to show.
h t
c L
d
z
b a
k
m
01 Book of Algebra 24/11/07 1:54 PM Page 14
14 ALGEBRA WA AL-MUQABALA
Third type: Cube equals a square and three roots (xx3 = x2 + 3xx) which is
equivalent to square equals a root and three (xx2 = x + 3)
Proof: Construct the cube abcdh to equal a square and three of its sides. Then we
remove from ab (which is the side of the cube) the segment az, whose length equals
the number of the squares which is equal to one. Complete the parallelepiped
aztmc so its volume equals the assumed number of the squares. What remains
is the parallelepiped zh, which is equal to the number of the assumed sides. The
ratio of the (volumes) of the two parallelepipeds equals the ratio of the base of zc
to the base of zl, as was shown in chapter eleven of the book of Elements, since
their heights are equal. But the (area) of the rectangle zc is one root of the square
cb, and (area of) zl equals the number of the roots which is three. Thus, the
square of cb equals a root and three, and that is what we wanted to show.
c a
m
L t b
If our explanations of the proofs are not understood, then the proofs may
appear not to be correct, though they were difficult to explain.
OMAR AL-KHAYYAM 15
section bdh is known because its vertex and axis are known, and the magnitude
of its right side is known. Further, the conic will be tangent to the line ba because
b is a right angle and it is equal to the angle of order, as shown in article a of the
book of conics.
Similarly, we construct another parabola, bdz, with vertex at b, axis ab, and its
orthogonal side is ab. The conic bdz is tangent to bc as was shown by Apollonius
in proposition no of article a. The two sections must intersect at the point d,
say. The location of d is known because the location of the two sections is known.
We draw from d two lines dm, dt orthogonal to ab, bc respectively. So their
magnitudes are known, as shown in the Data. I claim: the four lines ab, bm, bt,
bc are proportional.
t a b
m
d
z
c
Proof: The square of md equals the product of bm and bc, because the line
dm is one of the lines of order of the section bdh. It follows that the ratio of bc
to md (which is equal to the line bt) is as the ratio of bt to mb. And the line dt is
one of the lines of order of the section bdz, so the square of dt (which is equal to
bm) equals the product of ba and bt. Thus, the ratio of bt to bm is as the ratio of bm
to ba. Hence the four lines are successive and proportional, and the magnitude
of the line dm is known because it is drawn from a given point to a given line with
a given angle. Further, the magnitude of dt is known. So the two lines bm and
bt are of known magnitude and they are middle in ratio between ab and bc; I
mean the ratio of ab to bm is the same as the ratio of bm to bt and is as the ratio
of bt to bc, and that is what we wanted to show.
Introduction 2 (Lemma 2): Given a square abcd, which is a base of a solid
(parallelepiped) abcdh with parallel surfaces and right angles; and given a square
nm. We need to construct a parallelepiped such that its base is nm and its volume
is equal to the volume of abcdh.
We make the ratio of ab to nz equal to the ratio of mz to k, and the ratio of
ab to k equal to the ratio of zt to hd. Then make zt perpendicular to the square
01 Book of Algebra 24/11/07 1:54 PM Page 16
16 ALGEBRA WA AL-MUQABALA
nm at z, and complete the parallelepiped nztm. I claim that the volume of this
parallelepiped equals the volume of the given one.
h
a
d
z
t
c b n
Proof: The ratio of the (area of the) square ac to the (area of the) square
nm is the same as ab to k. Thus, the ratio of the (area of the) square ab to the
(area of the) square nm is the same as the ratio of zt (which is the height of the
parallelepiped ntm) to dh (which is the height of the parallelepiped bh). Hence,
the two parallelepipeds have the same volume because their bases are equivalent
to their heights as shown in article ya of the book of Elements.
Whenever we use the word solid we mean parallelepiped, by a surface
we mean rectangle.
Introduction 3 (Lemma 3): The parallelepiped abcd is given, and its base
ac is a square. We need to construct a parallelepiped whose base is a square and
whose height equals the given ht, and whose volume equals that of abcd.
We make the ratio of ht to bd equal to the ratio of ab to k. Between ab and k,
we construct a line which is middle in ratio between them, call it hz. We make hz
perpendicular to ht, and complete the parallelepiped tz. Make mh perpendicular
to the surface tz and equal to zh, and then complete the parallelepiped mhtz.
I claim that the parallelepiped t, whose base is the square mz and its height
is the given ht, is equal (in volume) to the given parallelepiped d.
Proof: The ratio of the square ac to the square mz is the same as the ratio of
ab to k. So the ratio of the square ac to the square mz is the same as the ratio of
ht to bd. The bases of the two parallelepipeds are equivalent to their heights, so
they are equal, and that is what we wanted to show.
Now we discuss the third type of simple equations, which is a cube equals
a number.
We set the number equal to the volume of a parallelepiped abcd whose base
is ac, which is a unit square as we stated, and its height equals the given number.
We want to construct a cube that is equal to it (in volume).
01 Book of Algebra 24/11/07 1:54 PM Page 17
OMAR AL-KHAYYAM 17
a m
t
d
b
c n z
We construct two intermediate lines between the two lines ab and bd, whose
ratios are in between too; so their magnitudes are known as we stated. The two
lines are named h, z, and we make mt equal to the line h on which we construct
the cube tmkl. Then, the volume of tmkl is known and the length of its side is
known. I claim that its volume equals that of the parallelepiped d.
Proof: The ratio of the square of ac to the square of tk is the same as
twice the ratio of ab to mk. Further, twice the ratio of ab to mk is the same as the
ratio of ab to z (the first to the third of the four lines), which is the ratio of mk
the second line to the fourth bd.
a z h
d L
b k m
c
So the bases of the cube l and the parallelepiped d are equivalent to their
heights, so they have the same volume. That is what we wanted to show.
From this point on, we shall discuss the remaining six types of equations of
three terms each.
01 Book of Algebra 24/11/07 1:54 PM Page 18
18 ALGEBRA WA AL-MUQABALA
c h b
z
d m
But the parallelepiped whose base is the square of ab (which is the number
of the roots) and whose height is bh, which is the side of the cube, equals the
given number of the sides of the cube hb. Hence the cube hb plus the assumed
number of its sides equals the given number, which is the desired result.
01 Book of Algebra 24/11/07 1:54 PM Page 19
OMAR AL-KHAYYAM 19
This type has no different cases and none of its problems are impossible to
solve. Properties of the circle and the parabola were used.
20 ALGEBRA WA AL-MUQABALA
t c b
d
m
OMAR AL-KHAYYAM 21
a z
b m
t h
It is clear that there is only one case in this type, and the case of an impossible
solution does not occur. The properties of the parabola and hyperbola were used.
22 ALGEBRA WA AL-MUQABALA
The square of hz equals the product of az and bc. Consequently, the ratio of
az to hz is the same as hz to bc. Further, the rectangle hb equals the rectangle db
(in area), as shown by proposition m of article b in the book of conic sections.
Hence the ratio of hz to bc is the same as the ratio of bc to bz. Thus, the four
lines az, hz, bc, bz are proportional. So the ratio of the square of bz (the fourth) to
the square of bc (the third) is the same as the ratio of bc (the third) to az (the first).
We conclude that the cube bc (which we construct so that it is equal in volume to
the given number) equals (in volume) the (volume of the) parallelepiped whose
base is the square bz and height az. But this parallelepiped whose base is the
square bz and height az equals the cube bz, and equals the parallelepiped whose
base is the square bz and height ab.
k
L
d
n
t z b a
This parallelepiped (whose base is the square bz and height ab) equals the
given number of squares. Consequently, the cube bz plus the given number of
squares equals the given number, and that is what we wanted to show.
This type has no different cases and always has a solution. The properties of
both the parabola and the hyperbola were used.
OMAR AL-KHAYYAM 23
Further, if m is greater than ac, then it is even more clear that for the above
three cases, there is no possible solution. So m must be less than ac or no solution
will exist for the problem.
Cut a segment bc from ac of length equal to the length of m. The line bc
is either equal to, less than or greater than ab. Let it be equal to bc, in the first
figure, greater than in the second and less than in the third.
In the three figures, complete the square dc and construct a hyperbola which
does not meet ac and ch. The section is dz in the first and dt in the second and
third. We then construct a parabola with vertex a, axis along ac and its right side
equals bc. It is at in the first, al in the second and ak in the third.
The positions of the two conic sections are known. In the first figure, the
parabola will pass through the point d because the square of db equals the product
of ab and bc, so d is on the parabola and they (the two conic sections) meet at
some other point, as you may easily discover. In the second, the point d falls
outside the parabola because the square of db is greater than the product of ab
and bc. So, if the two sections meet tangentially at some other point, or if they
intersect, then the perpendicular from this point must meet a point between a
and b and a solution is possible; otherwise, no solution exists.
The honorable geometer Abu-Aljood was not aware of the case of inter-
section or tangency, which led him to claim that if bc was greater than ab, then
the problem would be impossible. His claim was wrong.
Al-Mahani was forced to study this one of the six known types.
In the third, the point d is inside the parabola, so the two conic sections
will meet at two points. In summary, we draw from the point of intersection a
perpendicular to ab, call it in the second figure zt. Another perpendicular (from
the same point t) is drawn to ch, let it be tk. The rectangle tc equals the rectangle
dc. So the ratio of zc to bc is the same as the ratio of bc to tz. The line zt is one
of the lines of order in the conic section atl. Hence, its square is the same as the
product of az and bc. Consequently, the ratio of bc to tz is the same as the ratio
of zt to za. The four lines are proportional: the ratio of zc to cb is as the ratio of
cb to zt and as the ratio of zt to za. So the ratio of the square of zc (the first) to
the square of bc (the second) is the same as the ratio of bc (the second) to za (the
fourth). Hence the cube of bc (which is equal to the given number) equals the
parallelepiped whose base is the square zc and height za.
We make the cube zc common. So the cube zc plus the given number equals
the parallelepiped whose base is the square zc and height ac, which equals the
number of squares. This is the required result.
The other two cases are similar, except in the third case where we need to
draw two cubes, because each perpendicular cuts one side of the cube from ca,
as shown before.
It was shown that for this type of equation there are different cases, some
of which have no solution. Properties of the two conic sections, hyperbola and
parabola, were used.
01 Book of Algebra 24/11/07 1:54 PM Page 24
24 ALGEBRA WA AL-MUQABALA
t
d
c b a
L
d
t
h
k
c b z a
k
t
m d
c b a
z
01 Book of Algebra 24/11/07 1:54 PM Page 25
OMAR AL-KHAYYAM 25
m c
d
z t
k b a
01 Book of Algebra 24/11/07 1:54 PM Page 26
26 ALGEBRA WA AL-MUQABALA
First type: Cube plus squares plus sides equals a number (xx3 + ax2 + bx = c)
We draw bh a side of a square which is equal to the assumed number of sides. Then,
we construct a parallelepiped whose base is the square bh and (whose volume)
equals the given number. Let its height bc be perpendicular to bh. We construct
bd along bc, to equal the given number of squares. On the diameter dc we
construct the semicircle dzc, and we complete the rectangle bk. Then, we construct
a hyperbola with vertex at c which does not meet bh or hk. So the parabola must
intersect the circle at a point c, because it intersects its tangent line ck. Hence the
section must intersect the circle at a second point, say at z. So the location of z is
known because the locations of both the circle and the (conic) section are known.
From the point z we draw two perpendiculars, zt and za, to hk and ha
respectively. The rectangle zh equals the rectangle bk. Removing the common
rectangle hl, we are left with two equal rectangles, zb and lk. So the ratio of zl to
lc is the same as the ratio of hb to bl because hb equals tl; further, their squares
are also proportional. But the ratio of the square of zl to the square of lc is the
same as the ratio of dl to lc for the circle so the ratio of the square of hb to
the square of bl is the same as the ratio of dl to lc. Hence, the parallelepiped
(whose base is the square hb and height lc) equals (in volume) the parallelepiped
whose base is the square bl and height dl. But the second parallelepiped equals
(in volume) the cube bl together with the parallelepiped whose base is the square
of bl and height bd, which equals the given number of squares.
We make the parallelepiped (whose base is the square of hb and height equals
bl, which equals the number of the roots) common. So the parallelepiped whose
base is the square bh and height bc, which we constructed to equal the given
number, will equal the cube of bl plus the number of the given sides plus the
given number of squares. That is what we wanted to show.
This type has no different cases and always has a solution. Properties of circles
and hyperbolas were used.
m
z
a
c
L b
t h
k
01 Book of Algebra 24/11/07 1:54 PM Page 27
OMAR AL-KHAYYAM 27
Second type: Cube plus squares plus numbers equals sides (xx3 + ax2 + b = cx)
Construct ab to be the side of a square which is equal to the number of sides
and bc to equal the given number of squares; further, bc is perpendicular to ab.
We construct a parallelepiped whose base is the square with ab and is equal (in
volume) to the given number. Let its height bd be along the extension of bc. At
the point d, we construct the hyperbola zdm that does not meet ab or ah after we
complete the rectangle bh. We construct another hyperbola, tdm, with vertex d,
axis along the extension of bd and each of its two sides, the normal and the
oblique, equals dc. No doubt, this section must intersect the first at d. If they
meet at a second point, then the problem has a solution; otherwise it is impossible
to solve the problem. Such a meeting of the two sections, whether by tangency
at one point or by intersection at two points, is based on article four of the book
of conics. We promised to refer to only two articles from that book. But once they
meet, it does not matter how they meet, whether by tangency or by intersection.
If they intersect at a point other than d, they must intersect at two points. In
either case (tangency or intersection), we draw from the point m (the point of
intersection or the point of meeting, as the case may be) two perpendiculars, mn
and kml. Since the point m is of known location, both perpendiculars are of
known location and magnitude.
The rectangle am equals (in area) the rectangle ad. We remove the common
rectangle hn, and we get nd equals hm. We make dm common. It follows that
nl equals hl because their sides are equal and so are the squares of their sides.
Hence, the ratio of the square of ab to the square of bl is the same as the ratio of
the square of ml to the square of ld.
But the ratio of the square of ml to the square of ld is the same as the ratio of
cl to ld as we have shown repeatedly. Consequently, the ratio of the square of ab
to the square of bl is the same as the ratio of cl to ld. Thus, the parallelepiped
whose height is ld and base equals the square of ab equals the parallelepiped
whose base is bl and height lc. But the latter parallelepiped equals the cube of bl
plus the parallelepiped whose base is the square of bl and height bc, which equals
the given number of squares.
We make the parallelepiped (whose base is the square of ab and height bd,
which was constructed to equal the given number) common. Hence, the cube bl
plus the number of squares plus the given number, equals the parallelepiped
whose base is the square of ab and height bl (which equals the given number of
sides of the cube of bl). This is the required result.
It is clear that this type has many different cases, including the case of two
different roots for two different cubes. There might be cases that are impossible
to solve I mean the problem associated with the case is impossible to solve.
Properties of two hyperbolas were used.
01 Book of Algebra 24/11/07 1:54 PM Page 28
28 ALGEBRA WA AL-MUQABALA
Third type: Cube plus sides plus numbers equals squares (xx3 + ax + b = ex2)
We draw the line bh to equal the given number of squares and bc, a side of a
square that is equal to the assumed number of sides, perpendicular to bh. We
construct a parallelepiped whose base is the square of bc and is equal (in volume)
to the given number. Let its height be ab on the extension of bh.
On ah we construct a semicircle azh. The point c is either inside the circle,
on its circumference, or outside it. Let it fall first inside the circle.
We extend bc until it intersects the circle at z, then we complete the rectangle
ac. Then, on zc, we construct the rectangle zm that is equal (in area) to the
rectangle ac. The location of m is known because the position, magnitude and
angles of the surface cm are known, and the location and the magnitude of the
line zc are known. The point m must be inside the circle, on the circumference,
or outside it.
Assume first that it falls inside the circle. We construct a hyperbola with
vertex m, which does not meet zc and zn. Hence it must intersect the circle
at two points, say l, n, whose locations are known. From these two points we
draw the two lines lk and nf perpendicular to ah. Further, from l we draw the
perpendicular lt to bz.
The rectangle lc equals (in area) the rectangle cm, and the rectangle cm
equals ca. We make ck common, so dk equals tk, because their sides are equivalent
and so are the squares of their sides. But the ratio of the square of lk to the square
of ka is the same as the ratio of hk to kl. It follows that the ratio of the square of bc
to the square of bk equals the ratio of hk to ka. Hence, the parallelepiped whose
base is the square bc and height ka equals (in volume) the parallelepiped whose base
is the square of bk and height kh. But the first parallelepiped equals the given
number of sides of the cube bk and equals the given number. We make the cube
bk common. Consequently, the parallelepiped (whose base is the square bk and
height bh, which equals the given number of squares of the sides of the cube bk)
equals the cube bk plus the given number of sides plus the given number.
A similar result holds for the cube bf, if the points c and m fall inside the circle.
k h a
p
m
d
c
L b
z
01 Book of Algebra 24/11/07 1:54 PM Page 29
OMAR AL-KHAYYAM 29
If m falls outside the circle, then we construct the hyperbola with vertex
at m. The section either intersects the circle or it meets the circle tangentially. In
either case, it will be similar to what we have already mentioned.
The variety of this type was mentioned by Abu-Aljood in solving the problem
which we will discuss.
If the section does not meet the circle, we construct a surface on a line shorter
than zc or longer, when m lies inside the circle. If the section in such a case does
not meet the circle then no solution is possible. The proof that no solution is
possible is the opposite of what we have mentioned.
If c falls on the circumference of the circle or outside it, then we extend cz
and construct a rectangle, with one of its angles at c, in such a way that if we
construct at the opposite angle to c a section as described before, it will meet the
circle by intersection or tangency. This can be proved by a simple deduction that
I have left as a mathematical exercise for the reader of my essay. Whoever could
not prove the deduction will gain nothing from this essay, it being based on the
previously mentioned three books. We prove that the impossible is not possible
by reversing the proof that we presented for the possible. This is based on the
fact that the side of the cube must be shorter than bh, which equals the given
number of squares. For if the side of the cube is equal to the assumed number of
squares, then the cube is equal (in volume) to the assumed number of squares
plus some part of the number and the sides.
If the side of the cube is larger than the given number of squares, then the
cube itself will be larger than the given number of squares plus something else
added to it. So the side of the cube has to be smaller than hb.
We separate a part from bh that is equal to the side of the cube, let it be bf.
At f, we construct a perpendicular that meets the circumference of the circle,
then we reverse the above-mentioned proof. This shows that the tip of the
perpendicular is on the circumference of the conic section, whereas we said it
does not meet the circle, and this is impossible.
Since we believe that this deduction might be difficult for some readers of this
essay, we leave this argument and present a formula instead of this deduction.
We construct, in any way we want, a rectangle on the line of extension of
bc regardless of the location of c, inside or outside the circle. We make such
a rectangle so that one of its angles is at c and it is equal to the rectangle ac.
Certainly, the sides of this rectangle are of known location and magnitude.
On the opposite angle of c, we construct a hyperbola that does not meet
zc and cn (which is perpendicular to zc at c). If the section meets the circle by
intersection or tangentially, then a solution is possible, otherwise it is impossible.
The proof of the impossibility is as we have already mentioned.
One of the geometers needed this type in his work, and succeeded in
proving it, but he did not show the different cases that may occur and he did not
realize that there is a case where the solution is impossible as we have mentioned.
So make sure you understand this type and the last formula in the proof of
this type together with the distinction between the possible and the impossible
cases.
01 Book of Algebra 24/11/07 1:54 PM Page 30
30 ALGEBRA WA AL-MUQABALA
L t
m
z
n
c d
p
h
f k b a
This type uses the properties of the circle and the hyperbola, and this is what
we needed to show. But the problem that led one of the late geometers to this type
is: divide ten into two parts so that the sum of the squares of the two parts plus
the outcome of dividing the larger part by the smaller one equals seventy-two.
He denoted one part by x, and the other by 10 x, as algebraists usually do
in such divisions. This division leads to: cube plus five plus thirteen and a half
of the side of the cube equals ten squares. In this specific problem, the two points
c and m will fall inside the circle.
This honorable man was able to solve this problem, though a number of
honorable men from Iraq could not solve it, among them was Abu Sahel
Al-Qohi. But this man (who solved the problem) despite his great knowledge of
mathematics, did not realize all the different cases, and that some cases are
impossible to solve. This honorable man is Abu-Aljood, nick-named Al-Shanni,
and God knows better.
OMAR AL-KHAYYAM 31
this hyperbola is known. Further, it must meet the section ntk, say at t, so t is
of known location.
From t, we construct the two perpendiculars td and tp to bc and bm. The
locations and magnitudes of such perpendiculars are known. Further, th equals
hn which in turn equals ha. We make hp common, so as equals tb because their
sides are equal (in length) and so are the squares of their sides. But the ratio of
the square of tp to the square of ap is the same as the ratio of pc to ap, as we have
shown many times for the section lct.
Now, the ratio of the square of bh to the square of bp is the same as the ratio
of pc to pa. Thus, the parallelepiped whose base is the square bh and height ap
equals the parallelepiped whose base is the square bp and height cp. But the first
parallelepiped equals the parallelepiped which we constructed to be equal to the
assumed number plus the parallelepiped whose base is the square bh and height
bp (which is equal to the given number of the sides of the cube bp).
t n
k m
d
s h
p c b a
We make the parallelepiped, whose base is the square bp and height bc (which
is equal to the given number of squares of the cube bp) common. So the cube of
bp is equal to the given number of squares plus the given number of sides plus
the given number. This is the needed result. This type has no different cases and
always has a solution.
32 ALGEBRA WA AL-MUQABALA
t
h
z
m L
d
n
n u
k b a c
s
01 Book of Algebra 24/11/07 1:54 PM Page 33
OMAR AL-KHAYYAM 33
s
t
L
m
n
h
z
u n d
k b c a
34 ALGEBRA WA AL-MUQABALA
Assume first that s is smaller than bc. We cut from bc the segment ba
which equals s. Then we form the rectangle ad, and construct the circle akc, with
diameter ac. The location of the circle is known. At the point a, we construct a
hyperbola which does not meet bd or dz, call it mat. Again its location is known
and mat will intersect az, the tangent to the circle. So it must intersect the circle,
because if it falls between the circle and az we could draw from the point a a line
which is tangent to the section as was shown by Apollonius in diagram s in his
article b. That line either falls between az and the circle, which is impossible, or
it falls outside az, so az would be a straight line between the conic section and the
tangent line, and that is impossible too. So the conic section tam does not fall
between the circle and az. So it must intersect the circle, and it must intersect it
at another point, call it k, whose location is known. We draw two perpendiculars
from k, say kn and kh to bc and bd. Both the location and magnitude of kn and
kh are known. We complete the rectangle kd.
The rectangle ad equals the rectangle kd. We remove the common square
nz and we make ak common. So bk equals al since their sides are equivalent, and
hence the squares of their sides are equivalent. But the ratio of the square of kh
to the square of ha is the same as the ratio of hc to ha. It follows that the ratio of
the square of bd to the square of bh is the same as the ratio of ch to ha. Hence, the
parallelepiped whose base is the square of bd and height ha, equals (in volume)
the parallelepiped whose base is the square of bh and height ch.
We make the cube bh common, so the parallelepiped whose base is the square
of bh and height bc, equals the cube of bh plus the volume of the parallelepiped
whose base is the square of bd and height ha. But the first parallelepiped equals
the given number of squares of the cube bh.
We set the parallelepiped whose base is the square bd and height ba which
we constructed to equal the given number common. So the cube bh plus the
(volume) parallelepiped whose base is the square bd and height bh which
equals the given number of sides of the cube bh equals the given number of
squares plus the given number, and this is the desired result.
L z d
k
p
g a b
m
01 Book of Algebra 24/11/07 1:54 PM Page 35
OMAR AL-KHAYYAM 35
z L d
t c
h
b
a
n s
k
36 ALGEBRA WA AL-MUQABALA
not meet bd or dz. We construct another hyperbola, call it kcl, with vertex at c,
axis along the extension of bc, and each of its two sides, the perpendicular and the
oblique, equals ac. So it must intersect the other section. Assume that the section
kcl and the section mat intersect at p. So the location of p is known because the
two sections are of known locations. From p we construct two perpendiculars pn
and hpu, whose locations and magnitudes are known. The rectangle da equals
the rectangle dp, so nh equals zh as we have shown many times. Their sides are
equivalent and so are the squares of their sides. But the ratio of the square of ph
to the square ha is the same as the ratio ch to ha. So the ratio of the square of bd
to the square of bh is the same as the ratio ch to ha. The parallelepiped whose
base is the square of bd and height ha equals (in volume) the parallelepiped
whose base is the square of bh and height ch.
L
u z d
t
n
h b
s
c a
k
m
OMAR AL-KHAYYAM 37
z d
L
t n
p
b
s
a c
And it was clear that the three quartile types have common cases. That is to
say, there is a kind of the first that is exactly a kind of the second, and a kind of
the second that is a kind of the third, and a kind of the third that is exactly the
same as a kind of the second, as shown.
38 ALGEBRA WA AL-MUQABALA
The part of a number (its reciprocal) is a number whose ratio to one is the
same as the ratio of one to the number. So if the number is three, then its part is
one third, and if the number is one third, than its part is three. Similarly, if the
number is four, then its part is one fourth, and if it is one fourth then its part
is four. In summary, the part of a number is the part called by the same name
as the number, such as one third to three if the number is an integer, and three
to one third if it is a rational number. Similarly, the part of a square is the part
called by the same name whether it be an integer or a rational. Likewise for the
part of a cube. To make things more clear, let us put it in a table.
So the ratio of the part of the cube to the part of the square equals the ratio of
the part of the square to the part of the root; and also equals the ratio of the part
of the root to one, and equals the ratio of one to the root; and equals the ratio of the
root to the square and equals the ratio of the square to the cube. These are seven
ranks in a sequence, with the same ratio. We will talk about their equations only.
The part of square of the square and the part of square of the cube and the
part of cube of the cube, as far as we can go, will also be in ratio and we do not
need to mention them, for there is no way to deduce it.
Let it be known that if you take one eighth which is part of cube as a cube
then its part is eight, which is a cube and vice versa.
Take this as a model for the rest. The part of the cube and the part of the
square and the part of the root and one; these four have the same status as the
cube, square, root and one.
Example: If we say: part of a square equals half part of a root, then this is
equivalent to saying: a square equals twice a root. So the square is one quarter
which is a part of a square. Hence, the required square is four and its part is one
fourth and the part of its root is half and so on.
As for the complex ones (multi-term ones): If one says: part of a square plus
two parts of a root equals one plus one fourth, then this is equivalent to: a square
plus two roots equals one plus one fourth. Using the same method we used for
the simple cases above, we get the root equals half and the square equals one
fourth. But according to the question: part of a square plus two parts of a root
01 Book of Algebra 24/11/07 1:54 PM Page 39
OMAR AL-KHAYYAM 39
equals one plus one fourth, we get the fourth (which is the first square) is the
part of the required square, and so the required square is four.
Also, in quartiles (equations with four terms): If one says: part of a cube plus
three parts of a square plus five parts of a root equals three plus three eighths,
this is the same as saying: a cube plus three squares plus five roots equals three
and three eighths.
Using the method that we explained via conic sections, we can determine
the side of a cube, which will be the part of the required root. We set its ratio to
the assumed one to equal the ratio of the assumed one to another line, so such
a line is the side of the required cube. So it seems that there are twenty-five
more types of these equations among these four, comparable with the previous
twenty-five types.
As for multiplying them with each other, this is discussed in the books
of algebraists, and one can deduce it easily, so there is no need to go into details.
As for relating these four (equations) with the previous four, I say: If we say: a
cube equals ten parts of a cube (that is: ten parts of itself) then the cube would
be the first in seven ranks, and the parts of the cube are the seventh of them.
So multiply one by the other and take the root of the outcome; the result is the
middle term, I mean the fourth, which is the required cube.
To see this: Notice that if any number is multiplied by its reciprocal, the
result is one. If it is multiplied by twice its reciprocal, the result is two. And if it
is multiplied by ten times its reciprocal, the result is ten times the number. This
is equivalent to the question: what cube when multiplied by itself gives the
product ten? So its root is the required cube, and finding the side of that cube
is done as we have shown using conic sections.
Similarly, the question: what square equals sixteen of its reciprocal? To
solve it, multiply the reciprocal by sixteen and take the root of the outcome,
which equals four, that would be the required square. This is equivalent to the
question: what square when multiplied by itself equals sixteen?
Similarly, the question: what root equals four of its reciprocal? is equivalent
to the question: what number multiplied it by itself gives four?, and the answer
as we know is two.
However, a deduction of a solution to the question: what square equals
a number of parts of the side of its cube? is not possible using the previous
methods. This is because we need to introduce four lines between two lines, in
such a way that the respective ratios (of their lengths) of the six lines are the
same. This was deduced by Abu Ali Ibn Al-Haitham, but it is very difficult and
cannot be included in this book.
Similarly for the question: what cube equals a number of parts of the
square of its side? It needs the above construction which could not be solved
by our methods.
In summary, multiplying the first by the sixth of these seven ranks needs the
introduction of four lines between two lines so that the respective ratios (of their
lengths) of the six lines are the same, as was shown by Abu Ali Ibn Al-Haitham.
01 Book of Algebra 24/11/07 1:54 PM Page 40
40 ALGEBRA WA AL-MUQABALA
But to solve the question: what cube equals sixteen parts of its side? we
multiply the first by the fifth, so the root of the root of the number equals the
side of the required cube. The same method is used for any of the seven ranks
that equals its fifth in the ratio within the seven ranks.
In the complex ones (multi-term equations), the statement: a root equals
one and two parts of the root, is equivalent to: a square equals a root and two.
This is because these three are in ratio with the previous mentioned three, and
we solve it using the above-mentioned method. We get the square equals four
which equals its root and two. The root of this is the needed number. Its root is
two, which equals one and two parts of its root.
Similarly, a square plus its two roots equal one plus two parts of a root,
is equivalent to a cube and two squares equal a root and two. We find the side
of the cube using the method of conic sections, so the square of that side is the
needed square.
Also, a root plus two plus ten parts of the root equals twenty parts of a
square is equivalent to a cube and two squares and ten roots equal twenty. So
we get the side of the cube using conic sections and it will be the required root.
In summary, any four successive ranks of these seven ranks would fall in the
same category of the mentioned twenty-five types. If it exceeds five, six or seven
ranks, then there is no way to solve it. For example, the equation: a square plus
two roots equals two plus two parts of the square, cannot be solved, because the
square is the second rank and the part of the square is the sixth, and that exceeds
five ranks. We use the same ideas for the other cases.
The odd types among these seven ranks amount to twenty-one types, two
of which cannot be solved using our methods, and they need the argument of
Ibn Al-Haitham. So, we are left with nineteen types that can be solved using
our methods. We need to use the properties of the circle to solve some, and the
properties of conic sections for others.
All the sequential triplicates constitute fifteen types, and they can be solved
using the properties of the circle. The triplicate ones in every four consecutive ranks
constitute twenty-four types, and can be solved using conic sections. Further, all
the quartiles among every four consecutive ranks constitute twenty-eight types,
and can be solved using properties of conic sections.
So all the types (which fall within these seven ranks that can be solved using
our methods) amount to eighty-six; only six were mentioned in the books of
ancient algebraists.
Anyone who read these introductions and had incentive and insight into these
problems could have discovered what the ancients could not. It is time to end
this essay with gratitude to God, and praising all of His prophets.
OMAR AL-KHAYYAM 41
has done some work on the classification of these types; that he solved most
of them using conic sections, but did not cover all types and did not classify
them as solvable ones and the ones with no possible solution; he only discussed
minor problems.
I thought that might be possible because these two types (of equations)
which I attributed to someone else, are attributed to him. And I read them in a
collection of classifications for Abu-Aljood with the handwriting of Al-Hazimi
Al-Khawarazmi, including a three-term equation: cube plus a number equals
squares. It has different kinds, with certain conditions on each kind, as was
mentioned in this article. Some of these conditions were not fulfilled in his
setup. He claimed that there is no solution of this kind, saying: if the side of
the cube that equals the assumed number is larger than half the number of the
squares, then the problem has no solution, which is not true as we have shown.
The reason (behind his false claim) is that he was not aware of the case that the
two conic sections may meet tangentially or by intersection.
A second type (of equations) that Abu-Aljood discussed is a quartile (four-
term equation): a cube plus a number plus sides equals squares. I acknowledge
that he studied this problem thoroughly after many geometers failed to solve it,
though the problem was a minor one.
This type has different kinds and there are conditions to be fulfilled. Some
of its (this type) problems have no solution, and Abu-Aljood did not study them
thoroughly. I mention all of this so that any person who has a chance to read both
articles could compare my article with this honorable persons article and see if
what I was told about this honorable person is correct.
I believe I did my best to study all problems thoroughly but with short proofs
and without unnecessary details.
I could have presented an example for each of the types and kinds (of problems)
to prove validity. But I avoided lengthy arguments and I limited myself to general
rules counting on the intelligence of the student, because any person who has
enough intelligence to understand this article would not fail to produce what he
needs of partial examples. God gives guidance to the good, and on Him we depend.
One of my friends suggested that I should show the flaw in the proof of
Abu-Aljood Mohammad Ben Al-Laith of the fifth type of the six triplicate (three
terms) types that can be solved by conic sections which is: a cube plus a number
equals squares.
Abu-Aljood said: We set the line ab to equal the number of squares, and
we cut from ab the segment bc to be a side of a cube that equals the assumed
number. So the line bc is either equal to, greater than, or smaller than ca.
He said: If they are equal, we complete the rectangle ch then construct a
hyperbola at d that does not meet ab and bh. Further we construct a parabola
with vertex at a and axis ab and right side bc. This conic section will pass through
the point d as we have shown. He claimed that the two sections will be tangent
to each other at d. This is false, because they must intersect.
Proof: We make bz equal to ba, then draw az. It must pass through d.
01 Book of Algebra 24/11/07 1:54 PM Page 42
42 ALGEBRA WA AL-MUQABALA
z
t
h d
b c
a
Further, it will be inside the parabola, the angle adb will be a right angle and
the two angles abd and zbd are equal. It is known that the axis of a parabola
divides the angle of the conic into halves. So the line bdt must be the axis of
the hyperbola at d, and the line ad is parallel to the lines of order, so it is tangent
to the hyperbola.
Consequently, the parabola must intersect the hyperbola and not be a tangent
to it, for if it were a tangent, then the lines from d to any point on the part ad of
the circumference of the parabola would be between the conic and its tangent,
which is impossible. So the parabola must intersect the hyperbola at d and at
another point, say a, and that is the required result.
d
h m
b c z a
01 Book of Algebra 24/11/07 1:54 PM Page 43
OMAR AL-KHAYYAM 43
This was the mistake that the honorable man made when he said that the two
conics must be tangent to each other at d.
His claim: If bc was larger than ac, then the problem has no solution because
the two conic sections would not meet, is a false claim. They could meet at
one or two points or be tangent to each other between a and d as we have shown
earlier. There is a more general proof than the one we presented:
Let the number of the squares be ab and bc be the side of the cube, which is
more than half of ab. Complete ch and then construct the two conic sections as
we did before. Let ab be ten and zb be six, so the product of its square by az
would be one hundred and forty-four, which equals the number and its side is
bc. There is no doubt that bc must be greater than five, because the cube of five
is one hundred and twenty-five, so the parallelepiped whose base is the square of
zb and height za, equals the cube bc. Consequently, their bases are equivalent to
their heights; I mean the ratio of the square of zb to the square of bc is the same
as the ratio of bc to za. From z we draw a perpendicular which intersects the
hyperbola at m and completes mb. The rectangle mb is equal to the rectangle ch
because their sides are equivalent; I mean the ratio of zb to bc is the same as the
ratio of bc to zm. Hence the ratio of the square of zb to the square of bc is
the same as the ratio of zb to zm, and this ratio is the same as the ratio of bc
to za. Thus the ratio of zb to zm is as the ratio of bc to za, and by interchanging,
the ratio of zb to bc is the same as zm to za.
So the four lines are in sequence: zb, bc, zm, za. Thus the square of zm is
equal to the product of bc and za; and bc is the right side of the parabola whose
axis is ab and vertex a. It follows that zm is one of the lines of order.
So the point m is on the parabola. But it was on the hyperbola. Hence the
two sections must meet. This shows that Abu-Aljood was wrong when he claimed
that the sections would not meet. That is the required result.
To make it more clear, we let ab equal eighty and bc which is the side of
the cube that is equal to the number equal forty-one, which is larger than ac.
So the point d lies outside the parabola. Assume the parabola passes through l.
Hence, the line lc is the root of one thousand five hundred and ninety-nine,
which is slightly less than forty. We make tc equal bc and bm equal bt; then we
connect th, so it is tangent to the parabola as we have shown. We take out ak
to equal one fourth of ac and we draw a perpendicular to it that meets the conic
section at p. So the ratio of the square of lc to the square of kp is the same as the
ratio of ac to ak, because both are among the lines of order of the parabola.
Apollonius showed this in diagram yt of article a, so kp would be half lc
which is slightly less than twenty, and ct forty-one, and ak nine and three-fourths
and at equals two. So tk is eleven and three-fourths, because the ratio of kz to kt
is the same as the ratio of mb to bt and they are equal, so the line kz equals kt,
and hence the line zp is greater than eight, and it is inside the tangent line to the
hyperbola, so in such a case, it must be within the hyperbola.
It is true that the two sections could not intersect if bc is larger than ca, but
that is not true in all cases, and Abu-Aljood made a mistake in his reasoning.
01 Book of Algebra 24/11/07 1:54 PM Page 44
44 ALGEBRA WA AL-MUQABALA
p
z
b c k a t
If you want to find numerical examples, you could find some as follows: add
a (volume of) parallelepiped to a given line, which is less than it by a cube, but
equal to another given parallelepiped.
If the side of the cube that is equal to the given parallelepiped equals or is
less than half of the line, then it can be solved. If it is greater than half of the line,
there could be cases with no possible solution, as we have shown.
We want to divide the quarter ab (arc) of the circle abcd into two halves, at the
point z, then draw the perpendicular zm to the diagonal bd so that the ratio of
ah to zm is as the ratio of hm to mb, where h is the center of the circle and ah
is its radius.
We draw a circle with center h, and draw a diagonal ac. Then we draw
another diagonal bd so that the two diagonals are orthogonal. From a point z (on
the arc ab) we draw the perpendicular zm to bd, such that the ratio of ah to zm
is as the ratio of hm to mb. Then, we draw the two perpendiculars kzt and tbn,
in a such a way that bn equals (in length) ah and we complete the rectangle tl.
01 Book of Algebra 24/11/07 1:54 PM Page 45
OMAR AL-KHAYYAM 45
b
z
m
c a
b t
n
m z
L
g a
h
The point h is of known position, and the line bn is of known position and
magnitude. However, the point l is not of known position when the section is
01 Book of Algebra 24/11/07 1:54 PM Page 46
46 ALGEBRA WA AL-MUQABALA
constructed, for if it were of known position, then the point m would be of known
position because the line ml is of known magnitude. So the line bm would be of
known magnitude, and consequently the whole figure would be totally known.
Also, the line tk is not of known position, for if it were, then the point t
would be of known position. But if t were of known position, then the line tb
would be of known magnitude. However, if tb were of known magnitude, then
the whole figure would be totally known, which is not the case, since the goal is
to determine the figure.
So if the point l were of known position, or the line tk were of known position,
then the figure could be constructed and the conclusion would be reached easily.
But knowing the location of either of them is not an easy task.
So if a researcher avoids this method and uses the book of sections, he will
get the result in a different way.
I mentioned this method, though it is difficult, as a preliminary introduction
for the student. I did not complete and build it geometrically because of its
difficulty and the lack of many basics and introductions on conics. Whoever wants
to continue this method using conic sections can do so, once he understands the
method that I will present. Though this method also lacks some introductions on
conic sections, it is much easier than the above-mentioned one, and more fruitful.
I say with the help of God:
From the construction we did at the beginning, we found the ratio of ah
to zm equals the ratio of hm to mb. From the point z we draw the line zt that is
tangent to the circle, as Euclid explained in figure yo of section c of the book of
Elements. We extend hb to intersect the tangent at t then we draw zh. Since the
triangle hzt is a right-angled triangle (at z), and the perpendicular zm was drawn
from z to the base of the triangle, it follows from figure m of section y (of the
book of Elements) that the ratio of hm to mz is as the ratio of mz to mt. So
the square of mz equals the product of hm and mt. But the square of mz equals
the product of dm and mb. It follows that the product of dm and mb equals the
product of hm and mt, and consequently, the ratio of md to hm is as the ratio of
mt to mb, as shown in figure yo of section o (of the book of Elements). So the ratio
of hc to hm is as the ratio of bt to mb. But the ratio of ah to zm is as the ratio of
hm to mb and by transitivity, we have the ratio of ah to hm is as the ratio of zm
to mb.
But it was shown that the ratio of ch to hm equals the ratio of bt to bm.
Hence the ratio of zm to mb is as the ratio of bt to mb. Now, it is known (figure
t of article h of the book of Elements) that quantities with the same ratio to a fixed
quantity must be equal. Hence zm equals bt, and zh equals hb, and consequently
hz plus zm equals ht.
The analysis leads to a right-angled triangle, with the condition that the
hypotenuse equals one of the two sides of the right angle plus the perpendicular
from the right angle to the hypotenuse. Every time we construct such a right-
angled triangle, we are able to put together this figure in the right geometrical
way. This introduction, I mean this triangle with this property, is of great benefit
01 Book of Algebra 24/11/07 1:54 PM Page 47
OMAR AL-KHAYYAM 47
in figures of these types. It has many other properties; we will mention some so
the researcher can use it in many similar problems.
b
z
m
c a
h
I say: this triangle cannot be an equilateral triangle. For, if the side hz equals
zt, then hm equals mt, and the perpendicular would be equal to each one of
them, and ht would be equal to twice the perpendicular. Further, the sum of hz
and the perpendicular, which we assumed to equal the hypotenuse, would be
greater than the hypotenuse. This is a contradiction.
And I say: hz is smaller than zt, for if it were greater than it, then hm would
be greater than mt. Further, mz (which is a middle line between the two lines
hm and mt) would be greater than mt. But it was assumed that mz equals tb.
So tb would be greater than tm, which is impossible, since tb is a piece of tm.
Hence, the triangle as such, has the property that the side that is smaller than the
perpendicular equals the one which is larger, and that is what we wanted to show.
Among other properties of such a triangle: The greater of the two sides
of the right angle equals the sum of the smaller side plus the segment of the
hypotenuse (formed by the perpendicular from the right angle to the hypotenuse)
that meets the smaller side of the angle.
Our example will be based on the figure on page 48. I say: the sum (of the
lengths) of hz and hm equals the side zt.
Proof: The ratio of hd to hm is as the ratio of tb to bm, so by composition,
we get the ratio of dm to mh is as the ratio of tm to mb. Hence, the ratio of dm
to mt is as the ratio hm to mb. But the ratio of hm to mb is as the ratio of hz to
zm. And the ratio of hz to zm is as the ratio of zt to mt due to the similarity of
the two triangles hzt and zmt. Hence the ratio of zt to mt is as the ratio of dm to
mt, and this implies that zt equals md, which in turn equals the sum of hz and
hm. So the sum of hz and hm equals zt, and that is what we wanted to show.
01 Book of Algebra 24/11/07 1:54 PM Page 48
48 ALGEBRA WA AL-MUQABALA
c d a
OMAR AL-KHAYYAM 49
ranks which cannot be solved using plane geometry of the cube, so conic sections
will be needed.
Before we prove our claim using conics, we call the attention of the reader to
an idea that will be an instigation to the reader of this article to acquire knowledge
and master the part that we call attention to. Thanks to almighty God for his
beneficences upon many of his worshippers. For, speaking of beneficences is great
thanks to the giver, as God says in his book speak of your Gods beneficences.
So the reader of this article should not think that this is showing off. Showing
off is a practice of the arrogant, and they love it. Such people try to understand a
little science. Once they have comprehended it (the little science), they think they
know about all sciences, and God forbid that we allow ourselves to believe in
such a way that prevents us from understanding the facts and winning salvation.
I say: what algebraists call square-square is an imaginary concept in continuous
quantities. It has no existence in any way in materialistic objects. For continuous
quantities, the terms square-square, square-cube and cube-cube are used to
denote the number (coefficient) of the object (variable). Things share the sort of
the quantity (all variables have the same type of coefficient: a real number), as is
continuously shown by He who has the ultimate knowledge (God).
The things that algebraists use to denote objects and quantities are: number,
root, square and cube. The number has to be taken as an abstract concept. It has
no existence unless it is individuated by things. The roots status in continuous
quantities is as the status of the straight line (in geometrical figures). The squares
status is as that of a rectangle with equal sides and right angles whose side is what
we call the root. The cube is the solid bounded by six equal squares whose sides
are equal with right angles, any of its side is what we call the root and any of its
faces is what is called the square, so the cube is the result of multiplying the root
by itself, then multiplying the result by the root. This was shown and proved by
Euclid in figure yz of article yc in the book of Elements.
Square-square, which, to the algebraists, is the product of the square by itself,
has no meaning in continuous objects. This is because how can one multiply
a square, which is a surface, by itself? Since the square is a two-dimensional
object (geometrical figure), and two-dimensional by two-dimensional is a four-
dimensional object. But solids cannot have more than three dimensions.
All objects in algebra are generated from these four genera. And anyone who
says that algebra is a trick to determine unknown numbers is wrong. So dont pay
attention to these people. It is true that algebra and equations are geometrical
things, as proved in article b of the book of Elements in figures h and w.
Now, whoever said: square-square plus three squares equals twenty-eight;
he halved the squares then multiplied it by itself and then added the number;
and took the root of the result to equal five and a half; then subtracted half the
squares to get four which the square, and the square of the square is sixteen; and
he thought that he deduced the square of the square using algebra: is very feeble
in his thinking. This is because he did not deduce the square of the square but
rather he deduced the square. It is exactly as if he said: square plus three roots
01 Book of Algebra 24/11/07 1:54 PM Page 50
50 ALGEBRA WA AL-MUQABALA
equals twenty-eight, then he determined the root using the second reduction,
and concluded that the square of this root is the square of the square, which is a
secret from which you will come to know other secrets.
Let us go back to what we were occupied with:
We say: the first three genera (sorts), I mean numbers, roots and squares,
when equated come down to six different equations (branches): three of which
are single-term equations, and three are multi-term equations. The unknowns
can be determined using the second article as was mentioned and explained in
the books of algebraists. But if one studies equations involving cubes, then solids
are needed especially cones and their sections, since the cube is a solid.
There are three single-term equations involving cubes: cube equals squares,
which is equivalent to root equals numbers; and cube equals roots which is
equivalent to square equals numbers, and cube equals numbers. There is no way
to solve these equations except by using numerical methods intended to determine
cubes; or else by using geometrical methods where a parallelepiped is constructed
to equal a given parallelepiped. In such methods, conic sections are very much
needed, and those who do not know conics need other techniques.
The multi-term equations involving cubes are of two types: either three-term
equations or four-term equations. The three-term equations are:
(1) Cube plus squares equals numbers, which can be solved only by using
conics.
(2) Cube plus squares equals roots, which can be treated as the equation:
square plus roots equals numbers.
(3) Cube plus numbers equals roots, which can be solved only by using
conics.
(4) Cube plus numbers equals squares, which can be solved only by
using conics.
(5) Cube plus roots equals numbers, which can be solved only by using
conics.
(6) Cube plus roots equals squares, which can be treated as square plus
number equals root.
(7) Squares plus roots equals cube, which can be treated as roots plus
numbers equals square.
(8) Squares plus numbers equals cube, which can be solved only by
using conics.
(9) Roots plus numbers equals cube, which can be solved only by using
conics.
So these are nine types of three-term equations, three of which can be
deduced from the second book of Elements, and six of which can be solved only
by using conics.
The four-term equations are:
(1) Cube equals squares plus roots plus numbers.
01 Book of Algebra 24/11/07 1:54 PM Page 51
OMAR AL-KHAYYAM 51
h c d b a
And the fourth proposition was to try to divide the sphere by a plane into
two parts in a pre-given ratio. Mahani used algebraists terminology to simplify
things. But when analysis led him to equations involving numbers, squares and
cubes, and he was not able to solve them by using conic sections, he concluded
firmly that these equations have no solution. This gentleman, despite his deep
understanding (and high achievement) of this industry (mathematics) could not
solve certain of the previous types. Some time later, Abu Zafar Al-Khazin excelled
in mathematics and discovered a new technique for solving these equations and
explained it in an article (treatise). Also Abu Nasr Bin Iraq, a freedman of the
01 Book of Algebra 24/11/07 1:54 PM Page 52
52 ALGEBRA WA AL-MUQABALA
commander of the faithful, from the city of Khawarizm, was trying to solve
the premise that was taken for granted by Archimedes to deduce the length of the
side of a heptagon inscribed in a circle, which is based on the square having the
above-mentioned property. He was using the terminology of the algebraists, and
the analysis led him to: cube plus squares equals numbers, which he solved using
conic sections. This man was certainly among the high-ranking mathematicians.
The problem that baffled Abu Sahel Al-Qohi, Aba Al-Wafaa Al-Bozjani,
Aba Hamid Al-Saghani, and a group of their colleagues who devoted themselves
to the Right Honorable Adot Aldawla (The governor) in the city of peace is:
divide ten into two numbers so that the sum of their squares plus the outcome of
dividing the greater by the smaller equals seventy-two. The analysis always led
to squares equal cube plus roots plus numbers. These gentlemen were puzzled
by the problem for a long time, till Abu-Aljood solved it and they kept the
solution in the library of the Samanid kings. So these are three sorts: two of which
are three-term equations, the third one is a four-term equation, while the fourth
one is a single-term equation, I mean cube equals numbers, which has been solved
by gentlemen who preceded us, but none of their work on the remaining ten sorts
had reached us, nor any of their work on the above classification.
If I live for some time and success is my companion, I will write a self-
contained article that includes the fourteen sorts with all of their types and
branches, distinguishing the possible from the impossible ones for several of the
types require some conditions to be valid and that contains many introductions
that will be of great benefit to the principles of this industry, holding on the robe
of success granted by God, depending on Him, for all seek help from him. He is
the owner of power, praise be to His greatness.
Now, after these premises we go back to our problem, which is: determine a
cube that satisfies the equation: the cube plus two hundreds of its side equals
twenty squares of its side plus two thousands. To do that, we draw the line ab to
equal the number of the squares (which is twenty). We draw another line, hz,
to equal two hundreds, and the line hm to equal one, so the area of the rectangle
mz equals two hundreds. Then we draw a square, with side am, to equal the
rectangle mz, as was deduced from figure yd of article b (of the book of Elements).
Let the side am be perpendicular to ab which equals the root of two hundreds.
Further, ad equals ten, which is the result of dividing the number by the number
of the roots; noting that the number is two thousands and the number of the
roots is two hundreds. So dividing two thousands by two hundreds we get ten.
Also db equals ten.
On db we construct the semicircle dkb, and we extend dh to be parallel to
am, then we complete the rectangle ah. Now, we draw the hyperbola ndk that
passes through d and does not meet am and mh, as was shown by the honorable
Apollonius in proposition nt of the first article of the book of conics, and in
proposition h and w in the second article of that book. This construction cannot
be done without these three propositions, which is: the hyperbola ndk intersects
the circle at k. From k we construct kl perpendicular to ab. I say: the side al is
01 Book of Algebra 24/11/07 1:54 PM Page 53
OMAR AL-KHAYYAM 53
the side of the cube that satisfies: the cube plus two hundreds of its square equals
twenty of the squares of al plus two thousands.
200
z h
t m
h
k
p
d
a
b l
a
54 ALGEBRA WA AL-MUQABALA
We have shown that the rectangle ah equals the rectangle km. Remove hp,
which is common, to get the rectangle dp equals kh. We construct the rectangle
dk common, so the rectangle ak equals the rectangle dt, which are of equal angles
because their angles are right angles. Hence their sides are equivalent in ratio
as was shown by Euclid in proposition yd of article o (of the book of Elements),
so the ratio of al to lt is as the ratio of dl to lk, and hence their squares are
proportional. Thus the ratio of the square of al to the square of lt is as the ratio
of the square of dl to the square of lk. Also, the ratio of dl to lk is as the ratio of
lk to lb. Consequently, the ratio of the square of dl to the square of lk is as the
ratio of dl to lb. It follows that the ratio of the square of al to the square of lt is
as the ratio of dl to lb. Hence the product of the square of al and the line lb equals
the product of the square of lt and the line dl. Take the product of the square of
lt and ad to be a common factor, so the product of the square of lt and al equals
the product of the square of lt and ad and equals the product of the square of al
and lb. But the square of lt equals the number of the sides, I mean two hundreds,
and al is the side of the cube. So, two hundreds of the side of the cube equal the
product of the square of lt and ad and equal the product of the square of al
and lb. But as we have shown, the product of the square of lt and ad equals two
thousands. It follows that two thousands plus the product of the square of al and
lb equals two hundreds of the side of the cube.
We take the cube of al, which equals the product of the square of al by al, a
common factor. So the cube of al plus two hundreds of the side of the cube equals
two thousands plus the product of the square of al and al plus the product of the
square of al and lb. But the product of al and al plus the product of the square of
al and lb equals the product of the square of al and ab. However we have assumed
ab to equal twenty. Hence the product of the square of al and ab equals twenty
of the squares of al. So the cube of al plus two hundreds of (the length of) al
equals two thousands plus twenty squares of the side of the cube. This is what
we wanted to show.
Now, after what we have shown, we construct the triangle abc with ad
(rational) equal to ten. Then db is the line al which we have proved is of known
magnitude. I dont mean of known (magnitude) length, for there is a difference.
I mean by saying of known magnitude what Euclid meant in his book of Data: a
line to which an equal magnitude (of its length) can be found.
So putting things in order, we can assume ad equals ten. We draw bd
perpendicular to ad and equal to the line al in the preceding figure. Then we join ab
and draw from b the perpendicular bc. Extend ad to intersect the perpendicular
from b at the point c. This triangle abc must be a right-angled triangle at b. So
ab plus bd equals the hypotenuse ac, and ab plus ad equals bc, and that is what
we wanted to show.
Consider the circle abcd with ab one quarter of its circumference. Draw the
two diameters ac and bd to intersect at a right angle, and assume h is the center
of the circle. Remove ch from the line cd of the triangle abc in the preceding
figure, so that ch equals the perpendicular bd. Divide the radius of the circle
01 Book of Algebra 24/11/07 1:54 PM Page 55
OMAR AL-KHAYYAM 55
(which equals hb in the preceding figure), at a point m, into two parts in such a
way that the ratio between them is as the ratio of ad to dh of the triangle abc, as
was shown by Euclid in proposition h of article w of his book, the Elements. We
draw the perpendicular mz, and then we join hz. From z we draw the tangent
zt to the circle, and we extend hb until it intersects zt at the point t. Hence the
triangle hzt is similar to the triangle abc in the preceding figure.
c h d a
Proof: The angle zhm equals the angle bac, for if not then one of them is
larger than the other, say bac. Draw from h on the line hb the angle khl that is
equal to bac. From k, we draw the tangent kl to the circle. This tangent intersects
ht at l, so the triangle hkl is similar to the triangle abc since their angles are equal.
We draw the perpendicular kn from k to hb so hk plus kn equals hl. Since hb
equals hk, it follows that bl equals kn, and the ratio of ln to kn is as the ratio
of cd to db. Consequently, the ratio of nl to lb is as the ratio of dc to ch. We
conclude that the ratio of nb to bl is as the ratio of dh to hc, and the ratio of hc
(which is equal to db) to da is as the ratio of bl (which is equal to kn) to nc. So
from equal ratios we get the ratio of hn to nb is as the ratio of ad to dh. But we
have made the ratio of hm to mb equal to the ratio of ad to dh, so the ratio of hn
to nb is as the ratio of hm to mb. However, hn (the first) is smaller than hm (the
third). It follows necessarily that nb (the second) is smaller than mb (the fourth),
based on proposition yd in chapter five of the book of Elements. But it was
assumed that it is larger. This is impossible. So the angle zhm is not smaller than
bac in the triangle abc, neither could it be larger than it; so the triangle zhm is
similar to abc. Consequently hz plus zm equals ht. It follows that bt equals zm,
and the product of dm and mb equals the square of mz. Also, the product of
hm and mt equals the square of mz. Hence the product of dm and mb equals
the product of hm and mt. So the four lines are proportional, as shown in
proposition yo of article d (of the book of Elements), and the ratio of dm (the first)
to mh (the second) is as the ratio of mt (the third) to mb (the fourth). In conclusion:
the ratio of hd to hm is as the ratio of bt to bm, and dh equals ah and bt equals
zm. So the ratio of ah to hm is as the ratio of zm to mb. By interchanging ratios
we get the ratio of ah to zm is as the ratio of hm to mb.
01 Book of Algebra 24/11/07 1:54 PM Page 56
56 ALGEBRA WA AL-MUQABALA
z
m
n
k
c
a
h
This is what was possible to discuss and present in that direction, despite
our thoughts being scattered, and despite the many worries of life that hinder
us from tackling these particular cases. And had it not been for the nobility of
the council (may his nobility be for ever) and the right of the querist (may God
support him always), I would not bother with these small details, but rather
occupy myself with what is more important. We thank God in all cases, and in
God we trust to guide us to good things in life.
The article is complete, and peace be upon the Seal of the Prophecy.
01 Book of Algebra 24/11/07 1:54 PM Page 57
OMAR AL-KHAYYAM 57
Problem
Given a quarter of a circle ac with assumed center b, and we want to divide ab
into two parts, as you already know.
We construct on ab a square (equal sides and angles), say ah, so that the lines
bh and hd are of known location, and the point a is of known location. At a we
draw the hyperbola az that does not meet the lines bh and hd, so this hyperbola
is of known location. We join ac, and necessarily it is tangent to the hyperbola
and it is inside the circle. Consequently, the hyperbola must intersect the circle,
say at z, and z will be of known location. We draw the two perpendiculars zm and
zk. I say the work is done.
Proof: The two points a and z are on the hyperbola. From each of these
two points, two lines were drawn to meet the two lines that do not meet the
hyperbola and parallel to the two lines from the other point. So the rectangle zh
equals the rectangle ah. We remove kh, which is common to both. What is left is
km, which equals kd, and the corresponding angles of the two rectangles are
equal, so their sides are equivalent: the ratio of ad to kz is as the ratio of bk to ka.
a
d z
k
b
c
m
01 Book of Algebra 24/11/07 1:54 PM Page 58
I NDEX
A Q
Abi Tahir 1, 2 Al-Qohi 30, 52
Abu-Aljood 23, 30, 41, 43, 52
Apollonius 2, 20, 43 S
Archimedes 1 Al-Saghani 52
Aristotle 2 Al-Shanni see Abu-Aljood
a + bx = x2 11
a + bx + cx2 = x3 30 X
ax = b 5 x2 = b 5
ax = x3 7 x2 = x + 3 14
ax2 = x3 7 x2 = 5x 7
x2 + a = bx 10
B x2 + 10x = 39 8
Ben Al-Laith see Abu-Aljood x3 = ax + b 20
Ben Al-Laith Problem 40 x3 = ax2 + b 25
Bin Iraq 51 x3 = x2 + 3x 14
Al-Bozjani 52 x3 + a = bx 19
x3 + a = bx2 22
C x3 + ax = b 18
Categories 2 x3 + ax2 = b 21
x3 + ax2 = bx 12
D x3 + ax + b = cx2 28
Data 2, 3, 9, 14, 15, 51, 53, 54 x3 + ax2 + b = cx 27
x3 + ax2 + bx = c 26
E x3 + 2x = 3x2 x2 + 2 = 3x 13
Elements 2, 3, 5, 7, 9, 10, 11, 14,
16, 45, 46, 48, 49, 50, 52, 54, 55
Euclid 2, 3
H
Al-Hazimi 41
I
Ibn Al-Haitham 39
K
Al-Khayami 44
Al-Khazin 1, 51
M
Al-Magest 56
Al-Mahani 1, 23, 51
Metaphysics 2
02 Book of Algebra Index 24/11/07 1:51 PM Page 60
Located in Doha, State of Qatar, the Center has the warm support of its patron,
the Emir of Qatar, H.H. Sheikh Hamad Bin Khalifa Al-Thani. Presenting
accurate translations of some of the best known works of the most eminent Muslim
savants, spanning the 800 years of the classical period of Islamic civilization
(c. 620 AD to c. 1500 AD), since its establishment in 1983 the Center has produced
fifteen volumes covering eleven major works in different fields of knowledge.