The center of the sphere is .
Consider the any point on the sphere is .
The distance between center and any point on the sphere is radius .
If and
are two points in space, the distance from
is
.
Here and
.
.
The equation of the circle is .
The equation of the circle is .