Math for Non-Geeks/ Uniform continuity

From testwiki
Revision as of 00:39, 25 February 2025 by imported>MathXplore (Added {{BookCat}} using BookCat.js)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#invoke:Math for Non-Geeks/Seite|oben}}

Uniform continuity is a stronger form of continuity. It is derived from the epsilon-delta criterion of continuity and particularly important for approximating functions.

Motivation

Recap: Epsilon-delta criterion

The definition of uniform continuity is built upon that one of the epsilon-delta criterion for continuity. We will therefore recap the epsilon-delta definition:

Template:-

That is, if we choose an epsilon-tube around f(x0) , no matter how small it is, all function values in a sufficiently small environment of x0 will lie in it. An epsilon-tube is an interval from f(x0)ϵ to f(x0)+ϵ with ϵ>0 aroundf(x0):

A function f with an epsilon-tube around f(x_0)
A function f with an epsilon-tube around f(x_0)

A function f:D is continuous at x0D if and only if for every epsilon-tube, there is a δ>0 , such that all function values of f when evaluated between x0δ and x0+δ fit inside the epsilon-tube:

All function values for x between x_0-delta and x_0+delta fit inside the epsilon-tube around x_0
All function values for x between x_0-delta and x_0+delta fit inside the epsilon-tube around x_0

This δ may depend on the given function f, the given tube size ϵand from the point x0 . The following diagram shows an example, where a δ-value is sufficiently small for x0 , but too large for x1 :

The value for delta is sufficiently small for x_0, but too large for x_1.
The value for delta is sufficiently small for x_0, but too large for x_1.

Hence, we must choose the δ at x1 smaller. As both δ-values at x0 and x1 are different, we will label them correspondingly by δ0 and δ1. This shows, that the δ within the definition of continuity may depend on the considered position x. The following diagram illustrates this:

Both the interval sizes delta_1 and delta_2 are sufficiently small for the given epsilon.
Both the interval sizes delta_1 and delta_2 are sufficiently small for the given epsilon.

Derivation of uniform continuity

The epsilon-delta criterion guarantees that any continuous function f:D can be approximated. For every maximal error ϵ>0 and around every x~ we can find a δx~>0, such that the function value f(x) at every x inside the delta-interval (x~δ,x~+δ) around f(x~) maximally deviates from f(x~) by ϵ>0. So for all of those x with x~δ<x<x~+δ we can consider f(x~) as an approximation of f(x) with a maximal error of ϵ . The following diagram illustrates this approximation at several points xi:

Approximation of a continuous function at several positions.
Approximation of a continuous function at several positions.

However, the δx~-values depend on the considered position x~ . This is why the rectangles in the above diagram have different sizes. For a more uniform approximation, we could impose additionally that all rectangles have to be of equal size, That means, the δx~-value shall be equally suitable for any x~ . The above diagram would then look as follows:

Uniform approximation of a continuous function.
Uniform approximation of a continuous function.

This is the core idea of uniform continuity. For any given ϵ>0 , there is a global δ>0, such that no matter which point x~D is chosen, every function value f(x) picked from the delta-interval (x~δ,x~+δ) will be closer than ϵ to f(x~) . This leads us to the following definition of uniform continuity for a function f:D, which will allow us for uniform approximations:

Template:-

Definition

Definition of uniform continuity

The formal definition of uniform continuity hence reads as follows:

Math for Non-Geeks: Template:Definition

In different words, for each ϵ>0 there is a δ>0 , such that all pairs x,x~D with |xx~|<δ satisfy the inequality |f(x)f(x~)|<ϵ .

Quantifier notation

The commented version of the quantifier notation reads:

Template:Math

Comparing the epsilon-delta definition of uniform continuity and continuity in the quantifier notation, we notide that only two quantifiers have been permuted:

Template:Math

The reason is that the δ used for uniform continuity is a global one, i.e. it does not depend on the position x~D . In order to express this independence, the existence quantifier „δ>0“ must appear in front of the all quantifier „x~D“ .

Deriving the negation of uniform continuity

