Ceyuan haijing

From The Right Wiki
Jump to navigationJump to search

File:圆城图式.jpg
The master figure in Sea mirror of circle measurements, that all the problems use. It shows a round town, inscribed in a right triangle and a square.

Ceyuan haijing (simplified Chinese: 测圆海镜; traditional Chinese: 測圓海鏡; pinyin: cè yuán hǎi jìng; lit. 'sea mirror of circle measurements') is a treatise on solving geometry problems with the algebra of Tian yuan shu written by the mathematician Li Zhi in 1248 in the time of the Mongol Empire. It is a collection of 692 formula and 170 problems, all derived from the same master diagram of a round town inscribed in a right triangle and a square. They often involve two people who walk on straight lines until they can see each other, meet or reach a tree or pagoda in a certain spot. It is an algebraic geometry book, the purpose of book is to study intricated geometrical relations by algebra. Majority of the geometry problems are solved by polynomial equations, which are represented using a method called tian yuan shu, "coefficient array method" or literally "method of the celestial unknown". Li Zhi is the earliest extant source of this method, though it was known before him in some form. It is a positional system of rod numerals to represent polynomial equations.

Ceyuan haijing was first introduced to the west by the British Protestant Christian missionary to China, Alexander Wylie in his book Notes on Chinese Literature, 1902. He wrote:

The first page has a diagram of a circle contained in a triangle, which is dissected into 15 figures; the definition and ratios of the several parts are then given, and there are followed by 170 problems, in which the principle of the new science are seen to advantage. There is an exposition and scholia throughout by the author.[1]

This treatise consists of 12 volumes.

Volume 1

File:LYYUANCHENTU.png
Reconstructed Diagram of circular city in alphabets

Diagram of a Round Town

The monography begins with a master diagram called the Diagram of Round Town(圆城图式). It shows a circle inscribed in a right angle triangle and four horizontal lines, four vertical lines.

  • TLQ, the large right angle triangle, with horizontal line LQ, vertical line TQ and hypotenuse TL

C: Center of circle:

  • NCS: A vertical line through C, intersect the circle and line LQ at N(南north side of city wall), intersects south side of circle at S(南).
  • NCSR, Extension of line NCS to intersect hypotenuse TL at R(日)
  • WCE: a horizontal line passing center C, intersects circle and line TQ at W(西, west side of city wall) and circle at E (东, east side of city wall).
  • WCEB:extension of line WCE to intersect hypotenuse at B(川)
  • KSYV: a horizontal tangent at S, intersects line TQ at K(坤), hypotenuse TL at Y(月).
  • HEMV: vertical tangent of circle at point E, intersects line LQ at H, hypotenuse at M(山, mountain)
  • HSYY, KSYV, HNQ, QSK form a square, with inscribed circle C.
  • Line YS, vertical line from Y intersects line LQ at S(泉, spring)
  • Line BJ, vertical line from point B, intersects line LQ at J(夕, night)
  • RD, a horizontal line from R, intersects line TQ at D(旦, day)

The North, South, East and West direction in Li Zhi's diagram are opposite to our present convention.

Triangles and their sides

There are a total of fifteen right angle triangles formed by the intersection between triangle TLQ, the four horizontal lines, and four vertical lines. The names of these right angle triangles and their sides are summarized in the following table

