Centuries Ahead in Maths

Think about solving equations in algebra class, or using Pythagoras’ theorem in geometry. These might feel like standard parts of maths, perhaps linked to ancient Greece or later European thinkers. But what if I told you that sophisticated methods for solving complex equations and a version of Pythagoras’ theorem were being used thousands of miles away, in ancient China, centuries, even millennia, before they were common knowledge in the West? It’s easy to overlook, but ancient China was a powerhouse of mathematical innovation, developing unique approaches and achieving remarkable results driven by practical needs and profound intellectual curiosity. This post aims to uncover some of these fascinating contributions, revealing a rich mathematical heritage that deserves far greater recognition and showing why understanding this history is crucial for a truly global perspective on the development of mathematics.

To appreciate ancient Chinese mathematics, we need to understand its context. Unlike the ancient Greeks, who emphasised abstract proofs and axioms, the Chinese approach was often deeply rooted in practicality. Mathematics was essential for running a vast empire: measuring land for taxation, constructing canals and fortifications, predicting astronomical events for the calendar and imperial legitimacy, managing granaries, and conducting trade. Early evidence of mathematical activity dates back to the Shang Dynasty (c. 1600–1046 BCE) with numbers inscribed on oracle bones. However, the real flourishing began later. The period from the Han Dynasty (206 BCE–220 CE) through to the Song (960–1279 CE) and Yuan (1271–1368 CE) dynasties represents a golden age for mathematical development. A pivotal text, compiled probably during the Han Dynasty but containing much older material, is the Jiuzhang Suanshu or Nine Chapters on the Mathematical Art. This wasn’t a theoretical treatise but a collection of 246 practical problems and their solutions, covering everything from agriculture and business to engineering and surveying [3]. It served as the cornerstone of Chinese mathematical education for centuries, with later mathematicians adding extensive commentaries and expansions.

One of the most fundamental innovations was the Chinese system of calculation using counting rods (suan chou). These small rods, made of bamboo, wood, bone, or ivory, were manipulated on a counting board, a flat surface often marked with squares. This system was a true decimal place-value system, remarkably similar in principle to the Hindu-Arabic numerals we use today, but employed far earlier for actual calculation [1, 5]. Rods were laid out horizontally or vertically in columns, with the orientation changing for adjacent columns (units, hundreds, ten thousands used vertical forms of numerals 1-9, while tens, thousands used horizontal forms) to avoid confusion. Crucially, a blank space on the board represented zero, allowing for complex calculations involving large numbers long before a specific symbol for zero became widespread [2]. Even more strikingly, the Chinese used two colours of rods, typically red for positive numbers (zheng) and black for negative numbers (fu), allowing them to handle negative quantities in equations and calculations perhaps as early as the Han Dynasty – centuries before negative numbers were accepted in Europe [1]. This rod system enabled efficient methods for addition, subtraction, multiplication, division, finding square roots, and even cube roots, all performed physically on the board.

Geometry, or jihe, in ancient China was also highly developed, driven by the need for accurate measurement. The Nine Chapters contains methods for calculating the areas of various shapes, including rectangles, triangles, trapezoids, and approximations for the area of a circle. It also dealt with volumes of solids like prisms, cylinders, pyramids, and cones [3]. Perhaps the most famous geometric principle is the Gougu theorem, found in the ninth chapter of the Jiuzhang Suanshu and also discussed in the even earlier Zhoubi Suanjing (an astronomical text). This theorem describes the relationship between the sides of a right-angled triangle – the sum of the squares of the two shorter sides (gou and gu) equals the square of the longest side (xian). Yes, it’s exactly what we know as Pythagoras’ theorem, but evidence suggests it was understood and applied in China independently, possibly even earlier than Pythagoras [1, 2]. Applications were eminently practical, such as determining heights of inaccessible objects or depths of valleys using sighting poles, detailed in texts like Liu Hui’s commentary on the Nine Chapters and the later Haidao Suanjing (Sea Island Mathematical Manual) [3].

