Tutorials › AP Calculus › Choosing Horizontal or Vertical Slices for Area

Analytical and BC Free Responses · Tutorial 964 of 999

Choosing Horizontal or Vertical Slices for Area

Compare vertical and horizontal slices to select area integrals that match a region’s boundaries and cover it exactly.

Advanced 10 min read

What You'll Learn

  • Identify upper and lower functions for vertical slices and right and left functions for horizontal slices
  • Set integration limits from the region’s full extent in the chosen direction
  • Decide when reversing the integration direction makes the setup simpler
  • Recognize when one direction requires splitting an integral
  • Check that each proposed slice stays within the intended region
  • Distinguish a specified half-region from the entire region

Why Slice Direction Matters

A bounded region can often be described in two ways: by vertical slices, which lead to integration with respect to \(x\), or by horizontal slices, which lead to integration with respect to \(y\). Both can give the same area, but the boundary functions and limits are different. A useful setup must describe the region accurately at every slice, not just use the right curves somewhere in the calculation.

Choosing a direction is therefore a geometric decision. Sketch or inspect the region, identify what each slice crosses first and last, and check whether those boundaries stay the same over the full range. If they do not, the setup may need to be split into separate integrals.

Key idea: For vertical slices, area is accumulated as “top minus bottom” over \(x\). For horizontal slices, it is accumulated as “right minus left” over \(y\). The limits must span the region in the direction of integration.

Describing an Area with Slices

A vertical slice at a particular \(x\) runs from a lower boundary \(y=g(x)\) to an upper boundary \(y=f(x)\). If those boundaries remain in that order for \(a\le x\le b\), the area is

$$ A=\int_a^b \bigl(f(x)-g(x)\bigr)\,dx. $$

A horizontal slice at a particular \(y\) runs from a left boundary \(x=u(y)\) to a right boundary \(x=v(y)\). If those boundaries remain in that order for \(c\le y\le d\), the area is

$$ A=\int_c^d \bigl(v(y)-u(y)\bigr)\,dy. $$

The word “top” or “right” refers to the position along the slice, not to which curve seems larger in a different coordinate direction. In particular, horizontal slices require boundary equations solved for \(x\) as functions of \(y\), when possible. A curve written as \(y=f(x)\) may need to be inverted to use it as a horizontal boundary.

Definition: A valid slice setup describes the intended region with the correct boundary functions at every value of the variable of integration. If the boundaries change, divide the range into intervals on which each formula is valid.

A Justification for the Two Setups

The slice formulas come from approximating the region with thin strips. For vertical slices, divide the interval from \(a\) to \(b\) into narrow pieces of width \(\Delta x\). Over one such piece, the strip’s height is approximately \(f(x)-g(x)\), so its area is approximately \((f(x)-g(x))\Delta x\). Adding the strips gives an approximation to the region’s area:

$$ \sum \bigl(f(x_i)-g(x_i)\bigr)\Delta x. $$

As the widths shrink toward zero, these sums approach the definite integral. The same reasoning applies to horizontal strips: a strip of thickness \(\Delta y\) has approximate width \(v(y)-u(y)\), giving the sum

$$ \sum \bigl(v(y_i)-u(y_i)\bigr)\Delta y. $$

Its limit is the integral with respect to \(y\). This also explains why changing slice direction does not change the area: each method adds the areas of thinner and thinner strips that fill the same region. The functions and limits differ because the strips cross the region in different directions.

Worked Example: Both Directions Give One Integral

Worked Example: Both Directions Give One Integral

Find the area bounded by \(y=x^2\) and \(y=2x\). First find where the curves intersect:

$$ x^2=2x \quad\Longrightarrow\quad x(x-2)=0 \quad\Longrightarrow\quad x=0 \text{ or } x=2. $$

For \(0<x<2\), \(2x-x^2=x(2-x)>0\), so the line is above the parabola. Vertical slices give

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

For horizontal slices, the curves must be written as \(x\) in terms of \(y\). From \(y=2x\), \(x=y/2\); from \(y=x^2\), the relevant branch is \(x=\sqrt y\), since the region lies at \(x\ge0\). The \(y\)-values run from \(0\) to \(4\). For \(0<y<4\), \(y/2<\sqrt y\), so the line is the left boundary and the parabola is the right boundary. Thus

$$ A=\int_0^4 \left(\sqrt y-\frac{y}{2}\right)\,dy =\left[\frac{2}{3}y^{3/2}-\frac{y^2}{4}\right]_0^4 =\left(\frac{2}{3}\cdot 8-4\right)-0 =\frac{4}{3}. $$

The two answers agree. As a direct check, the vertical integrand is positive between the intersection points, and both methods describe the region between the same two curves.

Choosing a Direction When One Setup Splits

A setup using one direction may require multiple integrals even when the other direction uses just one. The reason is that a slice can encounter different boundary curves in different parts of the region. The following example shows why checking the boundary at each slice matters.

Worked Example: Horizontal Slices Avoid a Split

Find the area enclosed by \(x=y^2\) and \(x=2-y\). Intersections satisfy

$$ y^2=2-y \quad\Longrightarrow\quad y^2+y-2=0 \quad\Longrightarrow\quad (y+2)(y-1)=0, $$

so \(y=-2\) or \(y=1\). For \(-2<y<1\), the horizontal slice runs from the parabola \(x=y^2\) on the left to the line \(x=2-y\) on the right. The area is one integral:

