Nine Chapters on the Mathematical Art

The Jiuzhang suanshu or Nine Chapters on the Mathematical Art is a practical handbook of mathematics consisting of 246 problems intended to provide methods to be used to solve everyday problems of engineering, surveying, trade, and taxation. It has played a fundamental role in the development of mathematics in China, not dissimilar to the role of Euclid's Elements in the mathematics which developed from the foundations set up by the ancient Greeks. There is one major difference which we must examine right at the start of this article and this is the concept of proof.

It is well known what that Euclid, for example, gives rigorous proofs of his results. Failure to see similar rigorous proofs in Chinese works such as the Nine Chapters on the Mathematical Art led to historians believing that the Chinese gave formulas without justification. This however is simply an example of historians well versed in mathematics which is essentially derived from Greek mathematics, thinking that Chinese mathematics was inferior since it was different. Recent work has begun to correct this false impression and understand that there are different understandings of "proof". For example in [8] Chemla shows that Chinese mathematicians certainly understood how to give convincing arguments that their methodology for solving particular problems was correct.

Let us now give a short description of each of the nine chapters of the book.

Chapter 1: Land Surveying.
This consists of 38 problems on land surveying. It looks first at area problems, then looks at rules for the addition, subtraction, multiplication and division of fractions. The Euclidean algorithm method for finding the greatest common divisor of two numbers is given. It then proceeds to further area problems which do not use the material on fractions which appears somewhat misplaced. The types of shapes for which the area is calculated include triangles, rectangles, circles, trapeziums. In Problem 32 an accurate approximation is given for π. This is discussed in detail in Liu Hui's biography.

Chapter 2: Millet and Rice.
This chapter contains 46 problems concerning the exchange of goods, particularly the exchange rates among twenty different types of grains, beans, and seeds. The mathematics involves a study of proportion and percentages and introduces the rule of three for solving proportion problems. Many of the problems seem simple an excuse to give the reader practice at handling difficult calculations with fractions.

Chapter 3: Distribution by Proportion.
Here there are 20 problems which again involve proportion, many involving different sums given to or owed by officials of various different ranks. Direct proportion, inverse proportion and compound proportion are all studied. In particular arithmetic and geometric progressions are used in some of the problems.

Chapter 4: Short Width.
This chapter contains 24 problems and takes its name from the first eleven problems which ask what the length of a field will be if the width is increased but the area kept constant. These first eleven problems involve unit fractions are all of the following type, where n=2,3,4,...,12n = 2, 3, 4, ..., 12:
Suppose a field has width 1+12+13+...+1n1+ \large\frac{1}{2}\normalsize + \large\frac{1}{3}\normalsize + ... + \large\frac{1}{n}\normalsize. What must its length be if its area is 1?
Problems 12 to 18 involve the extraction of square roots, and the remaining problems involve the extraction of cube roots. Notions of limits and infinitesimals appear in this chapter. Liu Hui whose commentary of 263 AD has become part of the text attempts to find the volume of a sphere, gives an approximate formula which he shows to be incorrect, then charmingly writes:-
Let us leave the problem to whoever can tell the truth.
Chapter 5: Civil Engineering.
Here there are 28 problems on the construction of canals, ditches, dykes, etc. Volumes of solids such as prisms, pyramids, tetrahedrons, wedges, cylinders and truncated cones are calculated. Liu Hui, in his commentary, discusses a "method of exhaustion" he has invented to find the correct formula for the volume of a pyramid.

