# 8.4. Calculating Areas

There are some integrals that allow quite an interesting interpretation. The three examples to follow are accompanied by a sketch of their integrands.

 For $a,b>0$ we have: $\underset{0}{\overset{a}{\int }}b=\phantom{\phantom{\rule{0pt}{12pt}}}b\mathrm{X}{|}_{0}^{a}=ab$ For $g,h>0$ we have: $\underset{0}{\overset{g}{\int }}\frac{h}{g}\mathrm{X}=\frac{1}{2}\frac{h}{g}\phantom{\phantom{\rule{0pt}{12pt}}}{\mathrm{X}}^{2}{|}_{0}^{g}=\frac{gh}{2}$ According to an example in 8.3 we know that the function $\frac{\mathrm{X}}{2}\cdot \sqrt{1-\frac{{\mathrm{X}}^{2}}{{r}^{2}}}+\frac{r}{2}\cdot \mathrm{arcsin}\frac{\mathrm{X}}{r}$ is a primitive of $\sqrt{1-\frac{{\mathrm{X}}^{2}}{{r}^{2}}}$. For $r>0$ we thus have: $\begin{array}{ll}\underset{-r}{\overset{r}{\int }}\sqrt{{r}^{2}-{\mathrm{X}}^{2}}\hfill & =r\underset{-r}{\overset{r}{\int }}\sqrt{1-\frac{{\mathrm{X}}^{2}}{{r}^{2}}}\hfill \\ \hfill & =r\left(\frac{\mathrm{X}}{2}\cdot \sqrt{1-\frac{{\mathrm{X}}^{2}}{{r}^{2}}}+\frac{r}{2}\cdot \mathrm{arcsin}\frac{\mathrm{X}}{r}\phantom{\phantom{\rule{0pt}{12pt}}}\right){|}_{-r}^{r}\hfill \\ \hfill & =r\left(0+\frac{r}{2}\left(\frac{\pi }{2}+\frac{\pi }{2}\right)\right)=\frac{{r}^{2}\pi }{2}\hfill \end{array}$

In each case the integral value coincides with the area of the respective object (rectangle, triangle, semi-circle) as known from elementary geometry. All of the three regions are bounded from below by the x-axis and from above by the integrand f. We understand those regions as being generated by the "boundary function" f on the interval of integration.

This coincidence between areas and integrals raises hope to calculate areas of further regions in the plane by means of integration, especially those curvilinear ones which are not covered by common geometry. The following sketch will put this hope into practice.

Take some positive, integrable function $f\in \mathcal{I}\left(\left[a,b\right]\right)$. For an arbitrary $n\in {ℕ}^{\ast }$ we now divide the interval $\left[a,b\right]$ into n subintervals (and advantageously rename the endpoints a and b):

As we may split integrals unrestrictedly, the mean value theorem [8.2.8] allows to calculate the integral of f as a sum

$\underset{a}{\overset{b}{\int }}f=\sum _{i=1}^{n}\underset{{x}_{i-1}}{\overset{{x}_{i}}{\int }}f=\sum _{i=1}^{n}f\left({\stackrel{˜}{x}}_{i}\right)\cdot \left({x}_{i}-{x}_{i-1}\right)$[1]

where each addend is the product of the respective subinterval's diameter with a suitable value of f. As f is positive we may interpret this product as the area of a rectangle, and the integral thus as the sum of rectangle areas.

Depicted below is the function $f=0,15{\mathrm{X}}^{3}-1,4{\mathrm{X}}^{2}+3\mathrm{X}+2$ and the region it generates on the interval $\left[0,6\right]$. Moving the slider will approximate this region by a union of rectangles. Their heights are set according to [1] thus the sum of all rectangle areas has always the same value 13,8
 i $\underset{0}{\overset{6}{\int }}f=\frac{0,15}{4}{\mathrm{X}}^{4}-\frac{1,4}{3}{\mathrm{X}}^{3}+\frac{3}{2}{\mathrm{X}}^{2}+2\mathrm{X}\phantom{\phantom{\rule{0pt}{12pt}}}{|}_{0}^{6}=13,8$