Number Name Vertices Hypotenuse0c Vertical0b Horizontal0a
1 通 TONG 天地乾 TLQ 通弦(TL天地) 通股(TQ天乾) 通勾(LQ地乾)
2 边 BIAN 天西川 TWB 边弦(TB天川) 边股(TW天西) 边勾(WB西川)
3 底 DI 日地北 RDN 底弦(RL日地) 底股(RN日北) 底勾(LB地北)
4 黄广 HUANGGUANG 天山金 TMJ 黄广弦(TM天山) 黄广股(TJ天金) 黄广勾(MJ山金)
5 黄长 HUANGCHANG 月地泉 YLS 黄长弦(YL月地) 黄长股(YS月泉) 黄长勾(LS地泉)
6 上高 SHANGGAO 天日旦 TRD 上高弦(TR天日) 上高股(TD天旦) 上高勾(RD日旦)
7 下高 XIAGAO 日山朱 RMZ 下高弦(RM日山) 下高股(RZ日朱) 下高勾(MZ山朱)
8 上平 SHANGPING 月川青 YSG 上平弦(YS月川) 上平股(YG月青) 上平勾(SG川青)
9 下平 XIAPING 川地夕 BLJ 下平弦(BL川地) 下平股(BJ川夕) 下平勾(LJ地夕)
10 大差 DACHA 天月坤 TYK 大差弦(TY天月) 大差股(TK天坤) 大差勾(YK月坤)
11 小差 XIAOCHA 山地艮 MLH 小差弦(ML山地) 小差股(MH山艮) 小差勾(LH地艮)
12 皇极 HUANGJI 日川心 RSC 皇极弦(RS日川) 皇极股(RC日心) 皇极勾(SC川心)
13 太虚 TAIXU 月山泛 YMF 太虚弦(YM月山) 太虚股(YF月泛) 太虚勾(MF山泛)
14 明 MING 日月南 RYS 明弦(RY日月) 明股(RS日南) 明勾(YS月南)
15 叀 ZHUAN 山川东 MSE 叀弦(MS山川) 叀股(ME山东) 叀勾(SE川东)

In problems from Vol 2 to Vol 12, the names of these triangles are used in very terse terms. For instance

"明差","MING difference" refers to the "difference between the vertical side and horizontal side of MING triangle.
"叀差","ZHUANG difference" refers to the "difference between the vertical side and horizontal side of ZHUANG triangle."
"明差叀差并" means "the sum of MING difference and ZHUAN difference"(b14a14)+(b15a15)

Length of Line Segments

This section (今问正数) lists the length of line segments, the sum and difference and their combinations in the diagram of round town, given that the radius r of inscribe circle is r=120 paces a1=320,b1=640. The 13 segments of ith triangle (i=1 to 15) are:

  1. Hypoteneuse ci
  2. Horizontal ai
  3. Vertical bi
  4. :勾股和 :sum of horizontal and vertical ai+bi
  5. :勾股校: difference of vertical and horizontal biai
  6. :勾弦和: sum of horizontal and hypotenuse ai+ci
  7. :勾弦校: difference of hypotenuse and horizontal ciai
  8. :股弦和: sum of hypotenuse and vertical bi+ci
  9. :股弦校: difference of hypotenuse and vertical cibi
  10. :弦校和: sum of the difference and the hypotenuse ci+(biai)
  11. :弦校校: difference of the hypotenuse and the difference ci(biai)
  12. :弦和和: sum the hypotenuse and the sum of vertical and horizontal ai+bi+ci
  13. :弦和校: difference of the sum of horizontal and vertical with the hypotenuse ai+bi

Among the fifteen right angle triangles, there are two sets of identical triangles:

TRD=RMZ,
YSG=BLJ

that is

a6=a7;
b6=b7;
c6=c7;
a8=a9;
b8=b9;
c8=c9;

Segment numbers

There are 15 x 13 =195 terms, their values are shown in Table 1:[2]

File:今问正数.jpg
Segment Table 1

Definitions and formula

Miscellaneous formula

[3]

  1. (c1a1)*(c1*b1)= 12*(d1)2
  2. a10*b11= 12(d1)2
  3. a13*b1= 12(d1)2
  4. a1*b13= 12(d1)2
  5. b2*b15= (r1)2
  6. a14*a3= (r1)2
  7. a5*b4= (d1)2
  8. a8*b6= a9*b7=(r1)2
  9. (b14*c14)*(a15+c15)= (r1)2
  10. c6*c8= c7*c9)=a13*b13

