Sub topic 11
Circles Inscribed in Polygons and Tangent Circles
This chapter assumes you know the Pythagorean theorem, the 3-4-5, 5-12-13, 45-45-90 and 30-60-90 triangles, and the area formulas for squares and triangles. It also assumes you know that a tangent line is perpendicular to the radius at the point of tangency. Earlier chapters covered circles drawn around polygons (inscribed polygons). Here the roles reverse: the circle sits inside the polygon, or two circles touch each other.
Two directions of "inscribed"
Language trips people up here. "A circle inscribed in a square" means the circle is inside and touches all four sides. "A square inscribed in a circle" means the square is inside and its corners touch the circle.
| Phrase | Circle touches | Key relationship |
|---|---|---|
| Circle inscribed in a square | The four sides, at their midpoints | Diameter = side |
| Circle circumscribed about a square | The four corners | Diameter = diagonal = side times sqrt(2) |
| Circle inscribed in a triangle | The three sides | Radius is the perpendicular distance from the center to each side |
| Circle circumscribed about a triangle | The three vertices | Center is equidistant from the vertices |
The circle inside a polygon is called the incircle. Its radius is the inradius. The circle through the corners is the circumcircle, and its radius is the circumradius.
A circle inside a square
The incircle touches each side at its midpoint. The distance between two opposite sides is the side length, and that distance equals the diameter.
Suppose a square has area 36. The side is 6, so the diameter is 6 and the radius is 3. The circle's area is 9π. The four corner regions outside the circle have total area 36 − 9π, which is about 7.73.
Compare this with the circumscribed case from the previous chapter. The same square with side 6 has a circumcircle of diameter 6·sqrt(2). The radius is 3·sqrt(2) and the area is 18π. Both circles belong to one square. The incircle's radius is half the side, and the circumcircle's radius is half the diagonal. Their areas always have the ratio 1 : 2.
A circle inside a triangle
The incircle's center is where the three angle bisectors meet. Its distance to each side is the radius, and each radius drawn to a point of tangency is perpendicular to that side.
The area formula
Connect the center to the three vertices. This splits the triangle into three smaller triangles. Each has height r (the inradius) and one of the original sides as its base. Adding their areas gives
Area = (1/2)·r·(a + b + c) = r·s
where s is the semiperimeter, (a + b + c)/2. So r = Area / s for any triangle.
For a 5-12-13 triangle, the area is 30 and s is 15, so r = 2.
The right-triangle shortcut
In a right triangle with legs a and b and hypotenuse c, the incircle radius is
r = (a + b − c) / 2
The reason comes from equal tangent segments. From each vertex, the two tangent segments to the circle have equal length. At the right angle, the center, the two tangent points, and the vertex form a square of side r. The leg a is therefore r plus the tangent length from the other vertex, and the same holds for b. Adding gives a + b = (c) + 2r, because the hypotenuse is made of the two remaining tangent lengths. Solving gives the formula.
Check with 3-4-5: r = (3 + 4 − 5)/2 = 1. The area formula agrees, since 6 = 1 · 6.
The equilateral triangle
For an equilateral triangle with side s, the height is s·sqrt(3)/2. The center is also the centroid, so it sits one third of the way up from each side:
- Inradius = height / 3 = s·sqrt(3)/6
- Circumradius = 2 · height / 3 = s·sqrt(3)/3
The circumradius is always twice the inradius in an equilateral triangle. For side 6, the height is 3·sqrt(3), the inradius is sqrt(3), and the circumradius is 2·sqrt(3). The incircle's area is 3π.
import math
def inradius(a, b, c):
# r = Area / s, with the area from Heron's formula
s = (a + b + c) / 2
area = math.sqrt(s * (s - a) * (s - b) * (s - c))
return area / s
def inradius_right(leg1, leg2):
hyp = math.sqrt(leg1 ** 2 + leg2 ** 2)
return (leg1 + leg2 - hyp) / 2
print(inradius(3, 4, 5)) # 1.0
print(inradius_right(5, 12)) # 2.0
print(round(inradius(6, 6, 6), 4)) # 1.7321, which is sqrt(3)The first two calls agree with the hand results. The third matches the equilateral formula 6·sqrt(3)/6 = sqrt(3).
Tangent circles
Two circles are tangent when they touch at exactly one point. The point of tangency always lies on the line through the two centers. That fact turns most tangent-circle problems into problems about distances between centers.
- Externally tangent circles lie outside each other. The distance between centers is r₁ + r₂.
- Internally tangent circles have one inside the other. The distance between centers is |r₁ − r₂|.
For radii 2 and 3, the centers are 5 apart if the circles are externally tangent and 1 apart if they are internally tangent.
Three mutually tangent circles
If three circles with radii 1, 2 and 3 are all externally tangent to each other, the centers form a triangle with sides 1 + 2 = 3, 1 + 3 = 4 and 2 + 3 = 5. That is a 3-4-5 right triangle, so its area is 6. The GRE likes this kind of hidden right triangle.
Circles in a row
A row of n identical circles of radius r, each tangent to the next, has centers 2r apart. The line of centers has length 2r(n − 1). The total width from the far left edge to the far right edge is 2r(n − 1) + 2r = 2rn. If the row is packed inside a rectangle that touches the first and last circle, the rectangle's length is 2rn and its height is 2r.
Common tangent lines
Two circles can share a tangent line that touches both. Draw the radii to the two tangent points. They are parallel, because both are perpendicular to the same line. Then drop a perpendicular from the center of the smaller circle to the larger circle's radius. This forms a right triangle whose hypotenuse is the distance d between the centers.
- For an external common tangent (both circles on the same side of the line), the legs are the tangent length t and the difference r₁ − r₂. So t = sqrt(d² − (r₁ − r₂)²).
- For an internal common tangent (circles on opposite sides), the legs are t and the sum r₁ + r₂. So t = sqrt(d² − (r₁ + r₂)²).
When two circles are externally tangent, d = r₁ + r₂, so the external common tangent has length sqrt((r₁ + r₂)² − (r₁ − r₂)²) = 2·sqrt(r₁·r₂). With radii 8 and 2, the external tangent length is 2·sqrt(16) = 8.
import math
def external_tangent_length(r1, r2, d):
return math.sqrt(d ** 2 - (r1 - r2) ** 2)
def internal_tangent_length(r1, r2, d):
return math.sqrt(d ** 2 - (r1 + r2) ** 2)
# Radii 8 and 2, externally tangent, so the centers are 10 apart
print(external_tangent_length(8, 2, 10)) # 8.0, matches 2 * sqrt(8 * 2)
# Radii 3 and 2 with centers 13 apart: the internal tangent
print(internal_tangent_length(3, 2, 13)) # 12.0, from the 5-12-13 triangleThe second result uses the right triangle with legs t and 5 and hypotenuse 13, so t = 12.
Putting it together: a shaded region
A circle of radius 2 is inscribed in a right triangle with legs 6 and 8. What is the area of the triangle outside the circle?
- The hypotenuse is 10, so the semiperimeter is 12 and the area is 24.
- Check the radius: r = (6 + 8 − 10)/2 = 2. This matches the given radius.
- The circle's area is 4π.
- The shaded area is 24 − 4π, which is about 11.43.
The check in step 2 is worth doing. If a problem gives you more than you need, a mismatch tells you that you have misread the figure.
Common errors
- Radius versus diameter. A circle inscribed in a square of side 10 has radius 5, not 10. Write "d = side" before computing anything.
- Using the diagonal for an incircle. The diagonal belongs to the circumscribed circle. The incircle uses the side.
- Adding when you should subtract. For internal tangency, the distance between centers is the difference of the radii. Sketch the two circles and ask whether one sits inside the other.
- Applying r = (a + b − c)/2 to a non-right triangle. It works only for right triangles. For other triangles use r = Area / s.
- Forgetting equal tangent segments. Two tangent segments drawn from one external point to a circle have the same length. This often gives a side length without any trigonometry.
Exercises
Exercise
A circle is inscribed in a square. The square has a perimeter of 40. What is the area of the region inside the square but outside the circle?
Show answer
The side is 40 / 4 = 10, so the diameter and the square's side are both 10 and the radius is 5. The square's area is 100 and the circle's area is 25π. The region has area 100 − 25π, about 21.46.
Exercise
A right triangle has legs 9 and 12. What are the inradius and the area of its incircle?
Show answer
The hypotenuse is 15. The inradius is (9 + 12 − 15)/2 = 3. The incircle's area is π · 3² = 9π. Check with the area formula: the triangle's area is 54 and the semiperimeter is 18, so r = 54/18 = 3.
Exercise
Two circles with radii 4 and 9 are externally tangent. What is the length of their common external tangent segment between the two points of tangency?
Show answer
The centers are 4 + 9 = 13 apart. The length is sqrt(13² − (9 − 4)²) = sqrt(169 − 25) = sqrt(144) = 12. The shortcut 2·sqrt(4 · 9) = 12 gives the same result.
Exercise
Circles A and B, each of radius 3, are externally tangent. A larger circle C is tangent to both from the outside and its center lies on the line through the centers of A and B, so that A and B are both inside C and tangent to it internally. What is the radius of C?
Show answer
The centers of A and B are 6 apart, so the line of centers from the far edge of A to the far edge of B is 3 + 6 + 3 = 12. Circle C touches the far edge of A and the far edge of B on opposite ends, so its diameter is 12 and its radius is 6. As a check, C's center is the point where A and B touch, and each smaller circle's center is 3 from it. That equals 6 − 3, the difference of the radii, as internal tangency requires.