Chapter 6 · Applications of Integration

6.1 Areas between Curves

Slice the region into thin vertical (or horizontal) strips, add up top minus bottom, and take the limit: $A=\int_a^b\left[f(x)-g(x)\right]dx$.

In Calculus I we used the definite integral to find the area of a region lying between a curve and the $x$-axis. Very often, though, the region we care about is squeezed between two curves: the lens of glass between two arcs of a window, the gap between a demand curve and a market price, the difference between the water flowing into a reservoir and the water flowing out. None of these regions touches the $x$-axis in a helpful way.

The good news is that no new theory is needed — only the idea that made the definite integral work in the first place. We slice the region into thin strips, approximate each strip by a rectangle, add up the rectangles and take the limit. The only change is the height of each rectangle: instead of "curve minus axis" it becomes "top curve minus bottom curve". That single idea, slice–approximate–add–limit, will carry us through the whole of this chapter.

Area between Two Curves

Let $f$ and $g$ be continuous on $[a,b]$ with $f(x)\ge g(x)$ for every $x$ in $[a,b]$. Let $R$ be the region bounded above by $y=f(x)$, below by $y=g(x)$, and on the left and right by the vertical lines $x=a$ and $x=b$.

Divide $[a,b]$ into $n$ subintervals of equal width $\Delta x=\dfrac{b-a}{n}$ with end points $a=x_0\lt x_1\lt\cdots\lt x_n=b$, and choose a sample point $x_i^*$ in the $i$-th subinterval. Over that subinterval the thin strip of $R$ looks almost like a rectangle of width $\Delta x$ and height $f(x_i^*)-g(x_i^*)$ — the distance from the bottom curve up to the top curve. Adding the rectangles, $$A\approx\sum_{i=1}^{n}\left[f(x_i^*)-g(x_i^*)\right]\Delta x .$$ This is a Riemann sum for the continuous function $f-g$, so as $n\to\infty$ it converges to a definite integral.

📐 Theorem 6.1 — Area between two curves (vertical strips)
Let $f$ and $g$ be continuous on $[a,b]$ with $f(x)\ge g(x)$ for all $x$ in $[a,b]$. The area of the region between the graphs of $f$ and $g$ and the lines $x=a$ and $x=b$ is $$A=\lim_{n\to\infty}\sum_{i=1}^{n}\left[f(x_i^*)-g(x_i^*)\right]\Delta x=\int_a^b\left[f(x)-g(x)\right]dx .$$ In words: area $=\displaystyle\int(\text{top}-\text{bottom})\,dx$. Neither curve needs to stay above the $x$-axis — only the ordering $f\ge g$ matters.
🧭 Problem-solving strategy — finding the area between curves
  1. Sketch the curves and shade the region. Draw one typical strip.
  2. Find the intersection points by setting the two expressions equal. They often supply the limits $a$ and $b$.
  3. Decide which curve is on top on each piece of the interval (test a point in between if unsure). If the curves cross, split the interval at the crossing points.
  4. Choose the strip direction. If the region has a single top and a single bottom curve, use vertical strips ($dx$). If it has a single right and a single left curve, horizontal strips ($dy$) may give one integral instead of two.
  5. Integrate top minus bottom (or right minus left), and check that the answer is positive and roughly matches your sketch.
✏️ Example 1 — Region on a given interval
Find the area of the region bounded above by $y=e^x$, below by $y=x$, and on the sides by $x=0$ and $x=1$.
Order For every $x$ we have $e^x\ge 1+x\gt x$ (the tangent line at $0$ lies below the convex curve $e^x$), so $e^x$ is the top curve on all of $[0,1]$.
Set up $$A=\int_0^1\left(e^x-x\right)dx .$$
Evaluate $$A=\left[e^x-\frac{x^2}{2}\right]_0^1=\left(e-\frac12\right)-(1-0)=e-\frac32\approx1.2183 .$$
Check The strip height $e^x-x$ grows from $1$ (at $x=0$) to $e-1\approx1.72$ (at $x=1$); an area between $1$ and $1.72$ on an interval of width $1$ is consistent with $1.2183$. ✓
✏️ Example 2 — The limits come from the intersection points
Find the area of the region enclosed by the line $y=2x+3$ and the parabola $y=x^2$.
Intersect $x^2=2x+3\iff x^2-2x-3=0\iff(x-3)(x+1)=0$, so the curves meet at $x=-1$ and $x=3$ (points $(-1,1)$ and $(3,9)$).
Order Test $x=0$: the line gives $3$, the parabola gives $0$. So the line is on top on $[-1,3]$.
Integrate $$\begin{aligned}A&=\int_{-1}^{3}\left[(2x+3)-x^2\right]dx=\left[x^2+3x-\frac{x^3}{3}\right]_{-1}^{3}\\&=(9+9-9)-\left(1-3+\frac13\right)=9+\frac53=\frac{32}{3}\approx10.667 .\end{aligned}$$
Check Watch Interactive 1 (first region): the strip sums settle on $10.6667$. ✓
Interactive 1 — Filling the Region with Strips

