Tutorials › Calculus I › Solids With Rectangular Cross Sections

Work and Geometric Applications · Tutorial 1332 of 1495

Solids With Rectangular Cross Sections

Learn to turn a bounded base region and a rectangular height rule into a cross-sectional area function and a volume integral.

Advanced 9 min read

What You'll Learn

  • Identify the in-base side length of a rectangular cross section from a vertical slice.
  • Apply a constant, proportional, or position-dependent height rule.
  • Construct the area function and integrate it over the base region's interval.
  • Check that the dimensions and height rule define valid rectangular slices.
  • Verify a volume calculation by differentiating its antiderivative.
  • Recognize why treating every rectangle as a square gives the wrong model.

From a Base Region to Rectangular Slices

A solid can be described by the shapes of its cross sections, even when its full three-dimensional boundary is difficult to write down. For solids with rectangular cross sections, each slice is a rectangle. One side of that rectangle lies along a segment of a specified base region; the other side is determined by a height rule.

The key is to identify these two side lengths separately. The segment across the base is not automatically the height of the rectangle, and the rectangle is not necessarily a square. Once both lengths are expressed at each slice position, their product gives the cross-sectional area. Integrating those areas gives the volume.

Definition: Suppose slices are taken perpendicular to the \(x\)-axis. At position \(x\), let \(s(x)\) be the length of the segment in the base region and let \(h(x)\) be the specified perpendicular height of the rectangle. The cross-sectional area is $$ A(x)=s(x)h(x). $$ If the slices extend from \(x=a\) to \(x=b\), the volume is $$ V=\int_a^b A(x)\,dx=\int_a^b s(x)h(x)\,dx, $$ provided the cross sections define a bounded solid and the area function is integrable on \([a,b]\).

In a common setup, the base region is between \(y=f(x)\) and \(y=g(x)\), with \(f(x)\leq g(x)\) throughout the interval. A vertical slice has length \(s(x)=g(x)-f(x)\). The height rule then supplies the other side. For example, the rule might say that the height is a fixed constant, a specified multiple of the base segment, or a function of \(x\).

Building the Area Function

Before integrating, translate the geometry into a formula. Keep the base length and the height rule visible as separate factors until the area has been formed. This makes it easier to catch a wrong boundary order or a mistaken assumption that the rectangles are squares.

1
Specify the slice position and bounds.
For vertical slices, record the interval \(a\leq x\leq b\).
2
Find the in-base side.
Subtract the lower boundary from the upper boundary to obtain \(s(x)\).
3
Apply the height rule.
Write the rectangle's perpendicular height \(h(x)\) using the information specified in the problem.
4
Multiply and integrate.
Set \(A(x)=s(x)h(x)\), then integrate \(A(x)\) over the full interval.

The height must be a nonnegative length throughout the interval, as must the base length. If either is zero at an endpoint, the cross section there has zero area; this is consistent with the volume integral. If a proposed height formula becomes negative, it does not describe a physical height on that part of the interval and the model must be reconsidered.

Worked Example: Height Twice the Base Length

Worked Example: Height Twice the Base Length

Let the base region lie between \(y=0\) and \(y=2-x\), for \(0\leq x\leq 2\). At each \(x\), a cross section perpendicular to the \(x\)-axis is a rectangle whose height is twice the length of its base segment. Find the volume. All lengths are measured in meters, and coordinates in the formulas are their numerical values in meters.

The in-base segment runs from \(y=0\) to \(y=2-x\), so its length is

$$ s(x)=(2-x)-0=2-x. $$

The height rule gives

$$ h(x)=2s(x)=2(2-x). $$

Thus the rectangular area is

$$ A(x)=s(x)h(x)=(2-x)\,2(2-x)=2(2-x)^2. $$

Integrate from \(0\) to \(2\):

$$ \begin{aligned} V &=\int_0^2 2(2-x)^2\,dx\\ &=2\int_0^2(4-4x+x^2)\,dx\\ &=2\left[4x-2x^2+\frac{x^3}{3}\right]_0^2\\ &=2\left(8-8+\frac{8}{3}-0\right)\\ &=\frac{16}{3}\text{ m}^3. \end{aligned} $$

Check the antiderivative: the derivative of \(2(4x-2x^2+x^3/3)\) is \(2(4-4x+x^2)=2(2-x)^2\), the integrand. Also, \(s(x)\) and \(h(x)\) are nonnegative on \([0,2]\), as required. The volume is \(\frac{16}{3}\text{ m}^3\).

Why the Integral Gives the Volume

The formula follows by approximating the solid with thin slabs. If the interval \([a,b]\) is divided into small subintervals, a slab of thickness \(\Delta x_i\) near \(x=c_i\) has approximately the cross-sectional area \(A(c_i)\). Its approximate volume is \(A(c_i)\Delta x_i\). Adding the slab volumes gives a Riemann sum.

