Let the equation of the circle be x2+y2+2gx+2fy+c=0 Since it touches y axis at (0, -3) and (0, -3) lies on the circle
∴c=f2 .....(i)
9 - 6f + c = 0 .......(ii)
From (i) and (ii) we get 9 - 6f + f2 = 0
⇒(f−3)2=0⇒f=3
Putting f = 3 in (i) we obtain c = 9
It is given that the circle x2+y2+2gx+2fy+c=0 intercepts length 8 on x axis
∴2√g2−c=8⇒2√g2−9=8⇒g2−9=16⇒g=±5
Hence the required circle is x2+y2±10x+6y+9=0