AP Calculus BC • Applications of Integration

Volumes with Cross Sections: Squares and Rectangles

Build three-dimensional solids by stacking known cross-sectional shapes along an axis and computing their volumes with definite integrals.

AP Calculus BC illustration with summation, combined graphs, and an orbit
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The problem of computing volumes of irregular solids has fascinated mathematicians for over two millennia. Ancient Greek geometers developed ingenious exhaustion methods to approximate volumes that eluded straightforward formula-based computation. The core insight—slicing a solid into thin, manageable pieces and summing their contributions—is precisely the idea that modern cross-sectional volume integrals formalize with the power of the definite integral. Understanding this history reveals that the technique you are about to learn is not a mere textbook exercise but the culmination of a profound intellectual journey from geometric intuition to rigorous analysis.

~250 BCE • Archimedes' Method of Exhaustion

Archimedes computed the volume of a sphere by inscribing and circumscribing it with known solids, effectively slicing it into thin disks and bounding their total area—a precursor to integration by cross sections.

1635 • Cavalieri's Principle

Bonaventura Cavalieri proposed that two solids have equal volume if every parallel cross section has the same area, providing a rigorous geometric foundation for the slicing technique without requiring calculus.

1666–1676 • Newton & Leibniz Develop Calculus

The independent invention of the integral by Newton and Leibniz gave mathematicians the analytic machinery to compute exact volumes by integrating cross-sectional area functions over an interval.

1800s • Riemann Formalization

Bernhard Riemann's definition of the definite integral as a limit of sums placed the cross-section method on a firm analytical footing, confirming that the limit of summed thin slabs equals the exact volume.

The central question this lesson addresses is: given a region in the plane that serves as the base of a three-dimensional solid, and given that every cross section perpendicular to some axis has a known geometric shape (such as a square or rectangle), how do we compute the solid's exact volume? The answer lies in expressing the cross-sectional area as a function of position and integrating over the base.

SECTION 2

Core Principles & Definitions

The method of computing volumes by known cross sections rests on a small number of powerful ideas. Before diving into computations, it is essential to internalize these foundational principles, because every problem you encounter—regardless of the specific cross-sectional shape—reduces to the same workflow. The differences lie only in how you express the area function A(x) for the given geometry.

1

The Slicing Principle

A three-dimensional solid can be approximated by a stack of thin slabs. Each slab has thickness Δx and cross-sectional area A(x). As Δx → 0, the Riemann sum converges to the definite integral ∫A(x) dx, yielding the exact volume.
2

Base Region Determines Side Length

The base region, typically bounded by two curves y = f(x) and y = g(x), determines the side length of each cross section. For perpendicular slices at position x, the side length is s(x) = f(x) − g(x).
3

Square Cross Sections

When the cross sections are squares, the side length equals the distance across the base: s(x) = f(x) − g(x). The cross-sectional area is A(x) = [s(x)]² = [f(x) − g(x)]².
4

Rectangular Cross Sections

For rectangles, one dimension is the base distance s(x) = f(x) − g(x) while the other dimension h is specified (often as a constant multiple of s(x)). Thus A(x) = s(x) · h(x).
5

Direction of Slicing

Cross sections can be perpendicular to the x-axis (integrate with respect to x) or perpendicular to the y-axis (integrate with respect to y). The choice depends on how the problem is formulated and which setup simplifies the area function.
✦

KEY TAKEAWAY

Think of computing a cross-sectional volume like calculating the total material in a loaf of bread. If you know the area of every slice and the loaf's total length, you can integrate those slice areas along the length to find the total volume. The shape of the base tells you how wide each slice is; the type of cross section (square, rectangle, etc.) tells you the area formula to use for each slice. Once you have A(x), you simply integrate.

SECTION 3

Visual Explanation: Stacking Cross Sections

Visualization is paramount when working with cross-sectional volumes. The diagram below shows a planar base region bounded by two curves, with several representative square cross sections drawn perpendicular to the x-axis. Notice how the side length of each square varies with x, shrinking as the bounding curves converge and expanding where they diverge. This variable side length is precisely the function s(x) = f(x) − g(x), and the area of each square slab is [s(x)]².

Square Cross Sections on a Curved Basexyy = f(x)y = g(x)x₁x₂x₃abSide length s(x) = f(x) − g(x) varies with position
The shaded base region is bounded by y = f(x) (upper, cyan) and y = g(x) (lower, pink). Three representative square cross sections are shown at positions x₁, x₂, and x₃. The side length of each square equals the vertical distance f(x) − g(x) at that x-value.