Each strip has width $\Delta x$ and height $|f(x)-g(x)|$ measured at its midpoint. Press Play to lay the strips down one by one and watch the running sum; after each pass the number of strips doubles and the sum closes in on the exact area. Strips are blue where $f$ is on top and red where $g$ is on top.

8
strips placed—
running sum $\sum|f-g|\,\Delta x$—
exact area—
error (full pass)—

Curves That Cross

Theorem 6.1 assumed that one curve stays on top. When the graphs cross, the top and bottom curves swap roles, and $\int_a^b[f(x)-g(x)]\,dx$ no longer measures area: on the pieces where $g$ is on top the integrand is negative and those pieces are subtracted. Area is never negative, so we use the distance between the curves, $|f(x)-g(x)|$: $$A=\int_a^b\left|f(x)-g(x)\right|dx .$$ In practice we find every crossing point $c$ in $(a,b)$, split the interval there, and on each piece integrate top minus bottom.

⚠️ Common mistake — a signed integral is not an area

On $[0,\pi]$ the curves $y=\sin x$ and $y=\cos x$ cross at $x=\tfrac\pi4$. Ignoring the crossing gives $$\int_0^{\pi}(\sin x-\cos x)\,dx=\Big[-\cos x-\sin x\Big]_0^{\pi}=(1-0)-(-1-0)=2,$$ but the true area is $2\sqrt2\approx2.83$ (Example 3). The small piece on $[0,\tfrac\pi4]$, where $\cos x$ is on top, was counted as negative area $-(\sqrt2-1)$ instead of $+(\sqrt2-1)$. Over $[0,2\pi]$ the signed integral is even $0$, although the curves enclose an area of $4\sqrt2$ (Exercise II.10).

Rule: always find the crossing points first; never let a negative piece cancel a positive one.

✏️ Example 3 — Splitting at a crossing point
Find the area of the region between $y=\sin x$ and $y=\cos x$ for $0\le x\le\pi$.
Crossing $\sin x=\cos x\iff\tan x=1$, and in $[0,\pi]$ the only solution is $x=\tfrac\pi4$. At $x=0$: $\cos0=1\gt\sin0=0$, so $\cos x$ is on top on $[0,\tfrac\pi4]$; at $x=\tfrac\pi2$: $\sin x=1\gt\cos x=0$, so $\sin x$ is on top on $[\tfrac\pi4,\pi]$.
Split $$A=\int_0^{\pi/4}(\cos x-\sin x)\,dx+\int_{\pi/4}^{\pi}(\sin x-\cos x)\,dx .$$
Evaluate $$\int_0^{\pi/4}(\cos x-\sin x)\,dx=\Big[\sin x+\cos x\Big]_0^{\pi/4}=\left(\tfrac{\sqrt2}{2}+\tfrac{\sqrt2}{2}\right)-1=\sqrt2-1,$$ $$\int_{\pi/4}^{\pi}(\sin x-\cos x)\,dx=\Big[-\cos x-\sin x\Big]_{\pi/4}^{\pi}=(1-0)-\left(-\tfrac{\sqrt2}{2}-\tfrac{\sqrt2}{2}\right)=1+\sqrt2 .$$
Answer $A=(\sqrt2-1)+(1+\sqrt2)=2\sqrt2\approx2.8284$. Choose the second region in Interactive 1: the red strips on the left are the piece where $\cos x$ is on top.

