# Li Zhi

### Born: 1192 in Ta-hsing (now Peking), China

Died: 1279 in Hopeh province, China

**Li Zhi**is also known as

**Li Chih**or

**Li Ye, Li Yeh.**Usually Chinese names have a number of different spellings, each trying in a different way to match the pronunciation of the original. However this is not the reason that Li Zhi is also known as Li Yeh. Rather it is because he was known as a young man as Li Zhi, but since this was the same name as the third T'ang emperor, he later changed his name to Li Yeh.

Li Zhi's father was named Li Yu and he was the secretary to a Jurchen officer by the name of Hu Shahu. The Jurchen empire, formed by the Jurchen tribes of Manchuria, covered much of Inner Asia and all of North China. The capital of the empire became Ta-hsing (sometimes written Daxing and now called Peking) in 1192 and it was in this capital city that Li Yu's son Li Zhi was born. Between 1207 and 1215 the armies of the Mongol leader Genghis Khan pushed into North China and in 1215 they sacked the capital Ta-hsing (now Peking) of the Jurchen empire. Genghis Khan then withdrew but left a general with an army which continued to weaken the Jurchens. Li Yu's home was in Luan-ch'eng, in the Hopeh province which included Ta-hsing, and he sent his family back to his home but not Li Zhi who went alone to the Yuan-shih district of Hopeh province for his education.

Li Zhi took the civil service examinations in Lo-yang, a city in the northwestern Honan province in 1230. This, however, was a troubled time with many wars. After the death of Genghis Khan, one of his sons Ogodei became the Great Khan in 1229. He expanded the Mongol empire sending armies to complete the defeat of the Jurchens. After successfully completing his examinations, Li Zhi was appointed registrar of the district of Kaoling but the advancing Mongol armies prevented him taking up the appointment. Instead he became governor of the Jun prefecture of Honan province. This, however, was an appointment which he could not hold for long since the Mongols continued their advance, massacring the Jurchens. Li Zhi only escaped being massacred himself thanks to the intervention of one of the Jurchen officials who had gone over to the side of the Mongols. By 1234 the Mongols had completed the destruction of the Jurchen empire and turned their attention to the south.

For over 15 years Li Zhi lived in poverty as a hermit in the Shansi province. This is a mountainous region with Hopeh province to the east and Honan province to the south and southeast. It was here, in 1248, that he completed his most famous work the *Ce yuan hai jing (Sea mirror of circle measurements)*. We look at the contents of this remarkable treatise below. Three years after completing his masterpiece, Li Zhi's financial position improved somewhat and he returned to Hopeh province where he made is home near Feng Lung mountain in the Yuan municipality. He lived here until 1257 when Kublai, a grandson of the Mongol leader Genghis Khan who was leading further Mongol advances, sent for Li Zhi to ask his advice on governing the state and on civil service examinations. Knowing that Li Zhi was a great expert on scientific matters, Kublai also asked him to explain the reasons for earthquakes. Li Zhi continued to work on mathematics and completed another important text *Yi gu yan duan* (New steps in computation) in 1259.

On 5 May 1260 Kublai was elected Khan at his residence in Shang-tu. In 1261 Kublai Khan offered Li Zhi a government position but by now he was 69 years old and [1]:-

Kublai Khan made another attempt to get Li Zhi's services in 1264 when he set up his Academy. This time Li Zhi felt that he had no option but to join the Academy, but after a short while he resigned, again saying that he was too ill and too old for the task. He returned to his home near Feng Lung mountain but he did not spend his final years quietly since many pupils came to study under him.... politely declined with the plea of ill health and old age.

We are lucky to have any works by Li Zhi other than the *Sea mirror of circle measurements* for he told his son to burn all his books except the *Sea mirror of circle measurements* on his death since this was the only work of which he was proud. It is not recorded whether his son carried out his father's instructions but certainly more texts, others being non-mathematical, have survived. We now look at some of the very remarkable contributions which Li Zhi made to mathematics.

First let us look briefly at the "tian yuan" or "coefficient array method" or "method of the celestial unknown". This was a notation for an equation and, although the work of Li Zhi is the earliest source of the method, it must have been invented before his time. Li Zhi placed the coefficients in an array as in the following example.

We have given the example using numerals which are natural with the language that we write this archive but, of course, Li Zhi would have used Chinese characters. Here the numbers which in our notation correspond to the coefficients of the equation are placed above each other so that the coefficient of x is placed above the constant, the coefficient of *x*^{2} is placed above the coefficient of x etc. Notice that negatives were allowed and so were decimal fractions. Perhaps even more surprisingly, negative powers of *x* were placed in descending order below the constant term. Martzloff writes:-