Each thin slab at position x has volume approximately equal to A(x) Δx, where A(x) = [f(x) − g(x)]² for squares. Summing all such slabs from x = a to x = b and taking the limit as Δx → 0 produces the definite integral that gives the exact volume. The key geometric insight is that the two-dimensional base region completely determines the side length function, and therefore the entire volume, once the cross-sectional shape is specified.

SECTION 4

Mathematical Framework

The general volume formula by cross sections follows directly from the definition of the definite integral as a limit of Riemann sums. Suppose a solid lies between x = a and x = b, and at each x the cross section perpendicular to the x-axis has area A(x). Partition [a, b] into n subintervals of width Δx = (b − a)/n, and in each subinterval choose a sample point xk. The volume of the k-th slab is approximately A(xk) Δx, so the total volume is approximated by the sum Σ A(xk) Δx. In the limit as n → ∞, this Riemann sum converges to the definite integral.

GENERAL VOLUME BY CROSS SECTIONS

V=∫abA(x)dxV = ∫ₐᵇ A(x) dx

where A(x) is the area of the cross section perpendicular to the x-axis at position x, and [a, b] is the interval over which the solid extends.

SQUARE CROSS SECTIONS

V=∫ab[f(x)−g(x)]2dxV = ∫ₐᵇ [f(x) − g(x)]² dx

The side length of each square is s(x) = f(x) − g(x), where f(x) ≥ g(x) on [a, b]. The area of a square with side s is s², so A(x) = [f(x) − g(x)]².

RECTANGULAR CROSS SECTIONS (HEIGHT = k × BASE)

V=∫abk⋅[f(x)−g(x)]2dxV = ∫ₐᵇ k · [f(x) − g(x)]² dx

When the rectangle's height is k times its base width s(x), the area is A(x) = k · [s(x)]² = k · [f(x) − g(x)]². If the height is a fixed constant h, then A(x) = h · [f(x) − g(x)].

RECTANGULAR CROSS SECTIONS (FIXED HEIGHT h)

V=∫abh⋅[f(x)−g(x)]dxV = ∫ₐᵇ h · [f(x) − g(x)] dx

If every rectangular cross section has a fixed height h regardless of position, the area is simply A(x) = h · s(x). Notice this reduces to h times the area of the base region.

💡

Choosing the Axis of Integration

If the cross sections are perpendicular to the y-axis instead, replace x with y throughout: V = ∫ₐᵇ A(y) dy. The side length is then determined by the horizontal distance between the bounding curves at height y. Always read the problem statement carefully to determine the direction of slicing.

SECTION 5

Detailed Breakdown: Squares vs. Rectangles

Although the general slicing framework is the same for both squares and rectangles, the distinction lies in how the cross-sectional area function A(x) is formed. With square cross sections, both dimensions of the cross section are equal to the base distance s(x), so A(x) = [s(x)]². With rectangular cross sections, one dimension is s(x) while the other is specified by the problem—commonly as a fixed constant or as a scalar multiple of s(x). The diagram below contrasts these two cases side by side for the same base region.

Square vs. Rectangular Cross Sections (Same Base)Square Cross Sectionf(x)g(x)=0s(x)s(x)A(x) = [s(x)]²Rectangular Cross Section (h = 2s)f(x)g(x)=0s(x)2·s(x)A(x) = 2·[s(x)]²
Left: a square cross section where both the width and height equal s(x). Right: a rectangular cross section whose height is twice the base width s(x), so A(x) = 2[s(x)]². Both solids share the same parabolic base region.
PropertySquare Cross SectionRectangular Cross Section
Dimensions of cross sections(x) × s(x)s(x) × h(x), where h(x) is given
Area formula A(x)[s(x)]²s(x) · h(x)
Common h(x) formsN/A (all sides equal)h = constant, h = k · s(x), h = ½s(x)
Volume integral∫ₐᵇ [f(x) − g(x)]² dx∫ₐᵇ h(x) · [f(x) − g(x)] dx

Comparison of area formulas for square and rectangular cross sections

SECTION 6

Worked Example: Square Cross Sections

