Unit 5, lesson 48

The Area Problem

How to give the area under a curve an exact meaning by trapping it between sums of rectangles and letting the rectangles get thinner.

  • Theory part 95
  • Practice part 96
  • Areas as Limits of Sums

Theory, part 95

Nothing loads from YouTube until you press play.

Practice, part 96

Nothing loads from YouTube until you press play.

Rectangles, triangles and any shape with straight sides have areas you can compute from a formula. A region under the curve y=x2y = x^2 has a curved edge, and no formula from geometry covers it. Yet you still feel it has an area. The way out is the same move that gave us tangent lines. Approximate with simple pieces, then take a limit.

Key terms

Nonnegative regions

Definition Let ff be continuous on a closed interval [a,b][a, b] with a<ba < b and f(x)≥0f(x) \ge 0 for all xx in [a,b][a, b]. The region under the graph of ff from aa to bb is the set

S={(x,y)∣a≤x≤b, 0≤y≤f(x)}.S = \{ (x, y) \mid a \le x \le b, \ 0 \le y \le f(x) \}.

It is bounded by the graph above, the xx-axis below and the vertical lines x=ax = a and x=bx = b on the sides.

In plain words Shade everything between the curve and the xx-axis over the interval. For now the curve stays on or above the axis, so the area we are after is an ordinary, nonnegative area.

Example For f(x)=2x+1f(x) = 2x + 1 on [0,3][0, 3] the region SS is a trapezoid with parallel sides f(0)=1f(0) = 1 and f(3)=7f(3) = 7 and width 33. Its area is

1+72⋅3=12.\frac{1 + 7}{2} \cdot 3 = 12.

A straight top edge makes this easy. The rest of the lesson handles curved ones.

Area by polygons and rectangles

Definition A rectangle of width ww and height hh has area whwh. A polygon has the area obtained by cutting it into triangles and adding their areas, where a triangle has area

12⋅base⋅height.\frac{1}{2} \cdot \text{base} \cdot \text{height}.

Area has two basic properties that every later definition must keep. It is additive, so a region split into pieces that overlap only along their edges has the sum of the pieces’ areas. It is monotone, so a region contained in another has area no larger than the other.

In plain words Straight-edged shapes are solved. Monotonicity is the key to curved shapes, since a stack of rectangles inside a region gives a number that is too small and a stack covering it gives a number that is too big.

Example Under f(x)=x2f(x) = x^2 on [0,1][0, 1], the rectangle [12,1]×[0,14][\frac{1}{2}, 1] \times [0, \frac{1}{4}] lies inside the region, because x2≥14x^2 \ge \frac{1}{4} there. So the area is at least 12⋅14=18\frac{1}{2} \cdot \frac{1}{4} = \frac{1}{8}. The square [0,1]×[0,1][0, 1] \times [0, 1] contains the region, so the area is at most 11.

Area approximation with rectangles

Definition Divide [a,b][a, b] into nn subintervals of equal width

Δx=b−an,xi=a+i Δx(i=0,1,…,n).\Delta x = \frac{b - a}{n}, \qquad x_i = a + i \, \Delta x \quad (i = 0, 1, \ldots, n).

The left endpoint sum and the right endpoint sum are

Ln=∑i=1nf(xi−1) Δx,Rn=∑i=1nf(xi) Δx.L_n = \sum_{i=1}^{n} f(x_{i-1}) \, \Delta x, \qquad R_n = \sum_{i=1}^{n} f(x_i) \, \Delta x.

Each term is the area of a rectangle of width Δx\Delta x whose height is the value of ff at one end of the strip.

In plain words Slice the region into thin vertical strips, replace each strip by a rectangle whose height you read off the curve, and add the rectangle areas.

Example For f(x)=x2f(x) = x^2 on [0,1][0, 1] with n=4n = 4, Δx=14\Delta x = \frac{1}{4} and the points are 0,14,12,34,10, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1.

R4=14(116+416+916+1616)=1532=0.46875,R_4 = \frac{1}{4} \left( \frac{1}{16} + \frac{4}{16} + \frac{9}{16} + \frac{16}{16} \right) = \frac{15}{32} = 0.46875,L4=14(0+116+416+916)=732=0.21875.L_4 = \frac{1}{4} \left( 0 + \frac{1}{16} + \frac{4}{16} + \frac{9}{16} \right) = \frac{7}{32} = 0.21875.

To see these rectangles, choose x2x^2 on [0,1][0, 1] with n=4n = 4 in the Riemann sum explorer and switch between the left and right rules.

Lower and upper sums

Definition Let ff be continuous and nonnegative on [a,b][a, b], divided into nn equal subintervals as above. On the iith subinterval let mim_i be the minimum and MiM_i the maximum value of ff, which exist by the extreme value theorem. The lower sum and upper sum are

sn=∑i=1nmi Δx,Sn=∑i=1nMi Δx.s_n = \sum_{i=1}^{n} m_i \, \Delta x, \qquad S_n = \sum_{i=1}^{n} M_i \, \Delta x.

The lower rectangles lie inside the region and the upper rectangles cover it, so whatever the area AA is, it must satisfy sn≤A≤Sns_n \le A \le S_n.

In plain words The lower sum uses the shortest height on each strip and always comes in under the true area. The upper sum uses the tallest height and always comes in over it.

Example The function f(x)=x2f(x) = x^2 is increasing on [0,1][0, 1], so its minimum on each strip is at the left end and its maximum at the right end. That makes s4=L4=0.21875s_4 = L_4 = 0.21875 and S4=R4=0.46875S_4 = R_4 = 0.46875. So the area under the parabola lies between 0.218750.21875 and 0.468750.46875.

