Skip to content Skip to sidebar Skip to footer

N Composition of Continuous Function is Continuous

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:

Motivation [Bearbeiten]

Imagine, we are given a function containing sums, products and quotients like f : R R 0 + {\displaystyle f:\mathbb {R} \to \mathbb {R} _{0}^{+}} , x | 1 + x 3 1 + x 2 | {\displaystyle x\mapsto \left|{\tfrac {1+x^{3}}{1+x^{2}}}\right|} . We would like to know whether this function is continuous at some argument a R {\displaystyle a\in \mathbb {R} } . So we consider any sequence of arguments ( x n ) n N {\displaystyle (x_{n})_{n\in \mathbb {N} }} converging to a {\displaystyle a} and check whether there is always lim n f ( x n ) = f ( a ) {\displaystyle \lim _{n\to \infty }f(x_{n})=f(a)} . For handling sums, products and quotients, the limit theorems for convergent sequences turn out to be very useful:

lim n f ( x n ) = lim n | 1 + x n 3 1 + x n 2 | rule for absolute values = | lim n ( 1 + x n 3 1 + x n 2 ) | quotient, product and sum rule = | lim n 1 + ( lim n x n ) 3 lim n 1 + ( lim n x n ) 2 | lim n x n = a = | 1 + a 3 1 + a 2 | = f ( a ) {\displaystyle {\begin{aligned}\lim _{n\to \infty }f(x_{n})&=\lim _{n\rightarrow \infty }{\left|{\frac {1+x_{n}^{3}}{1+x_{n}^{2}}}\right|}\\[0.5em]&\quad {\color {Gray}\left\downarrow \ {\text{rule for absolute values}}\right.}\\[0.5em]&=\left|\lim _{n\to \infty }{\left({\frac {1+x_{n}^{3}}{1+x_{n}^{2}}}\right)}\right|\\[0.5em]&\quad {\color {Gray}\left\downarrow \ {\text{quotient, product and sum rule}}\right.}\\[0.5em]&=\left|{\frac {\lim _{n\to \infty }1+\left(\lim _{n\to \infty }x_{n}\right)^{3}}{\lim _{n\to \infty }1+\left(\lim _{n\to \infty }x_{n}\right)^{2}}}\right|\\[0.5em]&\quad {\color {Gray}\left\downarrow \ \lim _{n\to \infty }x_{n}=a\right.}\\[0.5em]&=\left|{\frac {1+a^{3}}{1+a^{2}}}\right|=f(a)\end{aligned}}}

Those formulas could be applied because all subsequences converge (we showed this in the end of our calculations). As a R {\displaystyle a\in \mathbb {R} } was chosen to be arbitrary, we directly obtain the continuity of the entire function f {\displaystyle f} . 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, f {\displaystyle f} may be written as a concatenation of those three functions:

f ( x ) = c ( b ( x ) + a ( x ) a ( x ) a ( x ) b ( x ) + a ( x ) a ( x ) ) {\displaystyle f(x)=c\left({\frac {b(x)+a(x)a(x)a(x)}{b(x)+a(x)a(x)}}\right)}

As all three functions a {\displaystyle a} , b {\displaystyle b} and c {\displaystyle c} are continuous, the concatenation theorems will directly imply continuity for f {\displaystyle f} . This argumentation is even shorter than the proof using the sequence criterion. So the continuity proof can be concluded in one sentence: f {\displaystyle f} 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:

f : R R : x 5 + x 2 {\displaystyle f:\mathbb {R} \to \mathbb {R} :x\mapsto {\sqrt {5+x^{2}}}}

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 f {\displaystyle f} as a concatenation:

f ( x ) = 5 + x 2 = 5 + x x = c ( b ( x ) + a ( x ) a ( x ) ) {\displaystyle f(x)={\sqrt {5+x^{2}}}={\sqrt {5+x\cdot x}}=c(b(x)+a(x)\cdot a(x))}

So f {\displaystyle f} 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 f ( x ) = c ( b ( x ) + a ( x ) a ( x ) ) {\displaystyle f(x)=c(b(x)+a(x)\cdot a(x))} . Hence, f {\displaystyle f} 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 f : D R {\displaystyle f:D\to \mathbb {R} } can be written as a concatenation of continuous functions, we can directly infer continuity of f {\displaystyle f} . A corresponding proof could be of the following form:

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:

f {\displaystyle f} is the identity g c {\displaystyle g_{c}} the constant function with value c {\displaystyle c} . These functions are continuous and hence, every polynomial function is continuous. For instance, we may construct the polynomial function h : R R : x 2 x 3 4 x + 23 {\displaystyle h:\mathbb {R} \to \mathbb {R} :x\mapsto 2x^{3}-4x+23} out of f {\displaystyle f} and g c {\displaystyle g_{c}} as follows:

