TOPICS
Search

Sphere-Sphere Intersection


SphereSphereInterGraphic
SphereSphereIntersection

A sphere-sphere intersection is the set of points common to two spheres. Let their positive radii be R and r and their centers lie along the x-axis at (0,0,0) and (d,0,0), respectively, with d>=0. The circle and spherical cap formulas below assume |R-r|<d<R+r. For d>0, tangency occurs when d=R+r or d=|R-r|, and the spheres meet at one point. If d=0 and R=r, they coincide. In all other cases outside the proper-overlap range, their surfaces do not intersect. Not surprisingly, the analysis is very similar to the case of the circle-circle intersection. The equations of the two spheres are

x^2+y^2+z^2=R^2
(1)
(x-d)^2+y^2+z^2=r^2.
(2)

Combining (1) and (2) gives

 (x-d)^2+(R^2-x^2)=r^2.
(3)

Multiplying through and rearranging give

 x^2-2dx+d^2-x^2=r^2-R^2.
(4)

Solving for x gives

 x=(d^2-r^2+R^2)/(2d).
(5)

The intersection of the spheres is therefore a curve lying in a plane parallel to the yz-plane at a single x-coordinate. Plugging this back into (1) gives

y^2+z^2=R^2-x^2=R^2-((d^2-r^2+R^2)/(2d))^2
(6)
=(4d^2R^2-(d^2-r^2+R^2)^2)/(4d^2),
(7)

which is a circle with radius

a=1/(2d)sqrt(4d^2R^2-(d^2-r^2+R^2)^2)
(8)
=1/(2d)[(-d+r-R)(-d-r+R)(-d+r+R)(d+r+R)]^(1/2).
(9)

The volume common to the two enclosed closed balls can be found by adding the two spherical caps. The signed offsets from the spheres' centers to the bases of the caps are

d_1=x
(10)
d_2=d-x,
(11)

so the heights of the caps are

h_1=R-d_1=((r-R+d)(r+R-d))/(2d)
(12)
h_2=r-d_2=((R-r+d)(R+r-d))/(2d).
(13)

The volume of a spherical cap of height h^' for a sphere of radius R^' is

 V(R^',h^')=1/3pih^('2)(3R^'-h^').
(14)

Letting R_1=R and R_2=r and summing the two caps gives

V=V(R_1,h_1)+V(R_2,h_2)
(15)
=(pi(R+r-d)^2(d^2+2dr-3r^2+2dR+6rR-3R^2))/(12d).
(16)

This expression gives V=0 for d=r+R as it must. For d>=R+r, the common volume is 0. For d<=|R-r|, including concentric or coincident spheres, it is the volume of the smaller closed ball, 4pimin(R,r)^3/3. In the special case r=R and 0<=d<=2R, the volume simplifies to

 V=1/(12)pi(4R+d)(2R-d)^2.
(17)

In order for the overlap of two equal closed balls to equal half the volume of each individual closed ball, their centers must be separated by a distance

d=(x^3-12x+8)_2
(18)
=2sqrt(3)sin(2/9pi)-2cos(2/9pi)
(19)
=0.694592710...
(20)

(OEIS A133749) times their radius, where (P(x))_n is a polynomial root.

The surface area of the portion of the sphere of radius R lying inside the closed ball bounded by the sphere of radius r is pir^2, the area of a disk bounded by a great circle of the latter sphere, provided that d=R and r<=2R (Kern and Bland 1948, p. 97).

SphereSphereIntersectionEight

A related construction is the intersection of eight closed balls of common radius r>0 whose centers are the vertices of a cube of edge length r. For centers (+/-r/2,+/-r/2,+/-r/2), with all eight choices of signs, the common region is given by

 (|x|+r/2)^2+(|y|+r/2)^2+(|z|+r/2)^2<=r^2.
(21)

Its volume is

V=r^3[9tan^(-1)(sqrt(2)/5)-(11)/(12)pi+sqrt(2)-1]
(22)
 approx 0.01520548953r^3.
(23)

(Månsson 1981, pp. 160-161).


See also

Apple Surface, Circle-Circle Intersection, Cylinder-Sphere Intersection, Double Bubble, Lens, Reuleaux Tetrahedron, Space Division by Spheres, Sphere

Explore with Wolfram|Alpha

References

Kern, W. F. and Bland, J. R. Solid Mensuration with Proofs, 2nd ed. New York: Wiley, p. 97, 1948.Månsson, B. Solution of Part (a) of Problem 549 (proposed by F. Wheeler). Crux Math. 7, 160-161, 1981. https://cms.math.ca/wp-content/uploads/crux-pdfs/Crux_v7n05_May.pdf.Sloane, N. J. A. Sequence A133749 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Sphere-Sphere Intersection

Cite this as:

Weisstein, Eric W. "Sphere-Sphere Intersection." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Sphere-SphereIntersection.html

Subject classifications