Liu Hui

Liu Hui

Third-century Chinese mathematician whose commentary on The Nine Chapters shaped classical mathematics.
Country: Cao Wei, Western Jin dynasty
  1. Life in the Wei Kingdom
  2. Rethinking The Nine Chapters
  3. The Sea Island Problems
  4. Legacy

Liu Hui left behind little personal history, but his mathematical writing has carried his name across nearly eighteen centuries. Working in the turbulent age of the Three Kingdoms, he turned a practical handbook of calculations into a work that asked why its methods were reliable. His explanations of geometry, measurement and approximation made him one of the most influential mathematicians of early China.

Life in the Wei Kingdom

The surviving record offers only a narrow glimpse of Liu Hui’s life. He lived in the Kingdom of Wei, one of the rival states that emerged after the Han dynasty fell in 220 CE. The precise dates of his birth and death are unknown; modern biographies sometimes suggest approximate dates, but the secure facts are sparse. No full official biography survives, and little can be established about his family, education or career.

A line in Liu’s own preface gives a rare personal detail: he had read The Nine Chapters on the Mathematical Art as a boy and studied it closely when he was older. His commentary is traditionally dated to 263 CE, based on a later historical record. Liu did not date it himself, so even this landmark is not absolutely certain. His work, however, shows a scholar deeply familiar with mathematics as well as China’s literary and historical classics.

Rethinking The Nine Chapters

The Nine Chapters on the Mathematical Art was a practical collection of 246 problems and procedures used in areas such as trade, taxation, engineering and surveying. Its methods supplied answers, but often did not explain why the calculations worked. Liu’s extensive commentary added reasoning and demonstrations, drawing out principles behind the procedures and examining the accuracy of approximations.

One of his best-known contributions concerned the value of pi. By repeatedly doubling the number of sides in an inscribed polygon, beginning with a hexagon, Liu developed a way to approximate a circle’s circumference. Using a 96-sided polygon, he obtained 3.14; further refinement produced the more accurate figure 3.14159. This was a striking example of how a repeated geometric process could steadily improve a numerical estimate.

His commentary ranged well beyond circles. He explained procedures for calculating volumes of solids, including prisms, pyramids, cylinders and cones, and worked with positive and negative numbers in solving systems of linear equations. In places he recognized where a method was approximate and considered how close it came to the true result. His approach gave readers more than a recipe: it invited them to follow the logic behind the mathematics.

The Sea Island Problems

Liu’s other celebrated work is the Sea Island Mathematical Manual, a set of nine surveying problems. Originally associated with his commentary on The Nine Chapters, the problems later circulated as a separate text. They use right-triangle geometry to determine heights and distances that cannot be measured directly.

The opening problem asks how to calculate the height and distance of an island offshore using observations made from two poles on the shore. Other problems consider a tree on a mountainside, a town seen from a distance, the depth of a gorge and the width of a river. These are practical challenges, but Liu’s solutions reveal a sophisticated command of indirect measurement and geometric reasoning.

Legacy

Liu Hui’s personal circumstances remain largely unknown, and historians cannot confidently reconstruct how he lived through Wei’s wars and political upheavals. His surviving mathematics is a clearer testament. Through careful explanations, attention to approximation and methods for turning inaccessible measurements into solvable problems, he helped shape the classical Chinese mathematical tradition. His commentary remained attached to later editions of The Nine Chapters, while the Sea Island problems preserved an elegant toolkit for surveying. What is missing from the record of his life is balanced by the remarkable precision and curiosity of the work he left behind.