Wang Xiaotong is also known as Wang Hs'iao-t'ung. He lived the early part of his life under the Sui dynasty (581-618). Although it was only a short-lived dynasty, during these years the north and south of China were unified. Wang is famed as the author of the Jigu suanjing (Continuation of Ancient Mathematics) one of The Ten Classics. He presented his treatise to the Emperor of China, Li Yuan the first emperor of the T'ang dynasty, who came to power in 618. Li Yuan, who had been an official in the Sui dynasty, did not control the whole country at first. He had full control of the eastern part by 621 and of the north and south as well by 624. We know a little about Wang Xiaotong's life because when he presented his treatise to Emperor Li Yuan he gave the emperor a brief biography at the same time. This biography has survived, becoming attached to the treatise.
Wang Xiaotong's biography tells us that he became interested in mathematics at a young age. He made a careful study of the Nine Chapters on the Mathematical Art and was particularly impressed with the commentary on that text written by Liu Hui. Wang went on to become a teacher of mathematics, and later he was appointed as deputy director of the Astronomical Bureau.
It was known that the Chinese calendar at that time was in need of reform since, although only in operation for a few years, already predictions of eclipses were getting out of step. In 623 Wang and Zu Xiaosun, a Civil Servant, were given the task of reporting on the problems with the calendar and making recommendations. There was disagreement between Wang and another calendar expert Fu Renjun about certain aspects of the calendar and in fact Wang's ideas were not particularly good since he wished to ignore the irregularity of the sun's motion and he also wanted to ignore the precession of the equinoxes which had first been incorporated in calendar calculations by Zu Chongzhi in the fifth century.
One might ask why we have included Wang in this archive when his achievements on calendar reform seem retrograde. Well, he has not been included for this work but rather for the remarkable contribution he made to Chinese mathematics in the Jigu suanjing (Continuation of Ancient Mathematics). The book contains 20 problems. The first is a pursuit problem of a dog chasing a hare, but Wang tells us that this is really a problem about movements of astronomical bodies. The next 13 problems concern engineering constructions and the volume of granaries. The final six problems concern right angled triangles.
The important innovation which is incorporated in most of these problems is that they reduce to a cubic equation which Wang solves numerically. We do not know of any earlier Chinese work on cubic equations. Of course one has to understand that when we say that the text is concerned with cubic equations, we do not see expressions with x, x2 and x3 in them. Rather the equations are expressed in words and Wang thinks in a geometrical way. For example where we might say "Let the height be x" and then produce an equation in x, Wang writes:-
Let the height be the side of a cube.
He then goes on to set up a cubic equation for the height. Again he will write:-
Let the depth be the side of a cube
when he is about to set up a cubic equation for the depth. It is interesting to compare this geometrical way of thinking about cubics with that of Cardan 900 years later. Many see this work by Wang as the first steps towards the "tian yuan" or "coefficient array method" or "method of the celestial unknown" of Li Zhi. For example Ruan Yuan writes in his Biographies of astronomers and mathematicians (1799) (see ):-
Really his work is the true source of the later "tian yuan" method.
Mikami writes :-
In setting up cubic equations Wang Xiaotong utilised a rule which is the same as the "tian yuan". Thus the rule is new in form, but, in fact, it is the continuation of the ancient style handed down from earlier generations.
The problems in the Jigu suanjing (Continuation of Ancient Mathematics) are stated in a very complicated form. Here is a flavour of the style with a translation of Problem 3 as given in :-
Suppose that a dyke is to be built. The difference between the lower and upper widths of the west face is 6 zhang 8 chi 2 cun ..., the height of the east face is 3 zhang 1 chi less than the height of the west face .... Sub-prefecture A gives 6724 men, sub-prefecture B gives 16677 men ... Each man of the four sub-prefectures excavates 9 dan 9 dou 2 sheng of earth per day and packs down on average 11 chi 4 cun and 6/12 cun per day ... Previously a man was able to cover a horizontal road of length 192 bu 62 times per day carrying 2 dou 4 sheng and 8 he of earth on his back. But now, it is necessary to climb a hill and cross a watercourse in order to fetch the earth. A climb of 3 bu is equivalent to 4 bu of a flat road, 1 bu for a ford is equivalent to 2 bu for a flat road, ... What is the daily task of a man who digs, transports and constructs; what are the heights and the upper and lower widths of the dyke ...
If we strip away some of the complications then we are left with workers from four countries, A, B, C, and D who cooperate to build a dyke. The east and west ends of the dyke are trapezoidal. The length, upper width, lower widths of the east and west ends and the height of the west end are all known as functions of the height x of the east end. This allows the volume to be calculated as a function of x. Data given for the work done by the workers allows the volume to be calculated, and a cubic equation is arrived at for x.
To be able to solve this problem Wang has not only to be able to set up a cubic equation and solve it, but he also needs to know a formula for the volume of his dyke with trapezoidal ends and varying cross-section. One of Wang's achievements was calculating this formula and in the preface to the treatise he gives a reference to ideas which had led him to the volume formula (see for example ):-
People much appreciated Zu Geng's Appended Rules. It is a pity Zu did not clearly explain the problems on the frustum. Here I give alternative methods for extending them.
Note that Zu Geng was Zu Chongzhi's son.
Let us now look at the problems on right angled triangles, namely problems 15 to 20 inclusive. We use letters to name the sides of the right angled triangle where Wang uses names:-
Problem 15: Let a right angled triangle have sides a, b, c where c is the hypotenuse. If a times b is seven hundred and six and one fiftieth, and if c is thirty six and nine tenths more than a. What are the values of the three sides.
Suppose we forget the numbers for a moment and look at the data we are given. We know ab, c - a and of course that a2 + b2 = c2 by the Gougu rule (Pythagoras). Wang calls a the unknown and finds a cubic equation in terms of a. Let us see how this can be done (we do not know exactly how Wang reasoned).
(ab)2 = a2b2 = a2(c2- a2) = a2(c - a)(c + a)
Hence, dividing by 2(c - a) we get
(ab)2/2(c - a) = a2(c + a)/2 = a2(2a + (c - a))/2 = a2(a + (c - a)/2) = a3 + a2(c - a)/2.
Writing x for the unknown a, we have the cubic equation
x3 + x2(c - a)/2 = (ab)2/2(c - a)
and we know ab and c - a so the coefficients are known. Isn't that clever! Remember that Wang did not have our symbolic notation which makes the whole process so much easier today.
Other problems here are of the same type. In Problem 17 we are given bc and a + b, while in Problem 19 we are given bc and a. Try to set up the necessary equations in these two cases in a similar way to our solution to Problem 15 above.
In 656, after editing by Li Chunfeng, the treatise Jigu suanjing (Continuation of Ancient Mathematics) became a text for the Imperial examinations and it became one of The Ten Classics when reprinted in 1084. Not only did Wang's work influence later Chinese mathematicians, but it is said that it was his ideas on cubic equations which Fibonacci learnt, probably first transmitted into the Islamic/Arabic world, and then brought to Europe.
Article by: J J O'Connor and E F Robertson