text
stringlengths
0
66.2k
The r² cancels with -r².
Group like terms:
Terms with x: (-d_y x + r x) = x(-d_y + r)
Terms with y: (y d_x - y r) = y(d_x - r)
Constants: - r d_x + d_y r
So overall:
x(r - d_y) + y(d_x - r) + (- r d_x + d_y r) = 0
Yes, so the standard form is:
(r - d_y)x + (d_x - r)y + ( - r d_x + d_y r ) = 0
We can write this as:
(r - d_y)x + (d_x - r)y + r(d_y - d_x) = 0
Hmm, okay. Now, the distance from point O₁(h,0) to line AD is equal to 5. The distance formula is |A h + B*0 + C| / sqrt(A² + B²) = 5, where A, B, C are coefficients from the line equation.
So plugging in the coefficients:
A = (r - d_y)
B = (d_x - r)
C = r(d_y - d_x)
Thus, the distance is:
| (r - d_y)h + 0 + r(d_y - d_x) | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 5
Similarly, the distance from O₂(0,k) to AD is 6:
| (r - d_y)*0 + (d_x - r)k + r(d_y - d_x) | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 6
Also, the distance between I(0,0) and O₁(h,0) is |h| = r - 5, since they are internally tangent. Similarly, the distance between I and O₂(0,k) is |k| = r - 6.
Therefore, h = ±(r - 5), but since O₁ is on the same side as E (which is along the positive x-axis), h should be positive. So h = r - 5. Similarly, k = r - 6 (assuming upwards direction, but need to confirm sign).
Wait, the center O₁ is along IE, which is the x-axis from (0,0) to E(r,0). Since ω₁ is inside ω and tangent at E, the center O₁ must be between I and E. Therefore, O₁ is at (h,0) where h is between 0 and r. Since the distance from I to O₁ is r - 5, then h = r - 5. Similarly, O₂ is along IF, which is the y-axis from (0,...
Therefore, substituting h = r -5 and k = r -6 into the distance equations.
First, for O₁:
Distance from O₁(r -5,0) to AD is 5:
| (r - d_y)(r -5) + r(d_y - d_x) | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 5
Similarly, for O₂(0, r -6):
| (d_x - r)(r -6) + r(d_y - d_x) | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 6
Let me compute numerator for O₁:
(r - d_y)(r -5) + r(d_y - d_x)
= (r - d_y)(r -5) + r d_y - r d_x
= r(r -5) - d_y(r -5) + r d_y - r d_x
= r² -5r - r d_y +5 d_y + r d_y - r d_x
Simplify terms:
- The - r d_y and + r d_y cancel.
= r² -5r +5 d_y - r d_x
Similarly, the numerator becomes | r² -5r +5 d_y - r d_x |.
Similarly for O₂'s numerator:
(d_x - r)(r -6) + r(d_y - d_x)
= d_x(r -6) - r(r -6) + r d_y - r d_x
= d_x r -6 d_x - r² +6 r + r d_y - r d_x
Simplify terms:
d_x r - r d_x cancels.
= -6 d_x - r² +6 r + r d_y
= - r² +6 r + r d_y -6 d_x
Therefore, numerator is | - r² +6 r + r d_y -6 d_x |.
So now, we have two equations:
1) | r² -5r +5 d_y - r d_x | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 5
2) | - r² +6 r + r d_y -6 d_x | / sqrt( (r - d_y)^2 + (d_x - r)^2 ) = 6