الحمدُpraise للهِto God عَلىfor ماwhat اَلَهماHe inspired
الحمدُ للهِ عَلى ما اَلَهما
وَمَنَّand He bestowed مِنof تعلِيمِهHis teaching وفَهَّماand He gave understanding
وَمَنَّ مِن تعلِيمِه وفَهَّما
Praise be to God for what He inspired,
and for the teaching He bestowed and the understanding He gave.
وَصَلَواتand blessings اللهِof God طولَthroughout الأبَدِeternity
وَصَلَوات اللهِ طولَ الأبَدِ
عَلىupon النَّبِيِّthe Prophet المُصطَفىthe chosen مُحَمَّدِMuhammad
عَلى النَّبِيِّ المُصطَفى مُحَمَّدِ
And God's blessings throughout eternity
be upon the chosen Prophet, Muhammad.
والشكرُand thanks لِلحَبَرِto the scholar الذكيِّthe intelligent العالِمthe learned
والشكرُ لِلحَبَرِ الذكيِّ العالِم
أُستاذِناour teacher مُحمَّدِMuhammad بنson of قاسِمِQasim
أُستاذِنا مُحمَّدِ بن قاسِمِ
And thanks to the intelligent, learned scholar,
our teacher, Muhammad ibn Qasim.
فهوfor he الَّذيthe one who بينّclarified ماwhat قَدhad اَشكَلاbecome obscure
فهو الَّذي بينّ ما قَد اَشكَلا
وَقَرَّبَand brought near القَاصيthe distant حَتَّىuntil سَهُلاit became easy
وَقَرَّبَ القَاصي حَتَّى سَهُلا
For he is the one who clarified what was obscure,
and brought the distant within reach until it became easy.
جَزَاهُmay He reward him رُبُّthe Lord النّاسِof mankind عَنّاon our behalf خَيراwith good
جَزَاهُ رُبُّ النّاسِ عَنّا خَيرا
وأجزَلَand may He make abundant الأجرَthe reward لَهُfor him فيin الأخرىthe hereafter
وأجزَلَ الأجرَ لَهُ في الأخرى
May the Lord of mankind reward him well on our behalf,
and grant him abundant reward in the hereafter.
كَلَّفَcharged مَنone whom لاno بُدَّescape مِنfrom إسعافِهِobliging him
كَلَّفَ مَن لا بُدَّ مِن إسعافِهِ
وَلاَand not أرَىI see وَجهاًa way إلىto خِلافِهِopposing him
وَلاَ أرَى وَجهاً إلى خِلافِهِ
One whom I must oblige charged me,
and I see no way to oppose him,
أَنto أُوضحI explain الجَبريَّةَthe algebraic material المُقَدَّمَهintroductory
أَن أُوضح الجَبريَّةَ المُقَدَّمَه
فيin أَحرُفٍwords قَلِيلةٍfew مُنَظَّمهarranged in verse
في أَحرُفٍ قَلِيلةٍ مُنَظَّمه
to explain the introductory algebra,
in a few words arranged in verse,
موزونَةٍmetrically measured عَلَىaccording to عَروضِthe meter الرَّجَزof rajaz
موزونَةٍ عَلَى عَروضِ الرَّجَز
كثيرةrich in المعنَىmeaning بلفظٍin wording موجَزconcise
كثيرة المعنَى بلفظٍ موجَز
measured in the rajaz meter,
rich in meaning and concise in expression.
فَلَمso I did not أًَزَلcease مُعتضذِراًexcusing myself عَنfrom هَذاthis
فَلَم أًَزَل مُعتضذِراً عَن هَذا
وَلَمand I did not أَجدfind عَنfrom أمرِهِhis command مَلاذاa refuge
وَلَم أَجد عَن أمرِهِ مَلاذا
So I kept pleading to be excused from this,
but found no refuge from his command.
فَقُلتُهاso I composed it قولاَan utterance عَلىdespite اعتِذاريَmy plea to be excused
فَقُلتُها قولاَ عَلى اعتِذاريَ
فَليغفِرso let him pardon الزَّلَّةَthe slip فِيهاin it القاريthe reader
فَليغفِر الزَّلَّةَ فِيها القاري
So I composed it despite my plea to be excused;
let the reader pardon any slip in it.
عَلىaround ثَلاثَةٍthree يدورُrevolves الجَبرُalgebra
عَلى ثَلاثَةٍ يدورُ الجَبرُ
المالُthe square والأعدادُand the numbers ثُمَّthen الجذرُthe root
المالُ والأعدادُ ثُمَّ الجذرُ
Algebra revolves around three things:
the square, the numbers, and then the root.
فالمالُso the square كلُّevery عَدَدٍnumber مُربَّعِsquared
فالمالُ كلُّ عَدَدٍ مُربَّعِ
وَجَذرُهُand its root واحِدُone of تِلكَthose الأضلُعِsides
وَجَذرُهُ واحِدُ تِلكَ الأضلُعِ
A square is any squared number,
and its root is one of those sides.
والعَدَدُand the number المُطلَقُabsolute مَاwhat لَمnot يُنسبis ascribed
والعَدَدُ المُطلَقُ مَا لَم يُنسب
لِلمالِto the square أَوor للجَذرِto the root فافهَمso understand تُصِبyou will be right
لِلمالِ أَو للجَذرِ فافهَم تُصِب
An absolute number is one not ascribed
to a square or a root; understand, and you will be right.
والشَّيءُand the thing والجَذرُand the root بمَعنَىwith a meaning واحِدٍone
والشَّيءُ والجَذرُ بمَعنَى واحِدٍ
كَالقُولِlike saying فيin لَفظِthe word أبٍfather وَوالِدِand begetter
كَالقُولِ في لَفظِ أبٍ وَوالِدِ
The 'thing' and the root have the same meaning,
as with the words 'father' and 'begetter'.
فَبَعضُهاso some of them يَعدِلُequals بعضاًothers عَدَداin quantity
فَبَعضُها يَعدِلُ بعضاً عَدَدا
مُرَكَّباًcombined مَعwith غَيرِهِsomething other than it أوor مُفرَداalone
مُرَكَّباً مَع غَيرِهِ أو مُفرَدا
Some of these equal others in quantity,
whether combined with another or standing alone.
فَتِلكَso these سِتٌّsix نَصفُهاhalf of them مُركَّبَهcompound
فَتِلكَ سِتٌّ نَصفُها مُركَّبَه
وَنِصفُهاand half of them بَسيطَةٌsimple مُرَتَّبهordered
وَنِصفُها بَسيطَةٌ مُرَتَّبه
These make six: half are compound,
and half are simple, arranged in order.
أَوَّلُهاthe first of them فيin الاصطِلاحِthe terminology الجارِيcustomary
أَوَّلُها في الاصطِلاحِ الجارِي
أَنthat تَعدِلَyou equate الأموالَthe squares للأجذارِto the roots
أَن تَعدِلَ الأموالَ للأجذارِ
The first, in the customary terminology,
is to set squares equal to roots.
وَإنand if تَكُنyou have عَادَلتَyou equated الأعدادَاthe numbers
وَإن تَكُن عَادَلتَ الأعدادَا
فَهِيthen it تَليهاfollows it فافهَمِso understand المُراداthe intended meaning
فَهِي تَليها فافهَمِ المُرادا
If you equate them instead to numbers,
that follows it; understand what is meant.
وَإنand if تُعَادِلyou equate بالجذورِwith the roots عَدَداa number
وَإن تُعَادِل بالجذورِ عَدَدا
فَتِلكthen that تَتلوهاfollows it عَلىaccording to ماwhat حُدِّداwas specified
فَتِلك تَتلوها عَلى ما حُدِّدا
And if you equate roots to a number,
that follows next, as specified.
فَاقسِمso divide عَلىby الأموالthe squares إنif وَجَدتَهاyou find them
فَاقسِم عَلى الأموال إن وَجَدتَها
واقسِمand divide عَلَىby الأجذارِthe roots إنif عَدِمتَهاyou lack them
واقسِم عَلَى الأجذارِ إن عَدِمتَها
So divide by the number of squares, if they are present;
and divide by the number of roots if squares are absent.
فَهَذِهِso these المسائِلُthe problems البَسيطَهsimple
فَهَذِهِ المسائِلُ البَسيطَه
خَارِجُهاtheir quotient الجَذرُthe root سوىexcept الوَسيطَهthe middle one
خَارِجُها الجَذرُ سوى الوَسيطَه
These are the simple problems;
their quotient is the root, except in the middle case,
فَإنَّماfor only يَخرُجُresults فِيهاin it المالُthe square
فَإنَّما يَخرُجُ فِيها المالُ
بِحَسبِaccording to ماwhat قَدhas اقتَضَىrequired السُّؤالُthe question
بِحَسبِ ما قَد اقتَضَى السُّؤالُ
where only the square results,
as the question requires.
واعلَمand know هداكَmay He guide you رَبُّناour Lord أنَّthat العَدَدthe number
واعلَم هداكَ رَبُّنا أنَّ العَدَد
فيin أوَّلِthe first المُرَكَّباتِcompound cases انفَرَدstands alone
في أوَّلِ المُرَكَّباتِ انفَرَد
Know—may our Lord guide you—that the number
stands alone in the first compound case.
وَوَحَّدواand they isolated أيضاalso جُذورthe roots الثّانِيهof the second
وَوَحَّدوا أيضا جُذور الثّانِيه
وَأَفرَدواand they isolated أموَالهمtheir squares فيin التالِيهthe next
وَأَفرَدوا أموَالهم في التالِيه
They also isolated the roots in the second,
and set their squares alone in the next.
فَرَبَّعso square النِّصفَthe half مِنَof الأشَياءthe things
فَرَبَّع النِّصفَ مِنَ الأشَياء
وَاحمِلand add عَلَىto الأعدادthe numbers باعتِناءِwith care
وَاحمِل عَلَى الأعداد باعتِناءِ
So square half the number of 'things',
and carefully add it to the numbers.
وَخُذand take مِنَfrom الَّذيthat which تَناهَىwas reached جذرُهits root
وَخُذ مِنَ الَّذي تَناهَى جذرُه
ثمَّthen انقصِsubtract التَّنصيفَthe half تفهَمyou will understand سِرَّهits secret
ثمَّ انقصِ التَّنصيفَ تفهَم سِرَّه
Take the root of the resulting total;
then subtract the half, and you will understand its secret.
فَماso what بقيremains فَذاكَthen that جَذرُthe root المالof the square
فَما بقي فَذاكَ جَذرُ المال
وَهذِهand this رابِعَةُthe fourth الأحوالof the cases
وَهذِه رابِعَةُ الأحوال
What remains is the root of the square,
and this is the fourth case.
واسقِطand subtract مِنfrom التَّربيعthe squared half فيin الأخرىthe other case العددthe number
واسقِط مِن التَّربيع في الأخرى العدد
وجَذرُand the root ماof what يَبقىremains عَلَيهِupon it يُعتَمَدis relied upon
وجَذرُ ما يَبقى عَلَيهِ يُعتَمَد
Subtract the number from the squared half in the next case,
and rely upon the root of what remains.
فانقِصهso subtract it منfrom تَنصيفِكyour halving الأجذاراthe roots
فانقِصه من تَنصيفِك الأجذارا
وإنand if تَشَأyou wish جَمَعتَهُyou add it اختياراby choice
وإن تَشَأ جَمَعتَهُ اختيارا
Subtract it from half your number of roots;
and, if you wish, you may instead add it.
فَذاكَthen that جذرُthe root المَالِof the square بالنُّقصانby subtraction
فَذاكَ جذرُ المَالِ بالنُّقصان
وَذاكَand that جَذرُthe root المالِof the square بالحُملانby addition
وَذاكَ جَذرُ المالِ بالحُملان
That is the root of the square by subtraction,
and that is the root of the square by addition.
وَإنand if غَداbecomes التربيعُthe squared half مِثلَequal to العَدَدِthe number
وَإن غَدا التربيعُ مِثلَ العَدَدِ
فَجذرُهthen its root التَّنصِيفُthe half دونَwithout فَنَدerror
فَجذرُه التَّنصِيفُ دونَ فَنَد
If the squared half equals the number,
then its root is the half, without error.
وَإنand if يكُنis يُربىexceeds عَلَيهِabove it العَدَدthe number
وَإن يكُن يُربى عَلَيهِ العَدَد
أَيقَنتَyou are certain أنَّthat ذاكَthat لاnot يَنعَضِدcan hold
أَيقَنتَ أنَّ ذاكَ لا يَنعَضِد
But if the number exceeds the squared half,
you can be certain that this cannot hold.
وَإذand since فَرَغناwe have finished مِنfrom بَيانِexplaining الخامِسَهthe fifth
وَإذ فَرَغنا مِن بَيانِ الخامِسَه
فلنُوضِّحso let us clarify الآنَnow بَيانَthe account السَادِسَهof the sixth
فلنُوضِّح الآنَ بَيانَ السَادِسَه
Now that we have finished explaining the fifth,
let us now make the sixth clear.
فَاجمَعso add إلىto أعدادِكَyour numbers التَّربيعاthe squared half
فَاجمَع إلى أعدادِكَ التَّربيعا
واستَخرِجَنand do extract جَذرَهُماthe root of them both جَمِيعاtogether
واستَخرِجَن جَذرَهُما جَمِيعا
Add the squared half to your numbers,
and extract the root of their sum.
وَاحمِلand add عَلىto التَّنصيفِthe half مَاwhat أَخَذتاyou obtained
وَاحمِل عَلى التَّنصيفِ مَا أَخَذتا
فَذلِكthen that الجذرُthe root الَّذيwhich أرَدتاyou wanted
فَذلِك الجذرُ الَّذي أرَدتا
Add what you obtained to the half,
and that is the root you sought.
وَحُطّand reduce الأموالَthe squares إذاwhen ماever كَثُرتthey are numerous
وَحُطّ الأموالَ إذا ما كَثُرت
واجبُرand make whole كُسورَهاtheir fractions إذاwhen ماever قَصُرَتthey fall short
واجبُر كُسورَها إذا ما قَصُرَت
Reduce the squares when they are too many,
and make their fractions whole when they fall short,
حَتىuntil يَصيرَbecomes الكلُّthe whole مالاًa square مُفرَداsingle
حَتى يَصيرَ الكلُّ مالاً مُفرَدا
وَخُذand take بِذاكby that الاسمِthe named proportion مِمّاfrom what قَدhas عداlain beyond
وَخُذ بِذاك الاسمِ مِمّا قَد عدا
until the whole becomes a single square,
and apply the same proportion to the remaining terms.
أَوor فاضرِبthen multiply الأموالَthe squares فيby الأعدادِthe numbers
أَو فاضرِب الأموالَ في الأعدادِ
وكنand be عَلىupon ماwhat مَرَّpreceded ذاpossessing اعتِمادِreliance
وكن عَلى ما مَرَّ ذا اعتِمادِ
Or multiply the number of squares by the numbers,
and rely on the method already given.
وَاقسِمand divide نَظيرَthe corresponding value الجَذرِof the root منfrom بَعدafterward عَلىby
وَاقسِم نَظيرَ الجَذرِ من بَعد عَلى
عَدَدِthe number الأموالِof squares وخُذand take ماwhat أُصِّلاhas been established
عَدَدِ الأموالِ وخُذ ما أُصِّلا
Then divide the value corresponding to the root by
the number of squares, and take the resulting root.
وَكُلَّماand whenever استَثنيتَyou subtracted فيin المسائِلthe problems
وَكُلَّما استَثنيتَ في المسائِل
صَيّرهmake it إيجاباَpositive مَعwith المُعادِلthe other side
صَيّره إيجاباَ مَع المُعادِل
Whenever you subtract a term in a problem,
make it positive on the other side of the equation.
وَبَعدَماand after تَجبُرyou restore فَلتُقابِلthen balance
وَبَعدَما تَجبُر فَلتُقابِل
بِطَرحِby subtracting مَاwhat نَظيرُهُits counterpart مُماثِلis equal
بِطَرحِ مَا نَظيرُهُ مُماثِل
After restoring, proceed to balance,
by subtracting whatever has an equal counterpart.
ثُمَّthen أَقولُI say بَعدُnext فيabout المنازِلthe degrees
ثُمَّ أَقولُ بَعدُ في المنازِل
مقالَan account إيجازٍof brevity بِلفظٍin wording شامِلcomprehensive
مقالَ إيجازٍ بِلفظٍ شامِل
Then I shall speak further of the degrees,
in a brief account with comprehensive wording.
الجَذرُthe root فيin الأولىthe first يَليهfollows it المالُthe square
الجَذرُ في الأولى يَليه المالُ
وبَعدَهُand after it كَعبٌa cube لَهُit has استقلالُindependence
وبَعدَهُ كَعبٌ لَهُ استقلالُ
The root is first, followed by the square,
and after it the cube, standing on its own.
وهكذاand thus رَكبcompound عَلَيهِupon it أَبَداalways
وهكذا رَكب عَلَيهِ أَبَدا
مَاhowever far بَلَغتyou reach ومَأand however far تَناهَتthey extend عَدَداin number
مَا بَلَغت ومَأ تَناهَت عَدَدا
And so keep building upon it without end,
however far you go, whatever number they reach.
وَماand whatever ضَربتَهyou multiply it فَخُذthen take مَنازلَهits degrees
وَما ضَربتَه فَخُذ مَنازلَه
تَعرِفyou will know بذَاكby that الأخذtaking أُسّاًan exponent لِحَاصِلِهfor its product
تَعرِف بذَاك الأخذ أُسّاً لِحَاصِلِه
For whatever you multiply, take its degrees;
you will thereby know the exponent of its product:
ثلاثةthree لِكُلِّfor every كَعبٍcube كرَّراrepeated
ثلاثة لِكُلِّ كَعبٍ كرَّرا
واثنانand two للمالِfor the square مَتَىwhen ماever ذُكراit is mentioned
واثنان للمالِ مَتَى ما ذُكرا
three for every repeated cube,
and two for a square whenever it is mentioned,
وواحدٌand one للجَذرِfor the root لاnot يَنحَرِفvaries
وواحدٌ للجَذرِ لا يَنحَرِف
وَلَيسَand there is not لللأعدادِfor the numbers أُسٌّan exponent يُعرفis known
وَلَيسَ لللأعدادِ أُسٌّ يُعرف
and one for a root, without variation.
Numbers have no recognized exponent.
وإنand if ضَرَبتَyou multiply عَدَداًa number فيby جِنسa kind of term
وإن ضَرَبتَ عَدَداً في جِنس
فالخارجُthen the product الجِنسُthe kind بِغَيرِwithout لَبسِambiguity
فالخارجُ الجِنسُ بِغَيرِ لَبسِ
If you multiply a number by a kind of term,
the product is that kind, without ambiguity.
وَخارجُand the quotient القِسمَةِof division فيbetween النَّوعَينthe two kinds
وَخارجُ القِسمَةِ في النَّوعَين
مَقامُهُits degree عَدreckon بِغَيرwithout مَينfalsehood
مَقامُهُ عَد بِغَير مَين
For the quotient of division between two kinds,
reckon its degree without error.
وَقِسمَةُand division الأعلىthe higher مِنَof الجِنسَينِthe two kinds
وَقِسمَةُ الأعلى مِنَ الجِنسَينِ
خَأرِجُهاits quotient زِيادَةُthe excess الأسَّينof the two exponents
خَأرِجُها زِيادَةُ الأسَّين
When dividing the higher of the two kinds,
the quotient's degree is the difference of the two exponents;
أَعنيI mean بِهذاby this مالَهُwhat it has مِنof مَنزِلَهa degree
أَعني بِهذا مالَهُ مِن مَنزِلَه
وَعَكسُهand its reverse جَوابُهits answer كالمسأَلهlike the problem
وَعَكسُه جَوابُه كالمسأَله
by this I mean the degree it possesses.
In the reverse, its answer remains like the original problem.
وَضَربُand multiplying كُلِّevery زايِدٍpositive term وَناقِصِand negative term
وَضَربُ كُلِّ زايِدٍ وَناقِصِ
فيby نَوعِهِits own sign زِيادةٌa positive result للفاحِصِfor the examiner
في نَوعِهِ زِيادةٌ للفاحِصِ
Multiplying any positive or negative term
by one of its own sign gives a positive result to the examiner.
وَضربُهُand multiplying it فيby ضِدِّهِits opposite نُقصانُa negative result
وَضربُهُ في ضِدِّهِ نُقصانُ
فَافهَمso understand هَداكَmay He guide you المَلكُthe King الدّيَانthe Judge
فَافهَم هَداكَ المَلكُ الدّيَان
Multiplying it by its opposite gives a negative result.
So understand—may the King, the Judge, guide you.
ثُمَّthen صَلاةُthe blessing اللهof God والسَّلامand peace
ثُمَّ صَلاةُ الله والسَّلام
عَلَىupon النَّبِيِّthe Prophet ماas long as انجَلىis dispelled الظَّلامthe darkness
عَلَى النَّبِيِّ ما انجَلى الظَّلام
Then may God's blessing and peace
be upon the Prophet as long as darkness lifts.