Integrating with Respect to $y$

Some regions are awkward to cut vertically. If the region is bounded on the right by $x=u(y)$ and on the left by $x=v(y)$, cut it into thin horizontal strips instead. A strip at height $y$ has length $u(y)-v(y)$ (right minus left) and thickness $\Delta y$, and the same slice–add–limit argument gives the following result.

📐 Theorem 6.2 — Area between two curves (horizontal strips)
Let $u$ and $v$ be continuous on $[c,d]$ with $u(y)\ge v(y)$ for all $y$ in $[c,d]$. The area of the region between the graphs $x=u(y)$ and $x=v(y)$ and the lines $y=c$ and $y=d$ is $$A=\int_c^d\left[u(y)-v(y)\right]dy\qquad(\text{right}-\text{left}).$$

Horizontal strips are worth trying whenever the vertical strips would change their top or bottom curve part-way across — each change costs a separate integral — or when the boundary curves are naturally written as $x$ in terms of $y$.

✏️ Example 4 — One integral in $y$ instead of two in $x$
Find the area of the region enclosed by the parabola $x=y^2$ and the line $x=y+2$.
Intersect $y^2=y+2\iff(y-2)(y+1)=0$, so $y=-1$ or $y=2$: the points $(1,-1)$ and $(4,2)$.
Horizontal strips For $-1\le y\le2$ the line is on the right (test $y=0$: line $x=2$, parabola $x=0$). $$A=\int_{-1}^{2}\left[(y+2)-y^2\right]dy=\left[\frac{y^2}{2}+2y-\frac{y^3}{3}\right]_{-1}^{2}=\left(2+4-\frac83\right)-\left(\frac12-2+\frac13\right)=\frac{10}{3}+\frac76=\frac92 .$$
Compare with $dx$ With vertical strips the bottom boundary changes at $x=1$: for $0\le x\le1$ the strip runs from $y=-\sqrt x$ to $y=\sqrt x$, and for $1\le x\le4$ from the line $y=x-2$ up to $y=\sqrt x$. $$A=\int_0^1 2\sqrt x\,dx+\int_1^4\left(\sqrt x-x+2\right)dx=\frac43+\frac{19}{6}=\frac92 .$$ Same answer, twice the work.
Check Interactive 2 (first region) sweeps both kinds of strip across this region and reports $4.5$ either way. ✓
✏️ Example 5 — A region bounded by three curves
Find the area of the region in the first quadrant bounded by $y=\sqrt x$, the line $y=2-x$ and the $x$-axis.
Corners $\sqrt x=2-x$: squaring, $x=4-4x+x^2$, so $x^2-5x+4=0$, $x=1$ or $x=4$. Only $x=1$ satisfies the original equation ($\sqrt4=2\ne-2$), giving the corner $(1,1)$. The other corners are $(0,0)$ and $(2,0)$.
Vertical strips The top curve changes at $x=1$: $$A=\int_0^1\sqrt x\,dx+\int_1^2(2-x)\,dx=\frac23+\frac12=\frac76 .$$
Horizontal strips Writing $x=y^2$ (left) and $x=2-y$ (right) for $0\le y\le1$: $$A=\int_0^1\left[(2-y)-y^2\right]dy=2-\frac12-\frac13=\frac76 .$$ One integral covers the region because it has a single left and a single right boundary.
Answer $A=\dfrac76\approx1.1667$.
Interactive 2 — Vertical or Horizontal Strips?

A single strip sweeps across the region and the swept part is shaded. Toggle between $dx$ (vertical strips, length = top − bottom) and $dy$ (horizontal strips, length = right − left). Watch the formula for the strip length: every time it changes, you need another integral.

strip at—
strip length formula—
area swept so far—
integrals needed—

An Applied Problem: Consumer and Producer Surplus

Areas between curves appear whenever a quantity is the accumulated difference of two rates or two prices. A classic example comes from economics. A demand curve $p=D(q)$ gives the price buyers are willing to pay for the $q$-th unit; a supply curve $p=S(q)$ gives the price at which producers are willing to sell it. The market settles at the equilibrium $(q_e,p_e)$ where $D(q_e)=S(q_e)=p_e$.

