# Liu Hui

Last updated
Liu Hui

Bornc. 225 [1]
Diedc. 295 [1]
OccupationMathematician, writer
Liu Hui

Liu Hui (fl.3rd century CE) was a Chinese mathematician and writer who lived in the state of Cao Wei during the Three Kingdoms period (220–280) of China. In 263, he edited and published a book with solutions to mathematical problems presented in the famous Chinese book of mathematics known as The Nine Chapters on the Mathematical Art , in which he was possibly the first mathematician to discover, understand and use negative numbers. He was a descendant of the Marquis of Zi District (菑鄉侯) of the Eastern Han dynasty, whose marquisate is in present-day Zichuan District, Zibo, Shandong. He completed his commentary to the Nine Chapters in the year 263. He probably visited Luoyang, where he measured the sun's shadow.

## Mathematical work

Along with Zu Chongzhi (429–500), Liu Hui was known as one of the greatest mathematicians of ancient China. [2] Liu Hui expressed all of his mathematical results in the form of decimal fractions (using metrological units), yet the later Yang Hui (c. 1238-1298 AD) expressed his mathematical results in full decimal expressions. [3] [4]

Liu provided commentary on a mathematical proof of a theorem identical to the Pythagorean theorem. [5] Liu called the figure of the drawn diagram for the theorem the "diagram giving the relations between the hypotenuse and the sum and difference of the other two sides whereby one can find the unknown from the known". [6]

In the field of plane areas and solid figures, Liu Hui was one of the greatest contributors to empirical solid geometry. For example, he found that a wedge with rectangular base and both sides sloping could be broken down into a pyramid and a tetrahedral wedge. [7] He also found that a wedge with trapezoid base and both sides sloping could be made to give two tetrahedral wedges separated by a pyramid. In his commentaries on the Nine Chapters, he presented:

• An algorithm for calculation of pi (π) in the comments to chapter 1. [8] He calculated pi to ${\displaystyle 3.141024<\pi <3.142074}$ with a 192 (= 64 × 3) sided polygon. Archimedes used a circumscribed 96-gon to obtain the inequality ${\displaystyle \pi <{\tfrac {22}{7}}}$, and then used an inscribed 96-gon to obtain the inequality ${\displaystyle {\tfrac {223}{71}}<\pi }$. Liu Hui used only one inscribed 96-gon to obtain his π inequality, and his results were a bit more accurate than Archimedes'. [9] But he commented that 3.142074 was too large, and picked the first three digits of π = 3.141024 ~3.14 and put it in fraction form ${\displaystyle \pi ={\tfrac {157}{50}}}$. He later invented a quick method and obtained ${\displaystyle \pi =3.1416}$, which he checked with a 3072-gon (= 512 × 6). Nine Chapters had used the value 3 for π, but Zhang Heng (78-139 AD) had previously estimated pi to the square root of 10.
• Gaussian elimination.
• Cavalieri's principle to find the volume of a cylinder and the intersection of two perpendicular cylinders [10] [11] although this work was only finished by Zu Chongzhi and Zu Gengzhi. Liu's commentaries often include explanations why some methods work and why others do not. Although his commentary was a great contribution, some answers had slight errors which was later corrected by the Tang mathematician and Taoist believer Li Chunfeng.
• Through his work in the Nine Chapters, he could have been the first mathematician to discover and compute with negative numbers; definitely before Ancient Indian mathematician Brahmagupta started using negative numbers.

Liu Hui also presented, in a separate appendix of 263 AD called Haidao Suanjing or The Sea Island Mathematical Manual, several problems related to surveying. This book contained many practical problems of geometry, including the measurement of the heights of Chinese pagoda towers. [12] This smaller work outlined instructions on how to measure distances and heights with "tall surveyor's poles and horizontal bars fixed at right angles to them". [13] With this, the following cases are considered in his work:

• The measurement of the height of an island opposed to its sea level and viewed from the sea
• The height of a tree on a hill
• The size of a city wall viewed at a long distance
• The depth of a ravine (using hence-forward cross-bars)
• The height of a tower on a plain seen from a hill
• The breadth of a river-mouth seen from a distance on land
• The width of a valley seen from a cliff
• The depth of a transparent pool
• The width of a river as seen from a hill
• The size of a city seen from a mountain.