The Five Sums and The Five Differences

  1. a2+b2+c2=b1+c1[4]
  2. a3+b3+c3=a1+c1
  3. a4+b4+c4=2b1
  4. a5+b5+c5=2a1
  5. a6+b6+c6=b1
  6. a7+b7+c7=b1
  7. a8+b8+c8=a1
  8. a9+b9+c9=a1
  9. a10+b10+c10=b1+c1a1
  10. a11+b11+c11=c1b1+a1
  11. a12+b12+c12=c1
  12. a13+b13+c13=a1+b1c1
  13. a14+b14+c14=c1a1
  14. a15+b15+c15=c1c1
  • (b7a7)+(b8a8)+(b14a14)+(b15a15)=2*(b12a12)
  • a8+(b7a7)+(b8a8)=b7

Li Zhi derived a total of 692 formula in Ceyuan haijing. Eight of the formula are incorrect, the rest are all correct[5] From vol 2 to vol 12, there are 170 problems, each problem utilizing a selected few from these formula to form 2nd order to 6th order polynomial equations. As a matter of fact, there are 21 problems yielding third order polynomial equation, 13 problem yielding 4th order polynomial equation and one problem yielding 6th order polynomial[6]

Volume 2

This volume begins with a general hypothesis[7]

Suppose there is a round town, with unknown diameter. This town has four gates, there are two WE direction roads and two NS direction roads outside the gates forming a square surrounding the round town. The NW corner of the square is point Q, the NE corner is point H, the SE corner is point V, the SW corner is K. All the various survey problems are described in this volume and the following volumes.

All subsequent 170 problems are about given several segments, or their sum or difference, to find the radius or diameter of the round town. All problems follow more or less the same format; it begins with a Question, followed by description of algorithm, occasionally followed by step by step description of the procedure.

Nine types of inscribed circle

The first ten problems were solved without the use of Tian yuan shu. These problems are related to various types of inscribed circle.

Question 1
Two men A and B start from corner Q. A walks eastward 320 paces and stands still. B walks southward 600 paces and see B. What is the diameter of the circular city ?
Answer: the diameter of the round town is 240 paces.
This is inscribed circle problem associated with TLQ
Algorithm:d=2a1×b1a1+b1+c1
=2*320*600320+600+(3202+6002)=240
Question 2
Two men A and B start from West gate. B walks eastward 256 paces, A walks south 480 paces and sees B. What is the diameter of the town ?
Answer 240 paces
This is inscribed circle problem associated with TWB
From Table 1, 256 = a2; 480 =b2
Algorithm:
2a2×b2a2+b2+c2=d
=2*256*480256+600+(256+6002)=240
Question 3
inscribed circle problem associated with RDN

2a3×b3a3+b3+c3=d

Question 4:inscribed circle problem associated with RSC

2a12×b12c12=d

Question 5:inscribed circle problem associated with TWB

2a×ba+b=d

Question 6

2a10×b10b10a10+c10=d

Question 7

2a11×b11b11a11+c11=d

Question 8

2a13×b13b13+a13c13=d

Question 9

2a14×b14c14a14=d

Question 10

2a15×b15c15b15=d

Tian yuan shu

File:CIYUANHAIJINGXICAO-152-152.jpg
Ciyuan haijing vol II Problem 14 detail procedure (草曰)
From problem 14 onwards, Li Zhi introduced "Tian yuan one" as unknown variable, and set up two expressions according to Section Definition and formula, then equate these two tian yuan shu expressions. He then solved the problem and obtained the answer.
Question 14:"Suppose a man walking out from West gate and heading south for 480 paces and encountered a tree. He then walked out from the North gate heading east for 200 paces and saw the same tree. What is the radius of the round own?"
Algorithm: Set up the radius as Tian yuan one, place the counting rods representing southward 480 paces on the floor, subtract the tian yuan radius to obtain

480x

