# The Nine Chapters on the Mathematical Art

* The Nine Chapters on the Mathematical Art* (simplified Chinese: 九章算术; traditional Chinese: 九章算術; pinyin:

*Jiǔzhāng Suànshù*; Wade–Giles:

*chiu*) is a Chinese mathematics book, composed by several generations of scholars from the 10th–2nd century BCE, its latest stage being from the 2nd century CE. This book is one of the earliest surviving mathematical texts from China, the first being

^{3}chang^{1}suan^{4}shu^{1}*Suan shu shu*(202 BCE – 186 BCE) and

*Zhoubi Suanjing*(compiled throughout the Han until the late 2nd century CE). It lays out an approach to mathematics that centres on finding the most general methods of solving problems, which may be contrasted with the approach common to ancient Greek mathematicians, who tended to deduce propositions from an initial set of axioms.

Entries in the book usually take the form of a statement of a problem, followed by the statement of the solution and an explanation of the procedure that led to the solution. These were commented on by Liu Hui in the 3rd century.

The full title of *The Nine Chapters on the Mathematical Art* appears on two bronze standard measures which are dated to 179 CE, but there is speculation that the same book existed beforehand under different titles.^{[1]}

Most scholars believe that Chinese mathematics and the mathematics of the ancient Mediterranean world had developed more or less independently up to the time when the Nine Chapters reached its final form. The method of chapter 7 was not found in Europe until the 13th century, and the method of chapter 8 uses Gaussian elimination before Carl Friedrich Gauss (1777–1855).^{[2]} There is also the mathematical proof given in the treatise for the Pythagorean theorem.^{[3]} The influence of The Nine Chapters greatly assisted the development of ancient mathematics in the regions of Korea and Japan. Its influence on mathematical thought in China persisted until the Qing Dynasty era.

Liu Hui wrote a very detailed commentary on this book in 263. He analyses the procedures of the Nine Chapters step by step, in a manner which is clearly designed to give the reader confidence that they are reliable, although he is not concerned to provide formal proofs in the Euclidean manner. Liu's commentary is of great mathematical interest in its own right. Liu credits the earlier mathematicians Zhang Cang (fl. 165 BCE - d. 142 BCE) and Geng Shouchang (fl. 75 BCE-49 BCE) (see armillary sphere) with the initial arrangement and commentary on the book, yet Han Dynasty records do not indicate the names of any authors of commentary, as they are not mentioned until the 3rd century.^{[4]}

The *Nine Chapters* is an anonymous work, and its origins are not clear. Until recent years, there was no substantial evidence of related mathematical writing that might have preceded it, with the exception of mathematical work by those such as Jing Fang (78–37 BCE), Liu Xin (d. 23), and Zhang Heng (78–139) and the geometry clauses of the *Mozi* of the 4th century BCE. This is no longer the case. The Suàn shù shū (算數書) or *writings on reckoning* is an ancient Chinese text on mathematics approximately seven thousand characters in length, written on 190 bamboo strips. It was discovered together with other writings in 1983 when archaeologists opened a tomb in Hubei province. It is among the corpus of texts known as the Zhangjiashan Han bamboo texts. From documentary evidence this tomb is known to have been closed in 186 BCE, early in the Western Han dynasty. While its relationship to the *Nine Chapters* is still under discussion by scholars, some of its contents are clearly paralleled there. The text of the *Suàn shù shū* is however much less systematic than the Nine Chapters; and appears to consist of a number of more or less independent short sections of text drawn from a number of sources. The *Zhoubi Suanjing*, a mathematics and astronomy text, was also compiled during the Han, and was even mentioned as a school of mathematics in and around 180 CE by Cai Yong.

In 1852, Alexander Wylie referred to it as *Arithmetical Rules of the Nine Sections.*

With only a slight variation, the Japanese historian of mathematics Yoshio Mikami shortened the title to *Arithmetic in Nine Sections.*^{[5]}

David Eugene Smith, in his *History of Mathematics (Smith 1923)*, followed the convention used by Yoshio Mikami.

Several years later, George Sarton took note of the book, but only with limited attention and only mentioning the usage of red and black rods for positive and negative numbers.

In 1959, Joseph Needham and Wang Ling (historian) translated Jiu Zhang Suan shu as The Nine Chapters on the Mathematical Art for the first time.

Later in 1994, Lam Lay Yong used this title in her overview of the book, as did other mathematicians including John N. Crossley and Anthony W.-C Lun in their translation of Li Yan and Du Shiran's *Chinese Mathematics: A Concise History* (Li and Du 1987).^{[5]}

