The equation of a circle with radius 5 and touching both die coordinate axes is
x2+y2±10x±10y+25=0
Case 1: If the circle lies in the quadrant:
The equation of a circle that touches both the coordinate axes and has radius a is
x2+y2−2ax−2ay+a2=0
The given radius of the circle is 5 units, i.e. a = 5
Thus, the equation of the circle is
x2+y2−10x−10y+25=0
CaseII : If the circle lies in the second quadrant :
The equation of a circle that touches both the coordinate axes and has radius a is
x2+y2−2ax−2ay+a2=0
The given radius of the circle is 5 units, i.e. a = 5
Thus, the equation of the circle is
x2+y2+10x−10y+25=0
Case III : If the circle lies in the third quadrant:
The equation of a circle that touches both the coordinate axes and has radius a is
x2+y2+2ax+2ay+a2=0
The given radius of the circle is 5 units, i.e. a = 5
Thus, the equation of the circle is
x2+y2−10x+10y+25=0
Case IV : If the circle lies in the fourth quadrant :
x2+y2−2ax+2ay+a2=0
The given radius of the circle is 5 units, i.e. a= 5
Thus, the equation of the circle is
x2+y2−10x+10y+25=0
Hence, the required equation of the circle is
x2+y2±1Ox±lOy+25=0