Composition of continuous functions – Serlo

Many functions are defined as the concatenation - the linking together of things, like in a chain - of other functions. Checking for continuity of such concatenated functions by using the classical epsilon-delta criterion for continuity is often tedious. However, one can prove that the concatenation of continuous functions is once again a continuous function. This is an important tool that simplifies the proof for continuity of compositions of functions.

Concatenation Theorems

Bearbeiten

The concatenation theorems for continuous functions are the following:

Theorem (Concatenation Theorems)

Let   be a subset of the real numbers (domain of definition) and   be a real number. Let   be real-valued functions, which are continuous at all   . That means,   and  . Then, the following functions are continuous at   , as well:

  •  
  •  
  •  

Let   and consider   and   which are both continuous in  . Then, the following quotient function is continuous in  :

 

Let   be a real-valued function with   , which is continuous at   . Then, the concatenation   is also continuous - namely at  :

 

Motivation

Bearbeiten

Imagine, we are given a function containing sums, products and quotients like  ,   . We would like to know whether this function is continuous at some argument   . So we consider any sequence of arguments   converging to   and check whether there is always  . For handling sums, products and quotients, the limit theorems for convergent sequences turn out to be very useful:

 

Those formulas could be applied because all subsequences converge (we showed this in the end of our calculations). As   was chosen to be arbitrary, we directly obtain the continuity of the entire function   . This proof of continuity is basically an application of the sequence criterion plus theorems for sequence limits. Since, thanks to the limit theorems, the limit can be pulled into the function, we can use it to establish continuity. And the above concatenation theorems shorten proofs of this kind even further. we consider the following functions:

  •  
  •  
  •  

Now,   may be written as a concatenation of those three functions:

 

As all three functions  ,   and   are continuous, the concatenation theorems will directly imply continuity for   . This argumentation is even shorter than the proof using the sequence criterion. So the continuity proof can be concluded in one sentence:   is continuous because it is a concatenation of continuous functions. And indeed, any concatenation constructed out of continuous functions (i.e. by combining polynomials) is continuous.

Problem Example

Bearbeiten

The following problem illustrates just how easy it is to establish continuity of a function using the concatenation theorems:

Exercise (Continuity of a concatenated square root function)

Prove continuity for the following function:

 

How to get to the proof? (Continuity of a concatenated square root function)

The above function is just a concatenation of several simple functions, serving as building blocks. Our main task is to find those building blocks. They are given by:

  •  
  •  
  •  

This allows writing   as a concatenation:

 

So   is simply continuous because it is a concatenation of continuous functions.

Proof (Continuity of a concatenated square root function)

Let the following functions be given:

  •  
  •  
  •  

These functions are continuous. Further, we can write  . Hence,   is a concatenation of continuous functions, so it is continuous, as well.

General sketch of the proof

Bearbeiten

Following the concatenation theorems, every composition of continuous functions is again continuous function. So if   can be written as a concatenation of continuous functions, we can directly infer continuity of   . A corresponding proof could be of the following form:

Let   with  . The function   is a concatenation of the following functions:

...List of continuous functions, which serve as building bricks for   ...

Since   (Expression how   is constructed out of those bricks) , we know that   is a concatenation of continuous functions and hence continuous, as well.

In a lecture, this proof scheme may of course only be applied if the concatenation theorems have already been treated before. In any way, it is a very efficient method to characterize continuous functions.

Corollary: Polynomial functions are continuous

Bearbeiten

Every polynomial function can be written as a concatenation of following the two functions:

  •  
  •  

  is the identity   the constant function with value  . These functions are continuous and hence, every polynomial function is continuous. For instance, we may construct the polynomial function   out of   and   as follows:

 

Explicitly, this decomposition reads:

 

Further examples

Bearbeiten

Exactly as subsequences have to converge for a concatenation sequence to converge, we need that our building brick functions are continuous in order to obtain a continuous concatenation function. When using non-continuous functions for the concatenation, we do not know anything about the continuity of the outcome. For instance:

 

The function  is continuous at  , whereas   is not. The product of both functions is again  , since  . Therefore the product (i.e. a concatenation) is discontinuous at  . By contrast to what one may intuitively expect, concatenating discontinuous functions may also yield us a continuous function. To illustrate this, let us consider:

 

This function maps rational numbers to   an all other to   . Concatenating   with itself, we get the following function  :

 

  is just a constant function. Hence it is continuous - although   was actually nowhere continuous. So concatenating discontinuous functions may indeed yield us a continuous function.

