Tutorials › Calculus I › Deriving Area From Horizontal Slices

Area Between Curves · Tutorial 1207 of 1495

Deriving Area From Horizontal Slices

See why summing thin horizontal rectangles leads to integrating the right boundary minus the left boundary over the region’s vertical extent.

Intermediate 10 min read

What You'll Learn

  • Describe a region using its vertical extent and horizontal cross-sections.
  • Identify the left and right boundaries of each horizontal slice.
  • Derive the horizontal-slice area formula from rectangular sums.
  • State when continuity is sufficient and when Riemann integrability is enough.
  • Apply the formula to continuous and discontinuous slice widths.
  • Detect errors involving reversed boundaries or incorrect slice thickness.

Why Slice Horizontally?

A region’s area can be estimated by covering it with thin rectangles. If the rectangles run horizontally, each one has a small vertical thickness and a horizontal width determined by the region’s left and right boundaries. Adding these rectangle areas suggests a formula that integrates horizontal widths as the height changes.

This viewpoint is useful whenever a region is naturally described from left to right at each fixed height. The essential question is: for a given \(y\), where does the horizontal slice begin, and where does it end?

Describing the Region

Suppose a bounded plane region extends vertically from \(y=c\) to \(y=d\), where \(c<d\). At a height \(y\) in this interval, assume the horizontal cross-section of the region is the interval from \(x=L(y)\) to \(x=R(y)\), with \(L(y)\le R(y)\). Here \(L(y)\) is the left boundary and \(R(y)\) is the right boundary.

Definition: The horizontal width of the region at height \(y\) is \(R(y)-L(y)\). If this width is Riemann integrable on \([c,d]\), and the region is appropriately described by these horizontal cross-sections, its area is $$ A=\int_c^d \bigl(R(y)-L(y)\bigr)\,dy. $$

The expression \(R(y)-L(y)\) is a length: it measures how far the slice extends horizontally. The differential \(dy\) represents a small vertical thickness. Thus, width multiplied by thickness gives the approximate area of a thin horizontal strip.

Continuity of both \(L\) and \(R\) on \([c,d]\) is a convenient sufficient condition: it ensures that the width is continuous, and hence Riemann integrable. Continuity is not necessary. More generally, the width \(R-L\) may be discontinuous and still be Riemann integrable; in that case the integral gives the area when the region is described appropriately by its horizontal slices.

Deriving the Formula from Thin Rectangles

First consider the common case in which \(L\) and \(R\) are continuous on \([c,d]\). Divide the vertical interval into \(n\) subintervals. Write their endpoints as \(c=y_0<y_1<\cdots<y_n=d\), and let \(\Delta y_i=y_i-y_{i-1}\) be the thickness of the \(i\)-th horizontal strip.

Choose a sample height \(y_i^*\) in each subinterval. At that height, the region’s width is \(R(y_i^*)-L(y_i^*)\). A rectangle with that width and thickness \(\Delta y_i\) has area \(\bigl(R(y_i^*)-L(y_i^*)\bigr)\Delta y_i\). Adding these estimates gives a Riemann sum.

$$ \sum_{i=1}^{n} \bigl(R(y_i^*)-L(y_i^*)\bigr)\Delta y_i. $$

Why does this sum approach the region’s area? Within a thin strip, the left and right boundaries may move as \(y\) changes. But continuity on the closed interval means that both boundary functions are uniformly continuous. As the largest strip thickness becomes small, the movement of each boundary within every strip becomes small too. The rectangle taken at the sample height therefore differs from the actual portion of the region in that strip only by narrow slivers along its left and right edges.

More precisely, in the \(i\)-th strip, let \(\omega_{L,i}\) and \(\omega_{R,i}\) be the maximum changes in \(L\) and \(R\) across that subinterval. The total area of the boundary slivers is at most \((\omega_{L,i}+\omega_{R,i})\Delta y_i\). Consequently, the difference between the region’s area and the sum of the sample-rectangle areas is bounded by

$$ \sum_{i=1}^{n} (\omega_{L,i}+\omega_{R,i})\Delta y_i. $$

Uniform continuity makes the maximum boundary changes tend to zero as the largest subinterval length tends to zero. The displayed error bound therefore tends to zero. The sums converge to the Riemann integral of the width, which establishes the formula.

Result: If the region has horizontal cross-sections from \(x=L(y)\) to \(x=R(y)\) for \(c\le y\le d\), then, when the width \(R-L\) is Riemann integrable and the region is appropriately described by those slices, $$ A=\int_c^d \bigl(R(y)-L(y)\bigr)\,dy. $$ Continuity of \(L\) and \(R\) is sufficient, but not required.

Worked Examples

Worked Example: A Rectangle from Horizontal Slices

Find the area of the rectangle \(0\le x\le 3\), \(0\le y\le 2\) using horizontal slices.

At every height \(y\) between \(0\) and \(2\), the left boundary is \(L(y)=0\) and the right boundary is \(R(y)=3\). Thus the width is \(3-0=3\), and the vertical extent is \([0,2]\).

$$ \begin{aligned} A &=\int_0^2 (3-0)\,dy\\ &=\int_0^2 3\,dy\\ &=[3y]_0^2\\ &=3(2)-3(0)\\ &=6. \end{aligned} $$