File:Counting rod v-1.png
File:Counting rod v-4.pngFile:Counting rod h8.pngFile:Counting rod 0.png

Then subtract tian yuan from eastward paces 200 to obtain: 200x

File:Counting rod v-1.png
File:Counting rod v2.pngFile:Counting rod 0.pngFile:Counting rod 0.png
multiply these two expressions to get:x2680x+96000
File:Counting rod v1.png
File:Counting rod h6.pngFile:Counting rod h-8.pngFile:Counting rod 0.png
File:Counting rod v9.pngFile:Counting rod h6.pngFile:Counting rod 0.pngFile:Counting rod 0.pngFile:Counting rod 0.png
File:Counting rod v2.png
File:Counting rod 0.png

that isx2680x+96000=2x2 thus:x2680x+96000=0

File:Counting rod v-1.png
File:Counting rod h6.pngFile:Counting rod h-8.pngFile:Counting rod 0.png
File:Counting rod v9.pngFile:Counting rod h6.pngFile:Counting rod 0.pngFile:Counting rod 0.pngFile:Counting rod 0.png

Solve the equation and obtain r=120

Volume 3

17 problems associated with segment b2i.e TW in TWB[8]

The a10 pairs with b11,a11 pairs with b10 and a15 pairs with b14 in problems with same number of volume 4. In other words, for example, change a11 of problem 2 in vol 3 into b10 turns it into problem 2 of Vol 4.[9]

Problem # GIVEN x Equation
1 b2c4 direct calculation without tian yuan
2 b2a11 d x2+a11x2b2a11=0
3 b2b11 r x2+b2xb2b11=0
4 b2a15 d x3+a15x24a15b22=0
5 b2a14 d x3(b22a14)x2+a142*x+a142*b2=0
6 b2a10 r x2+(b2(b2c10))x+b2(b2c10)=0
7 b2c2 r ((1/2)*c2(1/2)*b2+b2)*x2(1/2)*(c2b2)b22=0
8 b2c1 r 2x2+((c1+b2)+(c1b2))x((c1+b2)(c1b2)(c1b2)2))=0
9 b2c6 r 2x22(b22(b2c5))b2=0
10 b2b14 r x22b2x+((b2b14)2b142=0
11 b2a10 r (2b2a10)xb2a10=0
12 b2c15 b15 x2+(b2+c15)xb2c15=0
13 b2c14 a14 x42(b2c14)x3+(b2c14)2x2+2b2c142x(2(b2c14)b2))b2c142=0
14 b2c6 r=((2c6b2)b2)
15 b2c8 r x3c8x2b22x+c8b22=0
16 b2b14+c14 calculate with formula for inscribed circle
17 b2a15+c15 Calculate with formula forinscribed circle

Volume 4

17 problems, given a3and a second segment, find diameter of circular city.[10]

Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
second line segment c5 b10 a10 b14 b15 c11 c13 c1 c9 a15 b11 c14 c15 c9 c7 a15+c15 b14+c14

Volume 5

18 problems, givenb1[10]

Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
second line segment b14 a14 a15 b15 b11 a11 c10 c4 c2 c1 c6 c9a11 c15 c14 c9 c12 a15+b14 c13

Volume 6

18 problems.

Q1-11,13-19 givena1,and a second line segment, find diameter d.[10]
Q12:given a1+c3and another line segment, find diameter d.
Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Given a1 a1 a1 a1 a1 a1 a1 a1 a1 a1 a1 a1+c3 a1 a1 a1 a1 a1 a1
Second line segment a15 b15 b14 a14 a10 b10 c11 c5 c3 c1 c9 b10c6 c14 c15 c6 c12 a15+b14 a13

Volume 7

18 problems, given two line segments find the diameter of round town[11]