Proof of concatenation theorems

Bearbeiten

Continuity under addition

Bearbeiten

Theorem (Concatenation theorem for sums)

Let   and let   be real-valued functions, which are continuous in   Then,   is continuous in   , as well.

Proof (Concatenation theorem for sums)

We will prove the addition rule for continuity by checking the sequence criterion. Let   be any sequence of arguments taken from the domain   and converging to  . There is:

 

Alternative proof (Concatenation theorem for sums)

It is also possible to establish continuity of   in  by checkng the Epsilon-Delta criterion . Let any   be given. As   is continuous at   , there has to be a  , such that for all   with   the inequality   holds. Analogously for  , there is a  , such that for all   with   the inequality   holds.

Now, we set  . Hence, for all   with   ,both the conditions   and   are fulfilled. Thus, for all   with   , there is:

 

Continuity of scalar multiplication

Bearbeiten

Theorem (Concatenation theorem for scalar multiplication)

Let   and  . Further, let   be a real-valued function, which is continuous at   . Then,   is continuous at   , as well.

Proof (Concatenation theorem for scalar multiplication)

We will prove continuity of   in   by checking the sequence criterion. Let   be any sequence with   for all   and converging as  . Since   is continuous at   , the limit   exists. Now there is:

 

Continuity under multiplication

Bearbeiten

Theorem (Concatenation theorem for multiplication)

Let   and let   be real-valued functions , which are continuous at   . Then,   is continuous at   , as well.

Proof (Concatenation theorem for multiplication)

We will establish continuity of the product   by checking the sequence criterion. Let   be any sequence with   for all   and  . As both   and   are continuous at   , the two limits   and   exist. Now, there is:

 

Continuity of quotients

Bearbeiten

Theorem (Concatenation theorem for quotients)

Let   and let   and   be two real-valued functions. Define the domain without 0 by   and suppose that   and   are both continuous at all  . Then, the quotient   will be continuous at   , as well.

Proof (Concatenation theorem for quotients)

The proof will be done by checking the sequence criterion using the quotient rule for limits . Let   be any sequence with   for all   and  . Since both the function   and   are continuous at   , it follows that   and  . Furthermore, there is  , so   is well-defined for all   . Thus:

 

Continuity of compositions

Bearbeiten

Theorem (Concatenation theorem for compositions)

Let   and   a function continuous in   . In addition, let   be a function with  , which is continuous in   . Then,   is continuous in  , as well.

Proof (Concatenation theorem for compositions)

We will prove continuity of   at   by checking the sequence criterion. Let   be any sequence with   for all   converging like  . Then,   is a sequence with   for all   (since  ) and there is   (since   is continuous). Therefore:

 

Comparison with the epsilon-delta criterion

Bearbeiten

In the beginning of this article, we used the concatenation theorems in order to show that the function   is continuous. We will no perform a second proof "by hand", using the epsilon-delta criterion. The proof will cost us more work, but we will get an explicit information on the maximal initial error   we have to choose, in order to stay below a given threshold   for the error of the outcome.

Exercise (Epsilon-Delta proof for the continuity of the Square Root Function)

Show, using the epsilon-delta criterion, that the following function is continuous:

 

How to get to the proof? (Epsilon-Delta proof for the continuity of the Square Root Function)

We need to show, that for any given   , there is a   , such that all   with   satisfy the inequality   . So let us take a look at the target inequality   and estimate the absolute   from above. We are able to control the term   . Therefor, would like to get an upper bound for   including the expression   . So we are looking for an inequality of the form

 

Here,   is some expression depending on   and   . The second factor is smaller than   and can be made arbitrarily small by a suitable choice of   . Such a bound is constructed as follows:

 

Since   , there is:

 

If we now choose   small enough, such that   , then we obtain our target inequality  . But   still depends on   , so   would have to depend on , too - and we required one choice of   which is suitable for all   . THerefore, we need to get rid of the  -dependence. This is done by an estimate of the first factor, such that our inequality takes the form   :

 

We even made   independent of   , which would in fact not have been necessary. So we obtain the following inequality

 

We need the estimate  , in order to fulfill the target inequality   . The choice of   is sufficient for that. So let us write down the proof:

Proof (Epsilon-Delta proof for the continuity of the Square Root Function)

Let   with  . Let   and an arbitrary   be given. We choose  . For all   with   there is:

 

Hence,   is a continuous function.