Chapter 6: Fair Distribution of Goods.
This chapter contains 28 problems involving ratio and proportion. The problems are varied and concern problems about travelling, taxation, sharing etc. Problem 12 is a pursuit problem:-
A good runner can go 100 paces while a poor runner covers 60 paces. The poor runner has covered a distance of 100 paces before the good runner sets off in pursuit. How many paces does it take the good runner before he catches up the poor runner.
[Answer: 250 paces]
Problem 26 has become a classic type still used today:-
A cistern is filled through five canals. Open the first canal and the cistern fills in 13\large\frac{1}{3}\normalsize day; with the second, it fills in 1 day; with the third, in 2122\large\frac{1}{2}\normalsize days; with the fourth, in 3 days, and with the fifth in 5 days. If all the canals are opened, how long will it take to fill the cistern?
[Answer: 1574\large\frac{15}{74}\normalsize of a day]
Chapter 7: Excess and Deficit.
The 20 problems give a rule of double false position. Essentially linear equations are solved by making two guesses at the solution, then computing the correct answer from the two errors. For example to solve
ax+b=cax + b = c
we try x=ix = i, and instead of cc we get c+dc + d. Then we try x=jx = j, and instead of cc we obtain c+ec + e. Then the correct solution is
x=(jdie)/(de)x = (jd - ie)/(d - e).
The first problem essentially contains the "guesses" in its formulation:-
Certain items are purchased jointly. If each person pays 8 coins, the surplus is 3 coins, and if each person gives 7 coins, the deficiency is 4 coins. Find the number of people and the total cost of the items.
[Answer: There are 7 people and the total cost of the items is 53 coins.]
Problem 18, although not formulated as a "guessing problem" is solved in that manner:-
There are two piles, one containing 9 gold coins and the other 11 silver coins. The two piles of coins weigh the same. One coin is taken from each pile and put into the other. It is now found that the pile of mainly gold coins weighs 13 units less than the pile of mainly silver coins. Find the weight of a silver coin and of a gold coin.
Chapter 8: Calculation by Square Tables.
Here 18 problems which reduce to solving systems of simultaneous linear equations are given. However the method given is basically that of solving the system using the augmented matrix of coefficients. The problems involve up to six equations in six unknowns and the only difference with the modern method is that the coefficients are placed in columns rather than rows. The matrix is then reduced to triangular form, using elementary column operations as is done today in the method of Gaussian elimination, and the answer interpreted for the original problem. Negative numbers are used in the matrix and the chapter includes rules to compute with them.

Chapter 9: Right angled triangles.
In this final chapter there are 24 problems which are all based on right angled triangles. The first 13 problems are solved using an application of Pythagoras's theorem, which the Chinese knew as the Gougu rule. Two problems study what are now called Pythagorean triples, while the remainder use the theory of similar triangles. Here is an example of one using similar triangles; it is Problem 20:-
There is a square town of unknown dimensions. There is a gate in the middle of each side. Twenty paces outside the North Gate is a tree. If one leaves the town by the South Gate, walks 14 paces due south, then walks due west for 1775 paces, the tree will just come into view. What are the dimensions of the town.

In the diagram the North Gate is NN, the South Gate is SS, and the tree is AA. Walking south from SS 14 paces reaches BB, turn west and walk 1775 paces to CC. From CC the tree at AA is just visible so the line CACA passes through the corner DD of the square.

Now triangles ANDAND and ABCABC are similar so



20/(x/2)=(20+x+14)/177520/(x/2) = (20 + x + 14)/1775.

Then x2+x(20+14)=2(20×1775)x^{2} + x(20 + 14) = 2 (20\times 1775), or

x2+34x=71000x^{2} + 34x = 71000.
[Answer: The side of the town is 250 paces]

Quadratic equations are considered for the first time in Chapter 9, are solved by an analogue of division using ideas from geometry, in fact from the Chinese square-root algorithm, rather than from algebra.

Having looked at the content of the work, let us think next about its date. Liu Hui wrote a commentary on the Nine Chapters on the Mathematical Art in 263 AD. He believed that the text which he was commentating on was originally written around 1000 BC but incorporated much material from later eras. He wrote in the Preface:-
In the past, the tyrant Qin burnt written documents, which led to the destruction of classical knowledge. Later, Zhang Cang, Marquis of Peiping and Geng Shouchang, Vice-President of the Ministry of Agriculture, both became famous through their talent for calculation. Because of the ancient texts had deteriorated, Zhang Cang and his team produced a new version removing the poor parts and filling in the missing parts. Thus, they revised some parts with the result that these were different from the old parts ...
Let us give some dates for the events Liu Hui describes. The Qin dynasty preceded the Han dynasty and it was the Qin ruler Shih Huang Ti who tried to reform education by destroying all earlier learning. He ordered all books to be burnt in 213 BC and Zhang Cang, who Liu Hui refers to, did his reconstruction around 170 BC. Most historians, however, would not believe that the original text of the Nine Chapters on the Mathematical Art was nearly as old as Liu Hui believed. In fact most historians think that the text originated around 200 BC after the burning of the books by Shih Huang Ti. Others give dates between 100 BC and 50 AD.

