Mathwords logoMathwords

Sphere-Sphere Intersection — Definition, Formula & Example

Sphere-sphere intersection is the set of points that lie on two spheres at the same time. When two spheres with different centers cross each other, those shared points form a circle.

Let spheres S1S_1 and S2S_2 have centers C1≠C2C_1 \neq C_2, radii r1,r2r_1, r_2, and center distance d=∣C1C2∣>0d = |C_1C_2| > 0. If ∣r1−r2∣<d<r1+r2|r_1 - r_2| < d < r_1 + r_2, then S1∩S2S_1 \cap S_2 is a circle. This circle lies in the radical plane, which is perpendicular to line C1C2C_1C_2. Its center is on line C1C2C_1C_2 at signed distance aa from C1C_1, and its radius is hh, where aa and hh are given by the formula below. If d=r1+r2d = r_1 + r_2 or d=∣r1−r2∣d = |r_1 - r_2|, the spheres are tangent and meet at one point. If d>r1+r2d > r_1 + r_2 or d<∣r1−r2∣d < |r_1 - r_2|, the intersection is empty.

Key Formula

a=d2+r12−r222d,h=r12−a2a = \frac{d^2 + r_1^2 - r_2^2}{2d}, \qquad h = \sqrt{r_1^2 - a^2}
Where:
  • dd = Distance between the two sphere centers
  • r1,r2r_1, r_2 = Radii of the first and second spheres
  • aa = Signed distance from C₁ to the circle's center, measured along line C₁C₂ toward C₂ (it can be negative)
  • hh = Radius of the intersection circle

Worked Example

Problem: Sphere 1 has center (0,0,0)(0, 0, 0) and radius 10 inches. Sphere 2 has center (0,0,21)(0, 0, 21) and radius 17 inches. Find the plane, center, and radius of the circle where they intersect.
Step 1: Check that the spheres actually meet in a circle. The center distance is 21, so compare it with the difference and the sum of the radii.
∣10−17∣=7<21<27=10+17|10 - 17| = 7 < 21 < 27 = 10 + 17
Step 2: Write both equations: x2+y2+z2=100x^2 + y^2 + z^2 = 100 and x2+y2+(z−21)2=289x^2 + y^2 + (z-21)^2 = 289. Subtract the first from the second. The squared terms in xx and yy cancel, which leaves the equation of a plane.
(z−21)2−z2=289−100  ⇒  −42z+441=189  ⇒  z=6(z-21)^2 - z^2 = 289 - 100 \;\Rightarrow\; -42z + 441 = 189 \;\Rightarrow\; z = 6
Step 3: Substitute z=6z = 6 into the first sphere's equation to find the circle's radius.
x2+y2+36=100  ⇒  x2+y2=64  ⇒  h=8x^2 + y^2 + 36 = 100 \;\Rightarrow\; x^2 + y^2 = 64 \;\Rightarrow\; h = 8
Answer: The spheres intersect in a circle of radius 8 inches. The circle lies in the plane z=6z = 6 and has its center at (0,0,6)(0, 0, 6). The formula agrees: a=441+100−28942=6a = \frac{441 + 100 - 289}{42} = 6 and h=100−36=8h = \sqrt{100 - 36} = 8.

Why It Matters

GPS receivers locate you by trilateration. Each satellite distance places you on a sphere around that satellite. Two such spheres narrow your position to a circle, and a third sphere cuts that circle down to at most two points. The same computation appears in robotics, where it finds the possible elbow positions of a two-link arm, and in 3D modeling software.

Common Mistakes

Mistake: Assuming the intersection circle sits halfway between the two centers.
Correction: The circle is centered at the midpoint only when r1=r2r_1 = r_2. In general, use a=d2+r12−r222da = \frac{d^2 + r_1^2 - r_2^2}{2d}. In the example, the circle is 6 inches from C1C_1, not 10.5.

Related Terms