📘 Definition 6.1 — Consumer and producer surplus
Suppose $D$ is decreasing, $S$ is increasing, both are continuous on $[0,q_e]$, and they meet at the equilibrium $(q_e,p_e)$.
  • The consumer surplus $\displaystyle CS=\int_0^{q_e}\left[D(q)-p_e\right]dq$ is the area between the demand curve and the price line — the total amount buyers save because they pay $p_e$ rather than the most they would have paid.
  • The producer surplus $\displaystyle PS=\int_0^{q_e}\left[p_e-S(q)\right]dq$ is the area between the price line and the supply curve — the extra income sellers receive above their minimum acceptable price.
✏️ Example 6 — Surplus in a market for bicycles
In a model of a city's market for electric bicycles, demand is $D(q)=100-0.02q^2$ and supply is $S(q)=20+0.03q^2$, where $q$ is the number of bicycles sold per month (in hundreds) and prices are in tens of euros per bicycle. Find the equilibrium, the consumer surplus and the producer surplus.
Equilibrium $100-0.02q^2=20+0.03q^2\iff0.05q^2=80\iff q^2=1600$, so $q_e=40$ and $p_e=100-0.02(1600)=68$.
Consumer surplus $$CS=\int_0^{40}\left(100-0.02q^2-68\right)dq=\left[32q-\frac{0.02q^3}{3}\right]_0^{40}=1280-\frac{1280}{3}=\frac{2560}{3}\approx853.33 .$$
Producer surplus $$PS=\int_0^{40}\left(68-20-0.03q^2\right)dq=\Big[48q-0.01q^3\Big]_0^{40}=1920-640=1280 .$$
Units The equilibrium price is $68$ tens of euros, i.e. $680$ € per bicycle, with $4000$ bicycles sold per month. Each unit of area is (hundreds of bicycles) $\times$ (tens of €) $=1000$ €, so $CS\approx853.33\times1000\approx853\,000$ € and $PS=1280\times1000=1\,280\,000$ € per month.

The same picture describes many "gap between two rates" problems: if water flows into a tank at rate $r_{\text{in}}(t)$ and out at rate $r_{\text{out}}(t)$, the area between the two rate curves over $[t_1,t_2]$ is the net amount gained (where $r_{\text{in}}\ge r_{\text{out}}$); if two cyclists ride with velocities $v_A(t)\ge v_B(t)$, the area between the velocity curves is how far $A$ pulls ahead (Exercise III.3).

Exercises

I
Sketch each region, find any intersection points, and compute its area using vertical strips.
  • 1 $y=x^2+1$, $y=x$, $x=0$, $x=2$
  • 2 $y=4-x^2$ and $y=x+2$
  • 3 $y=x^2$ and $y=2x-x^2$
  • 4 $y=x^3$ and $y=x^2$
  • 5 $y=\sqrt x$ and $y=\dfrac x2$
  • 6 $y=e^x$, $y=e^{-x}$ and $x=1$
  • 7 $y=\dfrac1x$, $y=x$ and $x=3$
  • 8 $y=\sec^2x$ and $y=2$, for $-\tfrac\pi2\lt x\lt\tfrac\pi2$
  • 9 $y=x^3$ and $y=4x$ (two pieces)
  • 10 $y=\sin x$ and $y=\sin2x$, for $0\le x\le\tfrac\pi2$
