AlSamaw’al, Ibn Yah?ya AlMaghribi
ALSAMAW’AL, IBN YAḤYā ALMAGHRIBī
(b. Baghdad, Iraq; d. Marāgha, Iran, [?] ca. 1180)
mathematics, medicine.
AlSamaw’al was the son of Yehuda ben Abun (or Abu’l‘Abbās Yaḥȳa alMagribī), a Jew learned in religion and Hebrew literature who had emigrated from Fez (Morocco) and settled in Baghdad. His mother was Anna Isaac Levi, an educated woman who was originally from Bạra (Iraq). alSamaw‘al thus grew up in a cultivated milieu; a material uncle was a physician, and after studying Hebrew and the Torah the boy was encouraged, when he was thirteen, to take up the study of medicine and the exact sciences. He then began to study medicine with Abu’lBarakāt, while taking the opportunity to observe his uncle’s practice. At the same time he started to learn mathematics, beginning with Hindu computational methods, zījes (astronomical tables), arithmetic, and misāḥa (practical techniques for determining measure, for use in surveying), then progressing to algebra and geometry.
Since scientific study had declined in Baghdad, alSamaw‘al was unable to find a teacher to instruct him beyond the first books of Euclid’s Elements and was therefore obliged to study independently. He finished Euclid, then went on to the Algebra of Abū Kāmil, the alBadī‘ of alKarajī, and the Arithmetic of alWasītī (most probably Maymūn ibn Najib alWasītī, who collaborated in making astronomical observations with Umar alKhayyāmī between 1072 and 1092). By the time he was eighteen, alSamaw‘al had read for himself all of the works fundamental to the study of mathematics and had developed his own mode of mathematical thinking.
In science, this independence of thought led alSamaw‘al to point out deficiencies in the work of alKaraj̈ (whom he admired) and to challenge the arrangement of the Elements; in religion he was similarly inclined to test the validity of the claims of the various creeds and came to accept those of Islam, although he postponed his conversion for a number of years to avoid distressing his father. His autobiography states that he reached his decision at Marāgha on 8 November 1163 as a result of a result of a dream: four years later he wrote to his father, setting out the reasons for which he had changed his religion, and his father immediately set out to Aleppo to see him, dying en route. alSamaw‘al himself spent the rest of his life as an itinerant physician in and around Marāgha. His earlier travels had taken him throughout Irag, Syria, Kūhistān. and Ādharbayjān.
His biographers record that alSamw’al was a successful physician, and had emirs among his patients. In his autobiography alSamaw‘al recorded that he had compounded several new medicines, including an almost miraculous theriac. but no other account of them has survived. His only extant medical work is his Nuzhat alashāb (usually translated as “The Companions’ Promenade in the Garden of Love”), which is essentially a treatise on sexology and a collection of erotic stories. The medical content of the first and longer section of the book lies chiefly in descriptions of diseases and sexual deficiencies; the second, more strictly medical, part includes a discussion of states of virile debility and an account of diseases of the uterus and their treatment. This part is marked by alSamaw‘al’s acute observation and his interest in the psychological aspects of disease; he provides a detailed description of the condition of being in love without recognizing it, and gives a general prescription for the anguished and melancholic that comprises welllighted houses, the sight of running water and verdure, warm baths, and music.
It is, however, chiefly as a mathematician that alSamaw’al merits a place in the history of science. His extant book on algebra, Albāhir (“The Dazzling”), written when he was nineteen years old, represents a remarkable development of the work of his predecessors. In it alSamaw‘al brought together the algebraic rules formulated by, in particular, alKarajī and, to a lesser extent, Ibn Aslam and other authors. including alSijzī, Ibn alHaytham. Qustā ibn Lūqā, and aḷHarīrī. The work consists of four parts. of which the first provides an account of operations on polynomials in one in known with rational coefficients; the second deals essentially with seconddegree equations, indeterminate analysis, and summations; the third concerns irrational quantities; and the fourth, and last, section presents the application of algebraic principles to a number of problems.
It is apparent in the first section of this work that alSamaw’al was the first Arab algebraist to undertake the study of relative numbers. He chose to treat them as if they possessed an identity proper to themselves, although he did not recognize the significance of this choice. He was thus able, in a truly bold stroke. to subtract from zero, writing that
If we subtract and additive [positive] number from an empty power (0· x^{n} – a · x^{n}), the same subtractive [negative] number remains; if we subtract the subtractive number from an empty power, the same additive number remains (0·x^{n}[ax^{n}]=ax^{n})... . If we subtract and additive number from a subtractive number, the remainder is their subtractive sum: (ax^{n})(bx^{n})= (a+b) x^{n}; if we subtract a subtractive number from a greater subtractive number, the results is their subtractive difference; if the number from which one subtracts is smaller than the number subtracted, the result is their additive difference.
These rules appear in the later European work of Chuquet (1484), Pacioli (1494), Stifel (1544), and Cardano (1545): it is likely that alSamaw’al reached them by considering the extraction of the square root of a polynomial.
AlKarajī had conceived the algorithm of extraction, but did not succeed in applying it to the case in which the coefficients of subtractive. His failure may have stimulated alSamaw’al’s abilities, since the problem in which these rules are stated in the Albāhir is that of the extraction of the square root of
25x^{6}+9x^{4}+84x^{2}+64+100(1/x^{2})+64(1/x^{4})
–30x^{5}–40x^{3}–116x–48x^{3}(1/x)–96(1/x^{3}).
Since alKarajīs algebra lacked symbols, so that the numbers had to be spelled out in letters, this operation would have presented an insurmountable obstacle. AlSamaw‘al was able to overcome this trial of memory and imagination by using a visualization in which he assigned to each power of x a place in a table in which a polynomial was represented by the sequence of its coefficients, written in Hindu numerals. This technique, a major step in the development of symbolism, was requisite to the progress of algebra because of the increasing complexity of mathematical computations.
AlSamaw’al’s rules of subtraction were also important in the division of polynomials; in the interest of obtaining better approximations he pursued division up to negative powers of x, and thereby approached the technique of development in series (although he overlooked the opportunity of unifying the various cases of the seconddegree equation and of computation by double error). He computed the quotient of 20x^{2}+30x by 6x^{2}+12, for example, to obtain the result 3 1/3+5(1/x)6 2/3(1/x^{2})10(1/x^{3})+13 1/3(1/x^{4})+20(1/x^{3}26 2/3(1/x^{6})40(1/x^{7}).He then recognized that he could apply the law of the formation of coefficients a_{n+2}=2a^{n}, which allowed him to write out the terms of the quotient directly up to 54,613. 1/3 (1/x^{28}).
AlSamaw‘al further applied the rules of subtraction to the multiplication and division of the powers of x, which he placed in a single line of both sides of the number 1, to which he assigned the rank zero. The other powers and other constants are displayed on each side of zero, in ascending order:
The rules of multiplication and division that alSamaw‘al enunciated are, except for their notation, those still in use.
The second part of the Albāhir contains the six classical equations (ax=b, ax^{2}+bx=c, and so forth) that were set out by alKhwāriznī. Interestingly, however, alSamaw’al gave only geometrical demonstrations of the equations, although their algebraic solutions were known to his predecessor alKarajī, who dedicated a monograph, ‘llal ̣hisāb aljabr wa ’lmuqābala, , to them. AlSamaw’al then presented a remarkable calculation of the coefficients of (a+b)^{n}, which alKarajī discovered after 1007 (for the dating of this and other of alKarajī’s works, see A. Anbouba, ed., L’salgèbre alBadī‘ d’alkaragi [Beirut, 1964], p. 12). Since alKarajī’s original computation has been lost, alSamaw’al’s work is of particular interest in having preserved it: these coefficients are arranged in the triangular table that much later became known in the west as Tartaglia’s or Pascal’s triangle.
A further, and equally important, part of the second section of the book deals with number theory. This chapter contains about forty propositions, including that among n consecutive integers there is one divisible by n; that
1·2+3·4+···+(2n1) 2n=1+3+···
+(2n1)+1^{2}+3^{2}+··· +(2n1)^{2};
and that 1^{2}+^{2}+···+n^{2}=n(n+1)(2n+1)/6. AlSamaw’al was especially proud of having established the last, since neither Ibn Aslam nor alKarajī had been successful in doing so.
The chief importance of the second part of the Albāhir lies, however, in alSamaw’al’s use of recursive reasoning, which appears in such equations as
The third part of Albāhir is chiefly concerned with the classification of irrationals found in Book X of the Elements. AlSamaw’al’s account is complete and claer, but contains nothing new or notworthy except his rationalization of which had eluded alKarajī.
The final section of the work contains a classification of problems by the number of their known solutions, a device used by earlier writers. AlSamaw’al was led by this procedure to solve a varied group of these problems and to master a prodigious system of 210 equations in ten unknowns, a result of his having undertaken the determination of ten numbers of which are given their sums, taken six at time. He further elucidated the 504 conditions necessary to the compatibility of the system. He overcame the lack of symbolic representation by the expedient of designating the unknown quantities 1,2,3,···,10, and was then able to draw up a table that started from
123456···65
123457···70
123458···75
123459···80.
AlSamaw’al’s intention in writing the Albāhir was to compensate for the deficiencies that he found in alKarajī’s work and to provide for algebra the same sort of systematization that the Elements gave to geometry. He wrote the book when he was young, then allowed it seems quite possible that he reworked it a number of times. It is difficult to ascertain the importance of the book to the development of algebra in the Arab world, but an indirect and restricted influence may be seen in the Miftaḥalḥisab (“Key of Arithmetic”) of alKāshī, published in 1427. The book was apparently altogether unknown in the west.
The mathematical counterpart of the Albāhir, the Alzāhir (“The Flourishing”), has been lost, and of alSamaw’al’s mathematical writings only two almost identical elementary treatises remain. These are the Altabsira (“Brief Survey”) and Almūjiz (“Summary”). The influence of the Arabic language is seen in their classification of fractions as deaf. Arab, or genitive, and both contain sections on ratios that are clearly derived from the work of alKarajī. The ratio 80:3·7·9·10, for example, is expressed as a sum of fractions with numerator 1 and the respective denominators 3·10, 3·7·9, and 3·9·10; this use of the sexagesimal system reflects the containing importance of the concerns of the commercial and administrative community of Baghdad, since this system was still favored by merchants and public servants. In this account of division, alSamaw’al noted the periodicity of the quotient 5:11, also calculated in the sexagesimal system. The last section of Almūjiz exists only in mutilated form, but what remains would indicate that it contained interesting material on abacuses.
In an additional work related to his mathematics alSamaw’al again demonstrated the independence of his thinking. In this, the Kashf ‘uwār almunajjimīn (“The Exposure of the Errors of the Astrologers”), he refuted the pronouncements of scientific astrology by pointing out the multiple contradictions in its interpretation of sidereal data, as well as the errors of measurement that he found in astrological observations. He then for the sake of argument, assumed astrology to be valid, but showed that the astrologer could scarcely hope to make a valid prediction since, by alSamaw’al’s count, he would have to take into simultaneous consideration 6,817 celestial indicators, a computation that would surely exceed his abilities.
BIBLIOGRAPHY
I. Original Works AlSamaw’al wrote at least eightyfive works, of which most have been lost. (It must be remembered. however, that the word kitāb may be used to designatge either a brief note or a full volume.) A brief autobiographical writing may be found in Ifh¯m ṭā ‘ifat alyahūd, Cairo MS (Cat. F. Sayyid, I, p. 65), fols. 25–26. and in Alajwiba al fākhira raddan ala’l milla ’lkāfira, Paris MS 1456, fols. 64–65.
His mathematical works that have been preserved include Albāhir (“The Dazzling”). Istanbul MS Aya Sofya 2718, 115 ff.. and Esat Ef. 3155: extracts are in A. Anbouba, “Mukhtārāt min Kitāb alBāhir,” in alMashriq (Jan.Feb. 1961), 61–108, while a complete modern ed., with notes, a detailed analysis, and French introduction is S. Ahmad and R. Rashed, eds., Albāhir en algébre d’asSamawal (Damascus. 1972). Altabsira fi’s hisāb (“Brief Survey”) is Berlin MS 5962, 29 ff., Bodleian (Oxford) I, 194, and Ambrosiana (Milan) C. 211 ii; Almūjiz almūdawī [?] fi’l hisāb (“Summary”) is Istanbul MS Fatih 3439, 15 (consisting of thirtythree pages of thirtyfive lines each): and Kashf uwār almunajjimīn was ghalatihim fi akthar ala māl wa’lahkām (“The Exposure of the Errors of the Astrologers”) is Leiden MS Cod. Or 98, 100 ff.. and Bodleian I, 964, and II, 603, while its preface has been translated into English by F. Rosenthal, “AlAsturlābī and alSamaw’al on Scientific Progress”, in Osiris9 (1950), 555–564.
AlSamaw’al’s only surviving medical work, Nuzhar alasḥāb fi mu‘āsharat alaḥbāb (“The Companions’ Promenade in the Garden of Love”), is preserved in Berlin MS 6381, Paris MS 3054, Gotha MS 2045, Istanbul MS Aya Sofya 2121, and Escorial MS 1830. His other extant works are apologetics, and include Ifhām tāifal alyahūd (“Confutation of the Jews”), Cairo MS Cat. F. Sayyid, I, p. 65, Cairo MS VI, ii. and Teheran MS I. 184, and II 593, of which the text and an English trans. with an intersting introduction by M. Perlmann are Proceedings of the American Academy for Jewish Research. 32 (1964); and Ghāyat almaqsūd fi ’lradd ala ’lnasārā wa ’lyahūd (“Decisive Refutation of the Christians and the Jews”), Istanbul MS As’ad 3153 and Asir 545. A last MS. Badhl almajhūd fi iquā alyahūd (“The Effort to Persuade the Jews”), formerly in Berlin, has been lost since World War II. See also Perlmann (above). pp. 2528, 127).
II. Secondary Literature. Recent editions of Arabic sources on alSamaw’al and his work include Ibn Abī Ụsaybi‘a, Uyūn al anbā, II (Cairo, 1882), 30–31; Hājji Khalīfa. Kashf alzunūn, I (Istanbul, 1941), col. 664, and II (1943), col. 1377; Ibn al ‘Ibrī [Barhebraeus]. Ta‘rikh mukhtạsar alduwal (Beirut, 1958), 217; Ibn alQif̣tī. Ikhbār al‘ulama (Cairo, 1908), 142; Ibn ̣Sā‘id alAkfāni, Irshād alQạ̄sid (Beirut. 1904), 123, 125, 127; and Tash Kupri Zadeh, Miftạ̄h alSaā‘a, I (Hyderabad, 1910), 327, 329.
Works by later authors include A. Anbouba, “AlKarajī. in AlDirāsāt alAdabiyya (Beirut, 1959); and “Mukhtārāt min Kitāb alBāhir”, in alMashriq (Jan. Feb , 1961). 61–108; C. Brockelmann, Geschichte der arabischen Literatur I^{2} (Leiden, 1943), 643, and Supp. I (Leiden, 1937), 892; H. Hirschfeld, “alSamaw’al”, in Jewish Encyclopedia, I (New YorkLondon, 1901), 37–38; Lucien Leclerc, Histoire de la médecine arabe, II (Paris, 1876), 12–17; S. Perez, Biografias de los mathematics arabos que florecieron en Espan¯a (Madrid, 1921). 137; F. Rosenthal, “AlAsturlābī and alSamaw’al on Scientific Progress,” in Osiris, 9 (1950), 555–564; G. Sarton, Introduction to the History of Science II (Baltimore, 1953), 401, and III (1953), 418, 596; M. Steinschneider, Mathematik bei den Juden (Hildesheim, 1964), 96; and H. Suter, Die Mathematiker und Astronomen der Araber und ihre Werke (Leipzig, 1900), biography. 24.
See also introductions and notes in S. Ahmad and R. Rashed, eds., Albāhir en algébre d’asSamawal (Damascus. 1971); and in A. Anbouba, ed., L’algèbre alBadī‘ d’alKaragi (Beirut. 1964).
Adel Anbouba
Cite this article
Pick a style below, and copy the text for your bibliography.

