Question
Question: The x-coordinate of the center of the circle in the first quadrant (see figure) tangent to the lines...
The x-coordinate of the center of the circle in the first quadrant (see figure) tangent to the lines y=21x,y=4 and the x-axis is

4+2\sqrt{5}
4 + \frac{8\sqrt{5}}{5}
2 + \frac{6\sqrt{5}}{5}
8+2\sqrt{5}
4+2\sqrt{5}
Solution
Let the center of the circle be (h,k) and its radius be r. Since the circle is tangent to the x-axis (y=0) and the line y=4, and it is in the first quadrant, the y-coordinate of its center must be exactly in the middle of these two lines, so k=20+4=2. The radius of the circle is the distance from the center to the x-axis, so r=k=2.
The center of the circle is (h,2) and its radius is r=2. The circle is also tangent to the line y=21x. We can rewrite this line in the general form Ax+By+C=0 as x−2y=0. The distance from the center (h,2) to the line x−2y=0 must be equal to the radius r=2. The distance formula from a point (x0,y0) to a line Ax+By+C=0 is A2+B2∣Ax0+By0+C∣. Here, (x0,y0)=(h,2), A=1, B=−2, and C=0. The distance is 12+(−2)2∣1⋅h−2⋅2+0∣=1+4∣h−4∣=5∣h−4∣. Setting this distance equal to the radius r=2: 5∣h−4∣=2 ∣h−4∣=25
This equation gives two possible values for h:
- h−4=25⟹h=4+25
- h−4=−25⟹h=4−25
Since the circle is in the first quadrant, its x-coordinate of the center, h, must be positive. 4+25 is clearly positive. For h=4−25, we know that 5≈2.236, so 25≈4.472. Thus, h≈4−4.472=−0.472, which is negative. Therefore, h=4−25 is not a valid solution for a circle in the first quadrant. The only valid x-coordinate for the center is h=4+25.