Tutorials › Calculus I › Solids With Square Cross Sections

Work and Geometric Applications · Tutorial 1329 of 1495

Solids With Square Cross Sections

Translate the base region into square cross-sectional areas and use the slice principle to calculate the solid’s volume.

Advanced 11 min read

What You'll Learn

  • Identify the segment in the base that becomes a square’s side for a stated slice direction.
  • Express the side length using the appropriate pair of boundary curves.
  • Square the side length to obtain the cross-sectional area.
  • Set integral bounds from the base region and slice axis.
  • Calculate volumes using vertical and horizontal square slices.
  • Check units and distinguish side length from cross-sectional area.

From a Planar Base to a Solid

A solid can be described by specifying its planar base and the shape of each cross section. Here, every cross section is a square. The base tells us the length of a square’s side at each position; the square’s area then gives the area of the slice of the solid at that position.

The key is to match the slice direction to the way the base is described. A slice perpendicular to the \(x\)-axis runs across the base in the vertical direction, so its side length is a difference of \(y\)-coordinates. A slice perpendicular to the \(y\)-axis runs horizontally, so its side length is a difference of \(x\)-coordinates.

Once the side length has been found, the area is its square. Integrating these areas across the base gives the volume.

Side Length and Cross-Sectional Area

Suppose a base region lies between \(x=a\) and \(x=b\), and a slice perpendicular to the \(x\)-axis meets the base in a vertical segment. If the segment extends from \(y=g(x)\) to \(y=f(x)\), with \(f(x)\ge g(x)\) throughout the interval, its length is \(f(x)-g(x)\). When this segment is the side of a square, the square’s area is \([f(x)-g(x)]^2\).

For horizontal slices, suppose the base extends from \(y=c\) to \(y=d\), and a slice perpendicular to the \(y\)-axis runs from \(x=L(y)\) to \(x=R(y)\), with \(R(y)\ge L(y)\). Its length is \(R(y)-L(y)\), so the square’s area is \([R(y)-L(y)]^2\).

Definition: A solid has square cross sections perpendicular to an axis if every slice by a plane perpendicular to that axis is a square. The side length of each square is the length of the segment cut out of the planar base by that slice.

For a square of side length \(s\), the area is \(s^2\). Thus, if \(A(x)\) is the area of a slice perpendicular to the \(x\)-axis, the slice principle gives the volume by integrating \(A(x)\) across the interval of \(x\)-values occupied by the base. The corresponding statement holds for slices perpendicular to the \(y\)-axis.

Theorem: If the cross-sectional area \(A(x)\) is integrable for \(a\le x\le b\), the volume of the solid is $$ V=\int_a^b A(x)\,dx. $$ For square slices whose side length is \(s(x)\), this becomes $$ V=\int_a^b [s(x)]^2\,dx. $$ For slices perpendicular to the \(y\)-axis, with side length \(s(y)\) over \(c\le y\le d\), $$ V=\int_c^d [s(y)]^2\,dy. $$

The integrand is an area, while the differential represents a small distance along the slicing axis. Consequently, the integral has units of volume. If lengths are measured in metres, the result is measured in cubic metres.

Why Integrating Slice Areas Gives Volume

The square at one position has zero thickness, so its area alone is not a volume. Consider instead a thin slice of thickness \(\Delta x\). If its cross-sectional area is approximately \(A(x_i)\), its volume is approximately \(A(x_i)\Delta x\). Adding these estimates over a partition of the interval gives a Riemann sum. As the partition becomes finer, the sums approach the integral of the cross-sectional area.

1
Find a slice in the base.
At a fixed coordinate, identify the segment cut out by the base region.
2
Convert its length into a square area.
If the segment length is \(s\), the cross-sectional area is \(s^2\).
3
Add the slice volumes by integration.
Multiply each area by an infinitesimal thickness along the slicing axis and integrate across the full base.

This is the slice principle applied to square cross sections: the shape matters through its area formula, while the base and slice direction determine the side length and bounds.

Worked Examples

Worked Example: Squares Above a Square-Root Base Profile

The base region is bounded by \(y=\sqrt{x}\), the \(x\)-axis, and \(x=4\). Square cross sections are perpendicular to the \(x\)-axis. Find the volume.

At a fixed \(x\) between \(0\) and \(4\), the vertical segment in the base runs from \(y=0\) to \(y=\sqrt{x}\). Its length, and therefore the square’s side length, is

$$ s(x)=\sqrt{x}-0=\sqrt{x}. $$

The cross-sectional area is

$$ A(x)=[s(x)]^2=(\sqrt{x})^2=x. $$

The base begins at \(x=0\), where the curve meets the \(x\)-axis, and ends at \(x=4\). Therefore,

$$ V=\int_0^4 x\,dx =\left[\frac{x^2}{2}\right]_0^4 =\frac{16}{2}-0 =8. $$

To check the integration, differentiate the antiderivative: \(\frac{d}{dx}(x^2/2)=x\), which is the cross-sectional area function. The side length is nonnegative on the interval, and the resulting volume is positive. If the base lengths are in metres, the volume is \(8\text{ m}^3\).

Worked Example: Squares Between a Line and a Parabola

The base region is bounded above by \(y=4\) and below by \(y=x^2\), for \(-2\le x\le 2\). Square cross sections are perpendicular to the \(x\)-axis. Find the volume.

For each \(x\) in this interval, the vertical base segment runs from \(x^2\) to \(4\). The inequality \(x^2\le4\) holds throughout \([-2,2]\), so the side length is

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

