**Naonobu Ajima**is also known as

**Ajima Chokuyen**. He was addressed as Manzo and wrote under the name of Nanzan. He was born into the Shinjo clan. His father was chairman of the Treasury of the clan, and Ajima was born in the official Shinjo residence. At the age of twenty-three be became a samurai. The samurai were those of highest social position in Japan and, although at one time warriors, by the eighteenth century they were the filling the roles of being both leading administrators and educators. It was the samurai who ran schools to educate their children, and Japanese mathematicians of this period would have all come from the samurai class. In addition to his official work, he studied under Masatada Irie of the Nakanishi school. After this he studied mathematics and astronomy under Nushizumi Yamaji becoming a pupil of the Seki school in Edo. He qualified from the school as a Master of Mathematics.

Ajima was over thirty years of age before he began his studies with Yamaji. While studying with him, Ajima wrote books on astronomy and helped his teacher to compile an almanac. It was only after Yamaji's death that Ajima began to write works on mathematics. At this time he became one of the fourth generation of masters of the Seki school. Despite producing 42 hand-written books, copies of which were made by his students, he published nothing in his lifetime. However, his main work *Fukyu sampo* (Masterpieces of Mathematics) summarised his contributions and was intended as a book from which his pupils could learn the skills that he had acquired. The book had a preface written in 1799, one year after Ajima's death, by Kasawa Makoto, one of his students. Although the intention was to publish the work then, it did not happen. Kasawa was a fine mathematician and he succeeded Ajima as a master of the Seki school. He was certainly not Ajima's only star pupil for there were also excellent mathematicians such as Masatoda Baba and Hiroyasu Sakabe who continued the tradition of the Seki school. This school of traditional Japanese mathematics thrived until 1856 when the first European mathematics text was published in Japan.

Ajima's work went towards geometry despite the strong algebraic numerical tradition in the Seki school. He developed methods of integration, developing the 'yenri' method which had been devised earlier and was used to find the area of a circle using inscribed polygons in a similar manner to the methods of Archimedes. Ajima refined the method subdividing the chord of an arc into equal small segments, so producing a method similar to that of the definite integral. He presented this in *Kohai jutsu kai*, giving a method which is the high point that traditional Japanese mathematics reached in methods of integration [2]:-

Immediately after developing this method of integration, Ajima developed a method for computing volumes by double integration. The method was developed to solve the problem of finding the volume of the intersection of two cylinders and he presented it inAjima comes closest of any Japanese mathematician to a full theory of integration.

*Enchu kokuen jutsu*.

He also worked on logarithms, but here there is some influence from European mathematics. A seven-figure book of logarithms, *Suri seiran*, was published in China in 1723. It is almost certain that this work was inspired by European logarithm methods which had been brought to China by Jesuit missionaries. This book introduced logarithms into Japan and it is clear that Ajima had read the work since he uses some of the same notation in his own work on logarithms. He produced log tables which were designed for taking 10^{th} roots and powers of numbers. For this purpose he set the log of the 10^{th} root of 10 to 1. As an example of his methods, let us look at how he solves the problem of computing 10^{2.56.}

He proceeds in the following way. First he solves, working to 14 decimal places, *x*^{10} = 10, obtaining 10^{0.1} = 1.25892541179417. Next he solves *x*^{10} = 1.25892541179417 from which he obtains 10^{0.01} = 1.02329299228075. He then computes

10Similarly he computes^{0.9}= 10^{1.0}/10^{0.1}= 7.94328234724280

10^{0.8}= 10^{0.9}/10^{0.1}= 6.30957344480191

10^{0.7}= 10^{0.8}/10^{0.1}= 5.01187233627269

10^{0.6}= 10^{0.7}/10^{0.1}= 3.98107170553494

10^{0.5}= 10^{0.6}/10^{0.1}= 3.16227766016835

10^{0.4}= 10^{0.5}/10^{0.1}= 2.51188643150955

10^{0.3}= 10^{0.4}/10^{0.1}= 1.99526231496885

10^{0.2}= 10^{0.3}/10^{0.1}= 1.58489319246109

10Then 10^{0.09}= 10^{0.10}/10^{0.01}= 1.23026877081239

10^{0.08}= 10^{0.09}/10^{0.01}= 1.20226443461743

10^{0.07}= 10^{0.08}/10^{0.01}= 1.17489755493955

10^{0.06}= 10^{0.07}/10^{0.01}= 1.14815362149691

10^{0.05}= 10^{0.06}/10^{0.01}= 1.12201845430199

10^{0.04}= 10^{0.05}/10^{0.01}= 1.09647819614322

10^{0.03}= 10^{0.04}/10^{0.01}= 1.07151930523764

10^{0.02}= 10^{0.03}/10^{0.01}= 1.04712854805094

^{2.56}= 10

^{2}× 10

^{0.5}× 10

^{0.06}= 363.078054770107. We note that the method is quite accurate and only in the last decimal place does an error occur. The correct answer is in fact 10

^{2.56}= 363.078054770101.

Let us look at two particular problems solved by Ajima. The first, the Gion shrine problem, he solved in an unpublished manuscript of 1774 entitled *Kyoto Gion Dai Toujyutsu* (The Solution to the Gion Shrine Problem). Although his solution was unpublished, nevertheless Ajima became famous for his work on this problem. It had been posed in 1749 by Tsuda Nobuhisa and placed on a sangaku at the Gion shrine of Kyoto. Sangaku were wooden tablets which mathematicians painted with either a theorem or a problem, then hung them on display at a Shinto shrine or Buddhist temple. It was a method of communicating mathematics and stimulating further mathematics with challenge problems. The sangaku at the Gion shrine of Kyoto poses the following problem:

In this figure we have a segment of a circle on the chord *AB* of length *a*. From the mid-point of *AB* we draw a line perpendicular to *AB* to meet the circle. It has length *m*. To the left of this line we draw a square of side *d*, as shown, and to the right we draw a circle of radius *r*, as shown. Put *p* = *a* + *m* + *d* + *r*, and *q* = *m*/*a* + *r*/*m* + *d*/*r*. The problems requires that we express *a*, *m*, *d* and *r* in terms of *p* and *q*. Tsuda Nobuhisa solved the problem with an equation of degree 1024. Ajima's remarkable achievement was to reduce this to an equation of degree 10. He was then able to solve specific examples numerically. A year after this fine achievement, Ajima was promoted to hold the position of "gun bugyou" or "country magistrate".

The second problem that we want to mention is the Malfatti Problem, which appears in *Fukyu sampo*. It is today called the Malfatti Problem since it was posed in 1803 by Gian Francesco Malfatti, but Ajima's contributions were made around 30 years earlier. The problem is, given an arbitrary triangle, find how to place three non-overlapping circles so that the area of that part of the triangle not covered by a circle is a minimum. Malfatti assumed that the solution would involve three circles, each of which is tangent to the other two. It is precisely the problem of maximising the area of the three mutually tangent circles that Ajima solved in *Fukyu sampo*. However, Malfatti's assumption is wrong and it was shown in 1992 that to maximise the area of the three non-overlapping circles, they are never mutually tangent. This, of course, is not relevant to Ajima's problem which is only posed in terms of maximising the area of three non-overlapping mutually tangent circles.

After Ajima's death, he was buried in the Jorin-jo Temple, Mita, Tokyo, and his grave can still be visited today.

**Article by:** *J J O'Connor* and *E F Robertson*