Area Between Curves
AP Calculus BC · Unit 8 — Applications of Integration
Top minus bottom, or right minus left
$$A=\int_a^b\Big[f(x)-g(x)\Big]dx\qquad\text{or}\qquad A=\int_c^d\Big[p(y)-q(y)\Big]dy$$Slice the region with thin rectangles. A vertical slice has height (upper curve minus lower curve) and width $dx$; a horizontal slice has width (right curve minus left curve) and height $dy$.
Choose the slicing direction that keeps one formula for the whole region. If the upper boundary switches from one curve to another partway across, either split the integral or slice the other way.
When the two curves cross inside the interval, the integrand changes sign. Then
$$A=\int_a^b\left|f(x)-g(x)\right|dx$$and the interval must be split at every crossing. Finding intersection points is therefore step one, not an afterthought.
Worked example: slice by dy to avoid splitting the region
Find the area of the region bounded by the line $y=x-1$ and the parabola $y^{2}=2x+6$.
Solution
Step 1 — write everything in terms of $y$. Line: $x=y+1$. Parabola: $x=\dfrac{y^{2}-6}{2}$.
Step 2 — intersections. $\dfrac{y^{2}-6}{2}=y+1\Rightarrow y^{2}-2y-8=0\Rightarrow y=-2$ or $y=4$.
Step 3 — which is on the right. At $y=0$: the line gives $x=1$, the parabola gives $x=-3$. So the line is on the right over the whole interval.
$$A=\int_{-2}^{4}\left[(y+1)-\frac{y^{2}-6}{2}\right]dy=\int_{-2}^{4}\left(-\frac{y^{2}}{2}+y+4\right)dy$$$$=\left[-\frac{y^{3}}{6}+\frac{y^{2}}{2}+4y\right]_{-2}^{4}=\frac{40}{3}-\left(-\frac{14}{3}\right)=18$$Why not slice vertically. With $dx$, the lower boundary of the region changes from the lower branch of the parabola to the line at $x=-1$, so you would have to write two separate integrals. A single integral with respect to $dy$ replaces both.