Check: shade the region and compare a numerical area with your answer
interval—
numerical $\int|f-g|\,dx$—
exact answer—
1 $x^2+1-x=\left(x-\tfrac12\right)^2+\tfrac34\gt0$, so $x^2+1$ is on top: $$A=\int_0^2\left(x^2-x+1\right)dx=\left[\frac{x^3}{3}-\frac{x^2}{2}+x\right]_0^2=\frac83-2+2=\frac83\approx2.667 .$$
2 $4-x^2=x+2\iff x^2+x-2=0\iff x=-2,\ 1$. The parabola is on top (test $x=0$: $4\gt2$): $$A=\int_{-2}^{1}\left(2-x-x^2\right)dx=\left[2x-\frac{x^2}{2}-\frac{x^3}{3}\right]_{-2}^{1}=\frac76-\left(-\frac{10}{3}\right)=\frac92 .$$
3 $x^2=2x-x^2\iff2x(x-1)=0\iff x=0,1$. On $[0,1]$, $2x-x^2\ge x^2$: $$A=\int_0^1\left(2x-2x^2\right)dx=1-\frac23=\frac13 .$$
4 $x^3=x^2\iff x=0,1$. On $[0,1]$, $x^2\ge x^3$: $$A=\int_0^1\left(x^2-x^3\right)dx=\frac13-\frac14=\frac1{12}\approx0.0833 .$$
5 $\sqrt x=\tfrac x2\iff x=\tfrac{x^2}{4}\iff x=0,4$. On $[0,4]$, $\sqrt x\ge\tfrac x2$ (test $x=1$): $$A=\int_0^4\left(\sqrt x-\frac x2\right)dx=\left[\frac23x^{3/2}-\frac{x^2}{4}\right]_0^4=\frac{16}{3}-4=\frac43 .$$
6 The curves meet at $x=0$; for $x\gt0$, $e^x\gt e^{-x}$: $$A=\int_0^1\left(e^x-e^{-x}\right)dx=\Big[e^x+e^{-x}\Big]_0^1=e+\frac1e-2\approx1.0862 .$$
7 $\tfrac1x=x$ at $x=1$ (for $x\gt0$); on $[1,3]$, $x\ge\tfrac1x$: $$A=\int_1^3\left(x-\frac1x\right)dx=\left[\frac{x^2}{2}-\ln x\right]_1^3=4-\ln3\approx2.9014 .$$
8 $\sec^2x=2\iff\cos x=\pm\tfrac{1}{\sqrt2}\iff x=\pm\tfrac\pi4$ in the given interval; between them $\sec^2x\le2$: $$A=\int_{-\pi/4}^{\pi/4}\left(2-\sec^2x\right)dx=\Big[2x-\tan x\Big]_{-\pi/4}^{\pi/4}=\left(\frac\pi2-1\right)-\left(-\frac\pi2+1\right)=\pi-2\approx1.1416 .$$
9 $x^3=4x\iff x(x-2)(x+2)=0$. On $[-2,0]$, $x^3\ge4x$; on $[0,2]$, $4x\ge x^3$. By symmetry (both functions are odd) the two pieces are equal: $$A=2\int_0^2\left(4x-x^3\right)dx=2\left[2x^2-\frac{x^4}{4}\right]_0^2=2(8-4)=8 .$$
10 $\sin2x=\sin x\iff\sin x(2\cos x-1)=0$, so $x=0$ or $x=\tfrac\pi3$. On $[0,\tfrac\pi3]$, $\sin2x\ge\sin x$; on $[\tfrac\pi3,\tfrac\pi2]$ the order reverses. With $F(x)=-\tfrac12\cos2x+\cos x$ (an antiderivative of $\sin2x-\sin x$): $F(0)=\tfrac12$, $F(\tfrac\pi3)=\tfrac34$, $F(\tfrac\pi2)=\tfrac12$. $$A=\left[F\left(\tfrac\pi3\right)-F(0)\right]-\left[F\left(\tfrac\pi2\right)-F\left(\tfrac\pi3\right)\right]=\frac14+\frac14=\frac12 .$$
II
Horizontal strips, crossing curves and regions with three boundary curves. Choose the strip direction that gives the fewest integrals.
  • 1 $x=y^2$ and $x=4$ (integrate with respect to $y$)
  • 2 $x=2y-y^2$ and the $y$-axis
  • 3 $x=y^2$ and $x=6-y$
  • 4 $x=y^2-1$ and $x=1-y^2$
  • 5 $y=\dfrac1x$, $y=x$ and $y=\dfrac x4$, in the first quadrant
  • 6 $y=2x$, $y=\dfrac x2$ and $x+y=3$ (check your answer with the area formula for a triangle)
  • 7 $y=x^3-2x^2$ and $y=3x$ (the curves cross three times)
  • 8 $y=|x|$ and $y=2-x^2$
  • 9 Challenge. Find the number $k$ such that the horizontal line $y=k$ divides the region between $y=4-x^2$ and the $x$-axis into two parts of equal area.
  • 10 Compute $\displaystyle\int_0^{2\pi}(\sin x-\cos x)\,dx$, then the actual area between $y=\sin x$ and $y=\cos x$ on $[0,2\pi]$. Explain the difference.
