The exact signed area

Given a region from aa to bb between the graph of ff and the xx-axis, we know how to find an approximation of the signed area using nn bars of equal width (see the previous sections):

Afk=1nsumf(xk)heightΔxwidthbararea=f(x1)Δx+...+f(xn)ΔxA_f \approx \underbrace{\sum_{k=1}^n}_{sum} \underbrace{\overbrace{f(x_k)}^{height}\overbrace{\Delta x}^{width}}_{bar\,area} = f(x_1)\Delta x+ ... +f(x_n)\Delta x

where AfA_f is the exact area, and the right hand side is a sum of the bar areas, where

The more bars we take, the thinner the bars will be because they all have to fit into the interval from aa to bb. You can also see this when looking at the formula for calculating the width

Δx=ban\Delta x=\frac{b-a}{n}

And if we cover the region beneath the curve with thinner bars, the sum of their bar areas will approximate AfA_f better. See the Geogebra app below.

Open in GeoGebra

The function used in the app above is

f(x)=(x3)22.25f(x)=(x-3)^2-2.25

and the region we are looking at is between a=0a=0 and b=6b=6. Move the slider to the right to increase the number of bars nn. Observe how the sum of bars approaches a specific value (here 4.54.5) if we use more and more bars, that is, if we let nn approach infinity. This specific value is denoted by

abf(x)dx\int_a^b f(x)\,dx

and is called the integral of f from a to b. With this notation in place, we can write

abf(x)dxk=1nf(xk)Δx\boxed{\int_a^b f(x)\, dx \approx \sum_{k=1}^n f(x_k)\Delta x}

and we write

k=1f(xk)Δxnabf(x)dx\boxed{\sum_{k=1} f(x_k)\Delta x \xrightarrow{n \rightarrow \infty} \int_a^b f(x)\,dx}

to indicate that the integral is the value towards which the sum of bars converge for nn\rightarrow \infty. The notation abf(x)dx\int_a^b f(x)\,dx is quite intuitive, by the way. It describes the sum of infinitely many bar areas, where the bars have an infinitely small width dxdx:

absumf(x)heightdxwidthbararea\underbrace{\int_a^b}_{sum} \underbrace{\overbrace{f(x)}^{height}\, \overbrace{dx}^{width}}_{bar\, area}

However, unlike Δx\Delta x, there is no value associated with dxdx ... it is just "infinitely small", that is, dxdx is bigger than zero, but smaller than any positive number (hmm...). Clearly, there is a lot to be said about dxdx, but we will not enter this discussion.

The values aa and bb are called the integration limits. The lower number is always at the base of the symbol \int, the higher number at the top.

It is quite clear, if we play around with the app above, that for increasing nn the bars cover the region more and more exactly. So the sum of the bars tends towards the oriented area AfA_f. Thus we can write:

Afk=1nf(xk)ΔxnAf=abf(x)dx\boxed{\begin{array}{lll}A_f &\approx&\sum_{k=1}^n f(x_k)\,\Delta x\\[0.5em] && \Downarrow n\rightarrow \infty\\[0.5em] A_f &=& \int_a^b f(x)\,dx\end{array}}
Exercise 1

Draw the graph and indicate in the figure (not calculate) the region specified by the integral.

  1. 23(x+1)dx\int_{-2}^3 (x+1)\, dx

  2. 49xdx\int_{4}^9 \sqrt{x}\, dx

  3. 11.5(x21)dx\int_{-1}^{1.5} (x^2-1)\, dx

Solution

So, we know now how to find the exact signed area between the graph of ff and the xx-axis. But of course we still have a problem: to find the exact area we need to apply sums of bars with higher and higher bar numbers, and thus have to add more and more values. For example, using 1000010\,000 bars requires the addition of 1000010\,000 bar areas ... how can we add so many numbers? Even worse, we need to find the sums for nn bars, where nn\rightarrow \infty.

Recall that we had a similar problem for finding the slope of the tangent in different calculus. There we had to determine the slope of many secants to find the value towards which these slopes converged, and this value was then the slope of the tangent. We first had to do it the hard way before we found nice differential rules. We will do the same here - first the hard way, then the elegant integration rules!

Here is an example.

Example 1

Consider the region between the graph of f(x)=3xf(x)=3x and the xx-axis, where a=0a=0 and b=3b=3. We want to find the exact (signed) area Af=033xdxA_f=\int_0^3 3x\, dx of this region.

  1. Approximate 033xdx\int_0^3 3x\, dx using nn bars and find a formula for the sum of the nn bars. Hint: you need one of the famous sums, see section 25.

  2. Let nn approach infinity to find the exact value 033xdx\int_0^3 3x\,dx.

  3. Determine the exact area AfA_f by other means and compare with the result above.

Solution

For nn bars it is

Δx=30n=3n\Delta x = \frac{3-0}{n}=\frac{3}{n}

We also have