i.e. the value of the integral of f.

 Your browser doesn't support inlineframes or doesn't display them correctly.

Consider:

• The series $\left(\sum _{i=1}^{n}f\left({\stackrel{˜}{x}}_{i}\right)\cdot \left({x}_{i}-{x}_{i-1}\right)\right)$ in [1] is a constant one, and thus trivially convergent to

$\sum _{i=1}^{\infty }f\left({\stackrel{˜}{x}}_{i}\right)\cdot \left({x}_{i}-{x}_{i-1}\right)=\underset{a}{\overset{b}{\int }}f$.[2]

This context explaines the ideas behind the symbols $\int$ and dx introduced by Leibniz: In the limit process the subintervals $\left[{x}_{i-1}-{x}_{i}\right]$ shrink up to only one point x, that means the actual difference $\mathrm{\Delta }\text{\hspace{0.17em}}x={x}_{i}-{x}_{i-1}$ transmutes into the infinitesimale difference dx, leaving only one choice for ${\stackrel{˜}{x}}_{i}$ namely x, and finally the sigma sign $\sum$ mutates to $\int$, a stylized, elongated letter S. The limit [2] is thus symbolically noted as

$\underset{a}{\overset{b}{\int }}f\left(x\right)\text{\hspace{0.17em}}dx$

With positive functions we now may understand an integral also as an area. With arbitrary functions however this won't be true as areas are always positive in contrast to integrals. As an example the area of the region generated by the identity function X and the x-axis on $\left[-1,1\right]$ calculates to 1, and is thus not replaceable by the integral $\underset{-1}{\overset{1}{\int }}\mathrm{X}=0$.
A sheer integral coincides with an area only in suitable cases. But how to proceed then with regions generated by an arbitrary, not solely positive function?

As reflection in the x-axis is "areaproof" the solution would be to reflect all the segments of f lying underneath the x-axis leaving the others untouched. But this is actually the transition from f to $|f|$.

And indeed the area of the region generated by X is now exactly calculated by the integral $\underset{-1}{\overset{1}{\int }}|\mathrm{X}|=1$ .

In the following definition we confine ourselves to continuous functions f. So we don't have to worry about the integrability of $|f|$ and furthermore these functions meet our ideas of the kind of boundary a region in the plane should have.

Definition:  If f is a continuous function on $\left[a,b\right]$, i.e. $f\in {\mathcal{C}}^{0}\left(\left[a,b\right]\right)$, we call the number

 ${A}_{f}\left(a,b\right)≔\underset{a}{\overset{b}{\int }}|f|$ [8.4.1]

the area of the region generated by f and the x-axis on [a,b].

For calculating areas we thus need primitives of $|f|$ instead of primitives of f. But with functions that have only a finite number of zeros this additional difficulty is niftily overcome with the following 3-step-method:

