# Liber Abaci

Liber Abaci (also spelled as Liber Abbaci) ("The Book of Calculation") is a 1202 historic book on arithmetic by Leonardo of Pisa, posthumously known as Fibonacci.

Liber Abaci was among the first Western books to describe the Hindu–Arabic numeral system and to use symbols traditionally described as "Arabic numerals". By addressing the applications of both commercial tradesmen and mathematicians, it contributed to convincing the public of the superiority of the system, and the use of these glyphs.

Although the book's title has also been translated as "The Book of the Abacus", Sigler (2002) writes that this is an error: the intent of the book is to describe methods of doing calculations without aid of an abacus, and as Ore (1948) confirms, for centuries after its publication the algorismists (followers of the style of calculation demonstrated in Liber Abaci) remained in conflict with the abacists (traditionalists who continued to use the abacus in conjunction with Roman numerals). The historian of mathematics Carl Boyer stated in his History of Mathematics: "The book in which Fibonacci described the new algorism is a celebrated classic, completed in 1202, but it bears a misleading title - Liber abaci (or book of the abacus). It is not on the abacus; it is a very thorough treatise on algebraic methods and problems in which the use of the Hindu-Arabic numerals is strongly advocated."

The second version of Liber Abaci was dedicated to Michael Scot in 1227 CE. No copies of the first version are known to exist.

## Summary of sections

The first section introduces the Hindu–Arabic numeral system, including methods for converting between different representation systems. This section also includes the first known description of trial division for testing whether a number is composite and, if so, factoring it.

The second section presents examples from commerce, such as conversions of currency and measurements, and calculations of profit and interest.

The third section discusses a number of mathematical problems; for instance, it includes (ch. II.12) the Chinese remainder theorem, perfect numbers and Mersenne primes as well as formulas for arithmetic series and for square pyramidal numbers. Another example in this chapter, describing the growth of a population of rabbits, was the origin of the Fibonacci sequence for which the author is most famous today.

The fourth section derives approximations, both numerical and geometrical, of irrational numbers such as square roots.

The book also includes proofs in Euclidean geometry. Fibonacci's method of solving algebraic equations shows the influence of the early 10th-century Egyptian mathematician Abū Kāmil Shujāʿ ibn Aslam.

## Fibonacci's notation for fractions

In reading Liber Abaci, it is helpful to understand Fibonacci's notation for rational numbers, a notation that is intermediate in form between the Egyptian fractions commonly used until that time and the vulgar fractions still in use today. There are three key differences between Fibonacci's notation and modern fraction notation.

1. We generally write a fraction to the right of the whole number to which it is added, for instance $2\,{\frac {1}{3}}$ for 7/3. Fibonacci instead would write the same fraction to the left, i.e., ${\frac {1}{3}}\,2$ .
2. Fibonacci used a composite fraction notation in which a sequence of numerators and denominators shared the same fraction bar; each such term represented an additional fraction of the given numerator divided by the product of all the denominators below and to the right of it. That is, ${\frac {b\,\,a}{d\,\,c}}={\frac {a}{c}}+{\frac {b}{cd}}$ , and ${\frac {c\,\,b\,\,a}{f\,\,e\,\,d}}={\frac {a}{d}}+{\frac {b}{de}}+{\frac {c}{def}}$ . The notation was read from right to left. For example, 29/30 could be written as ${\frac {1\,\,2\,\,4}{2\,\,3\,\,5}}$ , representing the value ${\frac {4}{5}}+{\frac {2}{3\times 5}}+{\frac {1}{2\times 3\times 5}}$ . This can be viewed as a form of mixed radix notation, and was very convenient for dealing with traditional systems of weights, measures, and currency. For instance, for units of length, a foot is 1/3 of a yard, and an inch is 1/12 of a foot, so a quantity of 5 yards, 2 feet, and $7{\frac {3}{4}}$ inches could be represented as a composite fraction: ${\frac {3\ \,7\,\,2}{4\,\,12\,\,3}}\,5$ yards. However, typical notations for traditional measures, while similarly based on mixed radixes, do not write out the denominators explicitly; the explicit denominators in Fibonacci's notation allow him to use different radixes for different problems when convenient. Sigler also points out an instance where Fibonacci uses composite fractions in which all denominators are 10, prefiguring modern decimal notation for fractions.
3. Fibonacci sometimes wrote several fractions next to each other, representing a sum of the given fractions. For instance, 1/3+1/4 = 7/12, so a notation like ${\frac {1}{4}}\,{\frac {1}{3}}\,2$ would represent the number that would now more commonly be written as the mixed number $2\,{\frac {7}{12}}$ , or simply the improper fraction ${\frac {31}{12}}$ . Notation of this form can be distinguished from sequences of numerators and denominators sharing a fraction bar by the visible break in the bar. If all numerators are 1 in a fraction written in this form, and all denominators are different from each other, the result is an Egyptian fraction representation of the number. This notation was also sometimes combined with the composite fraction notation: two composite fractions written next to each other would represent the sum of the fractions.