Consider the region R in the xy-plane bounded by y = √x and y = 0 from x = 0 to x = 4. A solid has base R, and every cross section perpendicular to the x-axis is a square. Find the volume of the solid.

Volume with Square Cross Sections

  1. 1

    Step 1 — Identify the base and side length

    The base region is bounded above by f(x) = √x and below by g(x) = 0 on the interval [0, 4]. At each x, the vertical distance across the base is s(x) = f(x) − g(x) = √x − 0 = √x. This distance is the side length of the square cross section at position x.
    s(x) = √x
  2. 2

    Step 2 — Write the cross-sectional area function

    Since the cross sections are squares with side length s(x), the area of each cross section is A(x) = [s(x)]² = (√x)² = x.
    A(x) = x
  3. 3

    Step 3 — Set up the definite integral

    The solid extends from x = 0 to x = 4, so the volume is V = ∫₀⁴ A(x) dx = ∫₀⁴ x dx.
    V = ∫₀⁴ x dx
  4. 4

    Step 4 — Evaluate the integral

    The antiderivative of x is x²/2. Evaluating from 0 to 4: V = [x²/2]₀⁴ = (4²/2) − (0²/2) = 16/2 − 0 = 8.
    V = 8 cubic units
💡

Rectangular Variation

If the same base region had rectangular cross sections with height equal to 3 times the base width, the area would be A(x) = 3[s(x)]² = 3x, and the volume would be V = ∫₀⁴ 3x dx = 3 × 8 = 24 cubic units. The constant multiple simply scales the result.

SECTION 7

Common Pitfalls & Exam Strategies

Cross-sectional volume problems are frequent on the AP Calculus BC exam, both in the multiple-choice and free-response sections. Recognizing common pitfalls and strategically avoiding them can be the difference between a correct solution and a frustrating algebraic error. The table below catalogs the most frequent mistakes and the corresponding best practices.

Common PitfallWhy It HappensHow to Avoid It
Forgetting to square the side length for squaresStudents write A(x) = f(x) − g(x) instead of [f(x) − g(x)]²Always write the area formula before integrating: A = s²
Confusing cross-section shape with base shapeThe base may be bounded by parabolas, but the cross section is a square or rectangleSketch both the base region and a representative cross section
Using the wrong axis of integrationCross sections perpendicular to y-axis require integrating with respect to yIdentify the slicing direction first; match the variable of integration
Incorrect limits of integrationUsing y-limits when integrating with respect to x, or vice versaFind the intersection points of the bounding curves in the correct variable
Misidentifying the rectangle's heightThe height may be a constant, a multiple of s(x), or a separate functionRe-read the problem and write h(x) explicitly before forming A(x)

Common pitfalls in cross-sectional volume problems and how to avoid them

🎯

EXAM STRATEGY

On the AP exam, cross-section problems often appear in Part B of the free-response section (no calculator). This means clean antiderivatives are expected. If your integral looks intractable, double-check your area formula—there is likely an algebraic simplification you missed. Also, always state the units: if the base is measured in meters, the volume is in cubic meters.

SECTION 8

Connection to Other Volume Methods

The cross-section method sits alongside two other major techniques for computing volumes in AP Calculus BC: the disk/washer method and the shell method. Understanding how these methods relate to each other deepens your conceptual flexibility and helps you choose the most efficient approach on exam day. All three are, at their core, special cases of the general slicing principle V = ∫A(x) dx; they differ only in the shape of the cross section and the geometry of the solid.

FeatureKnown Cross SectionsDisk/WasherShell
Type of solidArbitrary base; cross sections are specified shapes (squares, rectangles, triangles, semicircles, etc.)Solid of revolution; cross sections are circles or annuli (washers)Solid of revolution; uses cylindrical shells instead of planar cross sections
Area formulaDepends on shape: s², s·h, ½s², (π/2)(s/2)², etc.π[R(x)]² − π[r(x)]²2π · (radius) · (height)
When to useCross-sectional shape is explicitly stated in the problemRegion is revolved about an axis; slicing ⊥ to axis of revolution is convenientRegion is revolved about an axis; slicing ∥ to axis of revolution is more convenient

Comparison of the three main volume-by-integration techniques in AP Calculus