Derivation: For a continuous cross-sectional area function \(A\) on \([a,b]\), the volume is the limit of the slab sums as the largest subinterval width tends to zero: $$ V=\lim_{\max \Delta x_i\to 0}\sum_i A(c_i)\Delta x_i. $$ By the definition of the definite integral, this limit is $$ V=\int_a^b A(x)\,dx. $$ For rectangular slices, \(A(x)=s(x)h(x)\), so substituting the rectangle's area gives \(V=\int_a^b s(x)h(x)\,dx\). The approximation improves as the slabs become thinner; continuity ensures the area does not change abruptly within a sufficiently thin slab.

This reasoning explains why the height rule belongs inside the area function. The integral accumulates the areas of the cross sections, not just the widths of the base slices. A constant height can be factored out of the integral, but a height that varies with \(x\) must remain in the integrand.

Worked Example: Constant Rectangle Height

Worked Example: Constant Rectangle Height

The base region lies between \(y=0\) and \(y=4-x^2\), for \(-2\leq x\leq 2\). Cross sections perpendicular to the \(x\)-axis are rectangles with constant height \(1\) meter. Find the volume. Lengths are measured in meters.

The segment in the base has length

$$ s(x)=(4-x^2)-0=4-x^2. $$

The specified perpendicular side is \(h(x)=1\), so

$$ A(x)=(4-x^2)(1)=4-x^2. $$

Therefore,

$$ \begin{aligned} V &=\int_{-2}^{2}(4-x^2)\,dx\\ &=\left[4x-\frac{x^3}{3}\right]_{-2}^{2}\\ &=\left(8-\frac{8}{3}\right)-\left(-8+\frac{8}{3}\right)\\ &=\frac{16}{3}-\left(-\frac{16}{3}\right)\\ &=\frac{32}{3}\text{ m}^3. \end{aligned} $$

To check, differentiate the antiderivative \(4x-x^3/3\): its derivative is \(4-x^2\), the cross-sectional area. At \(x=-2\) and \(x=2\), the base length is zero; between them it is nonnegative. The result is \(\frac{32}{3}\text{ m}^3\).

Worked Example: A Position-Dependent Height

Worked Example: A Position-Dependent Height

Let the base region lie between \(y=x^2\) and \(y=x\), for \(0\leq x\leq 1\). At each \(x\), the cross section perpendicular to the \(x\)-axis is a rectangle whose height is \(1+x\) meters. Find the volume. Lengths are measured in meters.

On this interval, \(x^2\leq x\), so the base segment has length

$$ s(x)=x-x^2. $$

The height rule is \(h(x)=1+x\). Multiplying the side lengths gives

$$ \begin{aligned} A(x) &=(x-x^2)(1+x)\\ &=x+x^2-x^2-x^3\\ &=x-x^3. \end{aligned} $$

Now integrate over the base interval:

$$ \begin{aligned} V &=\int_0^1(x-x^3)\,dx\\ &=\left[\frac{x^2}{2}-\frac{x^4}{4}\right]_0^1\\ &=\left(\frac12-\frac14\right)-0\\ &=\frac14\text{ m}^3. \end{aligned} $$

The derivative of \(x^2/2-x^4/4\) is \(x-x^3\), confirming the integration. The base length is nonnegative on \([0,1]\), and the height \(1+x\) is positive there. Thus the volume is \(\frac14\text{ m}^3\).

A Common Mistake: Assuming the Rectangles Are Squares

A square is a special kind of rectangle, not the default cross section. In the first example the height was explicitly twice the base length. If we incorrectly use the square area \(s(x)^2\), we would calculate

$$ \int_0^2(2-x)^2\,dx = \left[4x-2x^2+\frac{x^3}{3}\right]_0^2 = \frac{8}{3}. $$

That is not the stated solid: it silently replaces the height \(2(2-x)\) with \(2-x\). The correct area is \(s(x)\cdot 2s(x)=2(2-x)^2\), so the correct volume is twice the incorrect value, \(\frac{16}{3}\text{ m}^3\). The correction is to read the height rule before writing the area.

Checks Before Finishing a Model

A reliable volume model keeps the geometry and the calculus connected. Before evaluating the integral, check the following:

  • The interval covers the entire base region for the chosen slices.
  • The base length is upper boundary minus lower boundary, and is nonnegative throughout.
  • The other rectangle side follows the stated height rule; it is not assumed equal to the base length.
  • The area is the product of the two side lengths, and the units are squared.
  • The definite integral accumulates area over the slice direction, producing cubic units.
  • The integrand and resulting volume are nonnegative for a bounded physical solid.

If the region or height rule is described in separate pieces, write the corresponding area formula on each piece and integrate each part over its own interval. The key modeling step remains the same: determine both sides of each rectangle at a slice position, then multiply them.

Check Your Understanding

For each question, identify the base length and height before forming an integral.

  1. A base region is between \(y=0\) and \(y=3-x\), for \(0\leq x\leq 3\). Each rectangular height is three times its base segment. What is the area function?
  2. If the base segment has length \(s(x)\) and the rectangular height is a constant \(c>0\), what integral gives the volume on \([a,b]\)?
  3. A base region is between \(y=x^2\) and \(y=2x\), for \(0\leq x\leq 2\). What is the in-base segment length?
  4. Why is \(s(x)^2\) not a valid area formula unless the height rule says the rectangle is a square?
  5. What units result when cross-sectional areas measured in square meters are integrated with respect to a coordinate measured in meters?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon