There is a field of sand with three sides. The short side is 13 li, the medium side is 14 li, and the long side is 15 li. The li rule is 300 bu. How large is the field?
Answer: The area of the field is 315 qing.
Method: Take the square of the short side squared and add it to the square of the long side, then subtract the square of the medium side. Halve the remainder, then square the result and put this above. Take the square of the short side and multiply it to the square of the long side. Subtract what is above, and let one-quarter of this remainder be the radicand. The coefficient of the quadratic term is 1. Extract the square root to obtain the area.
Solution[]
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.
The area Qin Jiushao gave is 315 qing. This is calculated by knowing that 1 li is 300 bu, 1 mu is 240 sq.bu, and 1 qing is 100 mu.
Derivation[]
Let be the base, be the height, and be the area of the triangle, then
From the diagram (Figure 2), determine two equations for :
Equation 1
Equation 2
Equate both equations and solve for :
Substitute this result into Equation 1 and take the positive square root:
The area of the triangle is therefore
or
Additional Note
One can obtain Heron's formula from Qin Jiushao's formula. Note that Heron of Alexandria (c. 10 AD - c. 70 AD) derived his formula with a different approach, using an inscribed circle.