Wasan

Higher mathematics in pre-modern Japan, also known as wasan, flourished during the Edo period from the early 17th to the late 19th centuries. It had its origins in the Chinese mathematical texts which were acquired by the Japanese during their invasions of Korea in the late 16th century. (Okumura 79) In a fairly isolated state, the Japanese mathematicians were able to make new brilliant discoveries in areas rarely attributed to a non-Western scholarship, sometimes outpacing their Western counterparts. (Ruttkay 1)

Studies of Japanese mathematics were prompted by the introduction of Western mathematics to Japan and the subsequent decline of wasan during the latter half of the 19th century. Despite the steady increase in the number of articles published in Japanese since the 1920s, the subject remained at the backstage because of postwar-Japan’s scientific national policy. This changed in the recent years with the revisionist historians who have sought to contradict the Eurocentric historical views by reevaluating the non-Western sciences. (Ogawa 146-147) In this revisionist discourse, the centerpiece has often consisted of China and Japan, both of which defied the West’s totalitarian portrait of the Orient (Hobson 226) by building vibrant economies and achieving comparable scientific advances before the mid-1800s. (Hanley 13)

The oldest known case of mathematics in Japan was a system of exponential notation for high powers of ten, similar to the exponential law am an = a m + n, which was in use before Jimmu’s legendary founding of Japan in the seventh century BCE. Findings on the subsequent cases of mathematics in ancient Japan come from the 6th century CE and afterwards when Buddhism was introduced from Korea. During the reign of Empress Suiko, the Chinese chronological system was made known, books on astrology and the calendar were introduced, and the first almanacs came into use. Prince Shotoku was so engaged in these learnings that he was honored as the father of Japanese mathematics. Emperor Tenchi, who ruled from 668 to 671 CE, created a water clock and defined the length of a day as one hundred hours. Around this time, a school of arithmetic and an observatory were also established. In 701, Emperor Monbu established a university system that included mathematical studies based on nine Chinese texts. (Smith and Mikami 4-9) The most important among them concerned algebra, which enabled the creation of the department of “Arithmetic Intelligence” responsible for land survey and tax collection in 718. Calculations of the period were done with small bamboo sticks known as sangi, which were arranged differently like the Roman Numerals to represent different numbers and were placed on paper with prescribed operations (shown in fig. 1, 2, and 3). (Hidetoshi and Rothman 10-12)

After this brief period of enthusiasm and progress, Japanese mathematics unfortunately stagnated and stalled for nine hundred years. The nine Chinese texts were eventually forgotten, and mathematics in Japan degenerated into a superstitious body of knowledge that concerned puzzles and fortune telling. It was said that the knowledge of division was lost except in some religious establishments where calendar manuscripts were found. (Smith and Mikami 14-15) During the Kamakura and the Muromachi periods, occasional references to sangi indicate that its use continued, but no new developments materialized. (Hidetoshi and Rothman 14)

The Dark Age for Japanese mathematics ended with Toyotomi Hideyoshi’s invasion of Korea in 1592. A soldier was able to return to the port of Hakata with a Chinese abacus, which existed in China since the 1200s and became known as soroban in Japanese. (Palmer) Its use became widespread after Mori Shigeyoshi published an introductory text regarding the abacus in 1622, although it did not completely replace the sangi that was more convenient for complex algebraic operations. (Hidetoshi and Rothman 19) A more extensive text, and also the first complete mathematics book in Japan, was published under the title, Jinko-ki, or Large and Small Numbers, in 1627 by Yoshida Mitsuyoshi. It was based on a famous Chinese text that was published in 1593 and dealt mostly with methods of computations such as multiplication, division, and the extraction of square and cube roots on the abacus. (Smith and Mikami 38) Yoshida published at least six new editions of the Jinko-ki, and among them the 1641 edition was the beginning of idai, (Okumura 79) in which open problems are presented to the readers at the end of the book. (Hidetoshi and Rothman 13-16)

After this initial takeoff, Japanese mathematics steadily progressed, primarily in areas of geometry and number theory, (Okumura 80) within an open intellectual dialogue that was initially facilitated and proliferated by the samurai class. At the onset, mathematics was mostly pursued by the samurais as it had military application in surveying, navigation, and calendar making. (Bartholomew 21) As the samurais came to work as civil servants with modest stipends, they also taught reading, writing, and arithmetic in small private schools called juku, which comprised much of the educational system in pre-modern Japan. Because of the low attendance fees, juku’s were widely attended by members across all ages and economic strata, and consequently mathematics became widely accessible within the Japanese society. People who could not afford to publish their own books posted their new findings on wooden prayer tablets in temples as offering to the gods. These tablets, which became known as sangaku, allowed the Japanese mathematicians to exchange ideas and identify new problems and thus transformed the temples into intellectual forums facilitating a nationwide dialogue. This open and collaborative discourse also existed in publications through the practice of idai, and it accelerated advances in Japanese mathematics, which took tangible form as wasan by the end of the seventeenth century. (Hidetoshi and Rothman 19-21)