x1=3n,x2=6n,x3=9n,...,xn=3nn=3x_1=\frac{3}{n}, x_2=\frac{6}{n}, x_3=\frac{9}{n}, ..., x_n=\frac{3n}{n}=3f(x1)=9n,f(x2)=18n,f(x3)=27n...,f(xn)=9nn=9f(x_1)=\frac{9}{n}, f(x_2)=\frac{18}{n}, f(x_3)=\frac{27}{n}..., f(x_n)=\frac{9n}{n}=9
  1. Approximating 033xdx\int_0^3 3x\, dx with nn bars, we get 033xdxk=1nf(xk)Δx=9n3n+18n3n+27n3n+...+9nn3n=27n2+54n2+81n2+...+27nn2=1n2(27+54+81+...+27n)=27n2(1+2+3+...+nn(n+1)2)=27n2n2+n2=272n2+nn2=13.5(n2n2+nn2)=13.5(1+1n)\begin{array}{lll} \int_0^3 3x\, dx &\approx & \sum_{k=1}^n f(x_k)\Delta x \\[0.1em] & = & \frac{9}{n}\cdot\frac{3}{n}+\frac{18}{n}\cdot\frac{3}{n}+\frac{27}{n}\cdot\frac{3}{n}+...+\frac{9n}{n}\cdot \frac{3}{n}\\[0.1em] &=& \frac{27}{n^2}+\frac{54}{n^2}+\frac{81}{n^2}+...+\frac{27n}{n^2}\\[0.1em] &=& \frac{1}{n^2}(27+54+81+...+27n)\\[0.1em] &=& \frac{27}{n^2}(\underbrace{1+2+3+...+n}_{\frac{n(n+1)}{2}})\\[0.1em] &=& \frac{27}{n^2}\frac{n^2+n}{2}\\[0.1em] &=& \frac{27}{2}\frac{n^2+n}{n^2}\\[0.1em] &=& 13.5\cdot (\frac{n^2}{n^2}+\frac{n}{n^2})\\[0.1em] &=& 13.5\cdot (1+\frac{1}{n})\\[0.1em] \end{array} Note that we have used the sum formula 1+2+...+n=n(n+1)21+2+...+n=\frac{n(n+1)}{2} (see section 2, Exercise 2).
  2. Now we see that if nn\rightarrow \infty we get 033xdx=13.5(1+0)=13.5\int_0^3 3x\, dx = 13.5\cdot (1+0)= \underline{13.5} This is also the area AfA_f.
  3. The region is a triangle with base 33 and height f(3)=9f(3)=9. Thus, the area is 392=13.5\frac{3\cdot 9}{2} = \underline{13.5}
Exercise 2

Determine

01x2dx\int_0^1 x^2\, dx

using converging sums of bars.

Solution

We form the sum of nn bars to approximate the area between the xx-axis and the graph of ff, for a=0a=0 and b=1b=1. With

Δx=10n=1n\Delta x = \frac{1-0}{n}=\frac{1}{n}

we get

x1=1n,x2=2n,x3=3n,...,xn=nn=1x_1=\frac{1}{n}, x_2=\frac{2}{n}, x_3=\frac{3}{n}, ..., x_n=\frac{n}{n}=1f(x1)=12n2,f(x2)=22n2,f(x3)=32n2,...,f(xn)=n2n2f(x_1)=\frac{1^2}{n^2}, f(x_2)=\frac{2^2}{n^2}, f(x_3)=\frac{3^2}{n^2}, ..., f(x_n)=\frac{n^2}{n^2}

and therefore

01x2dxk=1nf(xk)Δx=f(x1)Δx+f(x2)Δx+f(x3)Δx+...+f(xn)Δx=(1n)21n+(2n)21n+(3n)21n+...+(nn)21n=12n3+22n3+32n3+...+n2n3=1n3(12+22+32+...+n2n(n+1)(2n+1)6)=n(n+1)(2n+1)6n3=(n2+n)(2n+1)6n3=2n3+3n2+n6n3=2n36n3+3n26n3+n6n3=13+12n+16n2\begin{array}{lll} \int_0^1 x^2\,dx &\approx& \sum_{k=1}^n f(x_k)\Delta x \\[0.1em] & =& f(x_1)\Delta x+f(x_2)\Delta x +f(x_3)\Delta x + ...+ f(x_n)\Delta x \\[0.1em] & = & \left(\frac{1}{n}\right)^2 \frac{1}{n}+\left(\frac{2}{n}\right)^2 \frac{1}{n}+\left(\frac{3}{n}\right)^2 \frac{1}{n}+...+\left(\frac{n}{n}\right)^2 \frac{1}{n}\\[0.1em] & = & \frac{1^2}{n^3} + \frac{2^2}{n^3}+\frac{3^2}{n^3}+...+\frac{n^2}{n^3}\\[0.1em] & = & \frac{1}{n^3} (\underbrace{1^2 +2^2+3^2+...+n^2}_{\frac{n(n+1)(2n+1)}{6}})\\[0.1em] &=& \frac{n(n+1)(2n+1)}{6 n^3}\\[0.1em] &=& \frac{(n^2+n)(2n+1)}{6 n^3}\\[0.1em] &=& \frac{2n^3+3n^2+n}{6 n^3}\\[0.1em] &=& \frac{2n^3}{6 n^3}+\frac{3n^2}{6 n^3}+\frac{n}{6 n^3}\\[0.1em] &=& \frac{1}{3}+\frac{1}{2 n}+\frac{1}{6 n^2} \end{array}

Note that we have a formula for finding the first nn square numbers (see section 25):

12+22+32+...+n2=n(n+1)(2n+1)61^2+2^2+3^2+...+n^2=\frac{n(n+1)(2n+1)}{6}

For nn\rightarrow \infty we get

01x2dx=13+0+0=13\int_0^1 x^2\,dx =\frac{1}{3}+0+0=\underline{\frac{1}{3}}