The complexity of this notation allows numbers to be written in many different ways, and Fibonacci described several methods for converting from one style of representation to another. In particular, chapter II.7 contains a list of methods for converting an improper fraction to an Egyptian fraction, including the greedy algorithm for Egyptian fractions, also known as the Fibonacci–Sylvester expansion.

## Modus Indorum

In the Liber Abaci, Fibonacci says the following introducing the Modus Indorum (the method of the Indians), today known as Hindu–Arabic numeral system or base-10 positional notation. It also introduced digits that greatly resembled the modern Arabic numerals.

As my father was a public official away from our homeland in the Bugia customshouse established for the Pisan merchants who frequently gathered there, he had me in my youth brought to him, looking to find for me a useful and comfortable future; there he wanted me to be in the study of mathematics and to be taught for some days. There from a marvelous instruction in the art of the nine Indian figures, the introduction and knowledge of the art pleased me so much above all else, and I learnt from them, whoever was learned in it, from nearby Egypt, Syria, Greece, Sicily and Provence, and their various methods, to which locations of business I travelled considerably afterwards for much study, and I learnt from the assembled disputations. But this, on the whole, the algorithm and even the Pythagorean arcs, I still reckoned almost an error compared to the Indian method. Therefore strictly embracing the Indian method, and attentive to the study of it, from mine own sense adding some, and some more still from the subtle Euclidean geometric art, applying the sum that I was able to perceive to this book, I worked to put it together in xv distinct chapters, showing certain proof for almost everything that I put in, so that further, this method perfected above the rest, this science is instructed to the eager, and to the Italian people above all others, who up to now are found without a minimum. If, by chance, something less or more proper or necessary I omitted, your indulgence for me is entreated, as there is no one who is without fault, and in all things is altogether circumspect.
The nine Indian figures are:
9 8 7 6 5 4 3 2 1
With these nine figures, and with the sign 0 which the Arabs call zephir any number whatsoever is written... (Sigler 2002; see Grimm 1973 for another translation)

In other words, in his book he advocated the use of the digits 0–9, and of place value. Until this time Europe used Roman Numerals, making modern mathematics almost impossible. The book thus made an important contribution to the spread of decimal numerals. The spread of the Hindu-Arabic system, however, as Ore writes, was "long-drawn-out", taking many more centuries to spread widely, and did not become complete until the later part of the 16th century, accelerating dramatically only in the 1500s with the advent of printing.
{"ft_lang_label":"__label__en","ft_lang_prob":0.92103,"math_prob":0.94428986,"size":9932,"snap":"2021-21-2021-25","text_gpt3_token_len":2244,"char_repetition_ratio":0.1258058,"word_repetition_ratio":0.0063171196,"special_character_ratio":0.22815143,"punctuation_ratio":0.14164004,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98988414,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"im_url_duplicate_count":[null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-13T08:23:14Z\",\"WARC-Record-ID\":\"<urn:uuid:2d781eee-01fa-402f-8e67-a4c101975599>\",\"Content-Length\":\"43882\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5320d3d5-a7a7-4429-b7fd-84e84ccec193>\",\"WARC-Concurrent-To\":\"<urn:uuid:015668fc-a6aa-4b20-9e81-6d35ca809199>\",\"WARC-IP-Address\":\"41.66.34.68\",\"WARC-Target-URI\":\"https://zims-en.kiwix.campusafrica.gos.orange.com/wikipedia_en_all_nopic/A/Liber_Abaci\",\"WARC-Payload-Digest\":\"sha1:KVEZFNRIWKRETLMNLJNUZZAIJ4RDTPB7\",\"WARC-Block-Digest\":\"sha1:PJJHHKGRPCJNKAUIEOIRWNBRUW4T6FHJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243990584.33_warc_CC-MAIN-20210513080742-20210513110742-00466.warc.gz\"}"}