Liu Hui's information about surveying was known to his contemporaries as well. The cartographer and state minister Pei Xiu (224–271) outlined the advancements of cartography, surveying, and mathematics up until his time. This included the first use of a rectangular grid and graduated scale for accurate measurement of distances on representative terrain maps. [14] Liu Hui provided commentary on the Nine Chapter's problems involving building canal and river dykes, giving results for total amount of materials used, the amount of labor needed, the amount of time needed for construction, etc. [15]

Although translated into English long beforehand, Liu's work was translated into French by Guo Shuchun, a professor from the Chinese Academy of Sciences, who began in 1985 and took twenty years to complete his translation.

## Notes

1. Lee & Tang.
2. Needham, Volume 3, 85-86
3. Needham, Volume 3, 46.
4. Needham, Volume 3, 85.
5. Needham, Volume 3, 22.
6. Needham, Volume 3, 95-96.
7. Needham, Volume 3, 98-99.
8. Needham, Volume 3, 66.
9. Needham, Volume 3, 100-101.
10. Needham, Volume 3, 143.
11. Siu
12. Needham, Volume 3, 30.
13. Needham, Volume 3, 31.
14. Hsu, 90–96.
15. Needham, Volume 4, Part 3, 331.

## Related Research Articles

Geometry arose as the field of knowledge dealing with spatial relationships. Geometry was one of the two fields of pre-modern mathematics, the other being the study of numbers (arithmetic).

The number π is a mathematical constant. It is defined as the ratio of a circle's circumference to its diameter, and it also has various equivalent definitions. It appears in many formulas in all areas of mathematics and physics. The earliest known use of the Greek letter π to represent the ratio of a circle's circumference to its diameter was by Welsh mathematician William Jones in 1706. It is approximately equal to 3.14159. It has been represented by the Greek letter "π" since the mid-18th century, and is spelled out as "pi". It is also referred to as Archimedes' constant.

Zu Chongzhi, courtesy name Wenyuan, was a Chinese astronomer, mathematician, politician, inventor, and writer during the Liu Song and Southern Qi dynasties. He was most notable for calculating pi as between 3.1415926 and 3.1415927, a record which would not be surpassed for 800 years.

The Nine Chapters on the Mathematical Art 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 Suan shu shu and Zhoubi Suanjing. 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.

In mathematics, a cube root of a number x is a number y such that y3 = x. All nonzero real numbers, have exactly one real cube root and a pair of complex conjugate cube roots, and all nonzero complex numbers have three distinct complex cube roots. For example, the real cube root of 8, denoted , is 2, because 23 = 8, while the other cube roots of 8 are and . The three cube roots of −27i are

Bhāskara was a 7th-century mathematician, who was the first to write numbers in the Hindu decimal system with a circle for the zero, and who gave a unique and remarkable rational approximation of the sine function in his commentary on Aryabhata's work. This commentary, Āryabhaṭīyabhāṣya, written in 629 CE, is among the oldest known prose works in Sanskrit on mathematics and astronomy. He also wrote two astronomical works in the line of Aryabhata's school, the Mahābhāskarīya and the Laghubhāskarīya.

Mathematics in China emerged independently by the 11th century BC. The Chinese independently developed a real number system that includes significantly large and negative numbers, more than one numeral system, algebra, geometry, number theory and trigonometry.

In mathematics, Viète's formula is the following infinite product of nested radicals representing the mathematical constant π:

Yang Hui, courtesy name Qianguang (謙光), was a Chinese mathematician and writer during the Song dynasty. Originally, from Qiantang, Yang worked on magic squares, magic circles and the binomial theorem, and is best known for his contribution of presenting Yang Hui's Triangle. This triangle was the same as Pascal's Triangle, discovered by Yang's predecessor Jia Xian. Yang was also a contemporary to the other famous mathematician Qin Jiushao.

Approximations for the mathematical constant pi in the history of mathematics reached an accuracy within 0.04% of the true value before the beginning of the Common Era (Archimedes). In Chinese mathematics, this was improved to approximations correct to what corresponds to about seven decimal digits by the 5th century.

The Book on Numbers and Computation, or the Writings on Reckoning, is one of the earliest known Chinese mathematical treatises. It was written during the early Western Han dynasty, sometime between 202 BC and 186 BC. It was preserved among the Zhangjiashan Han bamboo texts and contains similar mathematical problems and principles found in the later Eastern Han period text of The Nine Chapters on the Mathematical Art.

