Learning Objectives
By the end of this section, you will be able to:
- Understand the slicing method for computing volumes of solids with known cross-sections
- Derive the area function for various cross-section shapes: squares, semicircles, triangles
- Set up and evaluate volume integrals
- Choose the appropriate axis of integration based on the problem geometry
- Apply Cavalieri's Principle to compare volumes of different solids
- Connect the cross-section method to numerical integration and 3D printing applications
The Big Picture: Building Solids Layer by Layer
"Every solid is a stack of infinitesimally thin slices, each contributing its area to the whole."
In previous sections, we computed volumes of solids of revolution using disks, washers, and shells. But what if our solid is not a surface of revolution? What if we simply know the shape of each cross-section?
This is precisely the situation in many real-world problems:
🏗️ Engineering
- Bridge deck volumes with varying cross-section
- Airplane fuselage design
- Ship hull calculations
- Structural beam analysis
🖨️ 3D Printing
- Layer-by-layer construction
- Material estimation
- Print time calculation
- Supports and infill volume
🏥 Medical Imaging
- Organ volume from CT/MRI slices
- Tumor size estimation
- Blood vessel analysis
- Prosthetic design
🎮 Computer Graphics
- Constructive solid geometry
- Volume rendering
- Collision detection
- Physics simulation
The Central Question
Given a solid where we know the cross-sectional area at each position along an axis, how do we find the total volume?
The answer: integrate the area function. Each thin slice of thickness contributes volume , and we sum all these contributions.
Historical Context: From Archimedes to Modern Slicing
Cavalieri and the Method of Indivisibles (1635)
The Italian mathematician Bonaventura Cavalieri (1598–1647) developed the method of indivisibles, a precursor to integral calculus. His fundamental insight: two solids with equal cross-sectional areas at every height have equal volumes.
This principle, now called Cavalieri's Principle, was revolutionary. It allowed comparison of volumes without computing them explicitly — if you can show two solids always have the same cross-sectional area, they must have the same volume.
Newton and Leibniz: Making It Rigorous
The cross-section method became fully rigorous with the development of integral calculus by Newton and Leibniz. What Cavalieri described intuitively — slicing and summing — became the precise operation of integration.
Modern Applications
The cross-section method is fundamental to computed tomography (CT). A CT scanner takes X-ray "slices" of the body, and software reconstructs the 3D volume by integrating these cross-sections — exactly the mathematical method we'll develop!
The Slicing Method: The General Formula
Consider a solid that extends from to along the x-axis. At each position , the cross-section perpendicular to the x-axis has area .
Step 1: Slice the Solid
Divide the interval into subintervals, each of width .
Step 2: Approximate Each Slice as a Slab
The -th slice is approximately a slab with:
- Cross-sectional area (evaluated at some sample point )
- Thickness
The volume of this slab is approximately:
Step 3: Sum All Slabs
The total volume is approximately the Riemann sum:
Step 4: Take the Limit
As (equivalently, as ), the Riemann sum becomes a definite integral:
The Key Insight
The formula works for any solid where is a known, integrable function. The cross-sections don't need to be circles — they can be squares, triangles, or any shape whose area you can express in terms of .
Cross-Section Area Formulas
To use the cross-section method, we need to express the area as a function of position. Here are the common shapes:
| Cross-Section Shape | If Side/Diameter/Base = s | Area Formula |
|---|---|---|
| Square | Side = s | A = s² |
| Rectangle (h × w) | Height h, width w | A = hw |
| Circle | Diameter = s | A = π(s/2)² = πs²/4 |
| Semicircle | Diameter = s | A = π(s/2)²/2 = πs²/8 |
| Equilateral Triangle | Side = s | A = (√3/4)s² |
| Isosceles Right Triangle | Legs = s | A = s²/2 |
| Regular Hexagon | Side = s | A = (3√3/2)s² |
Finding the Side Length s(x)
The crucial step is determining — the characteristic dimension of the cross-section at position .
Common Scenarios:
Case 1: Cross-sections span between two curves and
Case 2: Cross-sections span the width of a region in the xy-plane
For a circular base :
Case 3: Side length given directly as a function
If the problem states "square cross-sections with side "
Interactive 3D Cross-Section Explorer
Use the interactive visualization below to explore how different cross-section shapes create different solids. Adjust the number of slices to see how the Riemann sum approximation converges to the exact volume.
Square Cross-Sections (Parabola Base)
Square cross-sections perpendicular to x-axis, with side equal to vertical distance between y = √x and y = -√x
| Metric | Value |
|---|---|
| Riemann Sum Approximation (n = 10) | 32.000000 |
| Exact Volume (by integration) | 32.000000 |
| Error | 0.000000 (0.00%) |
The volume is found by "stacking" infinitely thin cross-sections. Each slice contributes to the total volume. As slices become infinitely thin, the Riemann sum becomes the definite integral .
Try This
- • Drag to rotate the 3D view and see the cross-sections from different angles
- • Increase the number of slices and watch the approximation improve
- • Use the highlight slider to see individual cross-sections
- • Switch between different solids to see how cross-section shape affects volume
Worked Examples
Example 1: Square Cross-Sections on a Parabolic Base
Problem: Find the volume of the solid whose base is the region bounded by and for , and whose cross-sections perpendicular to the x-axis are squares.
Step 1: Identify the side length of each square cross-section.
At position , the square's side spans from to :
Step 2: Compute the area function.
Step 3: Set up and evaluate the integral.
Answer: The volume is cubic units.
Example 2: Semicircular Cross-Sections on a Circular Base
Problem: The base of a solid is the disk . Cross-sections perpendicular to the x-axis are semicircles with diameter along the base. Find the volume.
Step 1: Find the diameter of each semicircle.
At position , the circle gives .
Step 2: Compute the semicircle area.
Step 3: Set up and evaluate the integral.
Answer: The volume is cubic units.
Example 3: Equilateral Triangle Cross-Sections
Problem: Find the volume of the solid with base in the first quadrant bounded by , , and , and with equilateral triangle cross-sections perpendicular to the x-axis.
Step 1: The base of each triangle is the line segment from to .
Step 2: Area of equilateral triangle with side :
Step 3: Evaluate the integral.
Answer: The volume is cubic units.
Cross-Sections Perpendicular to the y-axis
Sometimes it's more natural to take cross-sections perpendicular to the y-axis. In this case, we integrate with respect to :
Example 4: Square Cross-Sections Perpendicular to y-axis
Problem: The base is bounded by and . Cross-sections perpendicular to the y-axis are squares. Find the volume.
Step 1: Express in terms of .
From , we get . The base spans from to .
Step 2: Area function.
Step 3: Integrate with respect to from 0 to 1.
Answer: The volume is cubic units.
Cavalieri's Principle
Cavalieri's Principle provides a powerful way to compare volumes without computing integrals:
If two solids have the same height, and at every level the cross-sectional areas are equal, then the two solids have equal volumes.
Mathematically: If for all , then .
Classic Application: Sphere vs. Cylinder-Minus-Cone
Consider a hemisphere of radius sitting on a table, and a cylinder of radius and height with an inverted cone removed from it.
At height :
- Hemisphere: Cross-section is a circle of radius , area =
- Cylinder minus cone: Outer circle has area , cone hole has radius , so net area =
Since the areas match at every height, by Cavalieri's Principle:
This is exactly the known formula for a hemisphere — and we derived it without computing any integrals!
Real-World Applications
3D Printing: Layer-by-Layer Construction
3D printers build objects layer by layer, which is a direct physical implementation of the cross-section method. Each layer has a certain cross-sectional area, and the total material used is:
Slicing software uses exactly this principle to estimate print time and material consumption.
Medical Imaging: CT Scan Volume Reconstruction
A CT scanner takes hundreds of cross-sectional images (slices) of the body. To estimate the volume of an organ or tumor:
- Identify the organ boundary in each slice (segmentation)
- Calculate the area of the organ in slice
- Sum: where is slice thickness
Civil Engineering: Earthwork Calculations
When designing roads, engineers must estimate the volume of earth to be moved (cut and fill). They survey cross-sections at intervals along the road alignment, then integrate to find total volume.
Machine Learning Connections
Volume Rendering in Deep Learning
Neural Radiance Fields (NeRF) and related 3D reconstruction methods use volume rendering, which involves integrating properties along rays:
This is mathematically identical to cross-section integration — we're summing contributions along a path through a 3D volume.
Probability Distributions: Marginalizing Over Variables
In Bayesian inference, integrating over a variable is analogous to summing cross-sections:
Each "slice" of the joint distribution at a fixed contributes to the marginal distribution — the same conceptual framework as volume by cross-sections.
Python Implementation
Computing Volumes Numerically
3D Visualization
Common Pitfalls
Pitfall 1: Choosing the Wrong Axis
Make sure your cross-sections are perpendicular to the axis of integration. If cross-sections are perpendicular to the x-axis, integrate with respect to . If perpendicular to the y-axis, integrate with respect to .
Pitfall 2: Confusing Side Length with Area
Don't forget to square (or apply the correct area formula) to convert from side length to area. If , then for squares, , not .
Pitfall 3: Incorrect Bounds of Integration
The bounds must correspond to where the solid starts and ends along the axis of integration. For a circular base with cross-sections perpendicular to x-axis, the bounds are to .
Check Your Setup
Before integrating, verify:
- Which axis are cross-sections perpendicular to?
- What is the shape of each cross-section?
- What dimension varies with position (side, diameter, base)?
- What are the correct bounds of integration?
Test Your Understanding
What is the general formula for finding volume using cross-sections perpendicular to the x-axis?
Summary
The cross-section method provides a general framework for computing volumes when we know the shape of each cross-section. This approach is more flexible than disks/washers/shells because it applies to solids that are not surfaces of revolution.
Key Concepts
| Concept | Description |
|---|---|
| Slicing Method | Divide solid into thin slabs, sum contributions A(x)·dx |
| Volume Formula | V = ∫ A(x) dx where A(x) is cross-sectional area |
| Area Functions | Square: s², Circle: πs²/4, Semicircle: πs²/8, Eq. Triangle: (√3/4)s² |
| Cavalieri's Principle | Equal cross-sections at all heights ⟹ equal volumes |
| Integration Axis | Cross-sections perpendicular to x-axis ⟹ integrate dx |
Problem-Solving Strategy
- Identify the base region and the shape of cross-sections
- Determine the dimension that varies (side length, diameter, etc.)
- Express the area as a function of position
- Set up the integral with correct bounds
- Evaluate using integration techniques or numerical methods
Coming Next: In the next section, we'll explore Arc Length — using integration to measure the length of curves, another fundamental application of "slicing and summing."