Calculus3Area and Volume1 of 5
Area and Volume · 1

Area Between Curves

1

Area between two curves

Let's find the area of the region between the line y=2x\lin{y = 2x} and the parabola y=x2\crv{y = x^2}.

xx
yy
y=2x\htmlClass{lc-green}{y = 2x}
y=x2\htmlClass{lc-violet}{y = x^2}
(0, 0)(0,\,0)
(2, 4)(2,\,4)

When we found the area under a curve, each thin rectangle stood on the x-axis, so its height was just f(x)f(x). Here the rectangle at xx still reaches up to the line, but its bottom is on the parabola instead, so its height is the top yy minus the bottom yy.

xx
yy
y=2x\htmlClass{lc-green}{y = 2x}
y=x2\htmlClass{lc-violet}{y = x^2}
11
2\htmlClass{lc-green}{2}
1\htmlClass{lc-violet}{1}
2−1=1\htmlClass{lc-green}{2} - \htmlClass{lc-violet}{1} = 1
x=1:  top  2bottom  1height  2−1=1\displaystyle \begin{aligned} x = 1{:}\ \ &\\ \text{top}\ \ &\lin{2}\\ \text{bottom}\ \ &\crv{1}\\ \text{height}\ \ &\lin{2} - \crv{1} = 1\end{aligned}
height at x  2x−x2width  dx\displaystyle \begin{aligned} \text{height at } x\ \ &\lin{2x} - \crv{x^2}\\ \text{width}\ \ &dx\end{aligned}
Find the area of the region between y=2x\lin{y = 2x} and y=x2\crv{y = x^2}
xx
yy
y=2x\htmlClass{lc-green}{y = 2x}
y=x2\htmlClass{lc-violet}{y = x^2}
Text solution
Find the boundsThe region starts and ends where the curves intersect, where the height is 00.
2x\displaystyle \lin{2x} =x2  →  x(x−2)\displaystyle = \crv{x^2} \;\to\; x(x - 2) =0  →  x\displaystyle = 0 \;\to\; x =0, x\displaystyle = 0,\ x =2\displaystyle = 2
Integrate top minus bottomThe line is on top between 00 and 22, since at x=1x = 1 it's at 2\lin{2} and the parabola is at 1\crv{1}.
A\displaystyle A =∫02(2x−x2) dx\displaystyle = \int_0^2 (\lin{2x} - \crv{x^2})\,dx =[x2−x33]02\displaystyle = \Big[\lin{x^2} - \crv{\frac{x^3}{3}}\Big]_0^2
=4−83\displaystyle = \lin{4} - \crv{\frac83} =43\displaystyle = \frac43
Check with the triangleThe area under the line is a right triangle with base 22 and height 44. Taking away the area under the parabola leaves the same 43\frac43.
∫022x dx−∫02x2 dx\displaystyle \lin{\int_0^2 2x\,dx} - \crv{\int_0^2 x^2\,dx} =4−83\displaystyle = \lin{4} - \crv{\frac83} =43\displaystyle = \frac43

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 aa and bb are where the curves intersect, or the vertical lines x=ax = a and x=bx = b when the problem gives them.

A=∫ab(top−bottom) dx\displaystyle \begin{aligned} A = \int_a^b (\text{top} - \text{bottom})\,dx\end{aligned}
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 44. The region between y=2x−4\lin{y = 2x - 4} and y=x2−4\crv{y = x^2 - 4} is the same shape, just lower, so its area should still be 43\frac43.

xx
yy
y=2x−4\htmlClass{lc-green}{y = 2x - 4}
y=x2−4\htmlClass{lc-violet}{y = x^2 - 4}
11
−2\htmlClass{lc-green}{-2}
−3\htmlClass{lc-violet}{-3}
(−2)−(−3)=1(\htmlClass{lc-green}{-2}) - (\htmlClass{lc-violet}{-3}) = 1
x=1:  top  −2bottom  −3height  (−2)−(−3)=1\displaystyle \begin{aligned} x = 1{:}\ \ &\\ \text{top}\ \ &\lin{{-2}}\\ \text{bottom}\ \ &\crv{{-3}}\\ \text{height}\ \ &(\lin{-2}) - (\crv{-3})\\ &= 1\end{aligned}

