Combining Two Solids

Cut two solids with the same horizontal plane and the slice of their intersection is the intersection of their slices; the same goes for a union and a difference. So any combination's volume is one integral of slice areas, and the page computes it for four pairs, each with a famous answer.

Union
Common solid of two crossing cylinders
Ring of height h
Loading interactive simulation...

Lesson

The theory — Combining Two Solids

The volume of a combination of two solids, their intersection A ∩ B, union A ∪ B or difference A ∖ B, is the integral of its slice areas, and at every height its slice is the same combination of the two solids' slices.

What each symbol means

A(z), B(z)
the areas of the two solids' slices at height z
S(z)
the area of the combination's slice at height z

Where the formula comes from

  1. Slice both solids at the same height. A point at height z is in A ∩ B exactly when it is in both slices, so the slice of the intersection is the intersection of the slices. The union's slice counts the common part once.
  2. Integrate. The volume is the integral of S(z), and integrating the union's slice term by term gives the same rule for volumes.
Assumes
Each slice's area has a formula at every height. Where the formula changes, as for the drilled sphere's intersection at z = ±h/2, the integral is split there.

Problems solved in full

  1. Two crossing cylinders 2 steps

    Two cylinders of radius r cross at right angles with their axes meeting. Find the volume of the solid inside both.

    Open this problem in the tool

    1. At height z each cylinder is a strip of half-width √(r² − z²), and the two strips cross in a square:

    2. Integrate from z = −r to z = r:

    Answer

    16r³/3, which is 5.3333 at r = 1.

  2. A sphere with a hole through it 3 steps

    A hole is drilled through the centre of a sphere of radius 5, leaving a ring 6 tall. Find the volume of the ring.

    Open this problem in the tool

    Show solution
    1. The ring's half-height is 3, so the hole's radius is

    2. For −3 ≤ z ≤ 3 the slice is a washer from radius 4 out to √(25 − z²):

    3. Integrate:

    Answer

    36π ≈ 113.0973.

  3. Why the sphere's size drops out 3 steps

    Show that a ring of height h drilled from any sphere at least h across has volume πh³/6, and check it against a solid ball of diameter 6.

    Open this problem in the tool

    Show solution
    1. With a² = R² − (h/2)², the washer at height z has area

    2. Integrate from z = −h/2 to z = h/2:

    3. For h = 6 this is 36π, the volume of a ball of radius 3, which is the ring when R = 3 and the hole has closed:

    Answer

    V = πh³/6, whatever R is, as long as R ≥ h/2.

  4. The space between a ball and its cylinder 3 steps

    A ball of radius r sits inside a cylinder of radius r and height 2r. Find the volume of the space between them, and from it the ball's.

    Open this problem in the tool

    Show solution
    1. At height z the space is a washer between the cylinder's radius and the ball's:

    2. Integrate from z = −r to z = r:

    3. Take that from the cylinder:

    Answer

    2πr³/3 between them, which is 2.0944 at r = 1, so the ball is 4πr³/3, two thirds of its cylinder.

  5. The union of the two cylinders 3 steps

    The cylinders of problem 1 are each cut to length 2r. Find the volume inside at least one of them.

    Open this problem in the tool

    Show solution
    1. Each cylinder's slice is a strip 2r long and 2√(r² − z²) wide; the union's slice counts the common square once:

    2. The first term integrates to a half-disc's area times 8r:

    3. So

    Answer

    4πr³ − 16r³/3, which is 7.233 at r = 1.

  6. The material drilled out 3 steps

    Find the volume of the material removed from the sphere in problem 2.

    Open this problem in the tool

    Show solution
    1. What is removed is the part of the sphere inside the drill. For |z| ≤ 3 its slice is the whole hole, a disc of radius 4; for 3 ≤ |z| ≤ 5 the sphere's own disc is the smaller one:

    2. Split the integral where the slice changes formula:

    3. Check: the sphere minus the ring of problem 2.

    Answer

    392π/3 ≈ 410.5014.

  7. The ring by shells 2 steps

    Find the volume of the ring of problem 2 by cylindrical shells about the axis of the hole.

    Show solution
    1. A shell at distance x from the axis, 4 ≤ x ≤ 5, runs from the bottom of the sphere to the top, a height of 2√(25 − x²):

    2. Substitute u = 25 − x²:

    Answer

    36π, as by slices.

Two cylinders cross in a solid with no π in its volume 🖖

Press Two cylinders cross. Every horizontal slice of the solid inside both is a square of side 2√(r² − z²), so its area 4(r² − z²) is a polynomial and the integral is 16r³/3: no π anywhere. The ball of radius r sits inside that solid, and its slice at the same height is the circle inscribed in the square. A circle is π/4 of its square at every height, so the ball is π/4 of the solid, and 16r³/3 · π/4 = 4πr³/3. Archimedes, writing to Eratosthenes, noticed the oddity in his own terms: in earlier letters he had compared conoids and spheroids with cones and cylinders, and none had come out equal to a solid with flat faces. This one does: two thirds of the cube around it. Heath’s edition of 1912 records his proof of it as lost.

A drilled ring depends only on its height 🖖

Press A drilled sphere. A sphere of radius 5 with a hole of radius 4 leaves a ring 6 tall, of volume 36π ≈ 113.0973. Before you drag R, decide whether a larger sphere should leave more ring. Make the sphere larger and the hole must widen to keep the ring 6 tall, and the volume does not move. At height z the slice is a washer from radius a out to √(R² − z²), of area π(R² − z² − a²), and the hole was chosen so that R² − a² = (h/2)². What is left, π((h/2)² − z²), has no R in it. That is the slice of a solid ball of diameter h, which is what The same ring, R = 3 shows: the hole closes and the ring is the whole ball. A ring 6 cm tall cut from a ball the size of the Earth contains exactly as much as a ball 6 cm across.

Take the curved solid out of its box and what is left has the volume of cones 🖖

Press Sphere out of its cylinder. The cylinder's slice is a disc of area πr² at every height and the ball's is π(r² − z²), so the difference is πz², the area of a slice of two cones meeting at the centre. Equal slices at every height give equal volumes, so cylinder minus ball has the volume of the two cones, 2πr³/3, and the ball is 2πr³ − 2πr³/3 = 4πr³/3, two thirds of its cylinder. Cube minus the common solid works the same way: its slice is a square frame of area 4r² − 4(r² − z²) = 4z², the area of a slice of two square pyramids, so it has their volume, 8r³/3, which leaves 16r³/3 for the solid without integrating anything harder than z². Archimedes asked for the sphere and its cylinder on his tomb, and in 75 BC Cicero found the grave in Sicily under brambles, by that figure on a small column. In China, Zu Geng (about 450 to 520) found the ball's volume by cutting a cube with cylinders and comparing the pieces slice by slice.

Learning path

Applications of integration

References (4)