Historians seem divided as to which of these interpretations is correct. The version al-Karkhi was proposed by Woepcke (see  or ) but al-Karaji, the version which is most often used in texts today, was suggested as most likely by della Vida in 1933. Rashed comments (see  or ):-
In the present state of our knowledge delle Vida's argument is plausible but not decisive. On the basis of the manuscripts consulted it is far from easy to decide in favour of either name.Certainly we know that al-Karaji lived in Baghdad for most of his life and that his chief mathematical works were written during the time when he lived in that city. His important treatise on algebra Al-Fakhri was dedicated to the ruler of Baghdad and was written in the city. However, at some later point in his career, al-Karaji left Baghdad to live in what are described as the "mountain countries". He seems to have given up mathematics at this time and concentrated on engineering topics such as the drilling of wells.
The importance of al-Karaji in the development of mathematics is viewed rather differently by different authors. The reason for this, rather in the same spirit as the different views on al-Khwarizmi, depends on the significance one attaches to the style of his mathematics. Some consider that his work is merely reworking ideas from earlier mathematicians while others see him as the first person to completely free algebra from geometrical operations and replace them with the arithmetical type of operations which are at the core of algebra today.
Crossley  sounds relatively unimpressed by al-Karaji's contributions (although he describes the content accurately):-
[Al-Karaji] gives rules for the arithmetic operations including (essentially) the multiplication of polynomials. ... al-Karaji usually gives a numerical example for his rules but does not give any sort of proof beyond giving geometrical pictures. Often he explicitely says that he is giving a solution in the style of Diophantus. He does not treat equations above the second degree except for ones which can easily be reduced to at most second degree equations followed by the extraction of roots. The solutions of quadratics are based explicitly on the Euclidean theorems ...Woepcke in  (see also the reprint ) was the first historian to realise the importance of al-Karaji's work and later historians mostly agree with his interpretation. He describes it as the first appearance of a:-
... theory of algebraic calculus ... .Rashed (see  which contains Rashed's article from  and other writings by Rashed on al-Karaji) agrees with Woepcke's interpretation and perhaps goes even further in stressing al-Karaji's importance. He writes:-
... the more-or-less explicit aim of [al-Karaji's] exposition was to find the means of realising the autonomy and specificity of algebra, so as to be in a position to reject, in particular, the geometric representation of algebraic operations.To give another quote from Rashed's description of al-Karaji's contribution:-
Al-Karaji's work holds an especially important place in the history of mathematics. ... the discovery and reading of the arithmetical work of Diophantus, in the light of the algebraic conceptions and methods of al-Khwarizmi and other Arab algebraists, made possible a new departure in algebra by Al-Karaji ...So what was this new departure in algebra? Perhaps it is best described by al-Samawal, one of al-Karaji's successors, who described it as :-
... operating on unknowns using all the arithmetical tools, in the same way as the arithmetician operates on the known.What al-Karaji achieved in Al-Fakhri was first to define the monomials x, x2, x3, ... and 1/x, 1/x2, 1/x3, ... and to give rules for products of any two of these. So what he achieved here was defining the product of these terms without any reference to geometry. In fact he almost gave the formula
Having given rules for multiplication and division of monomials al-Karaji then looked at "composite quantities" or sums of monomials. For these he gave rules for addition, subtraction and multiplication but not for division in the general case, only giving rules for the division of a composite quantity by a monomial. He was able to give a rule for finding the square root of a composite quantity which is not completely general since it required the coefficients to be positive, but it is still a remarkable achievement.
Al-Karaji also uses a form of mathematical induction in his arguments, although he certainly does not give a rigorous exposition of the principle. Basically what al-Karaji does is to demonstrate an argument for n = 1, then prove the case n = 2 based on his result for n = 1, then prove the case n = 3 based on his result for n = 2, and carry on to around n = 5 before remarking that one can continue the process indefinitely. Although this is not induction proper, it is a major step towards understanding inductive proofs.
One of the results on which al-Karaji uses this form of induction comes from his work on the binomial theorem, the binomial coefficients and the Pascal triangle. In Al-Fakhri al-Karaji computed (a+b)3 and in Al-Badi he computed (a-b)3 and (a+b)4. The general construction of the Pascal triangle was given by al-Karaji in work described in the later writings of al-Samawal. In the translation by Rashed and Ahmad (see for example ) al-Samawal writes:-
Let us now recall a principle for knowing the necessary number of multiplications of these degrees by each other, for any number divided into two parts. Al-Karaji said that in order to succeed we must place 'one' on a table and 'one' below the first 'one', move the first 'one' into a second column, add the first 'one' to the 'one' below it. Thus we obtain 'two', which we put below the transferred 'one' and we place the second 'one' below the 'two'. We have therefore 'one', 'two', and 'one'.To see how the second column of 1,2,1 corresponds to squaring a+b al-Samawal continues to describe Al-Karaji's work writing:-
This shows that for every number composed of two numbers, if we multiple each of them by itself once - since the two extremes are 'one' and 'one' - and if we multiply each one by the other twice - since the intermediate term is 'two' - we obtain the square of this number.This is a beautiful description of the binomial theorem using the Pascal triangle. The description continues up to the binomial coefficients which give (a+b)5 but we shall only quote how al-Karaji constructs the third column from the second:-
If we transfer the 'one' in the second column into a third column, then add 'one' from the second column to 'two' below it, we obtain 'three' to be written under the 'one' in the third column. If we then add 'two' from the second column to ''one' below it we have 'three' which is written under the 'three', then we write 'one' under this 'three'; we thus obtain a third column whose numbers are 'one', 'three', 'three', and 'one'.
The table al-Karaji constructed looks like the Pascal triangle on its side.
Other results obtained by al-Karaji include summing the first n natural numbers, the squares of the first n natural numbers and the cubes of these numbers. He proved that the sum of the first n natural numbers was ½n(n + 1). He also gave (in Rashed and Ahmad's translation, see for example ):-
The sum of the squares of the numbers that follow one another in natural order from one is equal to the sum of these numbers and the product of each of them by its predecessor.In modern notation this result is
If we want to add the cubes of the numbers that follow one another in their natural order we multiply their sum by itself.
In modern notation
= (1 + 2 + 3 + ... + 8)2 + 93 + 103
= (1 + 2 + 3 + ... + 7)2 + 83 + 93 + 103
= . . .
= 13 + 23 + 33 + ... + 103.
... more than a third of the problems of the first book of Diophantus, the problems of the second book starting with the eighth, and virtually all the problems of the third book were included by al-Karaji in his collection.Al-Karaji also invented many new problem of his own but even those of Diophantus were certainly not just taken without further development. He always tried to generalise Diophantus's results and to find methods which were more generally applicable.
It was not only to algebra that al-Karaji contributed. The paper  discusses some of his geometrical work. This occurs in a chapter entitled On measurement and balances for measuring of buildings and structures. al-Karaji defines points, lines, surfaces, solids and angles. He also gives rules for measuring both plane and solid figures, often using arches as examples. He also gives methods of weighing different substances.
Article by: J J O'Connor and E F Robertson