How was wasan expressed and solved? It was written vertically in Kanbun, or classical Chinese, that served a similar role in East Asia as Latin in medieval Europe as the written language of higher culture. (Hidetoshi and Rothman 9) Because there were only few symbols involved, more complicated equations had to be accompanied by sentences. Figure 5 is an example showing the expression a2 b2/ h2 + 2 ab + h2. The number of vertical lines represent the coefficient;  means ^2;   is division; and ,  , and   are terms a, b, and h, respectively. (Ogawa 140) The traditional Japanese mathematicians did not discriminate between the rational and the irrational numbers, since they dealt with the physical representations of numbers directly on the abacus rather than converting them into decimals. (Morimoto 132) This meant that, unlike their Western contemporaries, (Hidetoshi and Rothman 75) the Japanese did not assume pi to consist of repeating decimals. It is also important to note that there was no concept of the Cartesian plane in wasan, which limited the understanding differential calculus for the Japanese. (Morimoto 132-133)

In the beginning, wasan included problems dealing with practical concerns, such as the calendar, which stimulated some of the most important findings in the studies of curves. (Ogawa 145) Yoshida introduced the challenge of calculating the value of pi as an idai problem in a later edition of his Jinko-ki’s. (Hidetoshi and Rothman 16) The first to solve the problem was Muramatsu Shigekiyo, who wrote in 1663 that π = 3.14195264877. (Lavoisier Librairie) He used the same technique that was used by Archimedes nineteen hundred years earlier, in which the value of pi is approximated on a regular polygon with a very large number of sides (in Muramatsu’s case, 32,768). (Hidetoshi and Rothman 16) Seki Takakazu, Japan’s most celebrated mathematician, (shown in fig. 6) calculated a much more accurate value of pi to be 355/113. He first used Muramatsu’s method to calculate the perimeters of three polygons with 215, 216, and 217 sides respectively. Then he posited that the perimeter of an infinite-sided polygon, a.k.a. the circle, is the sum of a geometric series ( a + ar + ar2 + ar3…), which with infinite number of terms equals to a /(1 - r). He let a1 equal the difference in the perimeters of 215 and 216-sided polygons, a2 equal the difference in the perimeters of 216 and 217-sided polygons, and r equal the ratio of the differences, a2 and a1, getting the following result:

Seki evidently took great interest in the number theory, as his other achievements include discovering the theory of determinants, (see fig. 8) the Bernoulli numbers, and Horner’s method for extracting irrational roots before the European mathematicians who are given credit for originating them. (Hidetoshi and Rothman 69-71) He also devoted one of his seven books to the magic squares. In one example, Seki drew a filled 3 by 3 square like the one shown in fig. 9 and a blank 7 by 7 (which is 2n + 1, in which n = 3) square. Then he started numbering to the right from the cell next to the left of the upper right-hand corner until he reached n (in this case, number 3). Then he numbered left from the cell to the left of 1 until he reached the 2n-1 (in this case, number 5). Then he numbered down the right side to the cell preceding the lower right-hand one. Then he numbered along the top row until he reached the upper left-hand corner. Then he filled the left-hand column and the bottom row by subtracting from (2n + 1)2 + 1 the respective numbers on the opposite side. Then he switched n (in this case, 3) figures to the left of the upper right-hand corner with the corresponding ones in the lower row, and likewise for the n figures above the lower right hand corner, resulting in a square shown in fig. 11. Finally he filled the inner cells by repeating the procedure with number 13, resulting in the square shown in fig. 12, which includes all numbers from 1 to 49 and features consecutive patterns at intervals of 3 (10, 11, 12; 23, 25, 27; 43, 42, 41; 28, 36, 48). (Smith and Mikami 116-118)

Outside the publications, Japanese mathematics was usually limited to geometry problems that were found on the sangaku tablets. Geometry problems sometimes concerned beautiful arrangement of shapes, such as a fan, and solving them were considered as a type of art in itself. (Ogawa 145) Some geometric problems related to more practical concerns of architecture and woodcraft. One such case involved the lotus decorations of the Japanese temples from the Asuka and the Nara periods (538-794). As the lotus fruits were usually arranged in densest packaging within the receptacle, a practical artistic concern was the densest packing of circles within circles. The Japanese may also have had an interest in the densest packing problems because they addressed the practical issues of economical cuttings and arrangements of objects. (Tarnai and Miyazaki 145-149) Geometry problems continued to evolve in more complex forms, until they eventually involved intersecting solids and surface areas. (Okumura 81)

Despite its substantial achievements, mathematics in Japan never led to a discovery of mechanical or physical laws as it has in the West. This was partly because mathematics was considered as more of a recreational art rather than science. The Japanese mathematicians also refused to denigrate their works as those of the artisans by solving problems relating to practical issues. Instead they focused on abstract problems, which made inevitable the displacement of wasan by western mathematics by the late Tokugawa Period. (Ravina 205-207)