MLA

Chicago

APA
"AlSamaw’al, Ibn Yah?ya AlMaghribi." Complete Dictionary of Scientific Biography. . Encyclopedia.com. 12 Mar. 2019 <https://www.encyclopedia.com>.
"AlSamaw’al, Ibn Yah?ya AlMaghribi." Complete Dictionary of Scientific Biography. . Encyclopedia.com. (March 12, 2019). https://www.encyclopedia.com/science/dictionariesthesaurusespicturesandpressreleases/alsamawalibnyahyaalmaghribi
"AlSamaw’al, Ibn Yah?ya AlMaghribi." Complete Dictionary of Scientific Biography. . Retrieved March 12, 2019 from Encyclopedia.com: https://www.encyclopedia.com/science/dictionariesthesaurusespicturesandpressreleases/alsamawalibnyahyaalmaghribi
Citation styles
Encyclopedia.com gives you the ability to cite reference entries and articles according to common styles from the Modern Language Association (MLA), The Chicago Manual of Style, and the American Psychological Association (APA).
Within the “Cite this article” tool, pick a style to see how all available information looks when formatted according to that style. Then, copy and paste the text into your bibliography or works cited list.
Because each style has its own formatting nuances that evolve over time and not all information is available for every reference entry or article, Encyclopedia.com cannot guarantee each citation it generates. Therefore, it’s best to use Encyclopedia.com citations as a starting point before checking the style against your school or publication’s requirements and the mostrecent information available at these sites:
Modern Language Association
The Chicago Manual of Style
http://www.chicagomanualofstyle.org/tools_citationguide.html
American Psychological Association
Notes:
 Most online reference entries and articles do not have page numbers. Therefore, that information is unavailable for most Encyclopedia.com content. However, the date of retrieval is often important. Refer to each style’s convention regarding the best way to format page numbers and retrieval dates.
 In addition to the MLA, Chicago, and APA styles, your school, university, publication, or institution may have its own requirements for citations. Therefore, be sure to refer to those guidelines when editing your bibliography or works cited list.