Find the equation of the circle

Which touches both the axes and passes through the point (2, 1)

Given that we need to find the equation of the circle which touches both axes and passes through the point (2, 1).



Let us assume the circle touches the x-axis at the point (a, 0) and y-axis at the point (0,a).


Then we get to the centre of the circle as (a, a).


We have a circle with centre (a, a) and passing through the point (2, 1) and having radius |a|.


We know that the radius of the circle is the distance between the centre and any point on the radius. So, we find the radius of the circle.


We know that the distance between the two points (x1,y1) and (x2,y2) is .


Let us assume r is the radius of the circle.



a2 = a2 - 4a + 4 + a2 - 2a + 1


a2 - 6a + 5 = 0


a2 - 5a - a + 5 = 0


a(a - 5) - 1(a - 5) = 0


(a - 1)(a - 5) = 0


a - 1 = 0 or a - 5 = 0


a = 1 or a = 5 ..... (1)


Case (i)


We have got the centre at (5, 5) and having radius 5 units.


We know that the equation of the circle with centre (p, q) and having radius ‘r’ is given by:


(x - p)2 + (y - q)2 = r2


Now we substitute the corresponding values in the equation:


(x - 5)2 + (y - 5)2 = 52


x2 - 10x + 25 + y2 - 10y + 25 = 25


x2 + y2 - 10x - 10y + 25 = 0.


The equation of the circle is x2 + y2 - 10x - 10y + 25 = 0.


Case (ii)


We have got the centre at (1, 1) and having a radius 1 unit.


We know that the equation of the circle with centre (p, q) and having radius ‘r’ is given by:


(x - p)2 + (y - q)2 = r2


Now we substitute the corresponding values in the equation:


(x - 1)2 + (y - 1)2 = 12


x2 - 2x + 1 + y2 - 2y + 1 = 1


x2 + y2 - 2x - 2y + 1 = 0


The equation of the circle is x2 + y2 - 2x - 2y + 1 = 0.


7