We'll also take the x-axis itself as one of the curves. The x-axis is the line y=0\xax{y = 0}, and it meets the parabola y=x2−4\crv{y = x^2 - 4} at x=−2x = -2 and x=2x = 2.

xx
yy
y=0\htmlClass{lc-orange}{y = 0}
y=x2−4\htmlClass{lc-violet}{y = x^2 - 4}
−2-2
22
x2−4=0→   x=−2, x=2\displaystyle \begin{aligned} &\crv{x^2 - 4} = 0\\ \to\;\ &x = -2,\ x = 2\end{aligned}
top  y=0bottom  y=x2−4height  0−(x2−4)=4−x2\displaystyle \begin{aligned} \text{top}\ \ &\xax{y = 0}\\ \text{bottom}\ \ &\crv{y = x^2 - 4}\\ \text{height}\ \ &\xax{0} - (\crv{x^2 - 4})\\ &= 4 - x^2\end{aligned}
Find the area between y=2x−4\lin{y = 2x - 4} and y=x2−4\crv{y = x^2 - 4}, and the area between y=x2−4\crv{y = x^2 - 4} and the x-axis
xx
yy
y=2x−4\htmlClass{lc-green}{y = 2x - 4}
y=x2−4\htmlClass{lc-violet}{y = x^2 - 4}
Text solution
The shift cancelsPut the bottom curve in parentheses so the minus sign applies to every term. The −4\lin{-4} and +4\crv{+4} cancel, and we're back to the height from section 1.
(2x−4)−(x2−4)\displaystyle (\lin{2x - 4}) - (\crv{x^2 - 4}) =2x−x2\displaystyle = \lin{2x} - \crv{x^2}
A\displaystyle A =∫02(2x−x2) dx\displaystyle = \int_0^2 (\lin{2x} - \crv{x^2})\,dx =43\displaystyle = \frac43
The x-axis on topBetween −2-2 and 22, x2−4\crv{x^2 - 4} is negative, so y=0\xax{y = 0} is the top curve and the height is 4−x24 - x^2.
A\displaystyle A =∫−22(4−x2) dx\displaystyle = \int_{-2}^{2} (4 - x^2)\,dx =[4x−x33]−22\displaystyle = \Big[4x - \frac{x^3}{3}\Big]_{-2}^{2} =323\displaystyle = \frac{32}{3}
Bottom minus top comes out negativeIntegrating x2−4\crv{x^2 - 4} itself gives the negative of the area, because x2−4\crv{x^2 - 4} is bottom minus top.
∫−22(x2−4) dx\displaystyle \int_{-2}^{2} (\crv{x^2 - 4})\,dx =−323\displaystyle = -\frac{32}{3}

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\lin{y = x} and y=x3\crv{y = x^3}. This time the curves intersect three times.

xx
yy
y=x\htmlClass{lc-green}{y = x}
y=x3\htmlClass{lc-violet}{y = x^3}
(1, 1)(1,\,1)
(−1, −1)(-1,\,-1)
(0, 0)(0,\,0)

At x=12x = \frac12 the line is on top, so it's tempting to integrate x−x3\lin{x} - \crv{x^3} from −1-1 to 11 in one go. Let's see what that gives.

