Continuous function
Part of a series of articles about |
Calculus |
---|
In
Continuity is one of the core concepts of calculus and mathematical analysis, where arguments and values of functions are real and complex numbers. The concept has been generalized to functions between metric spaces and between topological spaces. The latter are the most general continuous functions, and their definition is the basis of topology.
A stronger form of continuity is uniform continuity. In order theory, especially in domain theory, a related concept of continuity is Scott continuity.
As an example, the function H(t) denoting the height of a growing flower at time t would be considered continuous. In contrast, the function M(t) denoting the amount of money in a bank account at time t would be considered discontinuous since it "jumps" at each point in time when money is deposited or withdrawn.
History
A form of the epsilon–delta definition of continuity was first given by Bernard Bolzano in 1817. Augustin-Louis Cauchy defined continuity of as follows: an infinitely small increment of the independent variable x always produces an infinitely small change of the dependent variable y (see e.g.
Real functions
Definition

A
Continuity of real functions is usually defined in terms of limits. A function f with variable x is continuous at the real number c, if the limit of as x tends to c, is equal to
There are several different definitions of the (global) continuity of a function, which depend on the nature of its domain.
A function is continuous on an
A function is continuous on a
Many commonly encountered functions are
A partial function is discontinuous at a point if the point belongs to the
Using mathematical notation, several ways exist to define continuous functions in the three senses mentioned above.
Let be a function defined on a subset of the set of real numbers.
This subset is the domain of f. Some possible choices include
- : i.e., is the whole set of real numbers. or, for a and b real numbers,
- : is a closed interval, or
- : is an open interval.
In the case of the domain being defined as an open interval, and do not belong to , and the values of and do not matter for continuity on .
Definition in terms of limits of functions
The function f is continuous at some point c of its domain if the limit of as x approaches c through the domain of f, exists and is equal to [9] In mathematical notation, this is written as In detail this means three conditions: first, f has to be defined at c (guaranteed by the requirement that c is in the domain of f). Second, the limit of that equation has to exist. Third, the value of this limit must equal
(Here, we have assumed that the domain of f does not have any isolated points.)
Definition in terms of neighborhoods
A
As neighborhoods are defined in any topological space, this definition of a continuous function applies not only for real functions but also when the domain and the codomain are topological spaces and is thus the most general definition. It follows that a function is automatically continuous at every isolated point of its domain. For example, every real-valued function on the integers is continuous.
Definition in terms of limits of sequences

One can instead require that for any
Weierstrass and Jordan definitions (epsilon–delta) of continuous functions

Explicitly including the definition of the limit of a function, we obtain a self-contained definition: Given a function as above and an element of the domain , is said to be continuous at the point when the following holds: For any positive real number however small, there exists some positive real number such that for all in the domain of with the value of satisfies
Alternatively written, continuity of at means that for every there exists a such that for all :
More intuitively, we can say that if we want to get all the values to stay in some small
In modern terms, this is generalized by the definition of continuity of a function with respect to a
Weierstrass had required that the interval be entirely within the domain , but Jordan removed that restriction.
Definition in terms of control of the remainder
In proofs and numerical analysis, we often need to know how fast limits are converging, or in other words, control of the remainder. We can formalize this to a definition of continuity. A function is called a control function if
- C is non-decreasing
A function is C-continuous at if there exists such a neighbourhood that
A function is continuous in if it is C-continuous for some control function C.
This approach leads naturally to refining the notion of continuity by restricting the set of admissible control functions. For a given set of control functions a function is -continuous if it is -continuous for some For example, the
Definition using oscillation

Continuity can also be defined in terms of oscillation: a function f is continuous at a point if and only if its oscillation at that point is zero;[10] in symbols, A benefit of this definition is that it quantifies discontinuity: the oscillation gives how much the function is discontinuous at a point.
This definition is helpful in descriptive set theory to study the set of discontinuities and continuous points – the continuous points are the intersection of the sets where the oscillation is less than (hence a set) – and gives a rapid proof of one direction of the
The oscillation is equivalent to the definition by a simple re-arrangement and by using a limit (
Definition using the hyperreals
(see microcontinuity). In other words, an infinitesimal increment of the independent variable always produces an infinitesimal change of the dependent variable, giving a modern expression to Augustin-Louis Cauchy's definition of continuity.
Construction of continuous functions

Checking the continuity of a given function can be simplified by checking one of the above defining properties for the building blocks of the given function. It is straightforward to show that the sum of two functions, continuous on some domain, is also continuous on this domain. Given then the sum of continuous functions (defined by for all ) is continuous in
The same holds for the product of continuous functions, (defined by for all ) is continuous in
Combining the above preservations of continuity and the continuity of constant functions and of the identity function on , one arrives at the continuity of all polynomial functions on , such as (pictured on the right).

In the same way, it can be shown that the reciprocal of a continuous function (defined by for all such that ) is continuous in
This implies that, excluding the roots of the quotient of continuous functions (defined by for all , such that ) is also continuous on .
For example, the function (pictured) is defined for all real numbers and is continuous at every such point. Thus, it is a continuous function. The question of continuity at does not arise since is not in the domain of There is no continuous function that agrees with for all

Since the function
Thus, by setting
the sinc-function becomes a continuous function on all real numbers. The term removable singularity is used in such cases when (re)defining values of a function to coincide with the appropriate limits make a function continuous at specific points.
A more involved construction of continuous functions is the function composition. Given two continuous functions their composition, denoted as and defined by is continuous.
This construction allows stating, for example, that is continuous for all
Examples of discontinuous functions

An example of a discontinuous function is the Heaviside step function , defined by
Pick for instance . Then there is no -neighborhood around , i.e. no open interval with that will force all the values to be within the -neighborhood of , i.e. within . Intuitively, we can think of this type of discontinuity as a sudden
Similarly, the signum or sign function is discontinuous at but continuous everywhere else. Yet another example: the function is continuous everywhere apart from .

Besides plausible continuities and discontinuities like above, there are also functions with a behavior, often coined pathological, for example, Thomae's function, is continuous at all irrational numbers and discontinuous at all rational numbers. In a similar vein,
Properties
A useful lemma
Let be a function that is continuous at a point and be a value such Then throughout some neighbourhood of [13]
Proof: By the definition of continuity, take , then there exists such that Suppose there is a point in the neighbourhood for which then we have the contradiction
Intermediate value theorem
The intermediate value theorem is an existence theorem, based on the real number property of completeness, and states:
- If the real-valued function f is continuous on the closed interval and k is some number between and then there is some number such that
For example, if a child grows from 1 m to 1.5 m between the ages of two and six years, then, at some time between two and six years of age, the child's height must have been 1.25 m.
As a consequence, if f is continuous on and and differ in sign, then, at some point must equal
Extreme value theorem
The extreme value theorem states that if a function f is defined on a closed interval (or any closed and bounded set) and is continuous there, then the function attains its maximum, i.e. there exists with for all The same is true of the minimum of f. These statements are not, in general, true if the function is defined on an open interval (or any set that is not both closed and bounded), as, for example, the continuous function defined on the open interval (0,1), does not attain a maximum, being unbounded above.
Relation to differentiability and integrability
Every differentiable function is continuous, as can be shown. The converse does not hold: for example, the absolute value function
is everywhere continuous. However, it is not differentiable at (but is so everywhere else). Weierstrass's function is also everywhere continuous but nowhere differentiable.
The derivative f′(x) of a differentiable function f(x) need not be continuous. If f′(x) is continuous, f(x) is said to be continuously differentiable. The set of such functions is denoted More generally, the set of functions (from an open interval (or
Every continuous function is
Pointwise and uniform limits

Given a
Directional Continuity
Discontinuous functions may be discontinuous in a restricted way, giving rise to the concept of directional continuity (or right and left continuous functions) and semi-continuity. Roughly speaking, a function is right-continuous if no jump occurs when the limit point is approached from the right. Formally, f is said to be right-continuous at the point c if the following holds: For any number however small, there exists some number such that for all x in the domain with the value of will satisfy
This is the same condition as continuous functions, except it is required to hold for x strictly larger than c only. Requiring it instead for all x with yields the notion of left-continuous functions. A function is continuous if and only if it is both right-continuous and left-continuous.
Semicontinuity
A function f is lower semi-continuous if, roughly, any jumps that might occur only go down, but not up. That is, for any there exists some number such that for all x in the domain with the value of satisfies The reverse condition is upper semi-continuity.
Continuous functions between metric spaces
The concept of continuous real-valued functions can be generalized to functions between metric spaces. A metric space is a set equipped with a function (called
The set of points at which a function between metric spaces is continuous is a set – this follows from the definition of continuity.
This notion of continuity is applied, for example, in
Uniform, Hölder and Lipschitz continuity

The concept of continuity for functions between metric spaces can be strengthened in various ways by limiting the way depends on and c in the definition above. Intuitively, a function f as above is
A function is
Continuous functions between topological spaces
Another, more abstract, notion of continuity is the continuity of functions between
A function between two topological spaces X and Y is continuous if for every open set the inverse image is an open subset of X. That is, f is a function between the sets X and Y (not on the elements of the topology ), but the continuity of f depends on the topologies used on X and Y.
This is equivalent to the condition that the preimages of the closed sets (which are the complements of the open subsets) in Y are closed in X.
An extreme example: if a set X is given the
Continuity at a point

The translation in the language of neighborhoods of the -definition of continuity leads to the following definition of the continuity at a point:
A function is continuous at a point if and only if for any neighborhood V of in Y, there is a neighborhood U of such that
This definition is equivalent to the same statement with neighborhoods restricted to open neighborhoods and can be restated in several ways by using
Also, as every set that contains a neighborhood is also a neighborhood, and is the largest subset U of X such that this definition may be simplified into:
A function is continuous at a point if and only if is a neighborhood of for every neighborhood V of in Y.
As an open set is a set that is a neighborhood of all its points, a function is continuous at every point of X if and only if it is a continuous function.
If X and Y are metric spaces, it is equivalent to consider the
Given a map is continuous at if and only if whenever is a filter on that
Alternative definitions
Several
Sequences and nets
In several contexts, the topology of a space is conveniently specified in terms of
In detail, a function is
For instance, consider the case of real-valued functions of one real variable:[17]
Theorem—A function is continuous at if and only if it is
Proof
|
---|
Proof. Assume that is continuous at (in the sense of continuity). Let be a sequence converging at (such a sequence always exists, for example, ); since is continuous at For any such we can find a natural number such that for all since converges at ; combining this with we obtain Assume on the contrary that is sequentially continuous and proceed by contradiction: suppose is not continuous at then we can take and call the corresponding point : in this way we have defined a sequence such that by construction but , which contradicts the hypothesis of sequential continuity. |
Closure operator and interior operator definitions
In terms of the interior operator, a function between topological spaces is continuous if and only if for every subset
In terms of the closure operator, is continuous if and only if for every subset That is to say, given any element that belongs to the closure of a subset necessarily belongs to the closure of in If we declare that a point is close to a subset if then this terminology allows for a plain English description of continuity: is continuous if and only if for every subset maps points that are close to to points that are close to Similarly, is continuous at a fixed given point if and only if whenever is close to a subset then is close to
Instead of specifying topological spaces by their open subsets, any topology on can
Similarly, the map that sends a subset of to its topological interior defines an
Filters and prefilters
Continuity can also be characterized in terms of filters. A function is continuous if and only if whenever a filter on
Properties
If and are continuous, then so is the composition If is continuous and
- X is compact, then f(X) is compact.
- X is connected, then f(X) is connected.
- X is path-connected, then f(X) is path-connected.
- X is Lindelöf, then f(X) is Lindelöf.
- X is separable, then f(X) is separable.
The possible topologies on a fixed set X are
Homeomorphisms
Symmetric to the concept of a continuous map is an
If a continuous bijection has as its domain a compact space and its codomain is Hausdorff, then it is a homeomorphism.
Defining topologies via continuous functions
Given a function where X is a topological space and S is a set (without a specified topology), the final topology on S is defined by letting the open sets of S be those subsets A of S for which is open in X. If S has an existing topology, f is continuous with respect to this topology if and only if the existing topology is
Dually, for a function f from a set S to a topological space X, the initial topology on S is defined by designating as an open set every subset A of S such that for some open subset U of X. If S has an existing topology, f is continuous with respect to this topology if and only if the existing topology is finer than the initial topology on S. Thus, the initial topology is the coarsest topology on S that makes f continuous. If f is injective, this topology is canonically identified with the subspace topology of S, viewed as a subset of X.
A topology on a set S is uniquely determined by the class of all continuous functions into all topological spaces X. Dually, a similar idea can be applied to maps
Related notions
If is a continuous function from some subset of a topological space then a continuous extension of to is any continuous function such that for every which is a condition that often written as In words, it is any continuous function that
Various other mathematical domains use the concept of continuity in different but related meanings. For example, in order theory, an order-preserving function between particular types of partially ordered sets and is continuous if for each directed subset of we have Here is the
In category theory, a functor between two
A
In
See also
- Continuity (mathematics)
- Absolute continuity
- Approximate continuity
- Dini continuity
- Equicontinuity
- Geometric continuity
- Parametric continuity
- Classification of discontinuities
- Coarse function
- Continuous function (set theory)
- Continuous stochastic process
- Normal function
- Open and closed maps
- Piecewise
- Symmetrically continuous function
- Direction-preserving function - an analog of a continuous function in discrete spaces.
References
- ^ Bolzano, Bernard (1817). "Rein analytischer Beweis des Lehrsatzes daß zwischen je zwey Werthen, die ein entgegengesetzetes Resultat gewähren, wenigstens eine reelle Wurzel der Gleichung liege". Prague: Haase.
- S2CID 122843140
- ^ Goursat, E. (1904), A course in mathematical analysis, Boston: Ginn, p. 2
- ^ Jordan, M.C. (1893), Cours d'analyse de l'École polytechnique, vol. 1 (2nd ed.), Paris: Gauthier-Villars, p. 46
- S2CID 123997123
- ISBN 0961408820.
- ^ Speck, Jared (2014). "Continuity and Discontinuity" (PDF). MIT Math. p. 3. Archived from the original (PDF) on 2016-10-06. Retrieved 2016-09-02.
Example 5. The function is continuous on and on , i.e., for and for in other words, at every point in its domain. However, it is not a continuous function since its domain is not an interval. It has a single point of discontinuity, namely , and an infinite discontinuity there.
- ISBN 978-0-387-94841-6, section II.4
- ^ Introduction to Real Analysis, updated April 2010, William F. Trench, Theorem 3.5.2, p. 172
- ^ Introduction to Real Analysis, updated April 2010, William F. Trench, 3.5 "A More Advanced Look at the Existence of the Proper Riemann Integral", pp. 171–177
- ^ "Elementary Calculus". wisc.edu.
- ISBN 978-0-07-305194-9
- ISBN 978-0-486-47222-5, section IV.10
- ISBN 978-1-84628-369-7, section 9.4
- ^ a b c Dugundji 1966, pp. 211–221.
- ISBN 978-3-319-49314-5.
- ^ "general topology - Continuity and interior". Mathematics Stack Exchange.
- ISBN 978-1107034136.
- ISBN 0521803381.
- S2CID 17603865.
- JSTOR 2323060.
- .
- ^ Federer, H. (1969). Geometric measure theory. Die Grundlehren der mathematischen Wissenschaften. Vol. 153. New York: Springer-Verlag.
Bibliography
- OCLC 395340485.
- "Continuous function", Encyclopedia of Mathematics, EMS Press, 2001 [1994]