Afterwards, the name The Nine Chapters on the Mathematical Art stuck and became the standard English title for the book.

*The Nine Chapters on the Mathematical Art* does not discuss natural numbers, that is, positive integers and their operations, but they are widely used and written on the basis of natural numbers. Although it is not a book on fractions, the meaning, nature, and four operations of fractions are fully discussed. For example: combined division (addition), subtraction (subtraction), multiplication (multiplication), warp division (division), division (comparison size), reduction (simplified fraction), and bisector (average).^{[8]}

The concept of negative numbers also appears in "Nine Chapters of Arithmetic". In order to cooperate with the algorithm of equations, the rules of addition and subtraction of positive and negative numbers are given. The subtraction is "divide by the same name, benefit by different names. The addition is "divide by different names, benefit from each other by the same name. Among them, "division" is subtraction, "benefit" is addition, and "no entry" means that there is no counter-party, but multiplication and division are not recorded.^{[8]}

*The Nine Chapters on the Mathematical Art* gives a certain discussion on natural numbers, fractions, positive and negative numbers, and some special irrationality. It basically has the prototype of real number system.

The geometric figures included in *The Nine Chapters on the Mathematical Art* are mostly straight and circular figures because of its focus on the applications onto the agricultural fields. In addition, due to the needs of civil architecture, *The Nine Chapters on the Mathematical Art* also discusses volumetric algorithms of linear and circular 3 dimensional solids. The arrangement of these volumetric algorithms ranges from simple to complex, forming a unique mathematical system.^{[8]}

Regarding the direct application of the Gou Gu Theorem, which is precisely the Chinese version of the Pythagorean Theorem, the book divides it into four main categories: Gou Gu mutual seeking, Gou Gu integer, Gou Gu dual capacity, Gou Gu similar.

Gou Gu mutual seeking discusses the algorithm of finding the length of a side of the right triangle while knowing the other two. Gou Gu integer is precisely the finding of some significant integer Pythagorean numbers, including famously the triple 3,4,5. Gou Gu dual capacity discusses algorithms for calculating the areas of the inscribed rectangles and other polygons in the circle, which also serves an algorithm to calculate the value of pi. Lastly, Gou Gu similars provide algorithms of calculating heights and lengths of buildings on the mathematical basis of similar right triangles.

The methods of completing the squares and cubes as well as solving simultaneous linear equations listed in *The Nine Chapters on the Mathematical Art* can be regarded one of the major content of ancient Chinese mathematics. The discussion of these algorithms in *The Nine Chapters on the Mathematical Art* are very detailed. Through these discussions, one can understand the achievements of the development of ancient Chinese mathematics.^{[8]}

Completing the squaring and cubes can not only solve systems of two linear equations with two unknowns, but also general quadratic and cubic equations. It is the basis for solving higher-order equations in ancient China, and it also plays an important role in the development of mathematics.^{[8]}

The "equations" discussed in the Fang Cheng chapter are equivalent to today's simultaneous linear equations. The solution method called "Fang Cheng Shi" is best known today as Gaussian elimination. Among the eighteen problems listed in the Fang Cheng chapter, some are equivalent to simultaneous linear equations with two unknowns, some are equivalent to simultaneous linear equations with 3 unknowns, and the most complex example analyzes the solution to a system of linear equations with up to 5 unknowns.^{[8]}

The word "Jiu", or "9", means more than just a digit in ancient Chinese. In fact, since it is the largest digit, it often refers to something of a grand scale or a supreme authority. Further, the word "Zhang", or "Chapter", also has more connotations than simply being the "chapter". It may refer to a section, several parts of an article, or an entire treatise.^{[9]} Given these historical understanding of ancient Chinese, the book *The Nine Chapters on the Mathematical Art* is actually a somewhat mistranslation; it should really mean a grand book for mathematics.

In this light, many scholars of the history of Chinese mathematics compare the significance of *The Nine Chapters on the Mathematical Art* on the development of Eastern mathematical traditions to that of Euclid's *Elements* on the Western mathematical traditions.^{[10]}^{[11]} However, the influence of *The Nine Chapters on the Mathematical Art* stops short at the advancement of modern mathematics due to its focus on practical problems and inductive proof methods as opposed to the deductive, axiomatic tradition that Euclid's *Elements* establishes.

However, it is dismissive to say that *The Nine Chapters on the Mathematical Art* has no impact at all on modern mathematics. The style and structure of *The Nine Chapters on the Mathematical Art* can be best concluded as "problem, formula, and computation".^{[12]} This process of solving applied mathematical problems is now pretty much the standard approach in the field of applied mathematics.