Find the area of the region between y=x\lin{y = x} and y=x3\crv{y = x^3}
xx
yy
y=x\htmlClass{lc-green}{y = x}
y=x3\htmlClass{lc-violet}{y = x^3}
Text solution
Find where the curves intersect
x3−x\displaystyle \crv{x^3} - \lin{x} =x(x−1)(x+1)\displaystyle = x(x - 1)(x + 1) =0\displaystyle = 0
x\displaystyle x =−1, 0, 1\displaystyle = -1,\ 0,\ 1
One integral gives 0Between −1-1 and 00 the cubic is on top, so x−x3\lin{x} - \crv{x^3} is negative there, and that piece cancels the piece from 00 to 11.
∫−11(x−x3) dx\displaystyle \int_{-1}^{1} (\lin{x} - \crv{x^3})\,dx =14−14\displaystyle = \frac14 - \frac14 =0\displaystyle = 0
Split at 0On each piece, integrate top minus bottom.
A\displaystyle A =∫−10(x3−x) dx+∫01(x−x3) dx\displaystyle = \int_{-1}^{0} (\crv{x^3} - \lin{x})\,dx + \int_{0}^{1} (\lin{x} - \crv{x^3})\,dx
=14+14\displaystyle = \frac14 + \frac14 =12\displaystyle = \frac12

Testing a point on each side of 00 shows what went wrong. The top curve switches at x=0x = 0, so between −1-1 and 00, x−x3\lin{x} - \crv{x^3} is bottom minus top. It's the same reason we split ∫v dt\int v\,dt where velocity changes sign.

xx
yy
y=x\htmlClass{lc-green}{y = x}
y=x3\htmlClass{lc-violet}{y = x^3}
12\dfrac12
−12-\dfrac12
x=12:  line 12cubic 18x=−12:  cubic −18line −12\displaystyle \begin{aligned} x = \tfrac12{:}\ \ &\text{line } \lin{\tfrac12}\\ &\text{cubic } \crv{\tfrac18}\\[10pt] x = -\tfrac12{:}\ \ &\text{cubic } \crv{{-\tfrac18}}\\ &\text{line } \lin{{-\tfrac12}}\end{aligned}

So if an area integral gives 00 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\crv{x = y^2} and the line y=x−2\lin{y = x - 2}.

xx
yy
x=y2\htmlClass{lc-violet}{x = y^2}
y=x−2\htmlClass{lc-green}{y = x - 2}
(1, −1)(1,\,-1)
(4, 2)(4,\,2)

With vertical rectangles, we need yy in terms of xx, so the parabola splits into y=x\crv{y = \sqrt{x}} and y=−x\crv{y = -\sqrt{x}}. The bottom end of a rectangle is on the parabola up to x=1x = 1 and on the line after that, so we'd need two integrals, both with square roots.

xx
yy
y=x\htmlClass{lc-violet}{y = \sqrt{x}}
y=−x\htmlClass{lc-violet}{y = -\sqrt{x}}
y=x−2\htmlClass{lc-green}{y = x - 2}
bottom  y=−x(0≤x≤1)y=x−2(1≤x≤4)\displaystyle \begin{aligned} \text{bottom}\ \ &\crv{y = -\sqrt{x}}\\ &(0 \le x \le 1)\\[6pt] &\lin{y = x - 2}\\ &(1 \le x \le 4)\end{aligned}
A=∫012x dx+∫14(x−(x−2)) dx\displaystyle \begin{aligned} A = \int_0^1 \crv{2\sqrt{x}}\,dx + \int_1^4 \big(\crv{\sqrt{x}} - \lin{(x - 2)}\big)\,dx\end{aligned}
A=∫012x dx+∫14(x−(x−2)) dx\displaystyle \begin{aligned} A = &\int_0^1 \crv{2\sqrt{x}}\,dx\\ &+ \int_1^4 \big(\crv{\sqrt{x}} - \lin{(x - 2)}\big)\,dx\end{aligned}

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.