h ( x ) = g 2 ( x ) f ( x ) f ( x ) f ( x ) + g 4 ( x ) f ( x ) + g 23 ( x ) {\displaystyle h(x)=g_{2}(x)\cdot f(x)\cdot f(x)\cdot f(x)+g_{-4}(x)\cdot f(x)+g_{23}(x)}

Explicitly, this decomposition reads:

h ( x ) = 2 x 3 4 x + 23 = 2 x x x + ( 4 ) x + 23 = g 2 ( x ) f ( x ) f ( x ) f ( x ) + g 4 ( x ) f ( x ) + g 23 ( x ) {\displaystyle {\begin{aligned}h(x)&=2x^{3}-4x+23\\&=2\cdot x\cdot x\cdot x+(-4)\cdot x+23\\&=g_{2}(x)\cdot f(x)\cdot f(x)\cdot f(x)+g_{-4}(x)\cdot f(x)+g_{23}(x)\end{aligned}}}

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:

f : R R : x 1 g : R R : x { 1 , x 0 0 , x < 0 {\displaystyle {\begin{aligned}f:\mathbb {R} \to \mathbb {R} :x\mapsto &1\\g:\mathbb {R} \to \mathbb {R} :x\mapsto &{\begin{cases}1,&x\geq 0\\0,&x<0\end{cases}}\end{aligned}}}

The function f {\displaystyle f} is continuous at x = 0 {\displaystyle x=0} , whereas g {\displaystyle g} is not. The product of both functions is again g {\displaystyle g} , since f ( x ) g ( x ) = 1 g ( x ) = g ( x ) {\displaystyle f(x)\cdot g(x)=1\cdot g(x)=g(x)} . Therefore the product (i.e. a concatenation) is discontinuous at x = 0 {\displaystyle x=0} . By contrast to what one may intuitively expect, concatenating discontinuous functions may also yield us a continuous function. To illustrate this, let us consider:

h : R R : x h ( x ) = { 0 , x R Q 1 , x Q {\displaystyle h:\mathbb {R} \to \mathbb {R} :x\mapsto h(x)={\begin{cases}0,&x\in \mathbb {R} \setminus \mathbb {Q} \\1,&x\in \mathbb {Q} \end{cases}}}

This function maps rational numbers to 1 {\displaystyle 1} an all other to 0 {\displaystyle 0} . Concatenating h {\displaystyle h} with itself, we get the following function h h {\displaystyle h\circ h} :

h ( h ( x ) ) = { 0 , h ( x ) R Q 1 , h ( x ) Q h ( x )  is always rational. = 1 {\displaystyle {\begin{aligned}h(h(x))&={\begin{cases}0,&h(x)\in \mathbb {R} \setminus \mathbb {Q} \\1,&h(x)\in \mathbb {Q} \end{cases}}\\[0.3em]&\quad {\color {Gray}\left\downarrow \ h(x){\text{ is always rational.}}\right.}\\[0.3em]&=1\end{aligned}}}

h h {\displaystyle h\circ h} is just a constant function. Hence it is continuous - although h {\displaystyle h} was actually nowhere continuous. So concatenating discontinuous functions may indeed yield us a continuous function.

Proof of concatenation theorems [Bearbeiten]

Continuity under addition [Bearbeiten]

Proof (Concatenation theorem for sums)

We will prove the addition rule for continuity by checking the sequence criterion. Let ( x n ) n N {\displaystyle (x_{n})_{n\in \mathbb {N} }} be any sequence of arguments taken from the domain D {\displaystyle D} and converging to a {\displaystyle a} . There is:

lim n ( f + g ) ( x n ) = lim n ( f ( x n ) + g ( x n ) ) Limit theorem: addition rule = lim n f ( x n ) + lim n g ( x n ) = f ( a ) + g ( a ) = ( f + g ) ( a ) {\displaystyle {\begin{aligned}&\lim _{n\to \infty }(f+g)(x_{n})\\[0.3em]=&\lim _{n\to \infty }\left(f(x_{n})+g(x_{n})\right)\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{Limit theorem: addition rule}}\right.}\\[0.3em]=&\lim _{n\to \infty }f(x_{n})+\lim _{n\to \infty }g(x_{n})\\[0.3em]=&f(a)+g(a)=(f+g)(a)\end{aligned}}}

Alternative proof (Concatenation theorem for sums)

It is also possible to establish continuity of f + g {\displaystyle f+g} in a {\displaystyle a} by checkng the Epsilon-Delta criterion . Let any ϵ > 0 {\displaystyle \epsilon >0} be given. As f {\displaystyle f} is continuous at a {\displaystyle a} , there has to be a δ f > 0 {\displaystyle \delta _{f}>0} , such that for all x D {\displaystyle x\in D} with | x a | < δ f {\displaystyle |x-a|<\delta _{f}} the inequality | f ( x ) f ( a ) | < ϵ / 2 {\displaystyle |f(x)-f(a)|<\epsilon /2} holds. Analogously for g {\displaystyle g} , there is a δ g > 0 {\displaystyle \delta _{g}>0} , such that for all x D {\displaystyle x\in D} with | x a | < δ g {\displaystyle |x-a|<\delta _{g}} the inequality | g ( x ) g ( a ) | < ϵ / 2 {\displaystyle |g(x)-g(a)|<\epsilon /2} holds.

Now, we set δ := min { δ f , δ g } {\displaystyle \delta :=\min\{\delta _{f},\delta _{g}\}} . Hence, for all x D {\displaystyle x\in D} with | x a | < δ {\displaystyle |x-a|<\delta } ,both the conditions | f ( x ) f ( a ) | < ϵ / 2 {\displaystyle |f(x)-f(a)|<\epsilon /2} and | g ( x ) g ( a ) | < ϵ / 2 {\displaystyle |g(x)-g(a)|<\epsilon /2} are fulfilled. Thus, for all x {\displaystyle x} with | x a | < δ {\displaystyle |x-a|<\delta } , there is:

| ( f + g ) ( x ) ( f + g ) ( a ) | definition of the function ( f + g ) = | f ( x ) + g ( x ) ( f ( a ) + g ( a ) ) | associativity of R = | ( f ( x ) f ( a ) ) + ( g ( a ) g ( x ) ) | triangle inequality | f ( x ) f ( a ) | < ϵ / 2 , da | x a | < δ δ f + | g ( a ) g ( x ) | < ϵ / 2 , da | x a | < δ δ g < ϵ / 2 + ϵ / 2 = ϵ {\displaystyle {\begin{aligned}&|(f+g)(x)-(f+g)(a)|\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{definition of the function }}(f+g)\right.}\\[0.3em]&=|f(x)+g(x)-(f(a)+g(a))|\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{associativity of }}\mathbb {R} \right.}\\[0.3em]&=|(f(x)-f(a))+(g(a)-g(x))|\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{triangle inequality}}\right.}\\[0.3em]&\leq \underbrace {|f(x)-f(a)|} _{\color {Gray}<\epsilon /2{\text{, da }}|x-a|<\delta \leq \delta _{f}}+\underbrace {|g(a)-g(x)|} _{\color {Gray}<\epsilon /2{\text{, da }}|x-a|<\delta \leq \delta _{g}}\\[0.3em]&<\epsilon /2+\epsilon /2=\epsilon \end{aligned}}}