Speaking of Liu Hui, who lived in the 3rd century CE during the Three Kingdoms period, he was one of ancient China’s most brilliant mathematical minds. His commentary on the Nine Chapters is far more than just explanation; it provides rigorous (though different in style from Greek proofs) justifications for many algorithms and extends the original work significantly [2]. His most famous contribution is arguably his calculation of pi (π). While the Nine Chapters used an approximation of 3, Liu Hui employed a rigorous method of inscribing polygons with increasing numbers of sides (6, 12, 24, 48, 96, 192) inside a circle and calculating their area, progressively exhausting the area of the circle. This iterative algorithm allowed him to derive an incredibly accurate value for pi: 3.14159, which he presented as 3.1416 or the fraction 157/50 [1, 3]. Two centuries later, the astronomer and mathematician Zu Chongzhi (429–500 CE) and his son Zu Gengzhi took this even further, calculating pi to be between 3.1415926 and 3.1415927. Zu Chongzhi famously offered the fraction 355/113 as a remarkably precise and convenient approximation (accurate to six decimal places). This level of accuracy was unmatched anywhere in the world for nearly a thousand years [1, 2].

Algebra saw equally impressive developments. The eighth chapter of the Nine Chapters, titled Fangcheng (“Rectangular Arrays”), details a method for solving systems of simultaneous linear equations – the kind you might solve in school with substitution or elimination [3]. The Chinese method, however, performed on the counting board, was astonishingly similar to modern matrix methods (specifically, Gaussian elimination). Coefficients of the unknown quantities in each equation were arranged in columns on the board, forming a grid or array. Then, by systematically multiplying rows (equations) by constants and adding or subtracting them from other rows, the coefficients were manipulated to eliminate variables one by one, eventually leading to the solution [1, 5]. This algorithmic approach allowed them to solve systems with three, four, or even more unknowns. Negative numbers, represented by black rods, were handled seamlessly within this process. Furthermore, Chinese mathematicians tackled quadratic equations and even higher-degree polynomial equations. Methods for finding roots of these complex equations, precursors to what became known in Europe as Horner’s method (or the Ruffini-Horner method), were developed during the Song and Yuan dynasties. The mathematician Qin Jiushao, in his 1247 work Shushu Jiuzhang (Mathematical Treatise in Nine Sections), presented sophisticated numerical methods for solving polynomial equations up to the tenth degree [4].

Another fascinating area is number theory, exemplified by the Chinese Remainder Theorem. This deals with finding a number that leaves specific remainders when divided by several different numbers (e.g., find a number that leaves a remainder of 2 when divided by 3, 3 when divided by 5, and 2 when divided by 7). Problems of this type appear in the work of Sun Tzu (Sun Zi) Suanjing (likely 3rd-5th century CE) and were crucial for astronomical calculations related to planetary conjunctions and calendar cycles [1, 2]. The methods developed were highly algorithmic and efficient. We also see early explorations of combinations and binomial coefficients. While often called Pascal’s Triangle in the West (after Blaise Pascal, 17th century), this triangular array of numbers, where each number is the sum of the two directly above it, appeared in Chinese mathematical texts much earlier. Yang Hui presented it in the 13th century, attributing it to the 11th-century mathematician Jia Xian, who used it to extract square and cube roots [1]. It displayed coefficients of binomial expansions (like (a+b)ⁿ) centuries before its common use in Europe.

So, why did ancient Chinese mathematics develop along this particular path, and what was its impact? The emphasis was clearly on developing effective algorithms and solving practical problems rather than building an axiomatic system like Euclid’s geometry. As historian Jean-Claude Martzloff notes, Chinese mathematics was characterised by “a thinking computational device, the counting board [or rods], positional decimal numeration, a particular conception of mathematical proof based essentially on visual or empirical verification…, [and] a definite taste for algorithmic procedures” [2]. This doesn’t mean it lacked rigour – Liu Hui’s work, for instance, shows deep conceptual understanding and logical justification – but the style and focus were different from the Hellenistic tradition.

