Principles of Hindu Reckoning (Arabic:كتاب في أصول حساب الهند,romanized: Kitab fi usul hisab al-hind) is amathematics book written by the 10th- and 11th-century Persian mathematicianKushyar ibn Labban. It is the second-oldest book extant in Arabic about Hindu arithmetic usingHindu-Arabic numerals ( ० ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹), preceded byKitab al-Fusul fi al-Hisub al-Hindi (Arabic:كتاب الفصول في الحساب الهندي) byAbul al-Hassan Ahmad ibn Ibrahim al-Uglidis, written in 952.
AlthoughAl-Khwarizmi also wrote a book about Hinduarithmetic in 825, his Arabic original was lost, and only a 12th-century translation is extant.[1]: 3 In his opening sentence, Ibn Labban describes his book as one on the principles of Hindu arithmetic.[2]Principles of Hindu Reckoning was one of the foreign sources forHindu Reckoning in the 10th and 11th century in India. It was translated into English byMartin Levey and Marvin Petruck in 1963 from the only extant Arabic manuscript at that time: Istanbul, Aya Sophya Library, MS 4857 and a Hebrew translation and commentary by Shālôm ben Joseph 'Anābī.[1]: 4
Hindu arithmetic was conducted on a dust board similar to the Chinesecounting board. A dust board is a flat surface with a layer of sand and lined with grids. Very much like the Chinesecounting rod numerals, a blank on a sand board grid stood for zero, and zero sign was not necessary.[3] Shifting of digits involves erasing and rewriting, unlike the counting board.
There is only one Arabic copy extant, now kept in the Hagia Sophia Library in Istanbul. There is also a Hebrew translation with commentary, kept in theBodleian Library ofOxford University. In 1965 University of Wisconsin Press published an English edition of this book translated by Martin Levey and Marvin Petruck, based on both the Arabic and Hebrew editions. This English translation included 31 plates of facsimile of original Arabic text.[1]
Principles of Hindu Reckoning consists of two parts dealing with arithmetics in two numerals system in India at his time.
The similarity between decimal Hindu algorithm with Chinese algorithm inSunzi Suanjing are striking,[4] except the operation halving, as there was no hybrid decimal/sexagesimal calculation in China.
Kushyar ibn Labban described in detail the addition of two numbers.
The Hindu addition is identical to rod numeral addition inSunzi Suanjing[5]
| operation | Rod calculus | Hindu reckoning |
|---|---|---|
| Layout | Arrange two numbers in two rows | Arrange two numbers in two rows |
| order of calculation | from left to right | from left to right |
| result | placed on top row | Placed on top row |
| remove lower row | remove digit by digit from left to right | digit not removed |
There was a minor difference in the treatment of second row, in Hindu reckoning, the second row digits drawn on sand board remained in place from beginning to end, while in rod calculus, rods from lower rows were physically removed and add to upper row, digit by digit.
In the 3rd section of his book, Kushyar ibn Labban provided step by step algorithm for subtraction of 839 from 5625. Second row digits remained in place at all time. In rod calculus, digit from second row was removed digit by digit in calculation, leaving only the resultin one row.
Kushyar ibn Labban multiplication is a variation of Sunzi multiplication.
| operation | Sunzi | Hindu |
|---|---|---|
| multiplicant | placed at upper row, | placed at upper row, |
| multiplier | third row | 2nd row below multiplicant |
| alignment | last digit of multiplier with first digit of multiplicant | last digit of multiplier with first digit of multiplicant |
| multiplyier padding | rod numeral blanks | rod numeral style blanks, not Hindu numeral 0 |
| order of calculation | from left to right | from left to right |
| product | placed at center row | merged with multiplicant |
| shifting of multiplier | one position to the right | one position to the right |
ProfessorLam Lay Yong discovered that the Hindu division method describe by Kushyar ibn Labban is totally identical to rod calculus division in the 5th-centurySunzi Suanjing.[6]
| operation | Sunzi division | Hindu division |
|---|---|---|
| dividend | on middle row, | on middle row, |
| divisor | divisor at bottom row | divisor at bottom row |
| Quotient | placed at top row | placed at top row |
| divisor padding | rod numeral blanks | rod numeral style blanks, not Hindu numeral 0 |
| order of calculation | from left to right | from left to right |
| Shifting divisor | one position to the right | one position to the right |
| Remainder | numerator on middle row,denominator at bottom | numerator on middle row,denominator at bottom |
Besides the totally identical format, procedure and remainder fraction, one telltale sign which discloses the origin of this division algorithm is in the missing 0 after 243, which in true Hindu numeral should be written as 2430, not 243blank; blank space is a feature of rod numerals (and abacus).
Divide by 2 or "halving" in Hindu reckoning was treated with a hybrid of decimal and sexagesimal numerals:It was calculated not from left to right as decimal arithmetics, but from right to left:After halving the first digit 5 to get 21⁄2, replace the 5 with 2, andwrite 30 under it:
Final result:
Kushyar ibn Labban described the algorithm for extraction of square root with example of
Kushyar ibn Labban square root extraction algorithm is basically the same as Sunzi algorithm
| operation | Sunzi square root | ibn Labban sqrt |
|---|---|---|
| dividend | on middle row, | on middle row, |
| divisor | divisor at bottom row | divisor at bottom row |
| Quotient | placed at top row | placed at top row |
| divisor padding | rod numeral blanks | rod numeral style blanks, not Hindu numeral 0 |
| order of calculation | from left to right | from left to right |
| divisor doubling | multiplied by 2 | multiplied by 2 |
| Shifting divisor | one position to the right | one position to the right |
| Shifting quotient | Positioned at beginning, no subsequent shift | one position to the right |
| Remainder | numerator on middle row,denominator at bottom | numerator on middle row,denominator at bottom |
| final denominator | no change | add 1 |
The approximation of non perfect square root using Sunzi algorithm yields result slightly higher than the true value in decimal part, the square root approximation of Labban gave slightly lower value, the integer part are the same.
The Hindu sexagesimal multiplication format was completely different from Hindu decimal arithmetics. Kushyar ibn Labban's exampleof 25 degree 42 minutes multiplied by 18 degrees 36 minutes was written vertically as
with a blank space in between[1]: 80
Kushyar ibn Labban'sPrinciples of Hindu Reckoning exerted strong influence on later Arabic algorists. His studental-Nasawi followed his teacher's method. Algorist of the 13th century,Jordanus de Nemore's work was influenced by al-Nasawi. As late as 16th century, ibn Labban's name was still mentioned.[1]: 40–42