The following geometry problem is taken from Sanpo tensei-ho shinan 《算法天生法指南》 (1811) by Aida Yasuaki (会田 安明, 1747 – 1817):
Suppose a circle is inscribed in a triangle. The short side is 13, the middle side is 14, and the long side is 15. Question: What is the diameter of the inscribed circle1?
1 An inscribed circle can also be called an incircle.
Hint[]
(1) Use Heron’s formula or Qin Jiushao’s formula to calculate the area of a triangle.
Solution[]
Calculate the area of the triangle.
Heron’s formula
Heron of Alexandria gave his formula in Book I of the Metrica:
where is the area of a triangle with sides , , and semi-perimeter .
Qin Jiushao’s Formula
In the Shushu Jiuzhang《数书九章》, Qin Jiushao gave the formula:
where is the area of a triangle, is the short side, is the middle side, and is the long side.
Figure 1 shows that can be split into three triangles: , and . Hence, the area of is the sum of the areas
where
Since the line segments ,, and are radii of the inscribed circle, let . Furthermore, let , , and .
Hence,
Since the radius is half the diameter,
Therefore, the diameter of the inscribed circle is