1 Meet at $y=\pm2$; right curve $x=4$, left $x=y^2$: $$A=\int_{-2}^{2}\left(4-y^2\right)dy=16-\frac{16}{3}=\frac{32}{3}\approx10.667 .$$
2 $2y-y^2=0$ at $y=0,2$, and $2y-y^2\ge0$ between them: $$A=\int_0^2\left(2y-y^2\right)dy=4-\frac83=\frac43 .$$
3 $y^2=6-y\iff(y+3)(y-2)=0$, so $y=-3,2$; the line is on the right: $$A=\int_{-3}^{2}\left(6-y-y^2\right)dy=\left[6y-\frac{y^2}{2}-\frac{y^3}{3}\right]_{-3}^{2}=\frac{22}{3}+\frac{27}{2}=\frac{125}{6}\approx20.833 .$$
4 $y^2-1=1-y^2\iff y=\pm1$; right curve $x=1-y^2$: $$A=\int_{-1}^{1}\left(2-2y^2\right)dy=4-\frac43=\frac83 .$$
5 Corners: $(0,0)$; $\tfrac1x=x$ at $(1,1)$; $\tfrac1x=\tfrac x4$ at $(2,\tfrac12)$. The top curve changes at $x=1$, the bottom is $y=\tfrac x4$: $$A=\int_0^1\left(x-\frac x4\right)dx+\int_1^2\left(\frac1x-\frac x4\right)dx=\frac38+\left(\ln2-\frac38\right)=\ln2\approx0.6931 .$$
6 Corners $(0,0)$, $(1,2)$ [$2x=3-x$] and $(2,1)$ [$\tfrac x2=3-x$]. $$A=\int_0^1\left(2x-\frac x2\right)dx+\int_1^2\left(3-x-\frac x2\right)dx=\frac34+\frac34=\frac32 .$$ Check: triangle area $\tfrac12\left|1\cdot1-2\cdot2\right|=\tfrac32$. ✓
7 $x^3-2x^2-3x=x(x-3)(x+1)=0$ at $x=-1,0,3$. On $[-1,0]$ the cubic is on top; on $[0,3]$ the line is. With $H(x)=\tfrac{x^4}{4}-\tfrac{2x^3}{3}-\tfrac{3x^2}{2}$: $H(-1)=-\tfrac7{12}$, $H(0)=0$, $H(3)=-\tfrac{45}{4}$. $$A=\left[H(0)-H(-1)\right]-\left[H(3)-H(0)\right]=\frac7{12}+\frac{45}{4}=\frac{71}{6}\approx11.833 .$$
8 For $x\ge0$: $x=2-x^2$ at $x=1$; by symmetry the curves meet at $x=\pm1$. $$A=2\int_0^1\left(2-x^2-x\right)dx=2\left(2-\frac13-\frac12\right)=\frac73\approx2.333 .$$
9 Total area $\int_{-2}^{2}(4-x^2)\,dx=\tfrac{32}{3}$. Above $y=k$ use horizontal strips: at height $y$ the region has width $2\sqrt{4-y}$, so the area above $k$ is $$\int_k^4 2\sqrt{4-y}\,dy=\frac43(4-k)^{3/2}.$$ Setting this equal to $\tfrac{16}{3}$: $(4-k)^{3/2}=4$, $4-k=4^{2/3}$, $$k=4-2^{4/3}\approx1.4802 .$$
10 $\int_0^{2\pi}(\sin x-\cos x)\,dx=\Big[-\cos x-\sin x\Big]_0^{2\pi}=-1-(-1)=0$. The curves cross at $\tfrac\pi4$ and $\tfrac{5\pi}4$; with $G(x)=-\cos x-\sin x$: $G(0)=-1$, $G(\tfrac\pi4)=-\sqrt2$, $G(\tfrac{5\pi}4)=\sqrt2$, $G(2\pi)=-1$, so $$A=(\sqrt2-1)+2\sqrt2+(1+\sqrt2)=4\sqrt2\approx5.657 .$$ The signed integral is zero because the piece where $\sin x$ is on top exactly cancels the two pieces where $\cos x$ is on top.
III
Applications. Give units in every answer.
  • 1 Consumer surplus. Demand for a concert ticket is $D(q)=120-0.5q$ € (where $q$ is the number of tickets, in hundreds) and the ticket price is fixed at $80$ €. Find the consumer surplus.
  • 2 Producer surplus. A supply curve is $S(q)=10+0.1q^2$ € per unit ($q$ in thousands of units) and the market price is $50$ €. Find the quantity supplied and the producer surplus.
  • 3 Two cyclists. Cyclists A and B leave the start line together. A rides at a constant $v_A=8$ m/s while B accelerates with $v_B(t)=2t$ m/s. When is A's lead greatest, and how large is it?
  • 4 For the cyclists of part 3, at what time does B draw level with A?
  • 5 Population. In a region, births occur at a rate $b(t)=50e^{0.02t}$ thousand per year and deaths at $d(t)=40+0.5t$ thousand per year, where $t$ is in years. By how much does the population grow over $0\le t\le10$?
  • 6 Income inequality. A Lorenz curve $y=L(x)$ gives the fraction $y$ of a country's income earned by the poorest fraction $x$ of the population. The Gini coefficient is $G=2\displaystyle\int_0^1\left[x-L(x)\right]dx$ (twice the area between the line of equality $y=x$ and the curve). Compute $G$ for country A with $L(x)=x^2$ and country B with $L(x)=0.4x+0.6x^3$. Which country is more equal?
  • 7 Architecture. A glass panel is bounded above by $y=3-\tfrac{x^2}{3}$ and below by $y=\tfrac{x^2}{6}$ (in metres). Find its area.