Did these innovations influence the rest of the world? Transmission pathways are complex and often difficult to trace definitively. While the decimal place-value concept likely travelled from India, the Chinese counting rod system was a sophisticated place-value system in its own right, predating the widespread use of the Indian system with a zero symbol [1]. Some ideas might have trickled along the Silk Road or via India and the Islamic world, but concrete evidence for direct transmission of complex methods like the fangcheng algorithm or Zu Chongzhi’s pi value to medieval Europe is limited. Much of this knowledge seems to have remained largely within East Asia’s sphere of influence for a long time. After the peak during the Song and Yuan dynasties, there was a perceived decline in mathematical innovation in China during the Ming and early Qing periods, possibly due to shifts in philosophical focus, educational priorities favouring Confucian classics, or social disruption [1, 2]. It was only through the efforts of later Chinese scholars and Western historians like Joseph Needham in his monumental Science and Civilisation in China [1] that the full depth and breadth of these ancient achievements began to be appreciated globally in the 20th century.

In conclusion, the mathematical landscape of ancient China was vibrant, innovative, and profoundly practical. From the ingenious place-value counting rod system that handled positive and negative numbers, to the elegant geometric reasoning behind the Gougu theorem and sophisticated pi calculations, and the powerful algebraic algorithms for solving systems of equations and polynomials, ancient Chinese mathematicians developed unique and effective solutions to complex problems. Their work stands as a testament to a rich intellectual tradition that evolved largely independently for centuries. Recognising these contributions not only corrects a historically Eurocentric view of mathematical development but also highlights the diverse ways human societies have engaged with quantitative reasoning. It reminds us that brilliance and ingenuity can flourish in many forms and contexts. Knowing this history, perhaps we should ask: what other forgotten mathematical narratives from different cultures are still waiting to be rediscovered, and how might they reshape our understanding of the universal language of mathematics?

References and Further Reading

  1. Needham, Joseph. Science and Civilisation in China, Volume 3: Mathematics and the Sciences of the Heavens and the Earth. Cambridge University Press, 1959.
  2. Martzloff, Jean-Claude. A History of Chinese Mathematics. Springer, 1997 (translated by S.S. Wilson).
  3. Dauben, Joseph W. “Chinese Mathematics.” In The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook, edited by Victor J. Katz, 187-384. Princeton University Press, 2007.
  4. Libbrecht, Ulrich. Chinese Mathematics in the Thirteenth Century: The Shu-shu chiu-chang of Ch’in Chiu-shao. MIT Press, 1973.
  5. Lam Lay Yong and Ang Tian Se. Fleeting Footsteps: Tracing the Conception of Arithmetic and Algebra in Ancient China. World Scientific Publishing, 2004.
  6. Swetz, Frank J., and T. I. Kao. Was Pythagoras Chinese?: An Examination of Right Triangle Theory in Ancient China. Pennsylvania State University Press, 1977.
  7. Chemla, Karine, and Guo Shuchun. Les Neuf Chapitres: Le Classique mathématique de la Chine ancienne et ses commentaires. Dunod, 2004. (A comprehensive French edition and analysis of the Nine Chapters).
  8. Katz, Victor J. A History of Mathematics: An Introduction. 3rd ed. Addison-Wesley, 2009. (Includes good sections on non-Western mathematics, including China).

Ancient China was a major mathematical innovator, developing sophisticated methods often centuries before the West. Driven by practical needs, they used counting rods with a decimal place-value system and negative numbers, understood Pythagoras’ theorem, calculated pi accurately, and created algorithms for solving complex equations and systems.

Leave a comment

Conversations with AI is a very public attempt to make some sense of what insights, if any, AI can bring into my world, and maybe yours.

Please subscribe to my newsletter, I try to post daily, I’ll send no spam, and you can unsubscribe at any time.

← Back

Thank you for your response. ✨

Designed with WordPress.