xx
yy
x=y2\htmlClass{lc-violet}{x = y^2}
x=y+2\htmlClass{lc-green}{x = y + 2}
11
1\htmlClass{lc-violet}{1}
3\htmlClass{lc-green}{3}
3−1=2\htmlClass{lc-green}{3} - \htmlClass{lc-violet}{1} = 2
left  x=y2right  x=y+2\displaystyle \begin{aligned} \text{left}\ \ &\crv{x = y^2}\\ \text{right}\ \ &\lin{x = y + 2}\end{aligned}
y=1:  left  1right  3length  3−1=2\displaystyle \begin{aligned} y = 1{:}\ \ &\\ \text{left}\ \ &\crv{1}\\ \text{right}\ \ &\lin{3}\\ \text{length}\ \ &\lin{3} - \crv{1} = 2\end{aligned}
Find the area of the region between x=y2\crv{x = y^2} and y=x−2\lin{y = x - 2}
xx
yy
x=y2\htmlClass{lc-violet}{x = y^2}
y=x−2\htmlClass{lc-green}{y = x - 2}
Text solution
Write both curves as x in terms of yAdding 22 to both sides of y=x−2\lin{y = x - 2} gives x=y+2\lin{x = y + 2}. A horizontal rectangle has thickness dydy.
length (y+2)−y2\displaystyle \text{length } (\lin{y + 2}) - \crv{y^2}
thickness dy\displaystyle \text{thickness } dy
Find the bounds in ySet the two x-values equal.
y2\displaystyle \crv{y^2} =y+2  →  (y−2)(y+1)\displaystyle = \lin{y + 2} \;\to\; (y - 2)(y + 1) =0\displaystyle = 0
y\displaystyle y =−1, y\displaystyle = -1,\ y =2\displaystyle = 2
Integrate right minus left
A\displaystyle A =∫−12((y+2)−y2) dy\displaystyle = \int_{-1}^{2} \big((\lin{y + 2}) - \crv{y^2}\big)\,dy =[y22+2y−y33]−12\displaystyle = \Big[\lin{\frac{y^2}{2} + 2y} - \crv{\frac{y^3}{3}}\Big]_{-1}^{2}
=103−(−76)\displaystyle = \frac{10}{3} - \Big(-\frac76\Big) =92\displaystyle = \frac92

That's the same 92\frac92 the two vertical integrals give, 43+196\frac43 + \frac{19}{6}, but horizontal rectangles need only one integral.

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

After we turn the region, which rectangle direction lets us use one integral?

Summary

The area between two curves
xx
yy
y=2x\htmlClass{lc-green}{y = 2x}
y=x2\htmlClass{lc-violet}{y = x^2}
11
2\htmlClass{lc-green}{2}
1\htmlClass{lc-violet}{1}
2−1=1\htmlClass{lc-green}{2} - \htmlClass{lc-violet}{1} = 1
A=∫ab(top−bottom) dx\displaystyle \begin{aligned} A = \int_a^b (\text{top} - \text{bottom})\,dx\end{aligned}

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=ax = a and x=bx = b. Test any x-value between the bounds to see which curve has the higher y-value. Between 00 and 22, testing x=1x = 1 gives y=2y = \lin{2} on the line and y=1y = \crv{1} on the parabola, so y=2x\lin{y = 2x} is the top curve.

Regions below or across the x-axis
Shifted down
(2x−4)−(x2−4)=2x−x2\displaystyle \begin{aligned} (\lin{2x - 4}) - (\crv{x^2 - 4}) = \lin{2x} - \crv{x^2}\end{aligned}
(2x−4)−(x2−4)=2x−x2\displaystyle \begin{aligned} &(\lin{2x - 4}) - (\crv{x^2 - 4})\\ &\quad= \lin{2x} - \crv{x^2}\end{aligned}
The x-axis as a curve
0−(x2−4)\displaystyle \xax{0} - (\crv{x^2 - 4}) =4−x2\displaystyle = 4 - x^2

