Tutorials › Calculus I › Rectangular Cross-Sections With Variable Height Ratios

Volumes by Cross Sections · Tutorial 1239 of 1495

Rectangular Cross-Sections With Variable Height Ratios

Use the chord length and the stated height-to-base ratio to build the cross-sectional area, then integrate that area to find the volume.

Intermediate 11 min read

What You'll Learn

  • Identify the base chord used by each rectangular cross-section.
  • Translate a fixed or variable height-to-base ratio into a rectangle’s height.
  • Derive the cross-sectional area formula as the ratio times the chord length squared.
  • Set up volume integrals for vertical or horizontal slices.
  • Evaluate and check exact volumes, including examples with variable ratios.
  • Recognize and correct common errors involving ratios and cross-sectional area.

From a Base Chord to a Rectangle

A solid can be described by the shapes of its cross-sections. In this tutorial, each cross-section is a rectangle, and one side of the rectangle is a chord of a region in the coordinate plane. The other side, called the rectangle’s height here, is specified as a multiple of that chord. That multiple may be constant or may vary with the slice position.

The key is to find the chord length first. Once the chord is known, the stated height-to-base ratio determines the rectangle’s other side, and the rectangle’s area gives the integrand for the volume.

Definition: Suppose a slice at position \(x\) has chord length \(b(x)\), and the rectangle’s height is \(r(x)\) times its base. Then \(h(x)=r(x)b(x)\), and the cross-sectional area is \(A(x)=b(x)h(x)=r(x)b(x)^2\). The ratio must be nonnegative wherever the cross-section exists.

Finding the Chord and the Ratio

For vertical slices, the cross-section at \(x\) uses the vertical chord in the base region. If the region extends from a lower curve \(y=L(x)\) to an upper curve \(y=U(x)\), its chord length is

$$ b(x)=U(x)-L(x). $$

For horizontal slices, the chord runs horizontally. If its left and right endpoints are \(x=L(y)\) and \(x=U(y)\), its length is \(b(y)=U(y)-L(y)\). In either orientation, the base is a length in the coordinate plane; the rectangle’s height is the other length specified by the ratio.

Let \(r(x)\) denote the height-to-base ratio at \(x\). The statement “the height is three times the base,” for example, means \(r(x)=3\) and \(h(x)=3b(x)\). If the ratio is given by a function, such as \(r(x)=1+x/4\), use that function at each slice position. A ratio is dimensionless: it compares two lengths measured in the same units.

Important: The ratio multiplies the chord length to produce the rectangle’s height. It does not, by itself, give the height or the area. The area is \(r(x)b(x)^2\), not just \(r(x)b(x)\).

Why the Volume Integral Has This Form

At each position, the cross-section is a rectangle, so its area is its base times its height. Since the height is \(r(x)b(x)\), the area is \(r(x)b(x)^2\). To obtain volume, imagine dividing the solid into thin slices perpendicular to the \(x\)-axis. A slice of thickness \(\Delta x\) has approximate volume \(A(x)\Delta x\). Adding these contributions and taking the limit gives the definite integral of cross-sectional area.

$$ V=\int_a^b A(x)\,dx =\int_a^b r(x)b(x)^2\,dx. $$

This formula applies when the slices run from \(x=a\) to \(x=b\), the chord and ratio describe the rectangles throughout that interval, and the resulting area is integrable. For horizontal slices, use \(y\) as the variable and integrate with respect to \(y\). The integral adds areas times thickness, so its units are cubic units.

Derivation: At a fixed \(x\), the rectangle has side lengths \(b(x)\) and \(h(x)=r(x)b(x)\). Therefore \(A(x)=b(x)h(x)=b(x)[r(x)b(x)]=r(x)b(x)^2\). A thin slice of thickness \(\Delta x\) contributes approximately \(A(x)\Delta x\) to the volume. Summing such contributions over the interval and taking the limit gives \(V=\int_a^b A(x)\,dx=\int_a^b r(x)b(x)^2\,dx\).

Worked Examples

Worked Example: A Constant Height-to-Base Ratio

The base region is bounded by \(y=4-x^2\), \(y=0\), and the vertical lines \(x=-2\) and \(x=2\). Perpendicular to the \(x\)-axis, each cross-section is a rectangle whose height is twice its base. Find the volume.

At each \(x\), the vertical chord runs from \(y=0\) to \(y=4-x^2\). Thus

$$ b(x)=(4-x^2)-0=4-x^2, \qquad r(x)=2. $$

The cross-sectional area is therefore

$$ A(x)=2(4-x^2)^2 =2(16-8x^2+x^4) =32-16x^2+2x^4. $$

Integrate over the full interval:

$$ \begin{aligned} V &=\int_{-2}^{2}(32-16x^2+2x^4)\,dx\\ &=\left[32x-\frac{16x^3}{3}+\frac{2x^5}{5}\right]_{-2}^{2}\\ &=\left(64-\frac{128}{3}+\frac{64}{5}\right) -\left(-64+\frac{128}{3}-\frac{64}{5}\right)\\ &=128-\frac{256}{3}+\frac{128}{5}\\ &=\frac{1920-1280+384}{15} =\frac{1024}{15}. \end{aligned} $$

