# Liber Abaci

A page of the Liber Abaci from the Biblioteca Nazionale di Firenze showing (on right) the numbers of the Fibonacci sequence. Note in particular the 2,8, and 9 which resemble Arabic numerals more than Eastern Arabic numerals or Indian numerals

Liber Abaci (also spelled as Liber Abbaci)[1] ("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.[2]

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."[3]

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

## 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.[7]

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.[8]

## 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[9]. 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 ${\displaystyle \scriptstyle 2\,{\frac {1}{3}}}$  for 7/3. Fibonacci instead would write the same fraction to the left, i.e., ${\displaystyle \scriptstyle {\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, ${\displaystyle \scriptstyle {\frac {b\,\,a}{d\,\,c}}={\frac {a}{c}}+{\frac {b}{cd}}}$ , and ${\displaystyle \scriptstyle {\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 ${\displaystyle \scriptstyle {\frac {1\,\,2\,\,4}{2\,\,3\,\,5}}}$ , representing the value ${\displaystyle \scriptstyle {\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 ${\displaystyle \scriptstyle 7{\frac {3}{4}}}$  inches could be represented as a composite fraction: ${\displaystyle \scriptstyle {\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 ${\displaystyle \scriptstyle {\frac {1}{4}}\,{\frac {1}{3}}\,2}$  would represent the number that would now more commonly be written as the mixed number ${\displaystyle \scriptstyle 2\,{\frac {7}{12}}}$ , or simply the improper fraction ${\displaystyle \scriptstyle {\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.

## Notes

1. ^ "Fibonacci's Liber Abaci (Book of Calculation)". The University of Utah. 13 December 2009. Retrieved 27 November 2018.
2. ^ Keith Devlin (2012). The Man of Numbers: Fibonacci's Arithmetic Revolution. Walker Books. ISBN 978-0802779083.
3. ^ Boyer, Carl (1968). A History of Mathematics. New York, London, Sydney: John Wiley & Sons. p. 280.
4. ^ Scott, T.C.; Marketos, P., "Michael Scot", in O'Connor, John J.; Robertson, Edmund F. (eds.), MacTutor History of Mathematics archive, University of St Andrews.
5. ^ Scott, T.C.; Marketos, P. (March 2014), On the Origin of the Fibonacci Sequence (PDF), MacTutor History of Mathematics archive, University of St Andrews
6. ^ Gordon, John Steele. "The Man Behind Modern Math". Retrieved 7 June 2016.
7. ^ Mollin, Richard A. (2002). "A brief history of factoring and primality testing B. C. (before computers)". Mathematics Magazine. 75 (1): 18–29. doi:10.2307/3219180. MR 2107288. See also Sigler, pp. 65–66.
8. ^ O'Connor, John J.; Robertson, Edmund F., "Abu Kamil Shuja ibn Aslam", MacTutor History of Mathematics archive.
9. ^ Moyon, Marc; Spiesser, Maryvonne (3 June 2015). "L'arithmétique des fractions dans l'œuvre de Fibonacci: fondements & usages". Archive for History of Exact Sciences. 69 (4): 391–427. doi:10.1007/s00407-015-0155-y.