Before treating continuous functions, let us look at some easier types of functions and the definition of its integral.
Let be any interval. The indicator function of is the function
Let . Then is 1 if and 0 otherwise. The graph looks as follows:
Consider now e.g. the function , and the product . The graphs can be constructed as follows:
Consider a compact interval . A function is called a step function if there are numbers and and such that
What is the relationship between step functions and indicator functions?
Consider a step function defined as follows:
Draw its graph.
What is the area under the graph?
Define an interesting step function, draw its graph and compute the area under the graph.
Let be a compact interval and a step function, with notation as in Definition 1.2.3. Then the integral of the step function is defined as
Often we are not too fussy about the boundary or “jump” points. Here we considered right-continuous jumps, but one might equally well consider left continuous jumps, i.e., sums of functions , or a mix of left and right-continuous ones, e.g.
will also count as a step function, again with integral
The motivation behind this generalisation is that the area of a rectangle remains the same regardless of whether or not the boundary is included.
It is obvious from the definition that, if are two step functions with the same interval subdivision, then is also a step function with the same interval subdivision and
but what about mutually different subdivisions for and ?
Comment: Whenever you read “obvious”, “evident”, “clear” or “straight-forward” in maths, an alarm bell should ring in your mind and you should verify for yourself if and why it is really “obvious”!
Given two step functions such that
Then
Given a step function , it can be written as
We can subdivide every interval into several smaller subintervals
if , and
This way we can find a common subdivision for and , so from now on we can simply assume without loss of generality that they are already presented with such a common subdivision, namely
Comment: Why can we assume this if initially it was not the case? In maths, we often say “without loss of generality”, abbreviated “w.l.o.g.”, when making such an assumption that need not be fulfiled in the first place but can be achieved by a very simple transformation without losing any essential properties; then often details are not provided by the writer, but you should carefully verify for yourself that the argument really works in all generality.
Since , for all , we see that , for all . Then
∎
split the steps in the step function into smaller steps in order to find common subdivion for and
We can now return to Remark 1.2.7:
Given two step functions , we have
Exercise W1.4. ∎
Given a step function and such that
Then
Exercise A1.1. ∎
Consider a set which need not be an interval.
What would be the best definition of an indicator function for the set ?
Provide a non-trivial example of such an and and draw the corresponding graph.
How would you define the integral for ? Would you like to make special assumptions on ? Which ones and why?
Use step (3) to compute the integral of your example function in (2), providing all details of your computation.
The integral of a step function is very easy to compute: we just have to add up the the areas of squares of height and width . In order to define and compute the area under an arbitrary graph, it could therefore be appropriate to approximate a continuous function by step functions and this way approximate the area.
Given a continuous function , we can recursively bisect the interval and find upper and lower approximating step functions. The following picture shows how this works:
We notice that, as the number of bisections increases,
the distance between blue (full) and red (dashed) lines decreases,
the distance between these lines and the graph of interest decreases,
the steps of upper and lower step functions become smaller.
In order to work with this, we should introduce proper notation:
Given a continuous function , its upper approximating step function after bisections is defined as
where , for . Its lower approximating step function after bisections is defined as
where , for .
Notice this is well-defined as a continuous function on a compact interval attains its infimum and supremum, and they coincide with the minimum and maximum, respectively (see MATH113).
Compute approximately using the integral of upper and lower step functions with up to bisections. Explain in detail what you are doing and what is happening.
Do the same for .
We now know the following:
the approximating step functions approximate ;
the integral of the approximating step functions can be computed;
so: use the approximating step functions to approximate and actually define the integral .
Let us use the following notation:
for every . These are the integrals of the upper and lower approximating step functions of .
Let be a compact interval and a continuous function. Then the sequences and converge to the same limit, which we call the integral of the continuous function :
Is this well-defined? For continuous step functions we now seem to have two definitions of the integral, so are they compatible? Good point! The only continuous step functions are the constant functions, i.e., there is such that , for all . As a step function, the integral of is therefore . As a continuous function, we consider the upper and lower approximating step functions: since , we find that those approximating step functions coincide with , so that , for all . Therefore, as a continuous function, the integral of is , so the two definitions coincide and there is no conflict.
We split the proof into two main steps. As a first step, we notice from the definition of that
because
for all . Then by Lemma 1.2.8 we get , for all . This means that is a decreasing sequence which is bounded below by . According to MATH113, must therefore converge to some number .
Analogously one shows that is increasing and bounded above by , and therefore converges to some number . Since, according to Lemma 1.2.8, , for every , we have again according to a theorem from MATH113.
The second step is to show that , or in other words . The right way to show this is to go back to the definition of convergence: we have to show that
for every there is such that for all .
Now we know from Corollary 1.1.8 that is uniformly continuous, so, for every , there is such that
whenever and then .
Now choose such that
For every , consider the -th bisection of , which consists of intervals of length . On each of those intervals , is the maximum if , while is the minimum , where denotes the closure of (adding the boundary points of if was not closed). Now if then
Suppose that are the points where restricted to attains its minimum and maximum, respectively. Then
Since , we have and therefore by
The construction does not depend on the choice of and works the same for each of the intervals arising from bisection, so we get that
is a step function on which is bounded below by and above by , for all . By Lemma 1.2.10, we have
for all , which proves . ∎
show first that decreases, increases, and then that tends to ; show how to choose depending on
Write an essay on the construction of the integral of a continuous function. Use your own words, examples and illustrations. Be mathematically correct and precise. 200-300 words, excluding mathematical symbols or pictures.
A function is called piecewise continuous if there are numbers and , with , and such that is continuous, for every . In this case the integral of the piecewise continuous function is defined as
Again we do not want to be too precise about the shape of the intervals and allow them to be chosen open, closed, half-open,…, see Remark 1.2.6.
Consider the function
We include the upper and lower approximating step functions for each of the two continuous pieces of , say and . Then
so
proving
We proceed similarly to find , so