Check: The horizontal and vertical side lengths are \(3\) and \(2\), so the rectangle’s area is \(3\cdot2=6\), agreeing with the integral. Also, the derivative of the antiderivative \(3y\) is \(3\), the integrand.

Worked Example: Between Two Curved Boundaries

Find the area of the region whose horizontal slices, for \(0\le y\le1\), run from \(x=y^2\) to \(x=y\).

On this interval, \(y^2\le y\), since \(y-y^2=y(1-y)\ge0\). Therefore the left boundary is \(L(y)=y^2\) and the right boundary is \(R(y)=y\). The width is \(y-y^2\).

$$ \begin{aligned} A &=\int_0^1 (y-y^2)\,dy\\ &=\left[\frac{y^2}{2}-\frac{y^3}{3}\right]_0^1\\ &=\left(\frac{1}{2}-\frac{1}{3}\right) -\left(0-0\right)\\ &=\frac{1}{6}. \end{aligned} $$

Check: The two boundaries meet at \(y=0\) and \(y=1\), and \(y\) is to the right of \(y^2\) for heights strictly between them, as required. Differentiating the antiderivative gives \(\frac{d}{dy}\left(\frac{y^2}{2}-\frac{y^3}{3}\right)=y-y^2\). The computed area is positive, consistent with the nonnegative slice widths.

Worked Example: A Discontinuous Slice Width

Consider a region with slices described as follows: for \(0\le y<\frac12\), each slice runs from \(x=0\) to \(x=1\); for \(\frac12\le y\le1\), each slice runs from \(x=0\) to \(x=2\). Find its area.

The width function is \(w(y)=1\) below \(1/2\) and \(w(y)=2\) from \(1/2\) onward. It has a jump discontinuity at \(y=1/2\), but a bounded function with just this one discontinuity is Riemann integrable. We can integrate on the two intervals separately; the value at the single dividing height does not affect the integral.

$$ \begin{aligned} A &=\int_0^{1/2}1\,dy+\int_{1/2}^1 2\,dy\\ &=[y]_0^{1/2}+[2y]_{1/2}^1\\ &=\left(\frac12-0\right)+\left(2-\!1\right)\\ &=\frac12+1\\ &=\frac32. \end{aligned} $$

Check: The lower part is a rectangle of width \(1\) and height \(1/2\), with area \(1/2\). The upper part has width \(2\) and height \(1/2\), with area \(1\). Their sum is \(1/2+1=3/2\), as computed. This example shows why continuity of the width is sufficient but not necessary.

Conditions and Interpretation

The formula depends on describing the region correctly. At each height in the stated vertical extent, the slice must run from the chosen left boundary to the chosen right boundary. If a region has more than one separate interval in a horizontal slice, one interval from a single \(L(y)\) to a single \(R(y)\) may include points outside the region. In that situation, describe the slice using its separate intervals and add their widths before integrating.

The condition \(L(y)\le R(y)\) ensures that each width is nonnegative. If the boundaries are accidentally reversed, the resulting integral may be negative. A negative value signals a signed difference in the wrong order, not a negative geometric area.

Also keep the integration variable and thickness consistent. Horizontal slices have vertical thickness \(dy\), so the integral is with respect to \(y\). The integrand is a horizontal length, \(R(y)-L(y)\). The product of these quantities has units of area.

A Common Mistake: Reversing the Boundaries

Suppose the boundaries in the curved example are \(x=y^2\) and \(x=y\) on \([0,1]\). A common error is to subtract the right boundary from the left and write

$$ \int_0^1 (y^2-y)\,dy = \left[\frac{y^3}{3}-\frac{y^2}{2}\right]_0^1 = \frac13-\frac12 = -\frac16. $$

This is wrong for geometric area because \(y^2\) is the left boundary and \(y\) is the right boundary on this interval. The correction is to use right minus left:

$$ \int_0^1 (y-y^2)\,dy=\frac16. $$

Before integrating, check the ordering of the boundaries at heights in the interval. A quick test at an interior value, such as \(y=\frac12\), gives \(y^2=\frac14<\frac12=y\), confirming which boundary is on the left and which is on the right.

Why the Slice Formula Matters

The formula is more than a way to calculate area. It expresses a geometric region as a continuous accumulation of one-dimensional widths. The sum of rectangle areas becomes an integral because the widths are sampled across the region’s vertical extent and the approximation error tends to zero.

This also explains the structure of the formula: right boundary minus left boundary gives the width, and integrating that width with respect to \(y\) adds the contributions from all heights. Keeping those geometric roles clear helps prevent sign, variable, and boundary-order errors.

Check Your Understanding

For each question, identify the horizontal width and explain the relevant condition before calculating.

  1. A region has left boundary \(x=1\), right boundary \(x=5\), and vertical extent \(2\le y\le4\). What integral gives its area?
  2. For \(0\le y\le2\), the left boundary is \(x=y\) and the right boundary is \(x=3\). Write the area integral, and explain why the widths are nonnegative.
  3. Does the horizontal-slice formula require both boundary functions to be continuous? State a more general integrability condition.
  4. A width function equals \(2\) on \(0\le y<1\) and \(4\) on \(1\le y\le3\). Write and evaluate the area integral.
  5. What does a negative value from integrating left boundary minus right boundary indicate about a geometric-area calculation?

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