Question
Question: Find the equation of the largest circle passing through the point (1, 1) and (2, 2) and which does n...
Find the equation of the largest circle passing through the point (1, 1) and (2, 2) and which does not cross the boundaries of the first quadrant.

(x-1)^2 + (y-2)^2 = 1
(x-2)^2 + (y-1)^2 = 1
x^2 + y^2 - 2x - 4y + 4 = 0
x^2 + y^2 - 4x - 2y + 4 = 0
The largest circles are (x−1)2+(y−2)2=1 and (x−2)2+(y−1)2=1.
Solution
Let the equation of the circle be (x−h)2+(y−k)2=r2. The condition that the circle does not cross the boundaries of the first quadrant implies h−r≥0 and k−r≥0, so h≥r and k≥r.
Since the circle passes through (1, 1) and (2, 2): (1−h)2+(1−k)2=r2 (1) (2−h)2+(2−k)2=r2 (2)
Equating (1) and (2): (1−h)2+(1−k)2=(2−h)2+(2−k)2 1−2h+h2+1−2k+k2=4−4h+h2+4−4k+k2 2−2h−2k=8−4h−4k 2h+2k=6 h+k=3⟹k=3−h
Substitute k=3−h into (1): (1−h)2+(1−(3−h))2=r2 (1−h)2+(h−2)2=r2 1−2h+h2+h2−4h+4=r2 r2=2h2−6h+5
The constraints h≥r and k≥r become h≥r and 3−h≥r. Squaring these (since r>0): r2≤h2 and r2≤(3−h)2.
Substituting r2=2h2−6h+5: 2h2−6h+5≤h2⟹h2−6h+5≤0⟹(h−1)(h−5)≤0⟹1≤h≤5. 2h2−6h+5≤(3−h)2⟹2h2−6h+5≤9−6h+h2⟹h2−4≤0⟹(h−2)(h+2)≤0⟹−2≤h≤2.
Combining these, we get 1≤h≤2.
We want to maximize r2=2h2−6h+5 for h∈[1,2]. This is a parabola opening upwards. The maximum on a closed interval occurs at the endpoints. At h=1: r2=2(1)2−6(1)+5=2−6+5=1. At h=2: r2=2(2)2−6(2)+5=8−12+5=1.
The maximum r2 is 1, so the maximum radius r=1.
Case 1: h=1 k=3−h=3−1=2. Center is (1, 2), radius is 1. Equation: (x−1)2+(y−2)2=1. Check constraints: h=1≥r=1 (True), k=2≥r=1 (True).
Case 2: h=2 k=3−h=3−2=1. Center is (2, 1), radius is 1. Equation: (x−2)2+(y−1)2=1. Check constraints: h=2≥r=1 (True), k=1≥r=1 (True).
Both equations represent the largest circles satisfying the given conditions.