Two circles are positioned in a right triangle--tangent to each other and to the triangle--of side lengths and as shown in the diagram below:
If and the smaller radius are all positive integers, what is the smallest possible perimeter of the triangle?
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 center of the incircle be O , its radius be R , and the center of the radius r circle be A . Draw a line parallel to side a through O and a line parallel to side b through A , and let their point of intersection be B . Then Δ O A B is a right triangle with hypotenuse length R + r , vertical leg length R − r and horizontal leg length 2 R r .
Now ∠ O A B is one-half the lower right interior angle θ of the triangle, and thus
tan ( ∠ O A B ) = tan ( 2 1 θ ) = sin ( θ ) 1 − cos ( θ ) = c a 1 − c b = a c − b .
But tan ( ∠ O A B ) = 2 R r R − r , so
a 2 ( c − b ) 2 = 4 R r ( R − r ) 2 ⟹ 4 R r × a 2 ( c − b ) 2 = R 2 + r 2 − 2 R r ⟹
r 2 − 2 R ( 1 + a 2 2 ( c − b ) 2 ) r + R 2 = 0 .
By the quadratic equation we then have that, (after simplifying),
r = R ( 1 + 2 a 2 ( c − b ) 2 − 2 a ( c − b ) 1 + a 2 ( c − b ) 2 ) ,
where we took the negative root as we should have r < R . Noting that a 2 + b 2 = c 2 we then have that
r = a 2 R ( 3 c 2 + b 2 − 4 b c − 2 ( c − b ) 2 c ( c − b ) ) .
Now for a right triangle R = a + b + c a b , so we finally have that
r = a ( a + b + c ) b ( 3 c 2 + b 2 − 4 b c − 2 ( c − b ) 2 c ( c − b ) ) .
Now for r to be an integer we will require that 2 c ( c − b ) be a perfect square. At this point we will note that the side lengths of a Pythagorean triangle can be represented as k ( m 2 − n 2 ) , 2 k m n and k ( m 2 + n 2 ) for positive integers k , m , n . Now if
b = k ( m 2 − n 2 ) , c = k ( m 2 + n 2 ) ⟹ 2 c ( c − b ) = 4 k 2 n 2 ( m 2 + n 2 ) , and if
b = 2 k m n , c = k ( m 2 + n 2 ) ⟹ 2 c ( c − b ) = 2 k 2 ( m − n ) 2 ( m 2 + n 2 ) .
In the first case, 2 c ( c − b ) will be a perfect square if and only if m 2 + n 2 is itself a perfect square. The smallest option is m = 4 , n = 3 , k = 1 , which corresponds to a ( a , b , c ) = ( 2 4 , 7 , 2 5 ) right triangle, which from our formula yields r = 4 3 . The next smallest option is m = 8 , n = 6 , k = 1 , (the same as m = 4 , n = 3 , k = 4 ), which corresponds to a ( a , b , c ) = ( 9 6 , 2 8 , 1 0 0 ) right triangle and a value of r = 3 . Thus the smallest possible perimeter for which r is integral is 9 6 + 2 8 + 1 0 0 = 2 2 4 .
Notes: For the b = 2 k m n case we would require that 2 ( m 2 + n 2 ) be a perfect square, the first occurrence for which is m = 7 , n = 1 , k = 1 , which corresponds to a ( 4 8 , 1 4 , 5 0 ) right triangle, yielding r = 2 3 . The next smallest option would be with m = 7 , n = 1 , k = 2 which corresponds to the ( 9 6 , 2 8 , 1 0 0 ) solution triangle found above. The next option we could have looked at is m = 1 2 , n = 5 , k = 1 , which corresponds to a ( 1 2 0 , 1 1 9 , 1 6 9 ) right triangle, which has a greater perimeter.