Looking beyond AP Calculus BC, the cross-section method generalizes naturally to multivariable calculus, where volumes of three-dimensional regions are computed as double or triple integrals. The single-variable technique you master here—determining a cross-sectional area as a function of one variable and integrating—serves as the conceptual template for iterated integrals in higher dimensions. Solids with more complex cross sections, including those defined by polar curves or parametric boundaries, build directly on the same slicing principle.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A solid has a base in the xy-plane, and every cross section perpendicular to the x-axis is a square. The base is bounded by the curves y = x² and y = x on [0, 1]. Which of the following expressions gives the volume of the solid?
  • A. ∫₀¹ (x − x²) dx
  • B. ∫₀¹ (x − x²)² dx
  • C. ∫₀¹ π(x − x²)² dx
  • D. ∫₀¹ (√x − x²)² dx
  • E. ∫₀¹ 2(x − x²) dx
Show answer (B)
The correct answer is B. The side length of each square cross section is s(x) = x − x² (since y = x ≥ y = x² on [0, 1]). For square cross sections, A(x) = [s(x)]² = (x − x²)², so V = ∫₀¹ (x − x²)² dx. Choice A gives ∫₀¹ (x − x²) dx, which computes the area of the base region, not the volume—it fails to square the side length. Choice C includes the factor π, which would apply to circular (disk) cross sections, not squares. Choice D uses (√x − x²)², which incorrectly replaces y = x with y = √x; those are different curves and yield a different integrand. Choice E computes ∫₀¹ 2(x − x²) dx, which would represent a rectangular cross section with height 2 rather than a square.

Question 2: BASIC CALCULATION

The base of a solid is the region enclosed by y = 4 − x² and the x-axis. Cross sections perpendicular to the x-axis are squares. What is the volume of the solid?
  • A. 256/15
  • B. 512/15
  • C. 32/3
  • D. 128/5
  • E. 64/3
Show answer (B)
The correct answer is B. The base extends from x = −2 to x = 2 (where 4 − x² = 0). The side length is s(x) = 4 − x², so A(x) = (4 − x²)² = 16 − 8x² + x⁴. The volume is V = ∫₋₂² (16 − 8x² + x⁴) dx. Using symmetry: V = 2∫₀² (16 − 8x² + x⁴) dx = 2[16x − 8x³/3 + x⁵/5]₀² = 2[32 − 64/3 + 32/5] = 2[(480 − 320 + 96)/15] = 2[256/15] = 512/15. Choice A (256/15) is half the correct answer—it neglects the factor of 2 from symmetry. Choice C (32/3) equals the area of the base region, not the volume. Choice D (128/5) results from an incorrect expansion or integration. Choice E (64/3) arises from forgetting to square the side length.

Question 3: INTERMEDIATE

The base of a solid is the region bounded by y = sin(x) and y = 0 on [0, π]. Cross sections perpendicular to the x-axis are rectangles whose height is 3 times the base width. Find the volume of the solid.
  • A. 3π/2
  • B. 3π/4
  • C. π/4
  • D. 6
  • E. 3
Show answer (A)
The correct answer is A. The base of the solid is the region between y = sin(x) and y = 0 on [0, π]. At each x, the cross section perpendicular to the x-axis is a rectangle whose base width equals sin(x) and whose height is 3 times the base width, giving h(x) = 3 sin(x). The cross-sectional area is A(x) = sin(x) · 3 sin(x) = 3 sin²(x). The volume is V = ∫₀π 3 sin²(x) dx. Applying the identity sin²(x) = (1 − cos(2x))/2: V = 3 ∫₀π (1 − cos(2x))/2 dx = (3/2) ∫₀π (1 − cos(2x)) dx = (3/2)[x − sin(2x)/2]₀π = (3/2)[(π − sin(2π)/2) − (0 − sin(0)/2)] = (3/2)(π − 0) = 3π/2.

Question 4: APPLIED