Q Given
1 a14b15
2 a15b14
3 a14a15
4 b14b15
5 a14c8
6 b15c7
7 b15c13
8 a14c13
9 da14db15
10 db14da15
11 c12a15+b14
12 a15+b14c13
13 b15+c13c13b15
14 a14+b15+c13a14+b15+c13a14
15 c14db15
16 c5da14
17 a1a14b1b15
18 a1+a14b1b15

Volume 8

17 problems, given three to eight segments or their sum or difference, find diameter of round city.[12]

Q Given
1 a14+b14a15+b15c12
2 a14+b14a15+b15c13
3 (c12a12)+(c12b12)d14+d15
4 c15c14
5 b14+c14c15+b15
6 a15+c15a14+c14
7 a1+c1a15+c15
8 a1+c1a14+c14
9 b1+c1b15+c15
10 b1+c1b14+c14
11 b14+c14a15+c15b14+a15c13
12 (b8a8)+(b2a2)b14+a15c13
13 b7a8(b14a14)+(b15a15)c12d
14 (b7a7)+(b8a8)(b14a14)+(b15a15)
15 a14+b14a15+b15
16 a14+a15b14+b15

Problem 14

Given the sum of GAO difference and MING difference is 161 paces and the sum of MING difference and ZHUAN difference is 77 paces. What is the diameter of the round city?
Answer: 120 paces.

Algorithm:[13] Given

(b7a7)+(b8a8)=161
(b14a14)+(b15a15)=77

:Add these two items, and divide by 2; according to #Definitions and formula, this equals to HUANGJI difference:

(b7a7)+(b8a8)+(b14a14)+(b15a15)2 =(b12a12)
b12a12=161+772=119
Let Tian yuan one as the horizontal of SHANGPING (SG):
x=a8
x+161 =x+(b7a7)+(b8a8)=a8+(b7a7)+(b8a8)
=b7 (#Definition and formula)
Since a8+b7=c12 (Definition and formula)
c12=x+b7=2*x+(b7a7)+(b8a8)=2*x+161
c122=(x+b7)2=(2*x+161)2=4*x2+644*x+25921
c122(b12a12)2
=4*x2+644*x+25921((b7a7)+(b8a8)+(b14a14)+(b15a15))24
=4*x2+644*x+11760=d(diameter of round town),
d2=(4*x2+644*x+11760)2=16*x4+5152*x3+508816*x2+15146880*x+138297600
Now, multiply the length of RZ by 4*x
4*x*b7=4*x*(x+(b7a7)+(b8a8))=4*x*(x+161)=4*x2+644*x
multiply it with the square of RS:
d2=4*x*b7*c122=(4*x2+644*x)*(4*x2+644*x+25921)=16*x4+5152*x3+518420*x2+16693124
equate the expressions for the two d2
thus
16*x4+5152*x3+518420*x2+16693124=16*x4+5152*x3+508816*x2+15146880*x+138297600
We obtain:

9604*x2+1546244*x138297600=0

solve it and we obtain x=a8=64;

This matches the horizontal of SHANGPING 8th triangle in #Segment numbers.[14]

Volume 9

Part I
Problems given
1 a12+b12+c12b12a12
2 c1b1a1
3 c1a10+b11
4 c1a2+b3
Part II
Problems given
1 a1+b1a2b3
2 a1+b1c13+b13a13c13b13+a13
3 a1+b1a11+b11a10+b10
4 a1+b1c10a10c11b11
5 a1+b1c6+c8c6c8
6 a1+b1c10c11
7 a1+b1c4c5
8 a1+b1c2c3

Volume 10

8 problems[15]

Problem Given
1 a1+b1+c1c1b1
2 a1+b1+c1c1a1
3 a1+b1+c1b1a1
4 a1+b1+c1(c1b1)+(c1a1)
5 a1+b1+c1(c1b1)+(b1a1)+(c1a1)
6 a1+b1+c1d14+d15
7 a1+b1+c1c12
8 a1+b1+c1c13

Volume 11

:Miscellaneous 18 problems:[16]

Q GIVEN
1 c2c3
2 c5c4
3 b11c4
4 a10c3
5 a10b11
6 b7a8
7 b1b11a1a10
8 b10a10b11a11
9 c13a10b11
10 a12+b12a13+b13
11 c1b1a1
12 d10d11d12d13
13 c12[c10(b10a10)]c11+(b11a11)c13b12a12
14 c8(c1b1)(c1a1)c7
15 a1+c1(c1a1)+(c1b1)
16 a12+b12+c12(a13+b13)c13
17 From the book Dongyuan jiurong
18 From Dongyuan jiurong

Volume 12

14 problems on fractions[17]

Problem given
1 b1+c1a1= 815b1
2 a1+c1a1= 815b1
3 a1=(15/9)*3db1a1
4 a3=(5/6)*db2a3
5 (15/16)b1=da1+b1
6 a12=(8/15)*b12c12b12c12a12
7 c1d=(1/2)b2a3=(5/6)d
8 b2+a3+c2b2=(12/17)c1a3=(5/17)c1
9 a3+(5/6)b2b2+(3/5)a3
10 a11+(1/3)b10b10(3/4)a11
11 b1d=(3/5)b1a1d=(1/4)a1(b1d)(a1d)
12 b1d=(3/5)b1a1d=(1/4)a1(1/5)b1(1/4)a1
13 b14=(1(15/24)b10)a15=(1(4/5))a11b14a15,b10a11
14 a1+b1+c1(b1/a1)=8(1/3)(a1/b15)=10(2/3)a14a13b13b15

Research

In 1913, French mathematician L. van Hoe wrote an article about Ceyuan haijing. In 1982, K. Chemla Ph.D. thesis Etude du Livre Reflects des Mesuers du Cercle sur la mer de Li Ye. 1983, University of Singapore Mathematics Professor Lam Lay Yong: Chinese Polynomial Equations in the Thirteenth Century。

Footnotes

  1. Alexander Wylie, Notes on Chinese Literature, Shanghai, p116, reprinted by Kessinger Publishing
  2. Compiled from Kong Guoping p 62-66
  3. Bai Shangshu p24-25.
  4. Wu Wenjun Chapter II p80
  5. Bai Shangshu, p3, Preface
  6. Wu Wenjun, p87
  7. Bai Shangshou, p153-154
  8. Li Yan p75-88
  9. Martzloff, p147
  10. 10.0 10.1 10.2 Li Yan p88-101
  11. Kong Guoping p169-184
  12. Kong Guoping p192-208
  13. Bai Shangshu, p562-566
  14. Footnote:In Vol 8 problem 14, Li Zhi stop short at x=64. However the answer is evident, as from No 8 formular in #Miscellaneous formula: a9*b7=r2, and from #Length of Line Segmentsa8=a9, thus a8*b7=r2, radius of round town can be readily obtain. As a matter of fact, problem 6 of vol 11 is just such a question of given a8andb7, to find the radius of the round town.
  15. Kong Guoping p220-224
  16. Kong Guoping p234-248
  17. P255-263

References

  • Jean-Claude Martzloff, A History of Chinese Mathematics, Springer 1997 ISBN 3-540-33782-2
  • Kong Guoping, Guide to Ceyuan haijing, Hubei Education Press 1966 孔国平. 《测圆海镜今导读》 《今问正数》 湖北教育出版社. 1995
  • Bai Shangshu: A Modern Chinese Translation of Li Yeh Ceyuan haijing. Shandong Education Press 1985李冶 著 白尚恕 译 钟善基 校. 《测圆海镜今译》 山东教育出版社. 1985
  • Wu Wenjun The Grand Series of History of Chinese Mathematics Vol 6 吴文俊主编 《中国数学史大系》 第六卷
  • Li Yan, A Historic Study of Ceyuan haijing, collected works of Li Yan and Qian Baocong vol 8《李俨.钱宝琮科学史全集》卷8,李俨《测圆海镜研究历程考》