To solve the above equation Li Zhi would bring the leading coefficient to -1 and then give the solution; in this case 20. The type of problem which worried mathematicians in Islamic countries, and in Europe, concerning the solution of cubic, quartic, and higher order equations did not seem to arise in China. Li Zhi seems happy with equations of any degree and, although methods to solve equations do not appear explicitly, one has to assume that he used methods similar to those Ruffini and Horner discovered over 600 years later.Unlike most western algebraists, Li Zhi never explains how to solve equations, but only how to construct them. But he does not limit his reflections to equations of degree two or three; for him, the fact that polynomial equations of arbitrarily high degree are involved is of little importance. Moreover, he never explains what he understands by an equation, an unknown, a negative number, etc., but only describes the manipulations which should be carried out in specific problems, without worrying about arranging his text in terms of definitions, rules and theorems. In other words, like many other algebraists, Chinese or not, he demonstrates algebra by using it ...

By any standards the *Sea mirror of circle measurements* is a most remarkable work. It begins with a preface, then the following geometrical figure is given.

In the diagram *O* is the centre of the circle inscribed in the square *EDCF*. *AB* is the hypotenuse of the triangle *ACB* which meets the square at *G* and *H*. The figure represents a circular town and follows the Chinese convention of having north at the bottom, south at the top, east on the left, and west on the right.

This is the only figure in the book and every one of the 170 problems which make up Chapters 2 to 12 concern this figure. We should emphasise that it is not a geometry book which is why relating each problem to a single figure is possible. Chapter 1 contains three sections, the first giving the names of the constituents, the second section lists all the values of the lengths of the segments, so in essence contains all the answers to the problems, while the third section comprises of 692 formulae for areas of triangles and lengths of segments. As one sees this is nothing like any mathematics book of today!

Here are some sample problems taken from [1].

If we examine Li Zhi's solution closely we see a remarkable depth of understanding of equations. The problem leads to a quartic equation with a factorProblem2.2: Two persons A and B start from the west gate. B walks a distance of256pu eastwards. Then A walks a distance of480pu south before he can see B. Find the diameter of the town.

Problem3.4: Person A leaves the west gate and walks south for480pu. B leaves the east gate and walks straight ahead a distance of16pu, when he just sees A. Find the diameter of the town.

*x*+ 16. Knowing that the solution cannot be a negative number (

*x*= -16), Li Zhi works with the cubic factor and solves that to find the solution.

Try some of these problems, they are fun. Here is another, namely Problem 11.18.

*pu directly out of the south gate is a tree. If one walks*15

*pu out of the north gate and then turns east for a distance of*208

*pu, the tree comes into sight. Find the diameter of the town*.

*x*

^{4}- 600

*x*

^{3}- 22500

*x*

^{2}+ 11681280

*x*+ 788486400 = 0

Li Zhi's *New steps in computation* although written much later, is a more elementary work. It is thought by many historians to have been written because people found understanding the *Sea mirror of circle measurements* was beyond them. The *New steps in computation* is based on an earlier book which it is said was written by Chaing Chou of P'ing-yang (although nothing else is known of the author, nor is there any knowledge of the date of this earlier work). Li Zhi's book contains 64 problems, of which he says that 21 are from the earlier text. The central theme is the construction and formulation of quadratic equations. Some of these equations are solved by the "coefficient array method" described above, but some are formulated using the tiao duan or "method of sections". This older geometric style method of solving equations was used by Chinese mathematicians before Li Zhi and so the *New steps in computation* gives historians a unique opportunity to see the new coefficient array method beside the older method of sections. A fascinating comparison of the methods is described in [7].

Let us finish this biography by giving the first problem of *New steps in computation*.

A square farm has a circular pond in the centre. The land area is13mou and71/2tenths of a mou. The pond is20pu from the edge. Find the length of the side of the farm and the diameter of the pond.

First note that the land area is 13.75 mou and so (since 1 mou is 240 square pu) the land area is 3300 square pu. Next we need to know that Li Zhi takes = 3 in this problem.

Area of square is (*x* + 40)^{2}. Area of pond 0.75*x*^{2}.

Land area (*x* + 40)^{2} - 0.75*x*^{2} = 0.25*x*^{2} + 80*x* + 1600.

But land area is 3300 so

*x*

^{2}- 80

*x*+ 1700 = 0

*quadratic equation*we wrote in Li Zhi's coefficient array method above. He gives the solution 20 pu which is the diameter of the pond. The side of the square farm is then 60 pu.

One final comment on Li Zhi's use of π = 3 in this problem. He does discuss using the values π = 3, π = ^{22}/_{7} and π = 3.14 in his work. When he takes π = 3 it is not because he is obtaining the best approximate answer that he can, rather it is the method of solving the problem which is important and he is better able to illustrate this with "nice" numbers. That dictates his choice of π = 3 in this problem.

**Article by:** *J J O'Connor* and *E F Robertson*

**December 2003**

**MacTutor History of Mathematics**

[http://www-history.mcs.st-andrews.ac.uk/Biographies/Li_Zhi.html]