Area using horizontal slices
Topic 8.4 found the area between two curves with vertical slices: it integrated the upper function minus the lower function with respect to \(x\). Some regions are easier to cut into horizontal strips. A parabola that opens to the side is not the graph of a function of \(x\), because a vertical line can cross it twice. A region whose top is made of two curves needs two integrals with vertical slices. This topic adds the areas of horizontal strips with an integral in \(y\).
Slices across the region
A region shaped like a leaf between two curves, x = g of y on the left and x = f of y on the right. The curves meet at a lower point and an upper point, and faint dashed lines from the y-axis mark their heights c and d. An orange horizontal slice lies across the region at height y, with an orange dot at each end and an orange handle on the y-axis. Buttons cut the region into thin horizontal strips, make the strips thinner, and subtract in the other order, which turns the region, the strips and the slice red.
In Figure 1, the shaded region lies between the curves \(x=g(y)\) on the left and \(x=f(y)\) on the right. The curves meet at the heights \(c\) and \(d\). The functions \(f\) and \(g\) are continuous on \([c,d]\), and \(f(y)\ge g(y)\) there. The orange slice lies across the region at the height \(y\), with its left end on the curve \(x=g(y)\) and its right end on \(x=f(y)\). Its length, measured along the x-axis, is therefore the right x-value minus the left x-value, \(\cy{f(y)-g(y)}\).
Use the button under Figure 1 to cut the region into \(n\) strips of equal thickness \(\Delta y=\frac{d-c}{n}\). Each strip is close to a rectangle whose length is \(f(y_i)-g(y_i)\), the length of the slice at its middle height \(y_i\). The figure draws these rectangles, and their total area is
This sum is a Riemann sum for \(f-g\) on \([c,d]\), with \(y\) in place of \(x\). Make the strips thinner. The rectangles fit the region more closely. Because \(f-g\) is continuous, the sums approach the definite integral of \(f(y)-g(y)\) from \(c\) to \(d\) (topic 6.3). As in topic 8.4, the area of the region is this limit, \(\int_c^d\big[f(y)-g(y)\big]\,dy\). The integrand is a length measured along the x-axis, while the variable of integration and the limits are heights, measured along the y-axis. A length times a thickness is an area, so the result is in square units.
The formula needs \(f(y)\ge g(y)\): the curve whose x-value is subtracted must be the left one. Use the button under Figure 1 to subtract in the other order. The region and the slice turn red, because \(g(y)-f(y)\) is negative at every height between \(c\) and \(d\). The integral of \(g(y)-f(y)\) is then the negative of the area. An area is never negative, so a negative result shows that the order is reversed.
Boundaries and limits in terms of y
For horizontal slices, each of the left and right boundaries must be written as \(x\) in terms of \(y\). Solve the boundary's equation for \(x\). If \(x\) is squared, the equation can have two solutions for \(x\), and each one describes half of the curve, called a branch. Solving \(x^2+y^2=9\) gives the right half of the circle, \(x=\sqrt{9-y^2}\), and the left half, \(x=-\sqrt{9-y^2}\). Keep the branch that the region borders. The disk inside this circle borders both, so its left boundary is the left half and its right boundary is the right half.
A boundary can also change from one curve to another at some height. Then \(f\) or \(g\) has a different formula above and below that height, so split the integral there and add the two parts (topic 6.6).
The limits \(c\) and \(d\) are the lowest and the highest y-values of the region. A horizontal edge of the region gives a limit directly: the x-axis, for example, is the line \(y=0\). Where the left and right boundaries meet, they have the same x-value, so the heights where they meet are solutions of \(f(y)=g(y)\). The curves may also meet at points outside the region, so keep only the solutions that give points of the region.
If the two boundaries meet nowhere between \(c\) and \(d\), the difference of their x-values is continuous and never 0 there. By the Intermediate Value Theorem (topic 1.16), it keeps one sign there, because a change of sign would put a 0 in between. The x-values at any one height from \(c\) to \(d\) where the boundaries do not meet therefore show which boundary is on the right.
Example 1
Express the boundaries in terms of y
Let \(R\) be the region in Figure 2, bounded by the graphs of \(y=x^2\) and \(y=(x-6)^2\) and the x-axis. For horizontal slices, write the left and right boundaries of \(R\) as functions of \(y\).
The parabolas y = x squared and y = (x − 6) squared, with vertices at (0, 0) and (6, 0), meet at (3, 9). The region R between them and the x-axis is shaded. Its left boundary is the half of the first parabola to the right of its vertex, and its right boundary is the half of the second parabola to the left of its vertex, both drawn orange. An orange horizontal slice at height 1 runs from x = 1 to x = 5, and a slider moves it up and down.
Solution
On both graphs \(y\ge 0\), so each equation can be solved for \(x\) with a square root:
Each sign gives one branch. The plus sign gives the half of the parabola to the right of its vertex, and the minus sign gives the half to its left. In Figure 2, \(R\) lies between the vertices \((0,0)\) and \((6,0)\). It borders the half of \(y=x^2\) where \(x\ge 0\) and the half of \(y=(x-6)^2\) where \(x\le 6\):
These hold from the x-axis up to \(y=9\), where \(\sqrt{y}=6-\sqrt{y}\) and the parabolas meet at \((3,9)\). As a check, the points \((2,4)\) and \((5,1)\) lie on the orange arcs in Figure 2, and \(\sqrt{4}=2\) and \(6-\sqrt{1}=5\).
Example 2
Find the vertical limits of the region
Let \(R\) be the region in the first quadrant bounded by the curve \(x=10-y^2\), the line \(x=3y\) and the x-axis. Find the limits of integration for the area of \(R\) as an integral with respect to \(y\).
Solution
The x-axis, the line \(y=0\), is the bottom edge of \(R\), so the lower limit is 0. The top of \(R\) is where the curve and the line meet, where their x-values are equal:
The solutions are \(y=-5\) and \(y=2\). At \(y=-5\), the curve and the line meet at \((-15,-5)\), below the x-axis and outside \(R\), so reject this solution. At \(y=2\), both give \(x=6\), so the top of \(R\) is the point \((6,2)\). The limits of integration are therefore
Example 3
Set up an integral with respect to y
Let \(R\) be the region bounded by the curves \(x=y^2-y+2\) and \(x=8+3y-y^2\). Write, but do not evaluate, an integral expression for the area of \(R\).
Solution
Both curves give \(x\) as a function of \(y\), so use horizontal slices. Both functions are polynomials, so they are continuous. The curves meet where their x-values are equal:
They meet at \(y=-1\) and \(y=3\), at the points \((4,-1)\) and \((8,3)\), so these heights are the limits. The curves meet nowhere between them, so one height decides which curve is on the right. At \(y=1\), the first curve gives \(x=2\) and the second gives \(x=10\), so \(x=8+3y-y^2\) is the right boundary. The integrand is the right x-value minus the left x-value:
Example 4
Calculate area using horizontal slices
A metal plate has the shape of the region bounded by the graph of \(y=x^3\), the line \(x+y=10\) and the x-axis, where \(x\) and \(y\) are in centimeters. Find the area of the plate.
Solution
The curve \(y=x^3\) gives \(x=\sqrt[3]{y}\), the only real cube root, and the line gives \(x=10-y\). Both are continuous for every \(y\). They meet where \(x^3=10-x\), which factors as \((x-2)\big(x^2+2x+5\big)=0\). The quadratic factor is \((x+1)^2+4\), which is never 0, so they meet only at \((2,8)\), the top of the plate. Its bottom edge is the x-axis, so \(y\) runs from 0 to 8. On the x-axis, the curve is at \(x=0\) and the line at \(x=10\), so the line is the right boundary.
A strip is \((10-y)-\sqrt[3]{y}\) centimeters long, along the x-axis, and \(\Delta y\) centimeters thick, along the y-axis, so the area is in square centimeters:
The plate has an area of 36 square centimeters. As a check, vertical slices need two integrals, because the top of the plate is the curve for \(0\le x\le 2\) and the line for \(2\le x\le 10\):
Each example is one of the four skills of topic 8.5 in Which & Why: AP Calculus.