What methods are used to try to date the material? Perhaps the most important is to examine the units of length, volume and weight which appear in the various problems. Standard decimal units of length were established in China around 200 BC and later further subdivisions occurred. That the basic units are used, but not the later subdivisions, leads to a date of shortly after 200 BC. In Liu Hui's commentary subdivisions introduced around 250 AD are used, which is in line with this commentary being written in 263 AD.

Of course, the dating using units of length is not conclusive. Consider the fact that Britain changed to a decimal currency in 1970. If you pick up a book with mathematics problems given in decimal currency then we could argue as above and say that the book was written after 1970. However new editions of popular textbooks were brought out when the currency changed, so many older books appeared in decimal editions. The Nine Chapters on the Mathematical Art was certainly an important text, so may have had its units of length brought up to date as it evolved.

Is there other evidence for dating parts of the Nine Chapters on the Mathematical Art other than units of measurement? Yes, there are. Problems contain references to taxes, methods of distributing goods, towns, and parks which all point to slightly different dates for different parts of the text but 206 BC to 50 AD covering these different dates.

In addition to Liu Hui's commentary of 263, there was another important later commentary, namely that of Li Chunfeng whose commentary was written around 640 when he headed a team asked to annotate The Ten Classics. Li Chunfeng corrected and clarified some of Liu Hui's comments, expanding on much of what had been pretty concisely written.

The Nine Chapters on the Mathematical Art [4]:-
... has dominated the history of Chinese mathematics. It served as a textbook not only in China but also in neighbouring countries and regions until western science was introduced from the Far East around 1600 AD.
Now although European science does not appear to have reached China in sixteenth century, it has been pointed out that a number of mathematical formulas and rules which were widely used in Europe during that century are essentially identical to formulas written down in the Nine Chapters on the Mathematical Art. This leads to an interesting question which historians have as yet no convincing answer, namely were the European formulas taken directly from those of China.