The formula ∫(top−bottom) dx\int (\text{top} - \text{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\xax{y = 0} for the x-axis. For a curve below the x-axis, like y=x2−4\crv{y = x^2 - 4}, the line y=0\xax{y = 0} is the top curve, so the height is 0−(x2−4)=4−x2\xax{0} - (\crv{x^2 - 4}) = 4 - x^2.

When the curves intersect
∫02(x3−x) dx=2\displaystyle \begin{aligned} \int_0^2 (\crv{x^3} - \lin{x})\,dx = 2\end{aligned}
A=∫01(x−x3) dx+∫12(x3−x) dx=14+94=52\displaystyle \begin{aligned} A = \int_0^1 (\lin{x} - \crv{x^3})\,dx + \int_1^2 (\crv{x^3} - \lin{x})\,dx = \frac14 + \frac94 = \frac52\end{aligned}
A=∫01(x−x3) dx+∫12(x3−x) dx=14+94=52\displaystyle \begin{aligned} A &= \int_0^1 (\lin{x} - \crv{x^3})\,dx\\ &\quad+ \int_1^2 (\crv{x^3} - \lin{x})\,dx\\ &= \frac14 + \frac94 = \frac52\end{aligned}

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\crv{x^3} - \lin{x} directly from 00 to 22 gives 22, but splitting at the intersection point x=1x = 1 gives the true area, 52\frac52.

Horizontal rectangles
A=∫cd(right−left) dy\displaystyle \begin{aligned} A = \int_c^d (\text{right} - \text{left})\,dy\end{aligned}

If an end of a vertical rectangle switches curves across the region, try horizontal rectangles instead. Write each curve as xx in terms of yy, and find the bounds in yy 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=xy = \sqrt{x} and y=x3y = x^3.

Between x=0x = 0 and x=1x = 1, which curve is higher at x=12x = \frac12?

Find where the curves intersectSet the two equations equal to find the bounds.
x\displaystyle \lin{\sqrt{x}} =x3  →  x\displaystyle = \crv{x^3} \;\to\; x =x6  →  x(x5−1)\displaystyle = x^6 \;\to\; x(x^5 - 1) =0  →  x\displaystyle = 0 \;\to\; x =0, x\displaystyle = 0,\ x =1\displaystyle = 1
Check which curve is on topTest a point between 00 and 11, like x=12x = \frac12.
x\displaystyle x =12:12=22≈0.71,(12)3=18\displaystyle = \tfrac12:\quad \lin{\sqrt{\tfrac12} = \tfrac{\sqrt2}{2} \approx 0.71}, \qquad \crv{\big(\tfrac12\big)^3 = \tfrac18}
Integrate top minus bottomSince y=x\lin{y = \sqrt{x}} is on top, integrate x−x3\lin{\sqrt{x}} - \crv{x^3} from 00 to 11.
A\displaystyle A =∫01(x−x3) dx\displaystyle = \int_0^1 (\lin{\sqrt{x}} - \crv{x^3})\,dx =[23x32−x44]01\displaystyle = \Big[\lin{\frac23 x^{\frac32}} - \crv{\frac{x^4}{4}}\Big]_0^1 =23−14\displaystyle = \lin{\frac23} - \crv{\frac14} =512\displaystyle = \frac{5}{12}
2
Find the area of the region between y=sin⁡xy = \sin x and y=cos⁡xy = \cos x for 0≤x≤π0 \le x \le \pi.

Where between 00 and π\pi is sin⁡x=cos⁡x\sin x = \cos x?

Find where the curves intersectDivide both sides of sin⁡x=cos⁡x\lin{\sin x} = \crv{\cos x} by cos⁡x\crv{\cos x} to find where the curves intersect between 00 and π\pi.
sin⁡x\displaystyle \lin{\sin x} =cos⁡x  →  tan⁡x\displaystyle = \crv{\cos x} \;\to\; \tan x =1  →  x\displaystyle = 1 \;\to\; x =π4\displaystyle = \frac{\pi}{4}
Check which curve is on top on each pieceTest a point before π4\frac{\pi}{4} and a point after π4\frac{\pi}{4}.
x\displaystyle x =0: cos⁡0=1>sin⁡0=0,x\displaystyle = 0:\ \crv{\cos 0 = 1} > \lin{\sin 0 = 0}, \qquad x =π2: sin⁡π2=1>cos⁡π2=0\displaystyle = \frac{\pi}{2}:\ \lin{\sin\frac{\pi}{2} = 1} > \crv{\cos\frac{\pi}{2} = 0}
Integrate each pieceSplit the integral at π4\frac{\pi}{4} and use top minus bottom on each part.
∫0π4(cos⁡x−sin⁡x) dx\displaystyle \int_0^{\frac{\pi}{4}} (\crv{\cos x} - \lin{\sin x})\,dx =[sin⁡x+cos⁡x]0π4\displaystyle = \Big[\sin x + \cos x\Big]_0^{\frac{\pi}{4}} =2−1\displaystyle = \sqrt2 - 1
∫π4π(sin⁡x−cos⁡x) dx\displaystyle \int_{\frac{\pi}{4}}^{\pi} (\lin{\sin x} - \crv{\cos x})\,dx =[−cos⁡x−sin⁡x]π4π\displaystyle = \Big[-\cos x - \sin x\Big]_{\frac{\pi}{4}}^{\pi} =1−(−2)\displaystyle = 1 - (-\sqrt2) =1+2\displaystyle = 1 + \sqrt2
Add the two areas together.
A\displaystyle A =(2−1)+(1+2)\displaystyle = (\sqrt2 - 1) + (1 + \sqrt2) =22\displaystyle = 2\sqrt2
3
Find the area of the region bounded by x=y2−1x = y^2 - 1 and x=1−y2x = 1 - y^2.

The curves are given as xx in terms of yy. At y=0y = 0, which curve has the larger x-value?

Find where the curves intersectBoth curves give xx in terms of yy, so set them equal to find the bounds in yy.
y2−1\displaystyle \lin{y^2 - 1} =1−y2  →  y2\displaystyle = \crv{1 - y^2} \;\to\; y^2 =1  →  y\displaystyle = 1 \;\to\; y =−1, y\displaystyle = -1,\ y =1\displaystyle = 1
Check which curve is on the rightTest a value between −1-1 and 11, like y=0y = 0.
y\displaystyle y =0:x=1−y2 at 1,x=y2−1 at −1\displaystyle = 0:\quad \crv{x = 1 - y^2} \text{ at } \crv{1}, \qquad \lin{x = y^2 - 1} \text{ at } \lin{-1}
Integrate right minus leftSince x=1−y2\crv{x = 1 - y^2} is on the right, integrate (1−y2)−(y2−1)(\crv{1 - y^2}) - (\lin{y^2 - 1}) with respect to yy.
A\displaystyle A =∫−11((1−y2)−(y2−1)) dy\displaystyle = \int_{-1}^{1} \big((\crv{1 - y^2}) - (\lin{y^2 - 1})\big)\,dy =∫−11(2−2y2) dy\displaystyle = \int_{-1}^{1} (2 - 2y^2)\,dy =[2y−2y33]−11\displaystyle = \Big[2y - \frac{2y^3}{3}\Big]_{-1}^{1} =43−(−43)\displaystyle = \frac43 - \Big(-\frac43\Big) =83\displaystyle = \frac83
4
Find the area of the region bounded by y=xy = \sqrt{x}, y=2−xy = 2 - x and the xx-axis.

Sketch the region. As xx goes from 00 to 22, does the top of a vertical rectangle stay on one curve?

Find where the curves intersectSet x=2−x\crv{\sqrt{x}} = \lin{2 - x} and square both sides, then check for extraneous solutions.
x\displaystyle \crv{\sqrt{x}} =2−x  →  x\displaystyle = \lin{2 - x} \;\to\; x =4−4x+x2  →  (x−1)(x−4)\displaystyle = 4 - 4x + x^2 \;\to\; (x - 1)(x - 4) =0\displaystyle = 0
x\displaystyle x =1: 1=1\displaystyle = 1:\ \crv{\sqrt1 = 1} =2−1,x\displaystyle = \lin{2 - 1}, \qquad x =4: 4=2≠2−4=−2\displaystyle = 4:\ \crv{\sqrt4 = 2} \ne \lin{2 - 4 = -2}
Check vertical rectanglesWith vertical rectangles, the top boundary changes from y=x\crv{y = \sqrt{x}} to y=2−x\lin{y = 2 - x} at x=1x = 1, so we'd need two integrals.
top: y=x  (0≤x≤1),y=2−x  (1≤x≤2)\displaystyle \text{top: } \crv{y = \sqrt{x}}\ \ (0 \le x \le 1), \qquad \lin{y = 2 - x}\ \ (1 \le x \le 2)
Switch to horizontal rectanglesHorizontal rectangles always have their left end on x=y2\crv{x = y^2} and their right end on x=2−y\lin{x = 2 - y}.
left: x=y2,right: x=2−y,0\displaystyle \text{left: } \crv{x = y^2}, \qquad \text{right: } \lin{x = 2 - y}, \qquad 0 ≤y\displaystyle \le y ≤1\displaystyle \le 1
Integrating right minus left in yy gives the area in a single integral.
A\displaystyle A =∫01((2−y)−y2) dy\displaystyle = \int_0^1 \big((\lin{2 - y}) - \crv{y^2}\big)\,dy =[2y−y22−y33]01\displaystyle = \Big[\lin{2y - \frac{y^2}{2}} - \crv{\frac{y^3}{3}}\Big]_0^1 =2−12−13\displaystyle = \lin{2 - \frac12} - \crv{\frac13} =76\displaystyle = \frac76
∫01x dx+∫12(2−x) dx\displaystyle \int_0^1 \crv{\sqrt{x}}\,dx + \int_1^2 (\lin{2 - x})\,dx =23+12\displaystyle = \crv{\frac23} + \lin{\frac12} =76\displaystyle = \frac76
5
Find the area of the region bounded by y=x2y = x^2, the tangent line to y=x2y = x^2 at x=1x = 1, and the yy-axis.

Find the equation of the tangent line first, then test x=12x = \frac12 to see which curve is on top.

Find the tangent lineTake the derivative of x2\crv{x^2} to find the slope at x=1x = 1, then write the tangent line equation.
y′\displaystyle y' =2x\displaystyle = 2x =2 at x\displaystyle = 2 \text{ at } x =1,y=1+2(x−1)=2x−1\displaystyle = 1, \qquad \lin{y = 1 + 2(x - 1) = 2x - 1}
Check which curve is on topTest x=12x = \frac12 to compare the parabola with the tangent line.
x\displaystyle x =12:(12)2=14>2⋅12−1=0\displaystyle = \tfrac12:\quad \crv{\big(\tfrac12\big)^2 = \tfrac14} > \lin{2 \cdot \tfrac12 - 1 = 0}
Find the boundsThe line is tangent to the parabola at x=1x = 1, and the y-axis gives x=0x = 0.
x2−(2x−1)\displaystyle \crv{x^2} - (\lin{2x - 1}) =x2−2x+1\displaystyle = x^2 - 2x + 1 =(x−1)2\displaystyle = (x - 1)^2 =0  →  x\displaystyle = 0 \;\to\; x =1\displaystyle = 1
Integrate top minus bottom from 00 to 11.
A\displaystyle A =∫01(x−1)2 dx\displaystyle = \int_0^1 (x - 1)^2\,dx =[(x−1)33]01\displaystyle = \Big[\frac{(x - 1)^3}{3}\Big]_0^1 =0−(−13)\displaystyle = 0 - \Big(-\frac13\Big) =13\displaystyle = \frac13
6
Find the area of the region bounded by y=xy = x and y=2xx2+1y = \dfrac{2x}{x^2 + 1}.

The curves intersect at −1-1, 00, and 11. Which curve is on top at x=−12x = -\frac12?

Find where the curves intersectSet the two equations equal to find all three intersection points.
x\displaystyle \lin{x} =2xx2+1  →  x3+x\displaystyle = \crv{\frac{2x}{x^2 + 1}} \;\to\; x^3 + x =2x  →  x(x−1)(x+1)\displaystyle = 2x \;\to\; x(x - 1)(x + 1) =0  →  x\displaystyle = 0 \;\to\; x =−1, 0, 1\displaystyle = -1,\ 0,\ 1
Check which curve is on topTest a point on each side of 00 to see which curve is on top.
x\displaystyle x =12: 2xx2+1=45>12,x\displaystyle = \tfrac12:\ \crv{\frac{2x}{x^2 + 1} = \frac45} > \lin{\frac12}, \qquad x =−12: −12>−45\displaystyle = -\tfrac12:\ \lin{-\frac12} > \crv{-\frac45}
Integrate each pieceUse u=x2+1u = x^2 + 1 to integrate 2xx2+1\crv{\frac{2x}{x^2 + 1}}, then integrate top minus bottom on each piece.
u\displaystyle u =x2+1, du\displaystyle = x^2 + 1,\ du =2x dx:∫012xx2+1 dx\displaystyle = 2x\,dx:\quad \int_0^1 \crv{\frac{2x}{x^2 + 1}}\,dx =∫12duu\displaystyle = \int_1^2 \frac{du}{u} =ln⁡2\displaystyle = \crv{\ln 2}
∫01(2xx2+1−x)dx\displaystyle \int_0^1 \Big(\crv{\frac{2x}{x^2 + 1}} - \lin{x}\Big)dx =ln⁡2−12,∫−10(x−2xx2+1)dx\displaystyle = \crv{\ln 2} - \lin{\frac12}, \qquad \int_{-1}^0 \Big(\lin{x} - \crv{\frac{2x}{x^2 + 1}}\Big)dx =−12−(−ln⁡2)\displaystyle = \lin{-\frac12} - (\crv{-\ln 2}) =ln⁡2−12\displaystyle = \ln 2 - \frac12
Add the two equal pieces to get the total area.
A\displaystyle A =2(ln⁡2−12)\displaystyle = 2\Big(\ln 2 - \frac12\Big) =2ln⁡2−1\displaystyle = 2\ln 2 - 1
7
The horizontal line y=ky = k divides the region bounded by y=x2y = x^2 and y=4y = 4 into two regions of equal area. Find kk. (Challenge)

Use horizontal rectangles to write the area below y=ky = k in terms of kk.

Find the total areaFind where y=x2\crv{y = x^2} intersects y=4\lin{y = 4}, and integrate top minus bottom to get the full area.
x2\displaystyle \crv{x^2} =4  →  x\displaystyle = \lin{4} \;\to\; x =±2,∫−22(4−x2) dx\displaystyle = \pm 2, \qquad \int_{-2}^{2} (\lin{4} - \crv{x^2})\,dx =323\displaystyle = \frac{32}{3}
Find the area below y = kA horizontal rectangle at height yy has length 2y\crv{2\sqrt{y}}, so integrate from 00 to kk.
y=x2  →  x=±y,length y−(−y)\displaystyle \crv{y = x^2} \;\to\; \crv{x = \pm\sqrt{y}}, \qquad \text{length } \crv{\sqrt{y}} - (\crv{-\sqrt{y}}) =2y\displaystyle = \crv{2\sqrt{y}}
∫0k2y dy\displaystyle \int_0^k \crv{2\sqrt{y}}\,dy =43k32\displaystyle = \frac43 k^{\frac32}
Solve for kSet the area below y=ky = k equal to half of the total area, 163\frac{16}{3}.
43k32\displaystyle \frac43 k^{\frac32} =163  →  k32\displaystyle = \frac{16}{3} \;\to\; k^{\frac32} =4  →  k\displaystyle = 4 \;\to\; k =423\displaystyle = 4^{\frac23} =223\displaystyle = 2\sqrt[3]{2}