Continuity of scalar multiplication [Bearbeiten]

Continuity under multiplication [Bearbeiten]

Continuity of quotients [Bearbeiten]

Continuity of compositions [Bearbeiten]

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 5 + x 2 {\displaystyle {\sqrt {5+x^{2}}}} 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 δ {\displaystyle \delta } we have to choose, in order to stay below a given threshold ϵ > 0 {\displaystyle \epsilon >0} 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:

f : R R , x 5 + x 2 {\displaystyle f:\mathbb {R} \to \mathbb {R} ,x\mapsto {\sqrt {5+x^{2}}}}

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 ϵ > 0 {\displaystyle \epsilon >0} , there is a δ > 0 {\displaystyle \delta >0} , such that all x R {\displaystyle x\in \mathbb {R} } with | x a | < δ {\displaystyle |x-a|<\delta } satisfy the inequality | f ( x ) f ( a ) | < ϵ {\displaystyle |f(x)-f(a)|<\epsilon } . So let us take a look at the target inequality | f ( x ) f ( a ) | < ϵ {\displaystyle |f(x)-f(a)|<\epsilon } and estimate the absolute | f ( x ) f ( a ) | {\displaystyle |f(x)-f(a)|} from above. We are able to control the term | x a | {\displaystyle |x-a|} . Therefor, would like to get an upper bound for | f ( x ) f ( a ) | {\displaystyle |f(x)-f(a)|} including the expression | x a | {\displaystyle |x-a|} . So we are looking for an inequality of the form

| f ( x ) f ( a ) | K ( x , a ) | x a | {\displaystyle |f(x)-f(a)|\leq K(x,a)\cdot |x-a|}

Here, K ( x , a ) {\displaystyle K(x,a)} is some expression depending on x {\displaystyle x} and a {\displaystyle a} . The second factor is smaller than δ {\displaystyle \delta } and can be made arbitrarily small by a suitable choice of δ {\displaystyle \delta } . Such a bound is constructed as follows:

| f ( x ) f ( a ) | = | 5 + x 2 5 + a 2 | expand with | 5 + x 2 + 5 + a 2 | = | 5 + x 2 5 + a 2 | | 5 + x 2 + 5 + a 2 | | 5 + x 2 + 5 + a 2 | 5 + x 2 + 5 + a 2 0 = | x 2 a 2 | 5 + x 2 + 5 + a 2 = | x + a | 5 + x 2 + 5 + a 2 | x a | K ( x , a ) := | x + a | 5 + x 2 + 5 + a 2 = K ( x , a ) | x a | {\displaystyle {\begin{aligned}|f(x)-f(a)|&=\left|{\sqrt {5+x^{2}}}-{\sqrt {5+a^{2}}}\right|\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{expand with}}\left|{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}\right|\right.}\\[0.3em]&={\frac {\left|{\sqrt {5+x^{2}}}-{\sqrt {5+a^{2}}}\right|\cdot \left|{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}\right|}{\left|{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}\right|}}\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}\geq 0\right.}\\[0.3em]&={\frac {\left|x^{2}-a^{2}\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}\\[0.3em]&={\frac {\left|x+a\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}\cdot |x-a|\\[0.3em]&\quad {\color {Gray}\left\downarrow \ K(x,a):={\frac {\left|x+a\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}\right.}\\[0.3em]&=K(x,a)\cdot |x-a|\end{aligned}}}

Since | x a | < δ {\displaystyle |x-a|<\delta } , there is:

| f ( x ) f ( a ) | = K ( x , a ) | x a | < K ( x , a ) δ {\displaystyle |f(x)-f(a)|=K(x,a)\cdot |x-a|<K(x,a)\cdot \delta }

If we now choose δ {\displaystyle \delta } small enough, such that K ( x , a ) δ ϵ {\displaystyle K(x,a)\cdot \delta \leq \epsilon } , then we obtain our target inequality | f ( x ) f ( a ) | ϵ {\displaystyle |f(x)-f(a)|\leq \epsilon } . But K ( x , a ) {\displaystyle K(x,a)} still depends on x {\displaystyle x} , so δ {\displaystyle \delta } would have to depend on , too - and we required one choice of δ {\displaystyle \delta } which is suitable for all x {\displaystyle x} . THerefore, we need to get rid of the x {\displaystyle x} -dependence. This is done by an estimate of the first factor, such that our inequality takes the form K ( x , a ) K ~ ( a ) {\displaystyle K(x,a)\leq {\tilde {K}}(a)}  :

K ( x , a ) = | x + a | 5 + x 2 + 5 + a 2 triangle inequality | x | 5 + x 2 + 5 + a 2 + | a | 5 + x 2 + 5 + a 2 a b + c a b  for a , c 0 , b > 0 | x | 5 + x 2 + | a | 5 + a 2 | a | 5 + a 2 1 , since 5 + a 2 a 2 = | a | 2 =: K ~ ( a ) {\displaystyle {\begin{aligned}K(x,a)&={\frac {\left|x+a\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\text{triangle inequality}}\right.}\\[0.3em]&\leq {\frac {\left|x\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}+{\frac {\left|a\right|}{{\sqrt {5+x^{2}}}+{\sqrt {5+a^{2}}}}}\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\frac {a}{b+c}}\leq {\frac {a}{b}}{\text{ for }}a,c\geq 0,b>0\right.}\\[0.3em]&\leq {\frac {\left|x\right|}{\sqrt {5+x^{2}}}}+{\frac {\left|a\right|}{\sqrt {5+a^{2}}}}\\[0.3em]&\quad {\color {Gray}\left\downarrow \ {\frac {|a|}{\sqrt {5+a^{2}}}}\leq 1{\text{, since }}{\sqrt {5+a^{2}}}\geq {\sqrt {a^{2}}}=|a|\right.}\\[0.3em]&\leq 2=:{\tilde {K}}(a)\end{aligned}}}

We even made K ~ ( a ) {\displaystyle {\tilde {K}}(a)} independent of a {\displaystyle a} , which would in fact not have been necessary. So we obtain the following inequality

| f ( x ) f ( a ) | 2 | x a | < 2 δ {\displaystyle |f(x)-f(a)|\leq 2\cdot |x-a|<2\cdot \delta }

We need the estimate 2 δ ϵ {\displaystyle 2\cdot \delta \leq \epsilon } , in order to fulfill the target inequality | f ( x ) f ( a ) | < ϵ {\displaystyle |f(x)-f(a)|<\epsilon } . The choice of δ = ϵ 2 {\displaystyle \delta ={\tfrac {\epsilon }{2}}} is sufficient for that. So let us write down the proof:

ramirezwhisner.blogspot.com

Source: https://de.wikibooks.org/wiki/Serlo:_EN:_Composition_of_continuous_functions

Post a Comment for "N Composition of Continuous Function is Continuous"