The quantifier notation is a handy tool for inverting definitions - like for uniform continuity. It basically works by step-wise replacing existence and all quantifiers by the respective other expression:

Template:Math

So:

Template:Math

Negation of uniform continuity

Math for Non-Geeks: Template:Definition

Uniform continuity is a global property

Uniform continuity is a global property of a function. That means, it makes only sense to consider uniform continuity of a whole function. By contrast, continuity is a local property. We can speak of a function being continuous at a certain position x. For uniform continuity, this is not possible. However, a function can be both be globally continuous (continuous at every xD) and (globally) uniformly continuous.

The globalness is just a consequence from the definition: For uniform continuity, we can find a global δ>0, whose delta-interval around every argument is a sufficient approximation. It is no necessary to speak of a global delta at some certain argument x: we just need to find one delta for all arguments.

Visualization

Recap: visaulization of the epsilon-delta criterion

In order to visualize the epsilon-delta criterion, we will draw a rectangle centred at (x0,f(x0)) with height 2ϵ and width 2δ. In order to satisfy the epsilon-delta criterion, the graph must not lie above or below the rectangle, but completely inside:

The 2epsilon-2delta rectangle with permitted and non-permitted area
The 2epsilon-2delta rectangle with permitted and non-permitted area

Take, for instance the square function at arguments around x0=1. No matter how small we impose ϵ , we can always find a δ, such that the graph lies completely in the interior of the 2ϵ-2δ-rectangle:

Visualization of the epsilon-delta criterion for the square function
Visualization of the epsilon-delta criterion for the square function

Conversely, if a function is not continuous, such as the sign function sgn(x) , we are able to find an ϵ>0, whose graph always takes values above or below the rectangle - no matter how narrow we make it. Concerning the sign function at x0=0 , this will for instance be the case if we choose ϵ=12 :

Visualization of uniform continuity

For uniformly continuous functions, we can draw one rectangle with heighth 2ϵ and width 2δ and move it to any point on the graph, without having pieces of the graph above or below the rectangle. The function f(x)=x is uniformly continuous. Despite having infinite derivative at zero, the graph always runs inside the upper and lower bounds of the rectangle. However, for g(x)=1x this is not the case. In the vicinity of arguments near zero, the function moves infinitely far into the y-direction. No matter how narrow we choose the rectangle, the function will always break its lower and upper barriers for x close enough to zero.

For uniform continuity, δ has to be the same at every x . The graph has to fit inside the rectangle, no matter where we move it. That means: For every ϵ>0 there must be a δ>0 , such that the 2ϵ-2δ-rectangle can be moved arbitrarily along the graph without having function values above or below it:

For a uniformly continuous function, there is no point above or below the rectangle - no matter where on the graph we place it.
For a uniformly continuous function, there is no point above or below the rectangle - no matter where on the graph we place it.

For a non-uniformly continuous function, this is not possible. Anoter counter-example is the square function. In fact, for any given ϵ>0 (not just a specific one), we cannot find a δ>0 , such that the graph does nowhere cross the upper or lower border of the 2ϵ-2δ-rectangle. For x-values near zero, the square function is close to constant, so the graph will fit inside some 2ϵ-2δ-rectangle, there. But the more we move it to the right, the steeper our function will get. And at some point, the function will break the upper and lower barriers of the 2ϵ-2δ-rectangle. So the square function in a continuous but not uniformly continuous function:

The square function is a continuous but not uniformly continuous function.
The square function is a continuous but not uniformly continuous function.

Scheme of proof

Scheme of proof: Uniform continuity

In terms of quantifiers, the definition of uniform continuity reads:

Template:Math

This can be used to derive a scheme of proof for uniform continuity:

Template:Math

Scheme of proof: Not uniformly continuous

In terms of quantifiers, the definition of f being not uniformly continuous reads:

Template:Math

This can be used to derive a scheme for disproving uniform continuity:

Template:Math

Uniform continuity as a stronger form of continuity

Uniform continuity is a stronger form of continuity. That means, every uniformly continuous function is also continuous. The converse does not hold. There are functions like the square function f::xx2 being continuous, but not uniformly continuous:

