The equations of the circle which pass through the origin and makes intercepts of lengths 4 and 8 on the x and y-axes respectively are
Let S=x2+y20+2gx+2fy=0 be the equation of circle which passes through origin
C=(−g,−f),r=√g2+f2
Given that it makes intercept of 4 with x-axis
⟹4=2√r2–d2
Where d is distance between center and chord
⟹2=√g2+f2–f2
g=±2
Similarly
⟹2=√g2+f2–g2
g=±4
Equation of circle is
x2+y2±4x±8y=0