The correct option is
B x2+y2+8x=0Let the equation of the required circle be (x−h)2+(y−k)2=r2
It is given that the radius of the circle is 4 and its centre lies on the x-axis , (i.e) k=0 and r=4units.
Hence the equation of the circle is (x−h)2+y2=42=16
It is also given that the circle passes through the origin (0,0)
∴(0−h)2+02=16
⇒h2=16 or h=±4
CaseI
When h=−4, then the equation of the circle is (x+4)2+y2=16
on expanding we get, x2+y2+8x+16=16
or x2+y2+8x=0 is the required equation of the circle.
CaseII
When h=4 then the equation of the circle is (x−4)2+y2=16
on expanding we get, x2+y2−8x+16=16
or x2+y2−8x=0 is the required equation of the circle.