1 $120-0.5q=80$ at $q=80$. $$CS=\int_0^{80}\left(40-0.5q\right)dq=3200-1600=1600 .$$ Units: hundreds of tickets $\times$ € $=100$ €, so $CS=160\,000$ €.
2 $10+0.1q^2=50\iff q=20$ (thousand units). $$PS=\int_0^{20}\left(40-0.1q^2\right)dq=800-\frac{800}{3}=\frac{1600}{3}\approx533.33,$$ i.e. about $533\,333$ € (thousands of units $\times$ €).
3 A's lead $\ell(t)=\int_0^t(8-2s)\,ds$ grows while $v_A\gt v_B$ and is greatest when $v_A=v_B$, i.e. $t=4$ s. Then $$\ell(4)=\int_0^4(8-2t)\,dt=32-16=16\ \text{m}$$ — the area between the two velocity graphs.
4 $\ell(T)=8T-T^2=0$ gives $T=8$ s: the area where B is faster ($4\le t\le8$) exactly cancels the $16$ m lead.
5 $b(t)-d(t)\ge10\gt0$ on $[0,10]$, so the net growth is the area between the curves: $$\int_0^{10}\left(50e^{0.02t}-40-0.5t\right)dt=2500\left(e^{0.2}-1\right)-400-25\approx128.51$$ thousand, i.e. about $128\,500$ people.
6 A: $G=2\int_0^1(x-x^2)\,dx=2\left(\tfrac12-\tfrac13\right)=\tfrac13\approx0.333$. B: $G=2\int_0^1\left(0.6x-0.6x^3\right)dx=2(0.3-0.15)=0.30$. Country B has the smaller Gini coefficient, so its income is more evenly shared (both are dimensionless numbers between $0$ and $1$).
7 $3-\tfrac{x^2}{3}=\tfrac{x^2}{6}\iff x^2=6\iff x=\pm\sqrt6$. $$A=\int_{-\sqrt6}^{\sqrt6}\left(3-\frac{x^2}{2}\right)dx=2\left[3x-\frac{x^3}{6}\right]_0^{\sqrt6}=2\left(3\sqrt6-\sqrt6\right)=4\sqrt6\approx9.80\ \text{m}^2 .$$
IV
Thinking about area.
  • 1 Find $b\gt0$ such that the region between $y=x^2$ and $y=bx$ has area $36$.
  • 2 Show that the area between $y=x^n$ and $y=x^{n+1}$ on $[0,1]$ is $\dfrac{1}{(n+1)(n+2)}$, and find the smallest whole number $n$ for which it is less than $0.01$.
  • 3 True or false? If $\displaystyle\int_a^b\left[f(x)-g(x)\right]dx=0$, then the graphs of $f$ and $g$ enclose no area on $[a,b]$.
  • 4 True or false? Moving both curves up by $5$ units does not change the area between them.
