Let's find the area of the region between the line y=2x and the parabola y=x2.
When we found the area under a curve, each thin rectangle stood on the x-axis, so its height was just f(x). Here the rectangle at x still reaches up to the line, but its bottom is on the parabola instead, so its height is the top y minus the bottom y.
x=1:topbottomheight212−1=1
height at xwidth2x−x2dx
Find the area of the region between y=2x and y=x2
Text solution
Find the boundsThe region starts and ends where the curves intersect, where the height is 0.
2x=x2→x(x−2)=0→x=0,x=2
Integrate top minus bottomThe line is on top between 0 and 2, since at x=1 it's at 2 and the parabola is at 1.
A=∫02(2x−x2)dx=[x2−3x3]02
=4−38=34
Check with the triangleThe area under the line is a right triangle with base 2 and height 4. Taking away the area under the parabola leaves the same 34.
∫022xdx−∫02x2dx=4−38=34
For any region between two curves, each thin rectangle goes from the bottom curve to the top curve, so its height is top minus bottom. The bounds a and b are where the curves intersect, or the vertical lines x=a and x=b when the problem gives them.
A=∫ab(top−bottom)dx
2
Regions below the x-axis
When a function is negative, its definite integral comes out negative. So does top minus bottom still work when the region is below the x-axis? Let's shift both curves from section 1 down by 4. The region between y=2x−4 and y=x2−4 is the same shape, just lower, so its area should still be 34.
x=1:topbottomheight−2−3(−2)−(−3)=1
We'll also take the x-axis itself as one of the curves. The x-axis is the line y=0, and it meets the parabola y=x2−4 at x=−2 and x=2.
→x2−4=0x=−2,x=2
topbottomheighty=0y=x2−40−(x2−4)=4−x2
Find the area between y=2x−4 and y=x2−4, and the area between y=x2−4 and the x-axis
Text solution
The shift cancelsPut the bottom curve in parentheses so the minus sign applies to every term. The −4 and +4 cancel, and we're back to the height from section 1.
(2x−4)−(x2−4)=2x−x2
A=∫02(2x−x2)dx=34
The x-axis on topBetween −2 and 2,x2−4 is negative, so y=0 is the top curve and the height is 4−x2.
A=∫−22(4−x2)dx=[4x−3x3]−22=332
Bottom minus top comes out negativeIntegrating x2−4 itself gives the negative of the area, because x2−4 is bottom minus top.
∫−22(x2−4)dx=−332
Top minus bottom is the length of the rectangle, and it depends only on which curve is higher. So the integral of top minus bottom gives the area whether the region is above the x-axis, below it, or across it.
3
When curves intersect
Let's find the area between y=x and y=x3. This time the curves intersect three times.
At x=21 the line is on top, so it's tempting to integrate x−x3 from −1 to 1 in one go. Let's see what that gives.
Find the area of the region between y=x and y=x3
Text solution
Find where the curves intersect
x3−x=x(x−1)(x+1)=0
x=−1,0,1
One integral gives 0Between −1 and 0 the cubic is on top, so x−x3 is negative there, and that piece cancels the piece from 0 to 1.
∫−11(x−x3)dx=41−41=0
Split at 0On each piece, integrate top minus bottom.
A=∫−10(x3−x)dx+∫01(x−x3)dx
=41+41=21
Testing a point on each side of 0 shows what went wrong. The top curve switches at x=0, so between −1 and 0,x−x3 is bottom minus top. It's the same reason we split ∫vdt where velocity changes sign.
So if an area integral gives 0 or a negative number, an intersection point was missed or the curves were subtracted in the wrong order. Even a positive answer is too small when an intersection point is missed, so always find every intersection point before integrating.
Where must we split to count all the area positively?
4
Integrating with respect to y
Let's find the area of the region between the parabola x=y2 and the line y=x−2.
With vertical rectangles, we need y in terms of x, so the parabola splits into y=x and y=−x. The bottom end of a rectangle is on the parabola up to x=1 and on the line after that, so we'd need two integrals, both with square roots.
bottomy=−x(0≤x≤1)y=x−2(1≤x≤4)
A=∫012xdx+∫14(x−(x−2))dx
A=∫012xdx+∫14(x−(x−2))dx
Let's turn the rectangle sideways instead. Every horizontal rectangle runs from the parabola on the left to the line on the right, so neither end ever switches curves. Its length is the right x-coordinate minus the left one.
x
y
x=y2
x=y+2
1
1
3
3−1=2
leftrightx=y2x=y+2
y=1:leftrightlength133−1=2
Find the area of the region between x=y2 and y=x−2
x
y
x=y2
y=x−2
Text solution
Write both curves as x in terms of yAdding 2 to both sides of y=x−2 gives x=y+2. A horizontal rectangle has thickness dy.
length (y+2)−y2
thickness dy
Find the bounds in ySet the two x-values equal.
y2=y+2→(y−2)(y+1)=0
y=−1,y=2
Integrate right minus left
A=∫−12((y+2)−y2)dy=[2y2+2y−3y3]−12
=310−(−67)=29
That's the same 29 the two vertical integrals give, 34+619, but horizontal rectangles need only one integral.
A=∫cd(right−left)dy
After we turn the region, which rectangle direction lets us use one integral?
Summary
The area between two curves
x
y
y=2x
y=x2
1
2
1
2−1=1
A=∫ab(top−bottom)dx
Each vertical rectangle goes from the bottom curve to the top curve, so its height is top minus bottom. For the bounds, set the two equations equal to find where the curves intersect, or use the given vertical lines x=a and x=b. Test any x-value between the bounds to see which curve has the higher y-value. Between 0 and 2, testing x=1 gives y=2 on the line and y=1 on the parabola, so y=2x is the top curve.
Regions below or across the x-axis
Shifted down
(2x−4)−(x2−4)=2x−x2
(2x−4)−(x2−4)=2x−x2
The x-axis as a curve
0−(x2−4)=4−x2
The formula ∫(top−bottom)dx works whether the region is above, below, or across the x-axis, because top minus bottom is always a positive length. Put the bottom curve in parentheses so the minus sign applies to every term. If the region is bounded by the x-axis, use y=0 for the x-axis. For a curve below the x-axis, like y=x2−4, the line y=0 is the top curve, so the height is 0−(x2−4)=4−x2.
When the curves intersect
∫02(x3−x)dx=2
A=∫01(x−x3)dx+∫12(x3−x)dx=41+49=25
A=∫01(x−x3)dx+∫12(x3−x)dx=41+49=25
Two continuous curves can only swap which one is on top where they intersect. Find every intersection point between the bounds and split the integral at each one. Then test a point inside each piece to find the top curve, and integrate top minus bottom on each piece. This region has positive area. If you get an answer like that, you either missed a place where the curves intersect or subtracted in the wrong order, so recheck which curve is higher between each pair of bounds. Even a positive answer can be wrong if an intersection point is missed. Integrating x3−x directly from 0 to 2 gives 2, but splitting at the intersection point x=1 gives the true area, 25.
Horizontal rectangles
A=∫cd(right−left)dy
If an end of a vertical rectangle switches curves across the region, try horizontal rectangles instead. Write each curve as x in terms of y, and find the bounds in y by setting the two x-values equal. The length of each rectangle is the right curve minus the left curve. Choose vertical or horizontal so that each end of the rectangle stays on one curve across the whole region.
5
Practice
Enter exact values.
1
Find the area of the region bounded by y=x and y=x3.
Between x=0 and x=1, which curve is higher at x=21?
If you got −125 Area is always positive. Check which curve is on top between 0 and 1.
Find where the curves intersectSet the two equations equal to find the bounds.
x=x3→x=x6→x(x5−1)=0→x=0,x=1
Check which curve is on topTest a point between 0 and 1, like x=21.
x=21:21=22≈0.71,(21)3=81
Integrate top minus bottomSince y=x is on top, integrate x−x3 from 0 to 1.
A=∫01(x−x3)dx=[32x23−4x4]01=32−41=125
2
Find the area of the region between y=sinx and y=cosx for 0≤x≤π.
Where between 0 and π is sinx=cosx?
If you got 2 The curves intersect inside the interval, so one curve isn't on top the whole way. Find where they intersect and split into two integrals.
Find where the curves intersectDivide both sides of sinx=cosx by cosx to find where the curves intersect between 0 and π.
sinx=cosx→tanx=1→x=4π
Check which curve is on top on each pieceTest a point before 4π and a point after 4π.
x=0:cos0=1>sin0=0,x=2π:sin2π=1>cos2π=0
Integrate each pieceSplit the integral at 4π and use top minus bottom on each part.