1. Calculate all zeros of f in $\right]a,b\left[=\right]{x}_{0},{x}_{n}\left[$ and put them, combined with ${x}_{0}$ and ${x}_{n}$, into their natural order:  ${x}_{0}<{x}_{1}<\dots <{x}_{n-1}<{x}_{n}$.

2. Calculate all integrals of the kind $\underset{{x}_{i-1}}{\overset{{x}_{i}}{\int }}f$.

3. As f is continuous it has a uniform sign in each of the intervals $\left[{x}_{i},{x}_{i-1}\right]$. Due to [8.2.12] we thus may interchange integration with calculating the absolute value. Now get the area by summation of the above integrals in their absolute value:

${A}_{f}\left(a,b\right)=\underset{{x}_{0}}{\overset{{x}_{n}}{\int }}|f|=\sum _{i=1}^{n}\underset{{x}_{i-1}}{\overset{{x}_{i}}{\int }}|f|=\sum _{i=1}^{n}|\underset{{x}_{i-1}}{\overset{{x}_{i}}{\int }}f|$
 Example:   We calculate the area of the region generated by ${\mathrm{X}}^{2}-1$ and the x-axis on $\left[-2,3\right]$: ${\mathrm{X}}^{2}-1\left(x\right)=0\text{ }⇔\text{ }x=-1\text{\hspace{0.28em}}\vee \text{\hspace{0.28em}}x=1$. Due to the decomposition $-2<-1<1<3$ we have to consider three integrals, namely $\underset{-2}{\overset{-1}{\int }}{\mathrm{X}}^{2}-1=\phantom{\phantom{\rule{0pt}{12pt}}}\frac{1}{3}{\mathrm{X}}^{3}-\mathrm{X}{|}_{-2}^{-1}=\frac{4}{3}$ $\underset{-1}{\overset{1}{\int }}{\mathrm{X}}^{2}-1=\phantom{\phantom{\rule{0pt}{12pt}}}\frac{1}{3}{\mathrm{X}}^{3}-\mathrm{X}{|}_{-1}^{1}=-\frac{4}{3}$ $\underset{1}{\overset{3}{\int }}{\mathrm{X}}^{2}-1=\phantom{\phantom{\rule{0pt}{12pt}}}\frac{1}{3}{\mathrm{X}}^{3}-\mathrm{X}{|}_{1}^{3}=\frac{20}{3}$ The area now amounts to ${A}_{{\mathrm{X}}^{2}-1}\left(-2,3\right)=|\frac{4}{3}|+|-\frac{4}{3}|+|\frac{20}{3}|=\frac{28}{3}$. Next we calculate the area of the region generated by $\mathrm{cos}\circ \frac{\mathrm{X}}{2}$ and the x-axis on $\left[0,3\pi \right]$. As $\mathrm{cos}\frac{x}{2}=0\text{ }⇔\text{ }\frac{x}{2}=\left(2k-1\right)\frac{\pi }{2}\text{ }⇔\text{ }x=\left(2k-1\right)\pi$ we have to look for the odd multiples of π within $\right]0,3\pi \left[$ which yields the decomposition $0<\pi <3\pi$, so we have to calculate only two integrals this time: $\underset{0}{\overset{\pi }{\int }}\mathrm{cos}\circ \frac{\mathrm{X}}{2}=\phantom{\phantom{\rule{0pt}{12pt}}}2\cdot \mathrm{sin}\circ \frac{\mathrm{X}}{2}{|}_{0}^{\pi }=2$  and  $\underset{\pi }{\overset{3\pi }{\int }}\mathrm{cos}\circ \frac{\mathrm{X}}{2}=\phantom{\phantom{\rule{0pt}{12pt}}}2\cdot \mathrm{sin}\circ \frac{\mathrm{X}}{2}{|}_{\pi }^{3\pi }=-4$ The resulting area therefore is ${A}_{\mathrm{cos}\circ \frac{\mathrm{X}}{2}}\left(0,3\pi \right)=|2|+|-4|=6$.

All regions considered so far are bounded by the x-axis, so they have at least one straight edge. With a simple trick however we can use our methods developed so far to cope with regions that are entirely bounded by curvilinear lines. The following example will show this.

The region to the left is generated by two positive functions, by the upper function $f={\mathrm{X}}^{3}-2{\mathrm{X}}^{2}+4$
 i ${\mathrm{X}}^{3}-2{\mathrm{X}}^{2}+4$
and the lower one $g={\mathrm{X}}^{2}$.
 i ${\mathrm{X}}^{2}$

Obviously the area of the region generated by f on $\left[-1,2\right]$ is too big. The excess is exactly the area of the region generated by g on $\left[-1,2\right]$. Thus the actual area is easily computed as their difference:

${A}_{f}\left(a,b\right)-{A}_{g}\left(a,b\right)=\underset{a}{\overset{b}{\int }}f-\underset{a}{\overset{b}{\int }}g=\underset{a}{\overset{b}{\int }}f-g={A}_{f-g}\left(a,b\right)$

There is no doubt in our sketch which function is the upper one and which is the lower. More common situations may not be assorted that well, and functions that intersect more than twice could not be ordered in this way at all! But similar to the introduction of areas, problems like this are superbly solved by the absolute value:

Definition:  For any two functions $f,g\in {\mathcal{C}}^{0}\left(\left[a,b\right]\right)$ we call the number

 ${A}_{f-g}\left(a,b\right)=\underset{a}{\overset{b}{\int }}|f-g|$ [8.4.2]

the area of the region generated by f and g on [a,b].

Consider:

• Often both functions will have a lowermost and an uppermost point of intersection, say a and b. In this case we use area of the region generated by f and g as a shortened notation for ${A}_{f-g}\left(a,b\right)$.

• When calculating ${A}_{f-g}\left(a,b\right)$ the x-axis' position has actually no meaning. If parts of the region generated by f and g are lying underneath the x-axis, a vertical scrolling by an appropriate amount, perhaps c units, will yield a region lying entirely above the x-axis. Its area however calculates to:

${A}_{f+c-\left(g+c\right)}\left(a,b\right)={A}_{f-g}\left(a,b\right)$

• The area of the region generated by f and g on [a,b] is by definition that of the region generated by $f-g$ and the x-axis on [a,b]. Thus the above 3-step-method is applicable.

As an example we calculate the area of the region used in our introduction, i.e. the region generated by $f={\mathrm{X}}^{3}-2{\mathrm{X}}^{2}+4$ and $g={\mathrm{X}}^{2}$. To that end we only need to consider the region generated by

$f-g={\mathrm{X}}^{3}-3{\mathrm{X}}^{2}+4=\left(\mathrm{X}+1\right)\cdot {\left(\mathrm{X}-2\right)}^{2}$

1. ${x}^{3}-3{x}^{2}+4=0\text{ }⇔\text{ }x=-1\text{\hspace{0.28em}}\vee \text{\hspace{0.28em}}x=2$

f and g intersect only twice so that we have to consider just one integral.

2. $\underset{-1}{\overset{2}{\int }}{\mathrm{X}}^{3}-3{\mathrm{X}}^{2}+4=\phantom{\phantom{\rule{0pt}{12pt}}}\frac{1}{4}{\mathrm{X}}^{4}-{\mathrm{X}}^{3}+4\mathrm{X}{|}_{-1}^{2}=\frac{27}{4}$

3. The area of the region generated by f and g thus amounts to $|\frac{27}{4}|=\frac{27}{4}$.

The region generated by a positive function $f$ and the x-axis on [a,b] is in fact the set

$M=\left\{\left(x,y\right)\in {ℝ}^{2}|x\in \left[a,b\right]\text{\hspace{0.28em}}\wedge \text{\hspace{0.28em}}0\le y\le f\left(x\right)\right\}\subset \left[a,b\right]×ℝ$.

Further, for each $x\in \left[a,b\right]$, the positive value $f\left(x\right)$ could be regarded as the diameter of the interval $\left[0,f\left(x\right)\right]$. If we understand this interval as a section

${M}_{x}=\left\{y\in ℝ|\left(x,y\right)\in M\right\}=\left\{y\in ℝ|0\le y\le f\left(x\right)\right\}=\left[0,f\left(x\right)\right]$

in the set M we obviously get the two-dimensional area of M, i.e. the number $\underset{a}{\overset{b}{\int }}f$, by integrating the one-dimensional diameters of its sections ${M}_{x}$.

We will elaborate this aspect in the next part and develop from that a recursive method to calculate the content of higher-dimensional solids.

 8.3. 8.5.