Refinement

Definition Let ff be continuous on [a,b][a, b]. A division of [a,b][a, b] is a finite list of points a=x0<x1<⋯<xn=ba = x_0 < x_1 < \cdots < x_n = b. The strips need not have equal widths, so write Δxi=xi−xi−1\Delta x_i = x_i - x_{i-1}. Lower and upper sums make sense for any division,

s=∑i=1nmi Δxi,S=∑i=1nMi Δxi,s = \sum_{i=1}^{n} m_i \, \Delta x_i, \qquad S = \sum_{i=1}^{n} M_i \, \Delta x_i,

with mim_i and MiM_i the minimum and maximum of ff on [xi−1,xi][x_{i-1}, x_i]. A division refines another if it contains all of the other’s points and possibly more. For a refinement the lower sum can only increase or stay the same, and the upper sum can only decrease or stay the same. To see it, add one point tt inside a strip [xi−1,xi][x_{i-1}, x_i]. The minimum of ff on each of the two new pieces is at least mim_i, so their lower contributions add up to at least mi(t−xi−1)+mi(xi−t)=mi Δxim_i (t - x_{i-1}) + m_i (x_i - t) = m_i \, \Delta x_i. The maximum on each piece is at most MiM_i, which gives the reverse inequality for upper sums. Adding several points is this step repeated.

In plain words Cutting the strips more finely never makes the estimates worse. The lower estimate climbs and the upper estimate drops, so the gap that holds the true area narrows.

Example For f(x)=x2f(x) = x^2 on [0,1][0, 1], going from n=2n = 2 to n=4n = 4 adds the points 14\frac{1}{4} and 34\frac{3}{4}.

nnLower sumUpper sumGap
220.1250.1250.6250.6250.50.5
440.218750.218750.468750.468750.250.25

Limiting area

Definition Let ff be continuous and nonnegative on [a,b][a, b]. The area of the region under the graph of ff from aa to bb is defined as

A=lim⁡n→∞Rn=lim⁡n→∞∑i=1nf(xi) Δx.A = \lim_{n \to \infty} R_n = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i) \, \Delta x.

For continuous ff this limit exists, and lim⁡Ln\lim L_n, lim⁡sn\lim s_n and lim⁡Sn\lim S_n all exist and equal the same number AA. So the definition does not depend on which heights you use.

In plain words The area is the number that every rectangle approximation closes in on as the strips get thinner. This is a definition, and it agrees with the familiar area for rectangles and triangles.

Example For f(x)=x2f(x) = x^2 on [0,1][0, 1] we have Δx=1n\Delta x = \frac{1}{n} and xi=inx_i = \frac{i}{n}. The sum of the first nn squares is

∑i=1ni2=n(n+1)(2n+1)6,\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6},

so

Rn=∑i=1ni2n2⋅1n=(n+1)(2n+1)6n2.R_n = \sum_{i=1}^{n} \frac{i^2}{n^2} \cdot \frac{1}{n} = \frac{(n+1)(2n+1)}{6n^2}.
nnRnR_n
10100.3850.385
1001000.338350.33835
100010000.33383350.3338335

As n→∞n \to \infty,

(n+1)(2n+1)6n2=16(1+1n)(2+1n)→26,\frac{(n+1)(2n+1)}{6n^2} = \frac{1}{6} \left(1 + \frac{1}{n}\right)\left(2 + \frac{1}{n}\right) \to \frac{2}{6},

so the area under the parabola from 00 to 11 is exactly 13\frac{1}{3}.

Check yourself

  1. Estimate the area under f(x)=1xf(x) = \frac{1}{x} on [1,3][1, 3] with n=2n = 2 rectangles, once with left endpoints and once with right endpoints. Which one is too big?
Show the answer

Here Δx=1\Delta x = 1. Left endpoints give 1⋅(1+12)=1.51 \cdot \left(1 + \frac{1}{2}\right) = 1.5 and right endpoints give 1⋅(12+13)≈0.8331 \cdot \left(\frac{1}{2} + \frac{1}{3}\right) \approx 0.833. The function is decreasing, so left endpoints give the upper sum, and 1.51.5 is too big.

  1. Find RnR_n for f(x)=xf(x) = x on [0,2][0, 2] and take the limit. Does it match the triangle?
Show the answer

The width is Δx=2n\Delta x = \frac{2}{n} and the right endpoints are xi=2inx_i = \frac{2i}{n}, so

Rn=∑i=1n2in⋅2n=4n2⋅n(n+1)2=2(n+1)n,R_n = \sum_{i=1}^{n} \frac{2i}{n} \cdot \frac{2}{n} = \frac{4}{n^2} \cdot \frac{n(n+1)}{2} = \frac{2(n+1)}{n},

which tends to 22. The triangle has area 12⋅2⋅2=2\frac{1}{2} \cdot 2 \cdot 2 = 2, so yes.

  1. Without computing, explain why every lower sum for a continuous nonnegative ff on [a,b][a, b] is at most every upper sum, even when the two come from different divisions.
Show the answer

Take a lower sum ss from one division and an upper sum SS from another. Put all division points of both together. That common division refines each of the two, so its lower sum s∗s^* satisfies s≤s∗s \le s^* and its upper sum S∗S^* satisfies S∗≤SS^* \le S. On the common division mi≤Mim_i \le M_i on every strip, so s∗≤S∗s^* \le S^*. Together s≤s∗≤S∗≤Ss \le s^* \le S^* \le S.

How this lesson connects

It also uses area.

Resources for this lesson