The volume is \(\frac{1024}{15}\) cubic units. To check the integration, differentiate the antiderivative: \(\frac{d}{dx}(32x-\frac{16x^3}{3}+\frac{2x^5}{5})=32-16x^2+2x^4=A(x)\). The chord is nonnegative on \([-2,2]\), so the computed area and volume have the expected nonnegative sign.

Worked Example: A Variable Ratio and a Square-Root Chord

The base region is bounded by \(y=\sqrt{x}\), \(y=0\), \(x=0\), and \(x=4\). Each cross-section perpendicular to the \(x\)-axis is a rectangle whose height is \(1+x/4\) times its base. Find the volume.

The vertical chord length and the ratio are

$$ b(x)=\sqrt{x}-0=\sqrt{x}, \qquad r(x)=1+\frac{x}{4}. $$

Consequently, the area simplifies because the chord is squared:

$$ A(x)=\left(1+\frac{x}{4}\right)(\sqrt{x})^2 =\left(1+\frac{x}{4}\right)x =x+\frac{x^2}{4}. $$

Now integrate from \(0\) to \(4\):

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

The volume is \(\frac{40}{3}\) cubic units. Differentiating the antiderivative gives \(\frac{d}{dx}(\frac{x^2}{2}+\frac{x^3}{12})=x+\frac{x^2}{4}=A(x)\). Also, on \(0\leq x\leq4\), both the chord and the ratio are nonnegative, as required.

Worked Example: A Chord Between Two Curves

The base region lies between \(y=x\) and \(y=x^2\) for \(0\leq x\leq1\). Each cross-section perpendicular to the \(x\)-axis is a rectangle whose height is \(2-x\) times its base. Find the volume.

On this interval, \(x\geq x^2\), so \(y=x\) is the upper curve and \(y=x^2\) is the lower curve. Hence

$$ b(x)=x-x^2, \qquad r(x)=2-x. $$

Square the chord and multiply by the ratio:

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

Integrating term by term gives

$$ \begin{aligned} V &=\int_0^1(2x^2-5x^3+4x^4-x^5)\,dx\\ &=\left[\frac{2x^3}{3}-\frac{5x^4}{4}+\frac{4x^5}{5}-\frac{x^6}{6}\right]_0^1\\ &=\frac{2}{3}-\frac{5}{4}+\frac{4}{5}-\frac{1}{6}\\ &=\frac{40-75+48-10}{60} =\frac{3}{60} =\frac{1}{20}. \end{aligned} $$

The volume is \(\frac{1}{20}\) cubic units. The derivative of the displayed antiderivative is \(2x^2-5x^3+4x^4-x^5\), which matches \(A(x)\). On the stated interval, the chord \(x-x^2\) and ratio \(2-x\) are both nonnegative.

A Common Mistake: Using the Ratio as the Height

A ratio tells how the height compares with the base. It is not the height itself. In the square-root example, the ratio is \(1+x/4\), but the chord is \(\sqrt{x}\). The actual rectangle height is \((1+x/4)\sqrt{x}\), so its area is \((1+x/4)(\sqrt{x})^2\).

A wrong calculation would treat \(1+x/4\) as the height and write \(A(x)=(1+x/4)\sqrt{x}\). That would give

$$ \begin{aligned} V_{\text{wrong}} &=\int_0^4\left(1+\frac{x}{4}\right)\sqrt{x}\,dx\\ &=\left[\frac{2}{3}x^{3/2}+\frac{1}{10}x^{5/2}\right]_0^4\\ &=\frac{16}{3}+\frac{16}{5} =\frac{128}{15}, \end{aligned} $$

but this uses the ratio as a length and omits a factor of the chord. The correction is to calculate \(h(x)=r(x)b(x)\) first, then multiply the base by that height. The correct area is \(r(x)b(x)^2\), giving the volume \(\frac{40}{3}\) cubic units.

A Reliable Setup

Before integrating, check that the geometry has been translated correctly:

  • Identify whether slices are vertical or horizontal, and use the corresponding coordinate as the integration variable.
  • Find the chord by subtracting the lower endpoint from the upper endpoint, or the left endpoint from the right endpoint.
  • Write the height as the stated ratio times the chord.
  • Form the rectangular area by multiplying the chord by that height.
  • Integrate the cross-sectional area over the interval of slice positions.

In particular, the squared chord in \(A=r b^2\) arises because the chord appears once as the rectangle’s base and again as part of its height. Keeping the base, height, and ratio distinct prevents many setup errors.

Check Your Understanding

For each question, identify the chord and ratio before forming a volume integral.

  1. A vertical chord has length \(3-x\), and the rectangle’s height is four times its base. What is the cross-sectional area at \(x\)?
  2. A base region has vertical chord \(b(x)=x^2\), and the height-to-base ratio is \(r(x)=1+x\) on \(0\leq x\leq1\). Write the volume integral.
  3. For a horizontal slice, the chord runs from \(x=y^2\) to \(x=2\). What is its length?
  4. Why does the area formula contain the square of the chord length?
  5. What is the error in using the ratio alone as the rectangle’s height?

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