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 is the area between the graph of f and the x-axis when f≥0. Now take two curves, y=f(x) on top and y=g(x) below, for a≤x≤b. The region between them is what is left of the area under f when the area under g is taken away. So its area is
Area=∫ab(f(x)−g(x))dx=∫ab(top−bottom)dx
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 x has width dx, and its height is the distance from the bottom curve up to the top curve, f(x)−g(x). This holds wherever the curves are, above or below the x-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−x2 and the line y=x+2. Watch a strip move across it: its height is 4−x2−(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
This gives x2+x−2=0, so x=−2 or x=1. Between these, test one value to see which curve is on top: at x=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=29
The area of the region is 29 square units. The animation's running total ends at the same number. If you subtract the other way, x+2−(4−x2), you get −29: an area is never negative, and a negative result says the order was wrong.
Strips the other way: functions of y
Some regions are bounded on the left and right by curves of the form x= (something in y). Then cut the region into thin horizontal strips. A strip at height y has thickness dy and length right minus left:
Area=∫cd(right−left)dy
where c and d are the lowest and highest y-values of the region. Take the region between x=y2 (on the left) and x=y+2 (on the right). They meet where y2=y+2, that is y2−y−2=(y+1)(y−2)=0:
y=−1ory=2
Drag the strip up and down: its length is y+2−y2.
Area=∫−12((y+2)−y2)dy=29
The area is 29 square units. Done with vertical strips, this region would need two integrals: for 0≤x≤1 a strip runs from the lower half of the parabola, y=−x, to the upper half, y=x; for 1≤x≤4 it runs from the line y=x−2 up to y=x. The bottom changes at x=1, as the picture shows.
In x: ∫012xdx+∫14(x−(x−2))dx=34+619=29, 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, with a and b the x-values of the ends. Horizontal strips: ∫cd(right−left)dy, with c and d the y-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 dy integral; x-values used as the limits of a dy 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 dy).
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 dx, or right minus left in dy. 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=x2 and y=2x+3.
Ends. Set the curves equal: x2=2x+3, so x2−2x−3=0 and x=−1 or x=3.
Top and bottom. At x=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=332
The area is 332 square units. Check: the result is positive, as an area must be; the reverse order would give −332.
Example.
2. Meeting points from the calculator. Let R be the region in the first quadrant enclosed by y=3sinx and y=2x2. Find the area of R.
Ends. The curves meet at x=0, and the equation 3sinx=2x2 has no algebraic solution, so the calculator finds the other meeting point: x=2.201. Store it with all its digits; do not retype the rounded value.
Top and bottom. At x=1, 3sin1−21=2.024>0: the sine curve is the top.
Area=∫02.201(3sinx−2x2)dx=2.991
The area of R is about 2.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 y. Find the area of the region enclosed by x=4−y2 and x=y−2.
Both curves give x in terms of y, 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 dy.
Ends.4−y2=y−2 gives y2+y−6=0, so y=−3 or y=2. These y-values are the limits.
Right and left. At y=0 the parabola is at x=4 and the line at x=−2: the parabola is on the right.
Area=∫−32((4−y2)−(y−2))dy=6125
The area is 6125 square units. Using the x-values of the meeting points, (−5,−3) and (0,2), as the limits of this dy integral would be wrong: in dy the limits are heights.
Example.
4. A curve, a line and an axis: choosing dx or dy. Find the area of the region bounded by y=x, y=x−2 and the x-axis.
With vertical strips the bottom changes at x=2: the x-axis on [0,2], the line on [2,4]. That needs two integrals. With horizontal strips every strip runs from the curve to the line. Solve each boundary for x: y=x is x=y2 (left), y=x−2 is x=y+2 (right). The region runs from the x-axis, y=0, up to where they meet: y2=y+2 gives y=2 (the root y=−1 is below the axis, off this region).
Area=∫02((y+2)−y2)dy=310
Check with dx: ∫02xdx+∫24(x−(x−2))dx=342+310−42=310, the same. A single integral ∫04(x−(x−2))dx would wrongly add the triangle between the line and the x-axis on [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 R is bounded by y=4−x2 and the x-axis. Find k so that the horizontal line y=k divides R into two regions of equal area.
The whole area.∫−22(4−x2)dx=332, so each part must have area 316.
The part above y=k, in dy. Solving y=4−x2 for x gives x=±4−y, so a horizontal strip at height y runs from −4−y to 4−y, length 24−y. Strips in dy suit this problem, because the line y=k is then simply a limit:
∫k424−ydy=316
This equation in k is solved on the calculator: k=1.480. (It is not k=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.