$$ \begin{aligned} A &=\int_{-2}^{1}\bigl((2-y)-y^2\bigr)\,dy\\ &=\left[2y-\frac{y^2}{2}-\frac{y^3}{3}\right]_{-2}^{1}\\ &=\left(2-\frac12-\frac13\right) -\left(-4-2+\frac83\right)\\ &=\frac76-\left(-\frac{10}{3}\right) =\frac76+\frac{20}{6} =\frac92. \end{aligned} $$

For vertical slices, solve \(x=y^2\) as \(y=\pm\sqrt{x}\). The region runs from \(x=0\) to \(x=4\). Its lower boundary is \(y=-\sqrt{x}\), but its upper boundary changes: it is \(y=\sqrt{x}\) from \(x=0\) to \(x=1\), then \(y=2-x\) from \(x=1\) to \(x=4\). To locate the change, solve \(\sqrt{x}=2-x\), with \(x\le2\); squaring gives \(x=(2-x)^2\), or \((x-1)(x-4)=0\), and only \(x=1\) satisfies \(x\le2\). Therefore

$$ \begin{aligned} A &=\int_0^1 \bigl(\sqrt{x}-(-\sqrt{x})\bigr)\,dx +\int_1^4 \bigl((2-x)-(-\sqrt{x})\bigr)\,dx\\ &=\int_0^1 2\sqrt{x}\,dx+\int_1^4(2-x+\sqrt{x})\,dx\\ &=\left[\frac43 x^{3/2}\right]_0^1 +\left[2x-\frac{x^2}{2}+\frac23x^{3/2}\right]_1^4\\ &=\frac43+\left(\frac{16}{3}-\frac{13}{6}\right)\\ &=\frac{8}{6}+\frac{19}{6} =\frac{27}{6} =\frac92. \end{aligned} $$

Both setups give \(9/2\). The horizontal setup is shorter because its left and right boundaries remain the same throughout the full \(y\)-range. For a check on the vertical setup, its first piece contributes \(4/3\), its second contributes \(19/6\), and their sum is \(9/2\), matching the horizontal result.

Check Which Region Is Intended

The curves alone do not always specify a requested portion of the plane. A prompt may ask for one half of a region, or for all the area enclosed by the curves. Make that choice explicit before setting limits. In particular, a line such as \(x=0\) does not automatically restrict a region to \(x\ge0\); that restriction must be part of the specified region.

Worked Example: A Specified Half and the Entire Region

The curves \(y=x^2\) and \(y=4\) enclose the region between \(x=-2\) and \(x=2\), since \(x^2=4\) gives \(x=-2\) and \(x=2\). If the question asks for the right-hand half, meaning the part with \(x\ge0\), vertical slices give

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

For the same half-region, horizontal slices run from \(x=0\) to \(x=\sqrt y\), with \(0\le y\le4\). Therefore

$$ A_{\text{right}} =\int_0^4(\sqrt y-0)\,dy =\left[\frac23y^{3/2}\right]_0^4 =\frac23\cdot8 =\frac{16}{3}. $$

If the question instead asks for the entire region enclosed by the two curves, the \(x\)-limits must include both sides. By symmetry, its area is

$$ A_{\text{entire}}=2\left(\frac{16}{3}\right)=\frac{32}{3}. $$

Thus the area of the specified right-hand half is \(16/3\), while the area of the entire enclosed region is \(32/3\). The boundary \(x=0\) is a cut dividing the full region into halves; it is not one of the two curves that enclose the full region.

A Practical Choice Strategy

When both directions are possible, the shorter integral is not automatically the correct one. First confirm that it represents the intended region; then compare the amount of boundary solving and splitting required. A reliable setup follows these checks:

1
Mark the region and its limits.
Find relevant intersections and identify any extra restriction, such as \(x\ge0\), that specifies only part of a larger region.
2
Test a vertical slice.
Identify its lower and upper boundaries, then check whether those boundaries stay the same from the leftmost to the rightmost point.
3
Test a horizontal slice.
Identify its left and right boundaries and check whether they stay the same from the bottom to the top.
4
Choose and verify.
Prefer a setup with clear boundaries and fewer pieces, then check that the limits and integrand describe every slice of the intended region.

A Common Mistake: Using the Wrong “Top” or “Right” Boundary

A common error is to subtract the functions in the order they were given instead of checking their position along the chosen slice. For example, on \(0<x<2\), \(y=x^2\) is below \(y=2x\). Writing

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

does not give a negative area; it shows that the subtraction order is reversed. The correction is to use upper minus lower:

$$ \int_0^2(2x-x^2)\,dx=\frac43. $$

Similarly, for horizontal slices the order is right minus left, not necessarily the same order as the curves were listed. If the proposed area is negative, check the order of the boundaries before proceeding.

Check Your Understanding

For each question, focus on how the slices match the region and whether the boundary functions stay consistent.

  1. For the region between \(y=x^2\) and \(y=2x\), which curve is the right boundary for horizontal slices?
  2. For the region enclosed by \(x=y^2\) and \(x=2-y\), why does a vertical-slice setup need two integrals?
  3. What information does the \(x\)-range provide in a vertical-slice area integral?
  4. If a prompt specifies the part of a region with \(x\ge0\), what should you check before using that restriction as an integration limit?
  5. For horizontal slices, which boundary is subtracted from which?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: 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