References (show)

  1. V I Ilyushchenko, Gauss elimination method (1849 AD) in the ancient Chinese script Mathematics in nine chapters (152 BC), Communications of the Joint Institute for Nuclear Research (Dubna, 1992).
  2. J-C Martzloff, A history of Chinese mathematics (Berlin-Heidelberg, 1997).
  3. J-C Martzloff, Histoire des mathématiques chinoises (Paris, 1987).
  4. K Shen, J N Crossley and A W-C Lun, The nine chapters on the mathematical art : Companion and commentary (Beijing, 1999).
  5. S S Bai, A re-examination of a ring area problem in the 'Jiu zhang suanshu' (Chinese), Beijing Shifan Daxue Xuebao 30 (1) (1994), 139-142.
  6. E I Berezkina (trs.), Two texts of Liu Hui on geometry (Russian), in Studies in the history of mathematics, No. 19 (Russian) (Moscow, 1974), 231-273.
  7. K Chemla, Different concepts of equations in 'The nine chapters on mathematical procedures' and in the commentary on it by Liu Hui (3rd century), Historia Sci. (2) 4 (2) (1994), 113-137.
  8. K Chemla, Relations between procedure and demonstration : Measuring the circle in the 'Nine chapters on mathematical procedures' and their commentary by Liu Hui (3rd century), in History of mathematics and education: ideas and experiences (Essen, 1992) (1996), 69-112.
  9. C Cullen, Learning from Liu Hui? A different way to do mathematics, Notices Amer. Math. Soc. 49 (7) (2002), 783-790.
  10. J W Dauben, The "Pythagorean theorem" and Chinese mathematics : Liu Hui's commentary on the gou-gu theorem in Chapter Nine of the J'iu zhang suan shu', in Amphora (Basel, 1992), 133-155.
  11. Z Q Deng, A comparative study of the Jiu zhang suanshu and the Elements (Chinese), J. Central China Normal Univ. Natur. Sci. 28 (2) (1994), 263-268.
  12. L S Feng, 'Jiu zhang suanshu' and Hui Liu's theory of similar right triangles (Chinese), in Collected research papers on the history of mathematics, Vol. 1 (Chinese) (Hohhot, 1990), 37-45.
  13. D W Fu, Why did Liu Hui fail to derive the volume of a sphere?, Historia Math. 18 (3) (1991), 212-238.
  14. S C Guo, Liu Hui's great contributions to mathematics : celebrating the 1720th anniversary of his commentary on the 'Jiu zhang suanshu' (Chinese), Math. Practice Theory (3) (1983), 75-79.
  15. S C Guo, Guo Shuchun's edition of the 'Jiuzhang Suanshu' ('Nine chapters on the mathematical art'), Historia Math. (2) 19 (1992), 200-202.
  16. W S Horng, How did Liu Hui perceive the concept of infinity : a revisit, Historia Sci. (2) 4 (3) (1995), 207-222.
  17. B S Hu, A further study on the positive-negative principle in the Jiu zhang suanshu (Chinese) , in Collected research papers on the history of mathematics Vol. 2 (Hohhot, 1991), 31-34.
  18. L Y Lam, 'Jiu zhang suanshu' ('Nine chapters on the mathematical art') : an overview, Arch. Hist. Exact Sci. 47 (1) (1994), 1-51.
  19. J M Li, A textual criticism on the "art of milü" in ring measurement in Nine chapters on arithmetic (Chinese), J. Northwest Univ. 21 (2) (1991), 1-6.
  20. Z J Liang, From the elimination method in the Jiu zhang suanshu (Arithmetic in nine sections) to automated theorem proving (Chinese), J. Central China Normal Univ. Natur. Sci. 33 (2) (1999), 179-185.
  21. D Liu, A comparison of Archimedes' and Liu Hui's studies of circles, in Chinese studies in the history and philosophy of science and technology 179 (Dordrecht, 1996), 279-287.
  22. R Mei, Liu Hui's theories of mathematics, in Chinese studies in the history and philosophy of science and technology 179 (Dordrecht, 1996), 243-254.
  23. S K Mo, 'Jiuzhang suanshu' ('Nine chapters on the mathematical art') and Liu Hui's commentary (Chinese), Stud. Hist. Nat. Sci. 19 (2) (2000), 97-113.
  24. Z C Shang, A comparison of the Elements and Wei Liu's notes on the theory of proportion and its applications in Jiu Zhang Suanshu (Chinese), in Studies on Euclid's Elements (Hohhot, 1992) , 217-233.
  25. H H Shou, L G Liu and G J Wang, An offset approximation algorithm based on Liu Hui's circle subdivision method (Chinese), Appl. Math. J. Chinese Univ. Ser. A 17 (1) (2002), 105-112.
  26. J Song, The historical value of the 'Nine chapters on the mathematical art' in society and the economy, in Chinese studies in the history and philosophy of science and technology 179 (Dordrecht,1996), 261-266.
  27. P D Straffin Jr, Liu Hui and the first golden age of Chinese mathematics, Math. Mag. 71 (3) (1998), 163-181.
  28. D B Wagner, A proof of the Pythagorean theorem by Liu Hui (third century AD), Historia Math. 12 (1) (1985), 71-73.
  29. D B Wagner, An early Chinese derivation of the volume of a pyramid : Liu Hui, third century AD, Historia Math. 6 (2) (1979), 164-188.
  30. R B Wang, A preliminary exploration on the logical order of the Shang gong chapter of Jiu zhang suanshu - a parallel discussion on the understanding of the operational rule ab+ac=a(b+c) in 'Jiu zhang' (Chinese), in Collected research papers on the history of mathematics Vol. 2 (Hohhot, 1991), 35-39.
  31. Z W Xi and S L Zhang, On the characteristic of the dialectical thought of the 'Jiu zhang suanshu' and Hui Liu's commentary (Chinese), Qufu Shifan Daxue Xuebao Ziran Kexue Ban 19 (4) (1993), 103-110.
  32. S C Yang, "Ratio" and "power" in Hui Liu's commentary on the 'Jiu zhang suan shu' ('Arithmetic in nine chapters') (Chinese), Dongbei Shida Xuebao (4) (1990), 39-43.

Additional Resources (show)

Other websites about Nine chapters:

  1. Simon Fraser University

Written by J J O'Connor and E F Robertson
Last Update December 2003