Template:Math

Every uniformly continuous function is also continuous

Math for Non-Geeks: Template:Satz

The square function is continuous but not uniformly continuous

As we have seen, every uniformly continuous function is also continuous. However, the converse does not hold. Let us consider again the square function as an example:Template:Math

As we have seen in the section visualization, if there is ϵ>0 given, we cannot set a fixed δ>0 , such that the graph is everywhere inside the 2ϵ-2δ-rectangle , independent from where we place it. The further we move the rectangle to the right, the steeper the square function gets. And at some point, the graph starts crossing he upper and lower borders of the 2ϵ-2δ-rectangle.

This can also be seen by checking the epsilon-delta definition of uniform continuity: ϵ>0δ>0x~x:|xx~|<δ|f(x)f(x~)|<ϵ. We want to prove the negation of this statement, i.e. ϵ>0δ>0x~x:|xx~|<δ and |f(x)f(x~)|ϵ. Consider for instance ϵ=1 and assume there was some δ>0, such that |x12x02|<ϵ for all real numbers x0,x1 with |x1x0|<δ . Now consider some x0(δ)>0 which we will determine later. We take the centre x0 and some point x1:=x0+δ2 inside the δ-interval. That means, |x1x0|=δ2<δ.

Now, we want to show that |x12x02|ϵ holds.

Template:Math

Further,

Template:Math

If we choose x01δ then it is guaranteed that |x12x02|1=ϵ. Hence, we have proven that

Template:Math

is not uniformly continuous.

Example: uniformly continuous functions

  • The identity function f:DD is uniformly continuous, since for |xy|<δ , we can show |f(x)f(y)|=|xy|<ϵ by choosing δ=ϵ .
  • Above, we have seen that the square function f: is not uniformly continuous on the real numbers. However, when restricting to a compact interval, the function gets uniformly continuous. For example,

Template:Math is uniformly continuous. We can prove this as follows: There is Template:Math because x,y[0,1] . So we can choose δ:=ϵ2 and then for all x,yD with |xy|<δ the estimate |f(x)f(y)|<2|xy|<2δ=ϵ will hold.

  • The square root function is uniformly continuous on 0+. Consider:

Template:Math Let ϵ>0 be arbitrary. Then, δ=ϵ2 is a suitable choice: Let x,y[0,[ with |xy|<δ.

Without any restrictions, we may choose xy. Then, there is also xy, and hence we get |xy|=yx.

Now, we want to prove that |f(x)f(y)|=|xy|=yx<ϵ .

By assumption there is 0xy<x+ϵ2. And therefore:

Template:Math

So y<(x+ϵ)2. Since by assumption x,y0 and also ϵ>0 , we may take the square root of this equation and obtain y<x+ϵ, i.e.yx<ϵ, which is what we wanted to show. Hence, we have proven that f is uniformly continuous.

  • The following example is not uniformly continuous:

Template:Math , which are sine waves oscillating faster and faster when approaching x=0. Assume that f was uniformly continuous. Then we could find some global δ such that the epsilon-delta criterion holds everywhere. But now, for x0 the frequency of f gets arbitrarily high, so inside an interval close to x0 , there will always be a full oscillation of the sine inside any δ-ball. Since the peak-to-peak amplitude of the sine function is equal to 2 , the condition |f(x)f(y)|<ϵ will never hold everywhere for ϵ<2 . We just have to move the rectangle close enough to 0, as illustrated by the subsequent figure:

This image shows, that the topological sine curve is not uniformly continuous. For an environment of fixed width and x going towards 0, at some point a full period will be inside the environment.
This image shows, that the topological sine curve is not uniformly continuous. For an environment of fixed width and x going towards 0, at some point a full period will be inside the environment.

Properties

As we have seen, not every continuous function is also uniformly continuous. But if we restrict to a closed, compact interval [a,b] , both continuity and uniform continuity will be equivalent:

Math for Non-Geeks: Template:Satz

{{#invoke:Math for Non-Geeks/Seite|unten}}

Template:BookCat