[Geometry] Door and Pole
By: Tao Steven Zheng (鄭濤)
【Problem】
?Jiuzhang Suanshu (Gougu 12)
Suppose there is a door height and width are unknown, and a bamboo pole of unknown length. When the pole is in the horizontal position, the excess length is 4 chi. When the pole is in the vertical position, the excess length is 2 chi. When the pole is in the diagonal position the pole fits through the door exactly. Question: What are the height, width, and the diagonal of the door?


【Solution】
Let the width of the door be , the height of the door be
, and the length of the pole be (diagonal of the door) be
. The horizontal excess length is the ?
, and the vertical excess length is the ?
. The solution method given in the ?uses an interesting right-triangle identity:

This formula can be derived using the above diagram, which takes advantage of the ? and the ?
. Let the area of the ?be
(red square), the area of the ?
(green square), and the are of the ?
. The yellow square at the center is the overlapping areas of the ?(red square) and the (green square); its area is
. There are also two blue rectangles of equal area
.
By inspection, one can deduce that subtracting the two blue rectangles from the entire square is equal in area to the sum of the red square with the green square minus the yellow square.
By the Pythagorean theorem , we get
Taking the square root gives
Calculations
Height of the door:
Width of the door:
Diagonal of the door:
The width of the door is 6 chi; the height of the door is 8 chi; the length of the pole is 10 chi (1 zhang).