A circle of radius is tangent to and , two mutually perpendicular lines in the plane. Circles and have radius . Circle is tangent to and externally tangent to the circles and . Circle is tangent to and externally tangent to the circles and . Find in terms of .
Solution
There are two possible configurations as shown in the diagrams below.

Let be the intersection point of and . The centre of circle lies on the bisector of the angle between and . Because and have equal radius, the line is the common tangent of these two circles. The angle between and is bisected by , where is the centre of .
We now work with coordinates in which is the x-axis, the y-axis and has coordinates . Let have coordinates . Then is the radius of the circles and and . Since and are externally tangent to each other, and so which simplifies to .
As seen above, the angle between and the line is a quarter of a right angle, hence the slope of is equal to , and . Thus, . This expands as
with solutions
The two possibilities for are then
Alternatively, we can use basic trigonometry to find a value for . The half-angle formula for the tangent function says . In our case, and . Hence
The smaller value corresponds to the diagram on the right, the larger to the diagram on the left at the start of this solution.
We can find a value for the slope of with the aid of the Angle Bisector Theorem which says that an angle bisector divides the opposite side in a triangle in a ratio that is equal to the ratio between the sides adjacent to the angle. To apply this, we consider a right angled isosceles triangle with . If the bisector of meets at , then is the slope of .
We now obtain and so