01 / 21

Cross Sections:
Squares & Rectangles

Learn to compute volumes of solids by integrating the areas of square and rectangular cross sections perpendicular to an axis.

Calculus 2

What Is a Cross Section?

Imagine slicing a loaf of bread. Each individual slice is a cross section: a flat 2D shape revealed when you cut through a 3D solid along a plane. In calculus, we use this idea to build up volumes from infinitely many infinitely thin slices.

x Base region Cross section 3D Solid Stack slices → Volume

The Volume Formula

For a solid whose cross-sectional area at position \(x\) is \(A(x)\), the volume from \(x = a\) to \(x = b\) is:

This works for any cross-sectional shape: squares, rectangles, semicircles, equilateral triangles, etc. Today we focus on squares and rectangles.

Why Squares & Rectangles?

Square Cross Sections
The side length equals the distance across the base region. Area: \(A(x) = s(x)^2\).
Rectangular Cross Sections
One dimension comes from the base, the other is a given function or ratio. Area: \(A(x) = w(x) \cdot h(x)\).

Square Cross Sections: The Formula

When every cross section perpendicular to the \(x\)-axis is a square, the side length of that square equals the vertical distance across the base region at that \(x\)-value:

\(s(x)\)
\(s(x)\)
\(s(x)\)
x
\(y = f(x)\)
\(y = g(x)\)
Square slice

Rectangular Cross Sections

When each cross section is a rectangle, one dimension (the width) comes from the base region, and the height is given separately: often as a multiple of the width, or as a fixed constant.

\(w(x)\)
\(w(x)\)
\(h(x)\)
Rectangle slice

Square vs. Rectangle: Key Distinction

Square Cross Sections Rectangular Cross Sections
Side / Width \(s = f(x) - g(x)\) \(w = f(x) - g(x)\)
Height \(s = f(x) - g(x)\) \(h(x)\) (given separately)
Area \(A(x)\) \(\bigl[f(x)-g(x)\bigr]^2\) \(w(x) \cdot h(x)\)
Key detail Both dimensions are equal Must read how height is defined

How to Apply the Method

1
Sketch the base region. Identify the bounding curves \(y = f(x)\) and \(y = g(x)\), and find the interval \([a,b]\) where they intersect.
2
Express the cross-section dimension. The width/side at each \(x\) is \(f(x) - g(x)\) (top minus bottom).
3
Write the area formula. Square: \(A(x) = [f(x)-g(x)]^2\). Rectangle: \(A(x) = w(x) \cdot h(x)\).
4
Set up and evaluate the integral. Compute \(\displaystyle V = \int_a^b A(x)\,dx\).

Example 1: Square Cross Sections

The base of a solid is the region bounded by \(y = \sqrt{x}\) and \(y = 0\) from \(x = 0\) to \(x = 4\). Cross sections perpendicular to the \(x\)-axis are squares. Find the volume.

\(\sqrt{x}\)
\(y = \sqrt{x}\)
x y 1 2 3 4

Example 1: Solution

1
Side length: \(s(x) = \sqrt{x} - 0 = \sqrt{x}\)
2
Cross-sectional area: \(A(x) = \bigl[\sqrt{x}\bigr]^2 = x\)
3
Integrate: \(\displaystyle V = \int_0^4 x\,dx = \left[\frac{x^2}{2}\right]_0^4 = \frac{16}{2} = 8\)

Example 2: Two Bounding Curves

The base is the region between \(y = x^2\) and \(y = x\) on \([0,1]\). Cross sections perpendicular to the \(x\)-axis are squares. Find the volume.

\(s(x)\)
\(y = x\)
\(y = x^2\)
x y 1 1

Example 2: Solution

1
Side length: \(s(x) = x - x^2\)
2
Area: \(A(x) = (x - x^2)^2 = x^2 - 2x^3 + x^4\)
3
Integrate: \(\displaystyle V = \int_0^1 (x^2 - 2x^3 + x^4)\,dx\)
4
Evaluate: \(\displaystyle = \left[\frac{x^3}{3} - \frac{x^4}{2} + \frac{x^5}{5}\right]_0^1 = \frac{1}{3} - \frac{1}{2} + \frac{1}{5} = \frac{10 - 15 + 6}{30} = \frac{1}{30}\)

Example 3: Rectangular Cross Sections

The base is the region under \(y = 1 - x^2\) from \(x = -1\) to \(x = 1\). Cross sections perpendicular to the \(x\)-axis are rectangles whose height is 3 times the base width. Find the volume.

\(w(x)\)
\(y = 1 - x^2\)
-1 1 1

Example 3: Solution

1
Width: \(w(x) = (1-x^2) - 0 = 1 - x^2\)
2
Height: \(h(x) = 3(1 - x^2)\)
3
Area: \(A(x) = (1-x^2) \cdot 3(1-x^2) = 3(1-x^2)^2\)
4
Integrate: \(\displaystyle V = 3\int_{-1}^{1}(1-x^2)^2\,dx = 3\int_{-1}^{1}(1-2x^2+x^4)\,dx\)
5
Evaluate: \(\displaystyle = 3\left[x - \frac{2x^3}{3} + \frac{x^5}{5}\right]_{-1}^{1} = 3 \cdot 2\left(1 - \frac{2}{3} + \frac{1}{5}\right) = 6 \cdot \frac{8}{15} = \frac{16}{5}\)

Common Mistakes

✕ Forgetting to Square
For square cross sections, the area is \([f(x)-g(x)]^2\), not just \(f(x)-g(x)\). You need to square the entire expression.
✕ Wrong Subtraction Order
Always subtract: top minus bottom (or right minus left). A negative side length means you have the curves reversed.
✕ Confusing Shape Type
Read carefully: "squares" vs. "rectangles with height twice the base" produce very different area formulas and different answers.

Summary Table

Step Square Rectangle (height = k × width)
1. Find limits Intersection points of curves Intersection points of curves
2. Side / Width \(s = f(x) - g(x)\) \(w = f(x) - g(x)\)
3. Area \([f(x)-g(x)]^2\) \(k[f(x)-g(x)]^2\)
4. Volume \(\displaystyle \int_a^b [f-g]^2\,dx\) \(\displaystyle k\int_a^b [f-g]^2\,dx\)
Key difference No extra constant Multiplier \(k\) scales volume

Question 1 of 5

The base of a solid is the region under \(y = x\) from \(x=0\) to \(x=3\). Cross sections perpendicular to the \(x\)-axis are squares. What is the volume?

Question 2 of 5

The base is bounded by \(y = \sqrt{x}\) and \(y = 0\) on \([0,4]\). Cross sections are rectangles with height equal to twice the base width. What is \(A(x)\)?

Question 3 of 5

The base is the region between \(y = 4 - x^2\) and \(y = 0\). Cross sections perpendicular to the \(x\)-axis are squares. Which integral gives the volume?

Question 4 of 5

A solid has base between \(y = x\) and \(y = x^2\) on \([0,1]\). Cross sections are rectangles with height 5 times the width. If the volume with square cross sections is \(\frac{1}{30}\), what is the volume with these rectangles?

Question 5 of 5

Which statement correctly distinguishes cross-section volumes from disk/washer volumes?