1 The curves meet at $x=0$ and $x=b$, with the line on top: $\int_0^b(bx-x^2)\,dx=\tfrac{b^3}{2}-\tfrac{b^3}{3}=\tfrac{b^3}{6}$. Setting $\tfrac{b^3}{6}=36$: $b^3=216$, $b=6$.
2 On $[0,1]$, $x^n\ge x^{n+1}$, so $A=\int_0^1(x^n-x^{n+1})\,dx=\tfrac1{n+1}-\tfrac1{n+2}=\tfrac1{(n+1)(n+2)}$. We need $(n+1)(n+2)\gt100$: $n=8$ gives $90$, $n=9$ gives $110$. Smallest $n=9$ (area $\tfrac1{110}\approx0.0091$).
3 False Positive and negative pieces can cancel. Exercise II.10: $\int_0^{2\pi}(\sin x-\cos x)\,dx=0$, yet the area is $4\sqrt2$.
4 True The strip height $(f+5)-(g+5)=f-g$ is unchanged, so every strip — and hence the integral — is unchanged.
🔬 Research–Teaching NexusResearch-tutored · optional, about 30 minutes

Research question. How unequal is income in a country, and how does that compare with its neighbours? The Gini coefficient — an area between two curves — answers this with a single number.

Why it matters. Governments, the World Bank and the United Nations use the Gini coefficient to track inequality, to judge whether tax and welfare policies are working, and to compare countries fairly regardless of their size or currency.

What to do.

  1. Sample case: in one country the poorest $20\%$ of households earn $6\%$ of all income, and the following fifths earn $10\%$, $15\%$, $22\%$ and $47\%$. Plot the cumulative points $(0,0)$, $(0.2,0.06)$, $(0.4,0.16)$, $(0.6,0.31)$, $(0.8,0.53)$, $(1,1)$ — this is the Lorenz curve.
  2. Estimate the area under the Lorenz curve with the trapezoidal rule, then compute $G=2\left(\tfrac12-\text{area}\right)=1-2\times\text{area}$.
  3. Fit a model $L(x)=x^k$ through the point $(0.6,0.31)$ and compute $G=2\int_0^1\left(x-x^k\right)dx$ exactly. Compare with step 2.
  4. Find published income-share data for two countries of your choice (for example from the World Bank's open data) and repeat steps 1–2.

Tools: Spreadsheet, graphing calculator or Desmos

Hand in: A one-page note with your Lorenz curves on one set of axes, the two Gini estimates for each country, and one reason why the trapezoidal estimate of $G$ is slightly too low.

Going further. The Gini coefficient is also used in ecology (inequality of species abundance) and in medicine (inequality of access to health care). Choose one of these uses and explain what the "area between the curves" represents there.

Instructor note: the trapezoidal area for the sample data is $0.312$, giving $G\approx0.376$. The power model gives $k=\ln0.31/\ln0.6\approx2.29$ and $G=\tfrac{k-1}{k+1}\approx0.39$. Trapezoids lie above a convex Lorenz curve, so they overestimate the area under it and underestimate $G$.

🧪 Self-check quiz

0/5 correct

Q1. If $f$ and $g$ are continuous and $f(x)\ge g(x)$ on $[a,b]$, the area between their graphs on $[a,b]$ is

Q2. The area of the region enclosed by $y=x$ and $y=x^2$ is

Q3. When a region is cut into horizontal strips, the length of a strip is

Q4. To find the area between $y=\sin x$ and $y=\cos x$ on $\left[0,\tfrac\pi2\right]$ you should

Q5. The area of the region between $x=y^2$ and the line $x=1$ is