Free AP Calculus AB Applications of Integration

AP Calculus AB · Applications of Integration · free lesson

Area Between Curves (Functions of x and of y)

The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.

The idea

Top minus bottom

You know that ∫abf(x) dx\int_a^b f(x)\,dx is the area between the graph of ff and the xx-axis when f≥0f \ge 0. Now take two curves, y=f(x)y = f(x) on top and y=g(x)y = g(x) below, for a≤x≤ba \le x \le b. The region between them is what is left of the area under ff when the area under gg is taken away. So its area is

Area=∫ab(f(x)−g(x)) dx=∫ab(top−bottom) dx\begin{aligned} \text{Area} &= \int_a^b \big(f(x) - g(x)\big)\,dx = \int_a^b (\text{top} - \text{bottom})\,dx \end{aligned}

Here is the way to see it, and the way to set up every problem of this topic. Cut the region into thin vertical strips. A strip at xx has width dxdx, and its height is the distance from the bottom curve up to the top curve, f(x)−g(x)f(x) - g(x). This holds wherever the curves are, above or below the xx-axis: the height of a strip is always top minus bottom. The integral adds the strips from the left end of the region to the right end.

Take the region between the parabola y=4−x2y = 4 - x^{2} and the line y=x+2y = x + 2. Watch a strip move across it: its height is 4−x2−(x+2)4 - x^{2} - (x + 2), zero at the two ends where the curves meet, and the area it sweeps out builds up to the area of the region.

Step 1: where the curves meet

The left and right ends of the region are where the curves meet, so set them equal and solve:

4−x2=x+2\begin{aligned} 4 - x^{2} &= x + 2 \end{aligned}

This gives x2+x−2=0x^{2} + x - 2 = 0, so x=−2x = -2 or x=1x = 1. Between these, test one value to see which curve is on top: at x=0x = 0 the parabola is at 4 and the line at 2, so the parabola is the top.

Step 2: integrate top minus bottom

Area=∫−21((4−x2)−(x+2)) dx=∫−21(2−x−x2) dx=92\begin{aligned} \text{Area} &= \int_{-2}^{1} \big((4 - x^2) - (x + 2)\big)\,dx = \int_{-2}^{1} (2 - x - x^2)\,dx = {\frac{9}{2}} \end{aligned}

The area of the region is 92\frac{9}{2} square units. The animation's running total ends at the same number. If you subtract the other way, x+2−(4−x2)x + 2 - (4 - x^{2}), you get −92-\frac{9}{2}: an area is never negative, and a negative result says the order was wrong.

Strips the other way: functions of yy

Some regions are bounded on the left and right by curves of the form x=x = (something in yy). Then cut the region into thin horizontal strips. A strip at height yy has thickness dydy and length right minus left:

Area=∫cd(right−left) dy\begin{aligned} \text{Area} &= \int_c^d (\text{right} - \text{left})\,dy \end{aligned}

where cc and dd are the lowest and highest yy-values of the region. Take the region between x=y2x = y^{2} (on the left) and x=y+2x = y + 2 (on the right). They meet where y2=y+2y^{2} = y + 2, that is y2−y−2=(y+1)(y−2)=0y^2 - y - 2 = (y + 1)(y - 2) = 0:

y=−1ory=2\begin{aligned} y &= {-1} \quad \text{or} \quad y = {2} \end{aligned}

Drag the strip up and down: its length is y+2−y2y + 2 - y^{2}.

Area=∫−12((y+2)−y2) dy=92\begin{aligned} \text{Area} &= \int_{-1}^{2} \big((y + 2) - y^2\big)\,dy = {\frac{9}{2}} \end{aligned}

The area is 92\frac{9}{2} square units. Done with vertical strips, this region would need two integrals: for 0≤x≤10 \le x \le 1 a strip runs from the lower half of the parabola, y=−xy = -\sqrt{x}, to the upper half, y=xy = \sqrt{x}; for 1≤x≤41 \le x \le 4 it runs from the line y=x−2y = x - 2 up to y=xy = \sqrt{x}. The bottom changes at x=1x = 1, as the picture shows.

In xx: ∫012x dx+∫14(x−(x−2)) dx=43+196=92\int_0^1 2\sqrt{x}\,dx + \int_1^4 \big(\sqrt{x} - (x - 2)\big)\,dx = {\frac{4}{3}} + {\frac{19}{6}} = {\frac{9}{2}}, the same area with more work. Choose the strips that cross the region from one boundary to the same other boundary all the way.

Rule.

Area between curves. Vertical strips: ∫ab(top−bottom) dx\int_a^b (\text{top} - \text{bottom})\,dx, with aa and bb the xx-values of the ends. Horizontal strips: ∫cd(right−left) dy\int_c^d (\text{right} - \text{left})\,dy, with cc and dd the yy-values of the ends. The limits are where the curves meet (or the lines that close the region); on the calculator part of the AP exam they are found with the calculator and stored, and the integral is written out before its value.

Warning.

The usual slips: bottom minus top (a negative "area"); left minus right in a dydy integral; xx-values used as the limits of a dydy integral; a meeting point missed, so the region is cut short; and one integral used where the top or bottom curve changes partway (then split the region, or turn to dydy).

Worked examples

Worked examples

Each example follows the same three steps. Draw the region and a typical strip. Find the ends: where the curves meet, by algebra or on the calculator. Integrate the length of the strip: top minus bottom in dxdx, or right minus left in dydy. Every number in the working is found by the engine.

Example.

1. A parabola and a line. Find the area of the region enclosed by y=x2y = x^{2} and y=2x+3y = 2x + 3.

Ends. Set the curves equal: x2=2x+3x^2 = 2x + 3, so x2−2x−3=0x^2 - 2x - 3 = 0 and x=−1x = -1 or x=3x = 3.

Top and bottom. At x=0x = 0, between the ends, the line is at 3 and the parabola at 0: the line is the top.

Area=∫−13((2x+3)−x2) dx=323\begin{aligned} \text{Area} &= \int_{ {-1} }^{ {3} } \big((2x + 3) - x^2\big)\,dx = {\frac{32}{3}} \end{aligned}

The area is 323\frac{32}{3} square units. Check: the result is positive, as an area must be; the reverse order would give −323-\frac{32}{3}.

Example.

2. Meeting points from the calculator. Let RR be the region in the first quadrant enclosed by y=3sin⁡xy = 3\sin x and y=x22y = \frac{x^2}{2}. Find the area of RR.

Ends. The curves meet at x=0x = 0, and the equation 3sin⁡x=x223\sin x = \frac{x^2}{2} has no algebraic solution, so the calculator finds the other meeting point: x=2.201x = {2.201}. Store it with all its digits; do not retype the rounded value.

Top and bottom. At x=1x = 1, 3sin⁡1−12=2.024>03\sin 1 - \frac{1}{2} = {2.024} > 0: the sine curve is the top.

Area=∫02.201(3sin⁡x−x22)dx=2.991\begin{aligned} \text{Area} &= \int_0^{ {2.201} } \left(3\sin x - \frac{x^2}{2}\right) dx = {2.991} \end{aligned}

The area of RR is about 2.9912.991. On the AP exam the integral with its limits is written down first, then the calculator's value to three decimal places.

Example.

3. Curves given as functions of yy. Find the area of the region enclosed by x=4−y2x = 4 - y^{2} and x=y−2x = y - 2.

Both curves give xx in terms of yy, and a vertical strip would run from the parabola's lower half to its upper half on one part and from the line on another. Horizontal strips run from the line to the parabola all the way, so use dydy.

Ends. 4−y2=y−24 - y^{2} = y - 2 gives y2+y−6=0y^{2} + y - 6 = 0, so y=−3y = -3 or y=2y = 2. These yy-values are the limits.

Right and left. At y=0y = 0 the parabola is at x=4x = 4 and the line at x=−2x = -2: the parabola is on the right.

Area=∫−32((4−y2)−(y−2)) dy=1256\begin{aligned} \text{Area} &= \int_{ {-3} }^{ {2} } \big((4 - y^2) - (y - 2)\big)\,dy = {\frac{125}{6}} \end{aligned}

The area is 1256\frac{125}{6} square units. Using the xx-values of the meeting points, (−5,−3)({-5}, {-3}) and (0,2)({0}, {2}), as the limits of this dydy integral would be wrong: in dydy the limits are heights.

Example.

4. A curve, a line and an axis: choosing dxdx or dydy. Find the area of the region bounded by y=xy = \sqrt{x}, y=x−2y = x - 2 and the xx-axis.

With vertical strips the bottom changes at x=2x = 2: the xx-axis on [0,2][0, 2], the line on [2,4][2, 4]. That needs two integrals. With horizontal strips every strip runs from the curve to the line. Solve each boundary for xx: y=xy = \sqrt{x} is x=y2x = y^{2} (left), y=x−2y = x - 2 is x=y+2x = y + 2 (right). The region runs from the xx-axis, y=0y = 0, up to where they meet: y2=y+2y^{2} = y + 2 gives y=2y = 2 (the root y=−1y = -1 is below the axis, off this region).

Area=∫02((y+2)−y2) dy=103\begin{aligned} \text{Area} &= \int_0^{ {2} } \big((y + 2) - y^2\big)\,dy = {\frac{10}{3}} \end{aligned}

Check with dxdx: ∫02x dx+∫24(x−(x−2)) dx=423+10−423=103\int_0^2 \sqrt{x}\,dx + \int_2^4 \big(\sqrt{x} - (x - 2)\big)\,dx = {\frac{4\sqrt{2}}{3}} + {\frac{10 - 4\sqrt{2}}{3}} = {\frac{10}{3}}, the same. A single integral ∫04(x−(x−2)) dx\int_0^4 \big(\sqrt{x} - (x - 2)\big)\,dx would wrongly add the triangle between the line and the xx-axis on [0,2][0, 2], which lies below the axis and is not part of the region.

Example.

5. A line that cuts a region in half (calculator). The region RR is bounded by y=4−x2y = 4 - x^{2} and the xx-axis. Find kk so that the horizontal line y=ky = k divides RR into two regions of equal area.

The whole area. ∫−22(4−x2) dx=323\int_{-2}^{2} (4 - x^2)\,dx = {\frac{32}{3}}, so each part must have area 163\frac{16}{3}.

The part above y=ky = k, in dydy. Solving y=4−x2y = 4 - x^{2} for xx gives x=±4−yx = \pm\sqrt{4 - y}, so a horizontal strip at height yy runs from −4−y-\sqrt{4 - y} to 4−y\sqrt{4 - y}, length 24−y2\sqrt{4 - y}. Strips in dydy suit this problem, because the line y=ky = k is then simply a limit:

∫k424−y dy=163\begin{aligned} \int_k^4 2\sqrt{4 - y}\,dy &= \frac{16}{3} \end{aligned}

This equation in kk is solved on the calculator: k=1.480k = {1.480}. (It is not k=2k = 2: the region is wider at the bottom, so the line sits below the middle height.)

Practice

Answer AP-style questions on area between curves (functions of x and of y). Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.

Practise area between curves (functions of x and of y) with new numbers