4 pts
A flood-control channel has a cross-sectional shape that varies along its length. Engineers model the channel base as the region between y = 0 and y = 6 − 2x for 0 ≤ x ≤ 3 (in meters). At each position x along the channel, the cross section perpendicular to the x-axis is a square. Set up and evaluate the integral that gives the volume of material that must be excavated. (a) Write the area function A(x). (b) Set up the definite integral for the volume. (c) Evaluate the integral. (d) Interpret your result in context.
Show answer
Point 1 (1 pt): A(x) = [6 − 2x]². The side length of the square cross section at position x is s(x) = (6 − 2x) − 0 = 6 − 2x, and for a square, A(x) = s(x)² = (6 − 2x)². Point 2 (1 pt): V = ∫₀³ (6 − 2x)² dx. The limits are x = 0 to x = 3, the interval over which the base region exists (since 6 − 2x = 0 when x = 3). Point 3 (1 pt): Expanding: (6 − 2x)² = 36 − 24x + 4x². V = ∫₀³ (36 − 24x + 4x²) dx = [36x − 12x² + (4/3)x³]₀³ = [108 − 108 + 36] − 0 = 36. Alternatively, use substitution u = 6 − 2x, du = −2 dx: V = ∫₆⁰ u² · (−1/2) du = (1/2)∫₀⁶ u² du = (1/2)[u³/3]₀⁶ = (1/2)(72) = 36. Point 4 (1 pt): The volume of material that must be excavated is 36 cubic meters. This represents the total three-dimensional space enclosed by the channel from its widest opening (6 m at x = 0) tapering to zero width at x = 3 m.Square sections over a triangular base. At x=1 the square has side 4 and area 16. The shown cutaway spans x=1 to 3; the full solid spans x=0 to 3 and has volume 36 m³.The square sections shrink with side 6−2 x; their areas integrate to 36 m³.Triangular base 0≤y≤6−2x, 0≤x≤3, with a width-4 section at x=1 and width zero at x=3.Triangular base 0≤y≤6−2x, 0≤x≤3, with a width-4 section at x=1 and width zero at x=3.

Question 5: CRITICAL THINKING

3 pts
Let R be the region in the first quadrant bounded by y = x², x = 0, and y = 4. A solid S₁ has base R with square cross sections perpendicular to the x-axis. A solid S₂ has the same base R but with square cross sections perpendicular to the y-axis. (a) Compute the volume of S₁. (b) Compute the volume of S₂. (c) Explain why the two volumes are different despite having the same base and the same cross-sectional shape.
Show answer
Point 1 (1 pt): For S₁, slicing perpendicular to the x-axis, the side length of each square cross section is the vertical distance from y = x² to y = 4, so s(x) = 4 − x². The cross-sectional area is A(x) = (4 − x²)² = 16 − 8x² + x⁴. Thus V₁ = ∫₀² (16 − 8x² + x⁴) dx = [16x − 8x³/3 + x⁵/5]₀² = 32 − 64/3 + 32/5 = (480 − 320 + 96)/15 = 256/15. Point 2 (1 pt): For S₂, slicing perpendicular to the y-axis, the side length of each square cross section is the horizontal distance from x = 0 to x = √y, so s(y) = √y. The cross-sectional area is A(y) = (√y)² = y. Thus V₂ = ∫₀⁴ y dy = [y²/2]₀⁴ = 16/2 = 8. Since V₁ = 256/15 and V₂ = 8 = 120/15, the two volumes are not equal. Point 3 (1 pt): The direction of slicing determines which distance serves as the side length of the square cross section. For S₁, the side length at position x is the vertical span s(x) = 4 − x², which decreases from 4 to 0 as x goes from 0 to 2, giving squared area (4 − x²)² integrated over [0, 2]. For S₂, the side length at height y is the horizontal span s(y) = √y, which increases from 0 to 2 as y goes from 0 to 4, giving squared area y integrated over [0, 4]. These side-length functions and their squares are fundamentally different, and they are integrated over different intervals. Even though both solids share the same base region R and both use square cross sections, the geometry of the slicing direction produces different cross-sectional areas, so the resulting volumes are different.

SUMMARY

Lesson Summary

Summary

Computing volumes with known cross sections relies on the slicing principle: express the cross-sectional area A(x) as a function of position and integrate over the base interval. For square cross sections, the area is A(x) = [f(x) − g(x)]², where f(x) − g(x) is the distance across the base at position x. For rectangular cross sections, one dimension is determined by the base distance and the other is specified by the problem, giving A(x) = s(x) · h(x). The volume integral is then V = ∫ₐᵇ A(x) dx.

The workflow is always the same: (1) sketch the base region and identify the bounding curves, (2) determine the side length function s(x) (or s(y) if slicing perpendicular to the y-axis), (3) write A(x) using the appropriate geometry formula, and (4) evaluate the definite integral. This technique connects to the disk/washer and shell methods for solids of revolution and extends naturally to multivariable integration in later courses.

Varsity Tutors • AP Calculus BC • Volumes with Cross Sections: Squares and Rectangles