The diagram shows two primitive
Heronian triangle
sharing their longest side (green). The red triangle has altitude
,
,
and the blue triangle has altitudes
,
,
. The four circles are tangent to the sides of their respective triangles. Each center moves horizontaly at the same rate. The black quadrilateral is drawn using each center. The
maximum
area of the black quadrilateral can be expressed as
. Find
.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the large quadrilateral be A B C D . Then the area of bottom triangle A B C , [ A B C ] = 2 1 ⋅ 1 5 ⋅ A B = 2 1 ⋅ 1 7 1 8 0 ⋅ B C = 2 1 ⋅ 5 3 6 ⋅ C A , ⟹ 1 5 ⋅ A B = 1 7 1 8 0 ⋅ B C = 5 3 6 ⋅ C A . Since △ A B C is Heronian, its side lengths are integers. Assuming B C = 1 7 , then we have C A = 2 5 and A B = 1 2 . For the top triangle A C D , with C A = 2 5 , ⟹ C D = 7 and D A = 2 4 .
Since all four circles are moving at the same rate, the distance between the left vertical side of the internal quadrilateral from A and that of its right vertical side from C are the same. Let that distance at any moment be x . Since the system is symmetrical about the central vertical axis of the large quadrilateral, where the two left circles interchange positions with the right two circles, we need only consider 0 ≤ x ≤ 1 2 . 5 to cover all cases.
Let the radii of the top left, top right, bottom left, and bottom right circles be r 1 , r 2 , r 3 , and r 4 respectively; and ∠ D A C = α , ∠ D C A = β , ∠ B A C = γ , and ∠ B C A = δ . For small x , we have:
⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ r 1 = x tan 2 α = sin α 1 − cos α ⋅ x = 7 2 5 − 2 4 x r 2 = x tan 2 β = sin β 1 − cos β ⋅ x = 2 4 2 5 − 7 x r 3 = x tan 2 γ = sin γ 1 − cos γ ⋅ x = 3 5 − 4 x r 4 = x tan 2 δ = sin δ 1 − cos δ ⋅ x = 3 6 8 5 − 7 7 x = 7 x = 4 3 x = 3 x = 9 2 x
When x = 4 , r 2 = x tan 2 β = 3 . But ( 2 5 − x ) tan 2 α = 7 2 1 = 3 . This means that the top right circle is tangent to both C D and D A , and the base line C A . For x > 4 , r 2 = ( 2 5 − x ) tan 2 α = 7 2 5 − x . Similarly, when x = 1 0 , r 3 = 3 x = 3 1 0 ; but ( 2 5 − x ) tan 2 δ = 3 1 0 . ⟹ r 3 = 9 2 ( 2 5 − x ) for x > 1 0 .
Therefore the area of the internal quadrilateral is given by:
A = 2 ( r 1 + r 2 + r 3 + r 4 ) ( 2 5 − 2 x ) = ⎩ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎧ 2 2 5 − 2 x ( 7 x + 4 3 x + 3 x + 9 2 x ) 2 2 5 − 2 x ( 7 x + 7 2 5 − x + 3 x + 9 2 x ) 2 2 5 − 2 x ( 7 x + 7 2 5 − x + 9 2 ( 2 5 − x ) + 9 2 x ) f o r 0 ≤ x ≤ 4 f o r 4 ≤ x ≤ 1 0 f o r 1 0 ≤ x ≤ 1 2 . 5 = ⎩ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎧ 5 0 4 3 6 5 x ( 2 5 − 2 x ) 1 2 6 ( 2 5 − 2 x ) ( 3 5 x + 2 2 5 ) 1 2 6 5 7 5 ( 2 5 − 2 x ) f o r 0 ≤ x ≤ 4 f o r 4 ≤ x ≤ 1 0 f o r 1 0 ≤ x ≤ 1 2 . 5
Plotting A against x , we find that A is maximum, when x = 4 . That is
A max = 5 0 4 3 6 5 ( 4 ) ( 2 5 − 2 ( 4 ) ) = 1 2 6 6 2 0 5
Therefore p + q = 6 2 0 5 + 1 2 6 = 6 3 3 1 .