Its square area is

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

Integrate over the full interval of \(x\)-values:

$$ \begin{aligned} V &=\int_{-2}^{2}(16-8x^2+x^4)\,dx\\ &=\left[16x-\frac{8x^3}{3}+\frac{x^5}{5}\right]_{-2}^{2}\\ &=\left(32-\frac{64}{3}+\frac{32}{5}\right) -\left(-32+\frac{64}{3}-\frac{32}{5}\right)\\ &=64-\frac{128}{3}+\frac{64}{5}\\ &=\frac{960-640+192}{15}\\ &=\frac{512}{15}. \end{aligned} $$

For a check, differentiate the antiderivative: $$ \frac{d}{dx}\left(16x-\frac{8x^3}{3}+\frac{x^5}{5}\right)=16-8x^2+x^4=(4-x^2)^2. $$ The derivative recovers the cross-sectional area. The side length is zero at \(x=-2\) and \(x=2\), and positive between them, consistent with a positive volume of \(\frac{512}{15}\) cubic units.

Worked Example: Horizontal Squares in a Parabolic Base

The base region is bounded by \(x=y^2\) and \(x=1\). Square cross sections are perpendicular to the \(y\)-axis. Find the volume.

The curves meet when \(y^2=1\), giving \(y=-1\) and \(y=1\). For a fixed \(y\) in this interval, a horizontal segment in the base runs from \(x=y^2\) to \(x=1\). The side length is

$$ s(y)=1-y^2. $$

The square area is

$$ A(y)=(1-y^2)^2=1-2y^2+y^4. $$

Because the slices are perpendicular to the \(y\)-axis, integrate with respect to \(y\):

$$ \begin{aligned} V &=\int_{-1}^{1}(1-2y^2+y^4)\,dy\\ &=\left[y-\frac{2y^3}{3}+\frac{y^5}{5}\right]_{-1}^{1}\\ &=\left(1-\frac23+\frac15\right) -\left(-1+\frac23-\frac15\right)\\ &=2-\frac43+\frac25\\ &=\frac{30-20+6}{15}\\ &=\frac{16}{15}. \end{aligned} $$

Differentiating the antiderivative gives \(1-2y^2+y^4=(1-y^2)^2\), as required. The side length is nonnegative on \([-1,1]\) and vanishes at both endpoints, so the bounds and positive volume are consistent.

Choosing the Side Length and Bounds

The slice direction determines which coordinate changes across a base segment. For slices perpendicular to the \(x\)-axis, hold \(x\) fixed and measure vertically: top curve minus bottom curve. For slices perpendicular to the \(y\)-axis, hold \(y\) fixed and measure horizontally: right boundary minus left boundary.

Slice orientationSegment in the baseSquare areaIntegration variable
Perpendicular to the \(x\)-axisVertical length \(f(x)-g(x)\)\([f(x)-g(x)]^2\)\(x\)
Perpendicular to the \(y\)-axisHorizontal length \(R(y)-L(y)\)\([R(y)-L(y)]^2\)\(y\)

The bounds cover the complete range of the coordinate along the slicing axis. They are not automatically the left and right endpoints of the region: for horizontal slices, the relevant bounds are the lowest and highest \(y\)-values. Likewise, the side length must describe the segment in the base, not a distance measured along the slicing axis.

A Common Mistake: Integrating Side Lengths

A frequent error is to integrate \(s(x)\) rather than the square area \(s(x)^2\). For the first example, that incorrect calculation would be

$$ \int_0^4\sqrt{x}\,dx =\left[\frac{2}{3}x^{3/2}\right]_0^4 =\frac{16}{3}. $$

This is not the volume: it integrates lengths over a length, rather than areas over a length. The square cross section has area \((\sqrt{x})^2=x\), so the correct calculation is

$$ \int_0^4(\sqrt{x})^2\,dx =\int_0^4x\,dx =8. $$

A useful check is dimensional: if \(s\) is measured in metres, then \(s\) has units of metres, while \(s^2\) has units of square metres. Integrating \(s^2\) with respect to a length gives cubic metres, the correct units for volume.

Why the Setup Matters

In these problems, the integration is often straightforward once the cross-sectional area is correct. The modelling work is deciding which segment of the base becomes the square’s side, writing its length in the correct order, and using bounds that cover the entire solid. A reversed difference can produce a negative side length even though a geometric length cannot be negative. Use top minus bottom for vertical segments and right minus left for horizontal segments, after checking which boundary is actually above or to the right.

Finally, the square area formula applies because the specified cross sections are squares. The planar base does not itself have to be square. Its role is to provide the side length at each slice; the square cross section then determines the area used in the volume integral.

Check Your Understanding

For each question, identify the base segment, the square area, and the appropriate integral before calculating.

  1. A base lies between \(y=3\) and \(y=x\) for \(0\le x\le3\). What is the side length for square slices perpendicular to the \(x\)-axis?
  2. A base lies between \(y=0\) and \(y=2-x^2\) for \(-\sqrt{2}\le x\le\sqrt{2}\). Write the volume integral for square slices perpendicular to the \(x\)-axis.
  3. A base lies between \(x=y^2\) and \(x=4\) for \(-2\le y\le2\). What is the side length for square slices perpendicular to the \(y\)-axis?
  4. Why does integrating the square’s side length alone fail to calculate volume?
  5. What units result when side lengths are measured in centimetres and the slices are integrated across a length measured in centimetres?

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