Research note: Shen Gua’s geometric derivation of the sum of a geometric series

Donald B. Wagner

December 2024

Figure 1. Stack of cubes representing the series.

Qiandu, volume = abh/2

Chutong, volume = [(2a+c)b + (2c+a)d]h/6

Yangma, volume = abh/3

Figure 2.Three of the standard solids of classical Chinese mathematics.

Figure 3., The stack, ‘pushed to a corner’, with red and blue lines delineating the inner and outer chutong.

Figure 4. Showing the difference between the stack and the outer chutong.

Figure 5. Showing the difference between the inner and outer chutong’s

Figure 6. Rearrangement of qiandu’s in sections B and D of Figure 4.

Shen Gua 沈括 (1031–1095) gives a formula for the sum of a geometric series and apparently derives it geometrically rather than algebraically. In this note I propose one possible reconstruction of his derivation.

The formula is one part of an jotting in Shen Gua’s Mengxi bitan 夢溪筆談 (‘Dream Brook jottings’) (Hu Daojing 1962, ch. 18, item no. 301, pp. 574–575). The entire jotting has been translated and analyzed by Andrea Bréard (1998; 2008), and I have elsewhere discussed a different part of the same jotting (Wagner 2023: 75–80). In this note I am concerned only with a narrow technical point, a possible geometric derivation of Shen Gua’s formula. The sum in question is

This can be represented as the volume of a stack of cubes, each 1 × 1 × 1 unit, as shown in Figure 1. 

In this note I refer to three of the basic solids of classical Chinese mathematics, chutong 芻童, qiandu 塹堵, and yangma 陽馬. These are shown in Figure 2. Their volumes were derived by Liu Hui 劉徽 (3rd cent. CE) in his commentary on the famous mathematical text Jiuzhang suanshu 九章算術, chapter 5 (Chemla & Guo 2004: 387–457; Guo Shuchun et al. 2013: 490–633; Wagner 1979). The red lines in Figure 1 delineate a chutong which I will refer to as the ‘inner chutong’. Shen Gua states in effect that the sum of the series, i.e. the volume of the stack, is the volume of the inner chutong, Vinner , plus a corrective term:

A modern algebraic derivation of this equation could be as follows, using the fact that h  =  ac+1  =  bd+1 and d  =  ba+c:

This derivation would have been difficult for a pre-modern mathematician. Note the second and third terms in equation (*): Shen Gua would no doubt have been able to derive the sum of an arithmetic series,  , but deriving the sum of squares,  , algebraically would have been much more difficult. Bréard (1998: 157; 2008: 82) notes that this result was later known by Yang Hui 楊輝 and Zhu Shijie 朱世傑 in the 13th century and therefore may have been known by Shen Gua. But it is likely that a geometric construction was used to derive their result: perhaps a construction like the one I propose here, or the elegant construction posted by an anonymous person on Facebook. The latter construction was also given by Du Zhigeng 杜知耕 in the 17th century (Martzloff 1997: 302). In any case, the fact that Shen Gua states his calculation as a geometric result certainly suggests a geometric derivation. 

It is convenient, though not strictly necessary, to ‘push the cubes to a corner’, as in Figure 3. Here again the red lines delineate an ‘inner chutong’, while the blue lines delineate an ‘outer chutong’. These are not strictly chutong ’s after classical usage, in which the upper rectangle must be centred over the lower rectangle, but Shen Gua would surely have seen that they are equivalent to chutong’s. If he felt the need to prove this he could have used the same methods as Liu Hui, or the version of Cavalieri’s theorem stated by Zu Xuan 祖暅 (5th cent. CE, Wagner 1978).

The construction in Figure 4 shows the difference between the stack and the outer chutong and Figure 5 shows the difference between the outer and inner chutong’s. The difference between these differences is the difference between the stack and the inner chutong. The two figures are divided into corresponding sections, labelled A through E.

Section A in Figure 4 consists of h qiandu’s, each with dimensions 1 × 1 × c and with total volume ½hc. In Figure 5 Section A is equivalent to a qiandu with the same volume, and the difference here is therefore zero. The same reasoning gives a difference of zero for section E.

Section C of Figure 4 consists of h yangma’s, each with dimensions 1 × 1 × 1 and with total volume ⅓ h. In Figure 5 Section C is equivalent to a yangma with the same volume. Here again the difference is zero.

Each of sections B and D in Figure 4 consists of h qiandu’s which (because abd) can be rearranged as in Figure 6. Their total volume is ½ h(ac). Sections B and D in Figure 5 are equivalent to two yangma’s with total volume ⅔ h(ac). Thus

QED.

References

Bréard, Andrea. 1998. ‘Shen Gua’s cuts’. Taiwanese journal for philosophy and history of science 10: 141–162.

———. 2008. ‘A summation algorithm from 11th century China: Possible relations between structure and argument’. In Logic and theory of algorithms, edited by A. Beckmann, C. Dimitracopoulos and B. Löwe. Berlin / Heidelberg: Springer, pp. 77–83.

Chemla, Karine, and Guo Shuchun. 2004. Les neuf chapitres: Le classique mathématique de la Chine ancienne et ses commentaires. Paris: Dunod.

Guo Shuchun 郭书春, Joseph W. Dauben, and Xu Yibao 徐义保. 2013. Nine chapters on the art of mathematics. 3 vols. Shenyang: Liaoning Education Press. ‘A critical edition and English translation based upon a new collation of the ancient text and modern Chinese translation by Guo Shuchun; English critical edition and translation, with notes by Joseph W. Dauben and Xu Yibao’.

Hu Daojing 胡道靜, ed. 1962. Mengxi bitan jiaozheng 夢溪筆談校證 (Critical ed. of ‘Dream Pool jottings’). Shanghai. Facs. repr. Shanghai: Shanghai Guji Chubanshe, 1987.

Martzloff, Jean-Claude. 1997. A history of Chinese mathematics. Translated by S. S. Wilson. Berlin / Heidelberg: Springer-Verlag. ‘Corrected second printing’, 2006. Orig. Histoire des mathémathiques chinoises, Paris: Masson, 1987.

Wagner, Donald B. 1978. ‘Liu Hui and Tsu Keng-chih on the volume of a sphere’. Chinese science 3: 59–79. donwagner.dk/SPHERE/SPHERE.html

———. 1979. ‘An ancient Chinese derivation of the volume of a pyramid: Liu Hui, third century A.D.’. Historia mathematica 6: 164–188. donwagner.dk/Pyramid/Pyramid.html

———. 2023. ‘ “Incorrect corrections” by ancient editors – a challenge in Chinese mathematical philology’. In Tan shi qiu xin: Qingzhu Guo Shuchun xiansheng bashi huadan wenji 探史求新 – 庆祝郭书春先生八十华诞文集 (Studying history, seeking the new: Essays in honour of the 80th birthday of Guo Shuchun), edited by Zou Dahai 邹大海, Guo Jinhai 郭金海 and Tian Sen 田森. Harbin: Harbin Shi Gongye Daxue Chuanshe, pp. 70–95. donwagner.dk/incorrect.pdf.