In this geometry problem, a triangle is tangent to a circle at two points. We are given specific lengths and must determine the radius of the circle using right triangle relationships and algebra.
In the figure below, triangle \(ABC\) is tangent to a circle with center \(O\) at two points. The lengths are:
\[ AM = 6 \text{ cm}, \quad BC = 18 \text{ cm} \]Find the radius \(r\) of the circle.
Let \(B\) and \(N\) be the points of tangency. Since a radius is perpendicular to the tangent at the point of tangency, several right triangles are formed.
Let \(r\) be the radius of the circle. Then:
\[ AN^2 + r^2 = (r + 6)^2 \]Simplifying:
\[ AN^2 = 36 + 12r \] \[ AN = \sqrt{36 + 12r} \]Triangles \(ONC\) and \(OBC\) are right triangles with \(ON = OB = r\). Therefore, they are congruent and:
\[ NC = BC = 18 \]The equation has two real solutions. Only the positive solution is valid for a radius:
\[ \boxed{r = 9 \text{ cm}} \]