Milü, also known as Zulü, is the name given to an approximation to π (pi) found by Chinese mathematician and astronomer, Zǔ Chōngzhī (祖沖之), born 429 AD. Using Liu Hui's algorithm, Zu famously computed π to be between 3.1415926 and 3.1415927 and gave two rational approximations of π, 22/7 and 355/113, naming them respectively Yuelü 约率 and Milü.

Rod calculus or rod calculation was the mechanical method of algorithmic computation with counting rods in China from the Warring States to Ming dynasty before the counting rods were replaced by the more convenient and faster abacus. Rod calculus played a key role in the development of Chinese mathematics to its height in Song Dynasty and Yuan Dynasty, culminating in the invention of polynomial equations of up to four unknowns in the work of Zhu Shijie.

Haidao Suanjing was written by the Chinese mathematician Liu Hui of the Three Kingdoms era (220–280) as an extension of chapter 9 of The Nine Chapters on the Mathematical Art. During the Tang Dynasty, this appendix was taken out from The Nine Chapters on the Mathematical Art as a separate book, titled Haidao suanjing (Sea Island Mathematical Manual), named after problem No 1 "Looking at a sea island." In the time of the early Tang dynasty, Haidao Suanjing was selected into one of The Ten Computational Canons as the official mathematical texts for imperial examinations in mathematics.

Liu Hui's π algorithm was invented by Liu Hui, a mathematician of the Cao Wei Kingdom. Before his time, the ratio of the circumference of a circle to its diameter was often taken experimentally as three in China, while Zhang Heng (78–139) rendered it as 3.1724 or as . Liu Hui was not satisfied with this value. He commented that it was too large and overshot the mark. Another mathematician Wang Fan (219–257) provided π ≈ 142/45 ≈ 3.156. All these empirical π values were accurate to two digits. Liu Hui was the first Chinese mathematician to provide a rigorous algorithm for calculation of π to any accuracy. Liu Hui's own calculation with a 96-gon provided an accuracy of five digits: π ≈ 3.1416.

Wang Xiaotong (王孝通), also known as Wang Hs'iao-t'ung, was a Chinese mathematician, calendarist, politician, and writer of the early Tang dynasty. He is famous as the author of the Jigu Suanjing one of the Ten Computational Canons.

A timeline of calculus and mathematical analysis.

Project Mathematics!, is a series of educational video modules and accompanying workbooks for teachers, developed at the California Institute of Technology to help teach basic principles of mathematics to high school students. In 2017, the entire series of videos was made available on YouTube.

The Ten Computational Canons was a collection of ten Chinese mathematical works, compiled by early Tang dynasty mathematician Li Chunfeng (602–670), as the official mathematical texts for imperial examinations in mathematics.

## References

• Chen, Stephen. "Changing Faces: Unveiling a Masterpiece of Ancient Logical Thinking." South China Morning Post , Sunday, January 28, 2007.
• Crossley, J.M et al. The Logic of Liu Hui and Euclid, Philosophy and History of Science, vol 3, No 1, 1994
• Guo, Shuchun. "Liu Hui". Encyclopedia of China (Mathematics Edition), 1st ed.
• Ho Peng Yoke. "Liu Hui." Dictionary of Scientific Biography, vol. 8. Ed. Charles C. Gillipsie. New York: Scribners, 1973, 418–425.
• Hsu, Mei-ling. "The Qin Maps: A Clue to Later Chinese Cartographic Development." Imago Mundi (Volume 45, 1993): 90-100.
• Lee, Chun-yue & C. M.-Y. Tang (2012). "A Comparative Study on Finding Volume of Spheres by Liu Hui (劉徽) and Archimedes: An Educational Perspective to Secondary School Students."
• Mikami, Yoshio (1974). Development of Mathematics in China and Japan.
• Needham, Joseph & C. Cullen (Eds.) (1959). Science and Civilisation in China: Volume III, section 19. Cambridge University Press. ISBN   0-521-05801-5.
• Needham, Joseph (1986). Science and Civilization in China: Volume 3, Mathematics and the Sciences of the Heavens and the Earth. Taipei: Caves Books, Ltd.
• Needham, Joseph (1986). Science and Civilization in China: Volume 4, Physics and Physical Technology, Part 3, Civil Engineering and Nautics. Taipei: Caves Books Ltd.
• Siu, Man-Keung. Proof and Pedagogy in Ancient China: Examples from Liu Hui's Commentary On Jiu Zhang Suan Shu, 1993