I need to find the length of XY where X and Y are the intersections of circle c with line AB.
First, let me establish the coordinates. I'll place C at the origin with A on the positive y-axis and B on the positive x-axis.
- C = (0, 0)
- A = (0, 15)
- B = (20, 0)
Since ABC is a right triangle with legs AC = 15 and BC = 20, the hypotenuse AB has length:
AB = √(15² + 20²) = √(225 + 400) = √625 = 25
Now I need to find point D where CD ⊥ AB.
The line AB has equation: x/20 + y/15 = 1, or 3x + 4y = 60.
The distance from C(0,0) to line AB is:
CD = |0 + 0 - 60|/√(9 + 16) = 60/5 = 12
Point D is the foot of the perpendicular from C to AB. Using the perpendicular distance formula:
D = (0,0) + 12 · (3/5, 4/5) = (36/5, 48/5)
Now for triangle ACD:
- AC = 15
- CD = 12
- AD = √((36/5)² + (48/5 - 15)²) = √((36/5)² + (-27/5)²) = √(1296/25 + 729/25) = √(2025/25) = 9
Let me find the incircle of triangle ACD. The semiperimeter is:
s = (15 + 12 + 9)/2 = 18
The inradius is:
r = Area/s = (1/2 · 15 · 12)/18 = 90/18 = 5
The incircle of ACD touches CD at point T. Since the incenter divides the sides in ratios determined by the other two sides, and CD is one side, the distance from C to T is:
CT = s - AC = 18 - 15 = 3
So T is at distance 3 from C along CD. Since CD has length 12 and direction (3/5, 4/5):
T = (0,0) + 3 · (3/5, 4/5) = (9/5, 12/5)
Now circle c:
- Touches CD at T
- Touches line segment BC (the x-axis)
- Has two intersections with line AB
Since circle c touches CD at T and also touches BC, its center must be equidistant from both lines. The center lies on the line perpendicular to CD at T.
CD has direction vector (3/5, 4/5), so the perpendicular at T has direction (-4/5, 3/5).
Let the center of circle c be at T + t(-4/5, 3/5) = (9/5 - 4t/5, 12/5 + 3t/5) for some t > 0.
The radius equals the distance from center to BC (the x-axis), which is |12/5 + 3t/5|.
Since the circle touches CD at T, the radius also equals |t|.
Therefore: |t| = |12/5 + 3t/5|
Since we need t > 0 and the center should be above the x-axis:
t = 12/5 + 3t/5
5t = 12 + 3t
2t = 12
t = 6
So the radius is 6 and the center is at:
Center = (9/5 - 24/5, 12/5 + 18/5) = (-15/5, 30/5) = (-3, 6)
Now I need to find where this circle intersects line AB (3x + 4y = 60).
The circle equation is: (x + 3)² + (y - 6)² = 36
Substituting y = (60 - 3x)/4:
(x + 3)² + ((60 - 3x)/4 - 6)² = 36
(x + 3)² + ((60 - 3x - 24)/4)² = 36
(x + 3)² + ((36 - 3x)/4)² = 36
(x + 3)² + (36 - 3x)²/16 = 36
Multiplying by 16:
16(x + 3)² + (36 - 3x)² = 576
16(x² + 6x + 9) + (36 - 3x)² = 576
16x² + 96x + 144 + 1296 - 216x + 9x² = 576
25x² - 120x + 1440 = 576
25x² - 120x + 864 = 0
x² - 24x/5 + 864/25 = 0
Using the relationship between roots:
If x₁ and x₂ are the x-coordinates of X and Y, then:
(x₁ - x₂)² = (x₁ + x₂)² - 4x₁x₂ = (24/5)² - 4(864/25) = 576/25 - 3456/25 = -2880/25
This gives a negative value, let me recalculate...
Actually, |XY|² = (1 + 16/9)|x₁ - x₂|² = 25/9 · 2880/25 = 320
Therefore, (length of XY)² = 320.