HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a continuous function is a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-orie ...
such that a small variation of the
argument An argument is a series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persu ...
induces a small variation of the value of the function. This implies there are no abrupt changes in value, known as '' discontinuities''. More precisely, a function is continuous if arbitrarily small changes in its value can be assured by restricting to sufficiently small changes of its argument. A discontinuous function is a function that is . Until the 19th century, mathematicians largely relied on
intuitive Intuition is the ability to acquire knowledge without recourse to conscious reasoning or needing an explanation. Different fields use the word "intuition" in very different ways, including but not limited to: direct access to unconscious knowledg ...
notions of continuity and considered only continuous functions. The epsilon–delta definition of a limit was introduced to formalize the definition of continuity. Continuity is one of the core concepts of
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
and
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series ( ...
, where arguments and values of functions are real and
complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
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 Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
. A stronger form of continuity is
uniform continuity In mathematics, a real function f of real numbers is said to be uniformly continuous if there is a positive real number \delta such that function values over any function domain interval of the size \delta are as close to each other as we want. In ...
. In
order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
, especially in
domain theory Domain theory is a branch of mathematics that studies special kinds of partially ordered sets (posets) commonly called domains. Consequently, domain theory can be considered as a branch of order theory. The field has major applications in computer ...
, a related concept of continuity is
Scott continuity In mathematics, given two partially ordered sets ''P'' and ''Q'', a function ''f'': ''P'' → ''Q'' between them is Scott-continuous (named after the mathematician Dana Scott) if it preserves all directed suprema. That is, for every directed su ...
. As an example, the function denoting the height of a growing flower at time would be considered continuous. In contrast, the function denoting the amount of money in a bank account at time 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 Bernard Bolzano (, ; ; ; born Bernardus Placidus Johann Nepomuk Bolzano; 5 October 1781 – 18 December 1848) was a Bohemian mathematician, logician, philosopher, theologian and Catholic priest of Italian extraction, also known for his liberal ...
in 1817.
Augustin-Louis Cauchy Baron Augustin-Louis Cauchy ( , , ; ; 21 August 1789 – 23 May 1857) was a French mathematician, engineer, and physicist. He was one of the first to rigorously state and prove the key theorems of calculus (thereby creating real a ...
defined continuity of y = f(x) as follows: an infinitely small increment \alpha of the independent variable ''x'' always produces an infinitely small change f(x+\alpha)-f(x) of the dependent variable ''y'' (see e.g. '' Cours d'Analyse'', p. 34). Cauchy defined infinitely small quantities in terms of variable quantities, and his definition of continuity closely parallels the infinitesimal definition used today (see
microcontinuity In nonstandard analysis, a discipline within classical mathematics, microcontinuity (or ''S''-continuity) of an internal function ''f'' at a point ''a'' is defined as follows: :for all ''x'' infinitely close to ''a'', the value ''f''(''x'') is in ...
). The formal definition and the distinction between pointwise continuity and
uniform continuity In mathematics, a real function f of real numbers is said to be uniformly continuous if there is a positive real number \delta such that function values over any function domain interval of the size \delta are as close to each other as we want. In ...
were first given by Bolzano in the 1830s, but the work wasn't published until the 1930s. Like Bolzano,
Karl Weierstrass Karl Theodor Wilhelm Weierstrass (; ; 31 October 1815 – 19 February 1897) was a German mathematician often cited as the " father of modern analysis". Despite leaving university without a degree, he studied mathematics and trained as a school t ...
denied continuity of a function at a point ''c'' unless it was defined at and on both sides of ''c'', but
Édouard Goursat Édouard Jean-Baptiste Goursat (21 May 1858 – 25 November 1936) was a French mathematician, now remembered principally as an expositor for his ''Cours d'analyse mathématique'', which appeared in the first decade of the twentieth century. It s ...
allowed the function to be defined only at and on one side of ''c'', and
Camille Jordan Marie Ennemond Camille Jordan (; 5 January 1838 – 22 January 1922) was a French mathematician, known both for his foundational work in group theory and for his influential ''Cours d'analyse''. Biography Jordan was born in Lyon and educated at ...
allowed it even if the function was defined only at ''c''. All three of those nonequivalent definitions of pointwise continuity are still in use.
Eduard Heine Heinrich Eduard Heine (16 March 1821 – 21 October 1881) was a German mathematician. Heine became known for results on special functions and in real analysis. In particular, he authored an important treatise on spherical harmonics and Leg ...
provided the first published definition of uniform continuity in 1872, but based these ideas on lectures given by
Peter Gustav Lejeune Dirichlet Johann Peter Gustav Lejeune Dirichlet (; ; 13 February 1805 – 5 May 1859) was a German mathematician. In number theory, he proved special cases of Fermat's last theorem and created analytic number theory. In analysis, he advanced the theory o ...
in 1854.


Real functions


Definition

A
real function In mathematical analysis, and applications in geometry, applied mathematics, engineering, and natural sciences, a function of a real variable is a function whose domain is the real numbers \mathbb, or a subset of \mathbb that contains an inter ...
that is a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-orie ...
from
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s to real numbers can be represented by a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discret ...
in the
Cartesian plane In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
; such a function is continuous if, roughly speaking, the graph is a single unbroken
curve In mathematics, a curve (also called a curved line in older texts) is an object similar to a line, but that does not have to be straight. Intuitively, a curve may be thought of as the trace left by a moving point. This is the definition that ...
whose domain is the entire real line. A more mathematically rigorous definition is given below. Continuity of real functions is usually defined in terms of
limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2009 ...
. A function with variable is ''continuous at'' the
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
, if the limit of f(x), as tends to , is equal to f(c). 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
open interval In mathematics, a real interval is the set (mathematics), set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without ...
if the interval is contained in the function's domain and the function is continuous at every interval point. A function that is continuous on the interval (-\infty, +\infty) (the whole
real line A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
) is often called simply a continuous function; one also says that such a function is ''continuous everywhere''. For example, all
polynomial function In mathematics, a polynomial is a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative int ...
s are continuous everywhere. A function is continuous on a semi-open or a closed interval; if the interval is contained in the domain of the function, the function is continuous at every interior point of the interval, and the value of the function at each endpoint that belongs to the interval is the limit of the values of the function when the variable tends to the endpoint from the interior of the interval. For example, the function f(x) = \sqrt is continuous on its whole domain, which is the closed interval ,+\infty). Many commonly encountered functions are partial functions that have a domain formed by all real numbers, except some
isolated point In mathematics, a point is called an isolated point of a subset (in a topological space ) if is an element of and there exists a neighborhood of that does not contain any other points of . This is equivalent to saying that the singleton i ...
s. Examples include the reciprocal function x \mapsto \frac and the tangent function x\mapsto \tan x. When they are continuous on their domain, one says, in some contexts, that they are continuous, although they are not continuous everywhere. In other contexts, mainly when one is interested in their behavior near the exceptional points, one says they are discontinuous. A partial function is ''discontinuous'' at a point if the point belongs to the
topological closure In topology, the closure of a subset of points in a topological space consists of all points in together with all limit points of . The closure of may equivalently be defined as the union of and its boundary, and also as the intersection ...
of its domain, and either the point does not belong to the domain of the function or the function is not continuous at the point. For example, the functions x\mapsto \frac and x\mapsto \sin(\frac ) are discontinuous at , and remain discontinuous whichever value is chosen for defining them at . A point where a function is discontinuous is called a ''discontinuity''. Using mathematical notation, several ways exist to define continuous functions in the three senses mentioned above. Let f : D \to \R be a function whose domain D is contained in \R of real numbers. Some (but not all) possibilities for D are: * D is the whole
real line A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
; that is, D = \R * D is a
closed interval In mathematics, a real interval is the set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without a bound. A real in ...
of the form D =
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
= \ , where and are real numbers * D is an
open interval In mathematics, a real interval is the set (mathematics), set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without ...
of the form D = (a, b) = \, where and are real numbers In the case of an open interval, a and b do not belong to D, and the values f(a) and f(b) are not defined, and if they are, they do not matter for continuity on D.


Definition in terms of limits of functions

The function is ''continuous at some point'' of its domain if the limit of f(x), as ''x'' approaches ''c'' through the domain of ''f'', exists and is equal to f(c). In mathematical notation, this is written as \lim_ = f(c). In detail this means three conditions: first, has to be defined at (guaranteed by the requirement that is in the domain of ). Second, the limit of that equation has to exist. Third, the value of this limit must equal f(c). (Here, we have assumed that the domain of ''f'' does not have any
isolated point In mathematics, a point is called an isolated point of a subset (in a topological space ) if is an element of and there exists a neighborhood of that does not contain any other points of . This is equivalent to saying that the singleton i ...
s.)


Definition in terms of neighborhoods

A
neighborhood A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neigh ...
of a point ''c'' is a set that contains, at least, all points within some fixed distance of ''c''. Intuitively, a function is continuous at a point ''c'' if the range of ''f'' over the neighborhood of ''c'' shrinks to a single point f(c) as the width of the neighborhood around ''c'' shrinks to zero. More precisely, a function ''f'' is continuous at a point ''c'' of its domain if, for any neighborhood N_1(f(c)) there is a neighborhood N_2(c) in its domain such that f(x) \in N_1(f(c)) whenever x\in N_2(c). As neighborhoods are defined in any
topological space In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
, this definition of a continuous function applies not only for real functions but also when the domain and the
codomain In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
are
topological space In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
s and is thus the most general definition. It follows that a function is automatically continuous at every
isolated point In mathematics, a point is called an isolated point of a subset (in a topological space ) if is an element of and there exists a neighborhood of that does not contain any other points of . This is equivalent to saying that the singleton i ...
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
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
(x_n)_ of points in the domain which converges to ''c'', the corresponding sequence \left(f(x_n)\right)_ converges to f(c). In mathematical notation, \forall (x_n)_ \subset D:\lim_ x_n = c \Rightarrow \lim_ f(x_n) = f(c)\,.


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 f : D \to \mathbb as above and an element x_0 of the domain D, f is said to be continuous at the point x_0 when the following holds: For any positive real number \varepsilon > 0, however small, there exists some positive real number \delta > 0 such that for all x in the domain of f with x_0 - \delta < x < x_0 + \delta, the value of f(x) satisfies f\left(x_0\right) - \varepsilon < f(x) < f(x_0) + \varepsilon. Alternatively written, continuity of f : D \to \mathbb at x_0 \in D means that for every \varepsilon > 0, there exists a \delta > 0 such that for all x \in D: \left, x - x_0\ < \delta ~~\text~~ , f(x) - f(x_0), < \varepsilon. More intuitively, we can say that if we want to get all the f(x) values to stay in some small
neighborhood A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neigh ...
around f\left(x_0\right), we need to choose a small enough neighborhood for the x values around x_0. If we can do that no matter how small the f(x_0) neighborhood is, then f is continuous at x_0. In modern terms, this is generalized by the definition of continuity of a function with respect to a basis for the topology, here the
metric topology In mathematics, a metric space is a set together with a notion of ''distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are a general setting for ...
. Weierstrass had required that the interval x_0 - \delta < x < x_0 + \delta be entirely within the domain D, 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 C: ,\infty) \to [0,\infty/math> is called a control function if * ''C'' is non-decreasing *\inf_ C(\delta) = 0 A function f : D \to R is ''C''-continuous at x_0 if there exists such a neighbourhood N(x_0) that , f(x) - f(x_0), \leq C\left(\left, x - x_0\\right) \text x \in D \cap N(x_0) A function is continuous in x_0 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 \mathcal a function is if it is for some C \in \mathcal. For example, the Lipschitz continuity, Lipschitz, the Hölder continuous functions of exponent and the uniformly continuous functions below are defined by the set of control functions \mathcal_ = \ \mathcal_ = \ \mathcal_ = \ respectively.


Definition using oscillation

Continuity can also be defined in terms of
oscillation Oscillation is the repetitive or periodic variation, typically in time, of some measure about a central value (often a point of equilibrium) or between two or more different states. Familiar examples of oscillation include a swinging pendulum ...
: a function ''f'' is continuous at a point x_0 if and only if its oscillation at that point is zero; in symbols, \omega_f(x_0) = 0. A benefit of this definition is that it discontinuity: the oscillation gives how the function is discontinuous at a point. This definition is helpful in
descriptive set theory In mathematical logic, descriptive set theory (DST) is the study of certain classes of "well-behaved" set (mathematics), subsets of the real line and other Polish spaces. As well as being one of the primary areas of research in set theory, it has a ...
to study the set of discontinuities and continuous points – the continuous points are the intersection of the sets where the oscillation is less than \varepsilon (hence a G_ set) – and gives a rapid proof of one direction of the
Lebesgue integrability condition In the branch of mathematics known as real analysis, the Riemann integral, created by Bernhard Riemann, was the first rigorous definition of the integral of a function on an interval. It was presented to the faculty at the University of Gö ...
. The oscillation is equivalent to the \varepsilon-\delta definition by a simple re-arrangement and by using a limit (
lim sup In mathematics, the limit inferior and limit superior of a sequence can be thought of as limiting (that is, eventual and extreme) bounds on the sequence. They can be thought of in a similar fashion for a function (see limit of a function). For ...
,
lim inf In mathematics, the limit inferior and limit superior of a sequence can be thought of as limiting (that is, eventual and extreme) bounds on the sequence. They can be thought of in a similar fashion for a function (see limit of a function). For ...
) to define oscillation: if (at a given point) for a given \varepsilon_0 there is no \delta that satisfies the \varepsilon-\delta definition, then the oscillation is at least \varepsilon_0, and conversely if for every \varepsilon there is a desired \delta, the oscillation is 0. The oscillation definition can be naturally generalized to maps from a topological space to a
metric space In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
.


Definition using the hyperreals

Cauchy Baron Augustin-Louis Cauchy ( , , ; ; 21 August 1789 – 23 May 1857) was a French mathematician, engineer, and physicist. He was one of the first to rigorously state and prove the key theorems of calculus (thereby creating real a ...
defined the continuity of a function in the following intuitive terms: an
infinitesimal In mathematics, an infinitesimal number is a non-zero quantity that is closer to 0 than any non-zero real number is. The word ''infinitesimal'' comes from a 17th-century Modern Latin coinage ''infinitesimus'', which originally referred to the " ...
change in the independent variable corresponds to an infinitesimal change of the dependent variable (see ''Cours d'analyse'', page 34).
Non-standard analysis The history of calculus is fraught with philosophical debates about the meaning and logical validity of fluxions or infinitesimal numbers. The standard way to resolve these debates is to define the operations of calculus using (ε, δ)-definitio ...
is a way of making this mathematically rigorous. The real line is augmented by adding infinite and infinitesimal numbers to form the
hyperreal numbers In mathematics, hyperreal numbers are an extension of the real numbers to include certain classes of infinite and infinitesimal numbers. A hyperreal number x is said to be finite if, and only if, , x, for some integer n
. In nonstandard analysis, continuity can be defined as follows. (see
microcontinuity In nonstandard analysis, a discipline within classical mathematics, microcontinuity (or ''S''-continuity) of an internal function ''f'' at a point ''a'' is defined as follows: :for all ''x'' infinitely close to ''a'', the value ''f''(''x'') is in ...
). 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 Baron Augustin-Louis Cauchy ( , , ; ; 21 August 1789 – 23 May 1857) was a French mathematician, engineer, and physicist. He was one of the first to rigorously state and prove the key theorems of calculus (thereby creating real a ...
's definition of continuity.


Rules for continuity

Proving the continuity of a function by a direct application of the definition is generaly a noneasy task. Fortunately, in practice, most functions are built from simpler functions, and their continuity can be deduced immediately from the way they are defined, by applying the following rules: * Every
constant function In mathematics, a constant function is a function whose (output) value is the same for every input value. Basic properties As a real-valued function of a real-valued argument, a constant function has the general form or just For example, ...
is continuous * The
identity function Graph of the identity function on the real numbers In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
is continuous * ''Addition and multiplication:'' If the functions and are continuous on their respective domains and , then their sum and their product are continuous on the
intersection In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
, where and are defined by and . * '' Reciprocal:'' If the function is continuous on the domain , then its reciprocal , defined by is continuous on the domain , that is, the domain from which the points such that are removed. * ''
Function composition In mathematics, the composition operator \circ takes two function (mathematics), functions, f and g, and returns a new function h(x) := (g \circ f) (x) = g(f(x)). Thus, the function is function application, applied after applying to . (g \c ...
:'' If the functions and are continuous on their respective domains and , then the composition defined by is continuous on , that the part of that is mapped by inside . * The
sine and cosine In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
functions ( and ) are continuous everywhere. * The exponential function is continuous everywhere. * The
natural logarithm The natural logarithm of a number is its logarithm to the base of a logarithm, base of the e (mathematical constant), mathematical constant , which is an Irrational number, irrational and Transcendental number, transcendental number approxima ...
is continuous on the domain formed by all positive real numbers . These rules imply that every
polynomial function In mathematics, a polynomial is a mathematical expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication and exponentiation to nonnegative int ...
is continuous everywhere and that a
rational function In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be ...
is continuous everywhere where it is defined, if the numerator and the denominator have no common zeros. More generally, the quotient of two continuous functions is continuous outside the zeros of the denominator. An example of a function for which the above rules are not sufficirent is the
sinc function In mathematics, physics and engineering, the sinc function ( ), denoted by , has two forms, normalized and unnormalized.. In mathematics, the historical unnormalized sinc function is defined for by \operatorname(x) = \frac. Alternatively, ...
, which is defined by and for . The above rules show immediately that the function is continuous for , but, for proving the continuity at , one has to prove \lim_ \frac = 1. As this is true, one gets that the sinc function is continuous function on all real numbers.


Examples of discontinuous functions

An example of a discontinuous function is the
Heaviside step function The Heaviside step function, or the unit step function, usually denoted by or (but sometimes , or ), is a step function named after Oliver Heaviside, the value of which is zero for negative arguments and one for positive arguments. Differen ...
H, defined by H(x) = \begin 1 & \text x \ge 0\\ 0 & \text x < 0 \end Pick for instance \varepsilon = 1/2. Then there is no around x = 0, i.e. no open interval (-\delta,\;\delta) with \delta > 0, that will force all the H(x) values to be within the of H(0), i.e. within (1/2,\;3/2). Intuitively, we can think of this type of discontinuity as a sudden jump in function values. Similarly, the signum or sign function \sgn(x) = \begin \;\;\ 1 & \textx > 0\\ \;\;\ 0 & \textx = 0\\ -1 & \textx < 0 \end is discontinuous at x = 0 but continuous everywhere else. Yet another example: the function f(x) = \begin \sin\left(x^\right)&\textx \neq 0\\ 0&\textx = 0 \end is continuous everywhere apart from x = 0. Besides plausible continuities and discontinuities like above, there are also functions with a behavior, often coined
pathological Pathology is the study of disease. The word ''pathology'' also refers to the study of disease in general, incorporating a wide range of biology research fields and medical practices. However, when used in the context of modern medical treatme ...
, for example,
Thomae's function Thomae's function is a real-valued function of a real variable that can be defined as: f(x) = \begin \frac &\textx = \tfrac\quad (x \text p \in \mathbb Z \text q \in \mathbb N \text\\ 0 &\textx \text \end It is named after Carl ...
, f(x)=\begin 1 &\text x=0\\ \frac&\text x = \frac \text\\ 0&\textx\text. \end is continuous at all irrational numbers and discontinuous at all rational numbers. In a similar vein, Dirichlet's function, the
indicator function In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , then the indicator functio ...
for the set of rational numbers, D(x)=\begin 0&\textx\text (\in \R \setminus \Q)\\ 1&\textx\text (\in \Q) \end is nowhere continuous.


Properties


A useful lemma

Let f(x) be a function that is continuous at a point x_0, and y_0 be a value such f\left(x_0\right)\neq y_0. Then f(x)\neq y_0 throughout some neighbourhood of x_0. ''Proof:'' By the definition of continuity, take \varepsilon =\frac>0 , then there exists \delta>0 such that \left, f(x)-f(x_0)\ < \frac \quad \text \quad , x-x_0, < \delta Suppose there is a point in the neighbourhood , x-x_0, <\delta for which f(x)=y_0; then we have the contradiction \left, f(x_0)-y_0\ < \frac.


Intermediate value theorem

The
intermediate value theorem In mathematical analysis, the intermediate value theorem states that if f is a continuous function whose domain contains the interval , then it takes on any given value between f(a) and f(b) at some point within the interval. This has two imp ...
is an
existence theorem In mathematics, an existence theorem is a theorem which asserts the existence of a certain object. It might be a statement which begins with the phrase " there exist(s)", or it might be a universal statement whose last quantifier is existential ...
, based on the real number property of completeness, and states: :If the real-valued function ''f'' is continuous on the
closed interval In mathematics, a real interval is the set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without a bound. A real in ...
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
and ''k'' is some number between f(a) and f(b), then there is some number c \in
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
such that f(c) = k. 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
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math> and f(a) and f(b) differ in
sign A sign is an object, quality, event, or entity whose presence or occurrence indicates the probable presence or occurrence of something else. A natural sign bears a causal relation to its object—for instance, thunder is a sign of storm, or me ...
, then, at some point c \in
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
f(c) must equal
zero 0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
.


Extreme value theorem

The
extreme value theorem In calculus, the extreme value theorem states that if a real-valued function f is continuous on the closed and bounded interval ,b/math>, then f must attain a maximum and a minimum, each at least once. That is, there exist numbers c and ...
states that if a function ''f'' is defined on a closed interval
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math> (or any closed and bounded set) and is continuous there, then the function attains its maximum, i.e. there exists c \in
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math> with f(c) \geq f(x) for all x \in
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
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 (a, b) (or any set that is not both closed and bounded), as, for example, the continuous function f(x) = \frac, defined on the open interval (0,1), does not attain a maximum, being unbounded above.


Relation to differentiability and integrability

Every
differentiable function In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
f : (a, b) \to \R is continuous, as can be shown. The converse does not hold: for example, the
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
function :f(x)=, x, = \begin \;\;\ x & \textx \geq 0\\ -x & \textx < 0 \end is everywhere continuous. However, it is not differentiable at x = 0 (but is so everywhere else). Weierstrass's function is also everywhere continuous but nowhere differentiable. The
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
''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 C^1((a, b)). More generally, the set of functions f : \Omega \to \R (from an open interval (or
open subset In mathematics, an open set is a generalization of an open interval in the real line. In a metric space (a set with a distance defined between every two points), an open set is a set that, with every point in it, contains all points of the met ...
of \R) \Omega to the reals) such that ''f'' is n times differentiable and such that the n-th derivative of ''f'' is continuous is denoted C^n(\Omega). See
differentiability class In mathematical analysis, the smoothness of a function is a property measured by the number of continuous derivatives (''differentiability class)'' it has over its domain. A function of class C^k is a function of smoothness at least ; t ...
. In the field of computer graphics, properties related (but not identical) to C^0, C^1, C^2 are sometimes called G^0 (continuity of position), G^1 (continuity of tangency), and G^2 (continuity of curvature); see Smoothness of curves and surfaces. Every continuous function f :
, b The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
\to \R is integrable (for example in the sense of the
Riemann integral In the branch of mathematics known as real analysis, the Riemann integral, created by Bernhard Riemann, was the first rigorous definition of the integral of a function on an interval. It was presented to the faculty at the University of Gö ...
). The converse does not hold, as the (integrable but discontinuous)
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is a function that has the value , or according to whether the sign of a given real number is positive or negative, or the given number is itself zer ...
shows.


Pointwise and uniform limits

Given a
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
f_1, f_2, \dotsc : I \to \R of functions such that the limit f(x) := \lim_ f_n(x) exists for all x \in D,, the resulting function f(x) is referred to as the pointwise limit of the sequence of functions \left(f_n\right)_. The pointwise limit function need not be continuous, even if all functions f_n are continuous, as the animation at the right shows. However, ''f'' is continuous if all functions f_n are continuous and the sequence converges uniformly, by the
uniform convergence theorem In the mathematical field of analysis, uniform convergence is a mode of convergence of functions stronger than pointwise convergence. A sequence of functions (f_n) converges uniformly to a limiting function f on a set E as the function domain i ...
. This theorem can be used to show that the exponential functions,
logarithm In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
s,
square root In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ...
function, and
trigonometric function In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in all ...
s are continuous.


Directional Continuity

Image:Right-continuous.svg, A right-continuous function Image:Left-continuous.svg, A left-continuous function
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 In mathematical analysis, semicontinuity (or semi-continuity) is a property of extended real-valued functions that is weaker than continuity. An extended real-valued function f is upper (respectively, lower) semicontinuous at a point x_0 if, r ...
. Roughly speaking, a function is 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 \varepsilon > 0 however small, there exists some number \delta > 0 such that for all ''x'' in the domain with c < x < c + \delta, the value of f(x) will satisfy , f(x) - f(c), < \varepsilon. 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 c - \delta < x < c yields the notion of functions. A function is continuous if and only if it is both right-continuous and left-continuous.


Semicontinuity

A function ''f'' is if, roughly, any jumps that might occur only go down, but not up. That is, for any \varepsilon > 0, there exists some number \delta > 0 such that for all ''x'' in the domain with , x - c, < \delta, the value of f(x) satisfies f(x) \geq f(c) - \epsilon. The reverse condition is .


Continuous functions between metric spaces

The concept of continuous real-valued functions can be generalized to functions between
metric space In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
s. A metric space is a set X equipped with a function (called
metric Metric or metrical may refer to: Measuring * Metric system, an internationally adopted decimal system of measurement * An adjective indicating relation to measurement in general, or a noun describing a specific type of measurement Mathematics ...
) d_X, that can be thought of as a measurement of the distance of any two elements in ''X''. Formally, the metric is a function d_X : X \times X \to \R that satisfies a number of requirements, notably the
triangle inequality In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of Degeneracy (mathematics)#T ...
. Given two metric spaces \left(X, d_X\right) and \left(Y, d_Y\right) and a function f : X \to Y then f is continuous at the point c \in X (with respect to the given metrics) if for any positive real number \varepsilon > 0, there exists a positive real number \delta > 0 such that all x \in X satisfying d_X(x, c) < \delta will also satisfy d_Y(f(x), f(c)) < \varepsilon. As in the case of real functions above, this is equivalent to the condition that for every sequence \left(x_n\right) in X with limit \lim x_n = c, we have \lim f\left(x_n\right) = f(c). The latter condition can be weakened as follows: f is continuous at the point c if and only if for every convergent sequence \left(x_n\right) in X with limit c, the sequence \left(f\left(x_n\right)\right) is a
Cauchy sequence In mathematics, a Cauchy sequence is a sequence whose elements become arbitrarily close to each other as the sequence progresses. More precisely, given any small positive distance, all excluding a finite number of elements of the sequence are le ...
, and c is in the domain of f. The set of points at which a function between metric spaces is continuous is a G_ set – this follows from the \varepsilon-\delta definition of continuity. This notion of continuity is applied, for example, in
functional analysis Functional analysis is a branch of mathematical analysis, the core of which is formed by the study of vector spaces endowed with some kind of limit-related structure (for example, Inner product space#Definition, inner product, Norm (mathematics ...
. A key statement in this area says that a
linear operator In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
T : V \to W between
normed vector space The Ateliers et Chantiers de France (ACF, Workshops and Shipyards of France) was a major shipyard that was established in Dunkirk, France, in 1898. The shipyard boomed in the period before World War I (1914–18), but struggled in the inter-war ...
s V and W (which are
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
s equipped with a compatible
norm Norm, the Norm or NORM may refer to: In academic disciplines * Normativity, phenomenon of designating things as good or bad * Norm (geology), an estimate of the idealised mineral content of a rock * Norm (philosophy), a standard in normative e ...
, denoted \, x\, ) is continuous if and only if it is bounded, that is, there is a constant K such that \, T(x)\, \leq K \, x\, for all x \in V.


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 \delta depends on \varepsilon and ''c'' in the definition above. Intuitively, a function ''f'' as above is
uniformly continuous In mathematics, a real function f of real numbers is said to be uniformly continuous if there is a positive real number \delta such that function values over any function domain interval of the size \delta are as close to each other as we want. In ...
if the \delta does not depend on the point ''c''. More precisely, it is required that for every
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
\varepsilon > 0 there exists \delta > 0 such that for every c, b \in X with d_X(b, c) < \delta, we have that d_Y(f(b), f(c)) < \varepsilon. Thus, any uniformly continuous function is continuous. The converse does not generally hold but holds when the domain space ''X'' is
compact Compact as used in politics may refer broadly to a pact or treaty; in more specific cases it may refer to: * Interstate compact, a type of agreement used by U.S. states * Blood compact, an ancient ritual of the Philippines * Compact government, a t ...
. Uniformly continuous maps can be defined in the more general situation of
uniform space In the mathematical field of topology, a uniform space is a topological space, set with additional mathematical structure, structure that is used to define ''uniform property, uniform properties'', such as complete space, completeness, uniform con ...
s. A function is
Hölder continuous Hölder: * ''Hölder, Hoelder'' as surname * Hölder condition * Hölder's inequality In mathematical analysis, Hölder's inequality, named after Otto Hölder, is a fundamental inequality (mathematics), inequality between Lebesgue integration, in ...
with exponent α (a real number) if there is a constant ''K'' such that for all b, c \in X, the inequality d_Y (f(b), f(c)) \leq K \cdot (d_X (b, c))^\alpha holds. Any Hölder continuous function is uniformly continuous. The particular case \alpha = 1 is referred to as
Lipschitz continuity In mathematical analysis, Lipschitz continuity, named after Germany, German mathematician Rudolf Lipschitz, is a strong form of uniform continuity for function (mathematics), functions. Intuitively, a Lipschitz continuous function is limited in h ...
. That is, a function is Lipschitz continuous if there is a constant ''K'' such that the inequality d_Y (f(b), f(c)) \leq K \cdot d_X (b, c) holds for any b, c \in X. The Lipschitz condition occurs, for example, in the
Picard–Lindelöf theorem In mathematics, specifically the study of differential equations, the Picard–Lindelöf theorem gives a set of conditions under which an initial value problem has a unique solution. It is also known as Picard's existence theorem, the Cauchy– ...
concerning the solutions of
ordinary differential equation In mathematics, an ordinary differential equation (ODE) is a differential equation (DE) dependent on only a single independent variable (mathematics), variable. As with any other DE, its unknown(s) consists of one (or more) Function (mathematic ...
s.


Continuous functions between topological spaces

Another, more abstract, notion of continuity is the continuity of functions between
topological space In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
s in which there generally is no formal notion of distance, as there is in the case of
metric space In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
s. A topological space is a set ''X'' together with a topology on ''X'', which is a set of
subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s of ''X'' satisfying a few requirements with respect to their unions and intersections that generalize the properties of the
open ball In mathematics, a ball is the solid figure bounded by a ''sphere''; it is also called a solid sphere. It may be a closed ball (including the boundary points that constitute the sphere) or an open ball (excluding them). These concepts are defin ...
s in metric spaces while still allowing one to talk about the neighborhoods of a given point. The elements of a topology are called
open subset In mathematics, an open set is a generalization of an open interval in the real line. In a metric space (a set with a distance defined between every two points), an open set is a set that, with every point in it, contains all points of the met ...
s of ''X'' (with respect to the topology). A function f : X \to Y between two topological spaces ''X'' and ''Y'' is continuous if for every open set V \subseteq Y, the
inverse image In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y. More generally, evaluating f at each ...
f^(V) = \ 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 T_X), 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 set In geometry, topology, and related branches of mathematics, a closed set is a Set (mathematics), set whose complement (set theory), complement is an open set. In a topological space, a closed set can be defined as a set which contains all its lim ...
s (which are the complements of the open subsets) in ''Y'' are closed in ''X''. An extreme example: if a set ''X'' is given the
discrete topology In topology, a discrete space is a particularly simple example of a topological space or similar structure, one in which the points form a , meaning they are '' isolated'' from each other in a certain sense. The discrete topology is the finest to ...
(in which every subset is open), all functions f : X \to T to any topological space ''T'' are continuous. On the other hand, if ''X'' is equipped with the
indiscrete topology In topology, a topological space with the trivial topology is one where the only open sets are the empty set and the entire space. Such spaces are commonly called indiscrete, anti-discrete, concrete or codiscrete. Intuitively, this has the conseque ...
(in which the only open subsets are the empty set and ''X'') and the space ''T'' set is at least T0, then the only continuous functions are the constant functions. Conversely, any function whose codomain is indiscrete is continuous.


Continuity at a point

The translation in the language of neighborhoods of the (\varepsilon, \delta)-definition of continuity leads to the following definition of the continuity at a point: This definition is equivalent to the same statement with neighborhoods restricted to open neighborhoods and can be restated in several ways by using
preimage In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y. More generally, evaluating f at each ...
s rather than images. Also, as every set that contains a neighborhood is also a neighborhood, and f^(V) is the largest subset of such that f(U) \subseteq V, this definition may be simplified into: As an open set is a set that is a neighborhood of all its points, a function f : X \to Y is continuous at every point of if and only if it is a continuous function. If ''X'' and ''Y'' are metric spaces, it is equivalent to consider the
neighborhood system In topology and related areas of mathematics, the neighbourhood system, complete system of neighbourhoods, or neighbourhood filter \mathcal(x) for a point x in a topological space is the collection of all neighbourhoods of x. Definitions Neighbou ...
of
open ball In mathematics, a ball is the solid figure bounded by a ''sphere''; it is also called a solid sphere. It may be a closed ball (including the boundary points that constitute the sphere) or an open ball (excluding them). These concepts are defin ...
s centered at ''x'' and ''f''(''x'') instead of all neighborhoods. This gives back the above \varepsilon-\delta definition of continuity in the context of metric spaces. In general topological spaces, there is no notion of nearness or distance. If, however, the target space is a
Hausdorff space In topology and related branches of mathematics, a Hausdorff space ( , ), T2 space or separated space, is a topological space where distinct points have disjoint neighbourhoods. Of the many separation axioms that can be imposed on a topologi ...
, it is still true that ''f'' is continuous at ''a'' if and only if the limit of ''f'' as ''x'' approaches ''a'' is ''f''(''a''). At an isolated point, every function is continuous. Given x \in X, a map f : X \to Y is continuous at x if and only if whenever \mathcal is a filter on X that converges to x in X, which is expressed by writing \mathcal \to x, then necessarily f(\mathcal) \to f(x) in Y. If \mathcal(x) denotes the
neighborhood filter In topology and related areas of mathematics, the neighbourhood system, complete system of neighbourhoods, or neighbourhood filter \mathcal(x) for a point x in a topological space is the collection of all neighbourhoods of x. Definitions Neighbou ...
at x then f : X \to Y is continuous at x if and only if f(\mathcal(x)) \to f(x) in Y. Moreover, this happens if and only if the
prefilter In mathematics, a filter on a set X is a family \mathcal of subsets such that: # X \in \mathcal and \emptyset \notin \mathcal # if A\in \mathcal and B \in \mathcal, then A\cap B\in \mathcal # If A\subset B\subset X and A\in \mathcal, then B\in ...
f(\mathcal(x)) is a
filter base In mathematics, a filter on a set X is a family \mathcal of subsets such that: # X \in \mathcal and \emptyset \notin \mathcal # if A\in \mathcal and B \in \mathcal, then A\cap B\in \mathcal # If A\subset B\subset X and A\in \mathcal, then B\in ...
for the neighborhood filter of f(x) in Y.


Alternative definitions

Several equivalent definitions for a topological structure exist; thus, several equivalent ways exist to define a continuous function.


Sequences and nets

In several contexts, the topology of a space is conveniently specified in terms of
limit points In mathematics, a limit point, accumulation point, or cluster point of a set S in a topological space X is a point x that can be "approximated" by points of S in the sense that every neighbourhood of x contains a point of S other than x itself. A ...
. This is often accomplished by specifying when a point is the
limit of a sequence As the positive integer n becomes larger and larger, the value n\times \sin\left(\tfrac1\right) becomes arbitrarily close to 1. We say that "the limit of the sequence n \times \sin\left(\tfrac1\right) equals 1." In mathematics, the li ...
. Still, for some spaces that are too large in some sense, one specifies also when a point is the limit of more general sets of points indexed by a
directed set In mathematics, a directed set (or a directed preorder or a filtered set) is a preordered set in which every finite subset has an upper bound. In other words, it is a non-empty preordered set A such that for any a and b in A there exists c in A wit ...
, known as nets. A function is (Heine-)continuous only if it takes limits of sequences to limits of sequences. In the former case, preservation of limits is also sufficient; in the latter, a function may preserve all limits of sequences yet still fail to be continuous, and preservation of nets is a necessary and sufficient condition. In detail, a function f : X \to Y is
sequentially continuous In topology and related fields of mathematics, a sequential space is a topological space whose topology can be completely characterized by its convergent/divergent sequences. They can be thought of as spaces that satisfy a very weak axiom of count ...
if whenever a sequence \left(x_n\right) in X converges to a limit x, the sequence \left(f\left(x_n\right)\right) converges to f(x). Thus, sequentially continuous functions "preserve sequential limits." Every continuous function is sequentially continuous. If X is a
first-countable space In topology, a branch of mathematics, a first-countable space is a topological space satisfying the "first axiom of countability". Specifically, a space X is said to be first-countable if each point has a countable neighbourhood basis (local base ...
and
countable choice The axiom of countable choice or axiom of denumerable choice, denoted ACω, is an axiom of set theory that states that every countable collection of non-empty sets must have a choice function. That is, given a function A with domain \mathbb (w ...
holds, then the converse also holds: any function preserving sequential limits is continuous. In particular, if X is a metric space, sequential continuity and continuity are equivalent. For non-first-countable spaces, sequential continuity might be strictly weaker than continuity. (The spaces for which the two properties are equivalent are called
sequential space In topology and related fields of mathematics, a sequential space is a topological space whose topology can be completely characterized by its convergent/divergent sequences. They can be thought of as spaces that satisfy a very weak axiom of count ...
s.) This motivates the consideration of nets instead of sequences in general topological spaces. Continuous functions preserve the limits of nets, and this property characterizes continuous functions. For instance, consider the case of real-valued functions of one real variable: ''Proof.'' Assume that f : A \subseteq \R \to \R is continuous at x_0 (in the sense of \epsilon-\delta continuity). Let \left(x_n\right)_ be a sequence converging at x_0 (such a sequence always exists, for example, x_n = x, \text n); since f is continuous at x_0 \forall \epsilon > 0\, \exists \delta_ > 0 : 0 < , x-x_0, < \delta_ \implies , f(x)-f(x_0), < \epsilon.\quad (*) For any such \delta_ we can find a natural number \nu_ > 0 such that for all n > \nu_, , x_n-x_0, < \delta_, since \left(x_n\right) converges at x_0; combining this with (*) we obtain \forall \epsilon > 0 \,\exists \nu_ > 0 : \forall n > \nu_ \quad , f(x_n)-f(x_0), < \epsilon. Assume on the contrary that f is sequentially continuous and proceed by contradiction: suppose f is not continuous at x_0 \exists \epsilon > 0 : \forall \delta_ > 0,\,\exists x_: 0 < , x_-x_0, < \delta_\epsilon \implies , f(x_)-f(x_0), > \epsilon then we can take \delta_=1/n,\,\forall n > 0 and call the corresponding point x_ =: x_n: in this way we have defined a sequence (x_n)_ such that \forall n > 0 \quad , x_n-x_0, < \frac,\quad , f(x_n)-f(x_0), > \epsilon by construction x_n \to x_0 but f(x_n) \not\to f(x_0), which contradicts the hypothesis of sequential continuity. \blacksquare


Closure operator and interior operator definitions

In terms of the interior and closure operators, we have the following equivalences, ''Proof.''i ⇒ ii. Fix a subset B of Y. Since \operatorname_Y B is open. and f is continuous, f^(\operatorname_Y B) is open in X. As \operatorname_Y B \subseteq B, we have f^(\operatorname_Y B) \subseteq f^(B). By the definition of the interior, \operatorname_X\left(f^(B)\right) is the largest open set contained in f^(B). Hence f^(\operatorname_Y B) \subseteq \operatorname_X\left(f^(B)\right). ii ⇒ iii. Fix A\subseteq X and let x\in\operatorname_X A. Suppose to the contrary that f(x)\notin\operatorname_Y\left(f(A)\right), then we may find some open neighbourhood V of f(x) that is disjoint from \operatorname_Y\left(f(A)\right). By ii, f^(V) = f^(\operatorname_Y V) \subseteq \operatorname_X \left(f^(V)\right), hence f^(V) is open. Then we have found an open neighbourhood of x that does not intersect \operatorname_X A, contradicting the fact that x\in\operatorname_X A. Hence f\left(\operatorname_X A\right) \subseteq \operatorname_Y \left(f(A)\right). iii ⇒ i. Let N\subseteq Y be closed. Let M = f^(N) be the preimage of N. By iii, we have f\left(\operatorname_X M\right) \subseteq \operatorname_Y \left(f(M)\right). Since f(M) = f(f^(N)) \subseteq N, we have further that f\left(\operatorname_X M\right) \subseteq \operatorname_Y N = N. Thus \operatorname_X M \subseteq f^\left(f(\operatorname_X M)\right) \subseteq f^(N) = M. Hence M is closed and we are done. If we declare that a point x is a subset A \subseteq X if x \in \operatorname_X A, then this terminology allows for a
plain English Plain English (also referred to as layman's terms) is a mode of writing or speaking the English language intended to be easy to understand regardless of one's familiarity with a given topic. It usually avoids the use of rare words and uncommon euph ...
description of continuity: f is continuous if and only if for every subset A \subseteq X, f maps points that are close to A to points that are close to f(A). Similarly, f is continuous at a fixed given point x \in X if and only if whenever x is close to a subset A \subseteq X, then f(x) is close to f(A). Instead of specifying topological spaces by their open subsets, any topology on X can alternatively be determined by a
closure operator In mathematics, a closure operator on a Set (mathematics), set ''S'' is a Function (mathematics), function \operatorname: \mathcal(S)\rightarrow \mathcal(S) from the power set of ''S'' to itself that satisfies the following conditions for all sets ...
or by an
interior operator In mathematics, a closure operator on a set ''S'' is a function \operatorname: \mathcal(S)\rightarrow \mathcal(S) from the power set of ''S'' to itself that satisfies the following conditions for all sets X,Y\subseteq S : Closure operators are de ...
. Specifically, the map that sends a subset A of a topological space X to its
topological closure In topology, the closure of a subset of points in a topological space consists of all points in together with all limit points of . The closure of may equivalently be defined as the union of and its boundary, and also as the intersection ...
\operatorname_X A satisfies the
Kuratowski closure axioms In topology and related branches of mathematics, the Kuratowski closure axioms are a set of axioms that can be used to define a topological structure on a Set (mathematics), set. They are equivalent to the more commonly used open set definition. The ...
. Conversely, for any
closure operator In mathematics, a closure operator on a Set (mathematics), set ''S'' is a Function (mathematics), function \operatorname: \mathcal(S)\rightarrow \mathcal(S) from the power set of ''S'' to itself that satisfies the following conditions for all sets ...
A \mapsto \operatorname A there exists a unique topology \tau on X (specifically, \tau := \) such that for every subset A \subseteq X, \operatorname A is equal to the topological closure \operatorname_ A of A in (X, \tau). If the sets X and Y are each associated with closure operators (both denoted by \operatorname) then a map f : X \to Y is continuous if and only if f(\operatorname A) \subseteq \operatorname (f(A)) for every subset A \subseteq X. Similarly, the map that sends a subset A of X to its
topological interior In mathematics, specifically in topology, the interior of a subset of a topological space is the union of all subsets of that are open in . A point that is in the interior of is an interior point of . The interior of is the complement of t ...
\operatorname_X A defines an
interior operator In mathematics, a closure operator on a set ''S'' is a function \operatorname: \mathcal(S)\rightarrow \mathcal(S) from the power set of ''S'' to itself that satisfies the following conditions for all sets X,Y\subseteq S : Closure operators are de ...
. Conversely, any interior operator A \mapsto \operatorname A induces a unique topology \tau on X (specifically, \tau := \) such that for every A \subseteq X, \operatorname A is equal to the topological interior \operatorname_ A of A in (X, \tau). If the sets X and Y are each associated with interior operators (both denoted by \operatorname) then a map f : X \to Y is continuous if and only if f^(\operatorname B) \subseteq \operatorname\left(f^(B)\right) for every subset B \subseteq Y.


Filters and prefilters

Continuity can also be characterized in terms of
filters Filtration is a physical process that separates solid matter and fluid from a mixture. Filter, filtering, filters or filtration may also refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Fil ...
. A function f : X \to Y is continuous if and only if whenever a filter \mathcal on X converges in X to a point x \in X, then the
prefilter In mathematics, a filter on a set X is a family \mathcal of subsets such that: # X \in \mathcal and \emptyset \notin \mathcal # if A\in \mathcal and B \in \mathcal, then A\cap B\in \mathcal # If A\subset B\subset X and A\in \mathcal, then B\in ...
f(\mathcal) converges in Y to f(x). This characterization remains true if the word "filter" is replaced by "prefilter."


Properties

If f : X \to Y and g : Y \to Z are continuous, then so is the composition g \circ f : X \to Z. If f : X \to Y is continuous and * ''X'' is
compact Compact as used in politics may refer broadly to a pact or treaty; in more specific cases it may refer to: * Interstate compact, a type of agreement used by U.S. states * Blood compact, an ancient ritual of the Philippines * Compact government, a t ...
, then ''f''(''X'') is compact. * ''X'' is
connected Connected may refer to: Film and television * ''Connected'' (2008 film), a Hong Kong remake of the American movie ''Cellular'' * '' Connected: An Autoblogography About Love, Death & Technology'', a 2011 documentary film * ''Connected'' (2015 TV ...
, then ''f''(''X'') is connected. * ''X'' is
path-connected In topology and related branches of mathematics, a connected space is a topological space that cannot be represented as the union of two or more disjoint non-empty open subsets. Connectedness is one of the principal topological properties t ...
, 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 partially ordered: a topology \tau_1 is said to be coarser than another topology \tau_2 (notation: \tau_1 \subseteq \tau_2) if every open subset with respect to \tau_1 is also open with respect to \tau_2. Then, the
identity map Graph of the identity function on the real numbers In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
\operatorname_X : \left(X, \tau_2\right) \to \left(X, \tau_1\right) is continuous if and only if \tau_1 \subseteq \tau_2 (see also
comparison of topologies In topology and related areas of mathematics, the set of all possible topologies on a given set forms a partially ordered set. This order relation can be used for comparison of the topologies. Definition A topology on a set may be defined as t ...
). More generally, a continuous function \left(X, \tau_X\right) \to \left(Y, \tau_Y\right) stays continuous if the topology \tau_Y is replaced by a
coarser topology In topology and related areas of mathematics, the set of all possible topologies on a given set forms a partially ordered set. This order relation can be used for comparison of the topologies. Definition A topology on a set may be defined as the ...
and/or \tau_X is replaced by a
finer topology In topology and related areas of mathematics, the set of all possible topologies on a given set forms a partially ordered set. This order relation can be used for comparison of the topologies. Definition A topology on a set may be defined as the ...
.


Homeomorphisms

Symmetric to the concept of a continuous map is an
open map In mathematics, more specifically in topology, an open map is a function between two topological spaces that maps open sets to open sets. That is, a function f : X \to Y is open if for any open set U in X, the image f(U) is open in Y. Likewise, ...
, for which of open sets are open. If an open map ''f'' has an
inverse function In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ . For a function f\colon ...
, that inverse is continuous, and if a continuous map ''g'' has an inverse, that inverse is open. Given a
bijective In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
function ''f'' between two topological spaces, the inverse function f^ need not be continuous. A bijective continuous function with a continuous inverse function is called a . If a continuous bijection has as its domain a
compact space In mathematics, specifically general topology, compactness is a property that seeks to generalize the notion of a closed and bounded subset of Euclidean space. The idea is that a compact space has no "punctures" or "missing endpoints", i.e., i ...
and its codomain is Hausdorff, then it is a homeomorphism.


Defining topologies via continuous functions

Given a function f : X \to S, where ''X'' is a topological space and ''S'' is a set (without a specified topology), the
final topology In general topology and related areas of mathematics, the final topology (or coinduced, weak, colimit, or inductive topology) on a Set (mathematics), set X, with respect to a family of functions from Topological space, topological spaces into X, is ...
on ''S'' is defined by letting the open sets of ''S'' be those subsets ''A'' of ''S'' for which f^(A) 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 coarser than the final topology on ''S''. Thus, the final topology is the finest topology on ''S'' that makes ''f'' continuous. If ''f'' is
surjective In mathematics, a surjective function (also known as surjection, or onto function ) is a function such that, for every element of the function's codomain, there exists one element in the function's domain such that . In other words, for a f ...
, this topology is canonically identified with the
quotient topology In topology and related areas of mathematics, the quotient space of a topological space under a given equivalence relation is a new topological space constructed by endowing the quotient set of the original topological space with the quotient to ...
under the
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric, and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equ ...
defined by ''f''. Dually, for a function ''f'' from a set ''S'' to a topological space ''X'', the
initial topology In general topology and related areas of mathematics, the initial topology (or induced topology or strong topology or limit topology or projective topology) on a set X, with respect to a family of functions on X, is the coarsest topology on X that ...
on ''S'' is defined by designating as an open set every subset ''A'' of ''S'' such that A = f^(U) 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 In topology and related areas of mathematics, a subspace of a topological space (''X'', ''𝜏'') is a subset ''S'' of ''X'' which is equipped with a topology induced from that of ''𝜏'' called the subspace topology (or the relative 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 S \to X into all topological spaces ''X''. Dually, a similar idea can be applied to maps X \to S.


Related notions

If f : S \to Y is a continuous function from some subset S of a topological space X then a of f to X is any continuous function F : X \to Y such that F(s) = f(s) for every s \in S, which is a condition that often written as f = F\big\vert_S. In words, it is any continuous function F : X \to Y that restricts to f on S. This notion is used, for example, in the
Tietze extension theorem In topology, the Tietze extension theorem (also known as the Tietze– Urysohn– Brouwer extension theorem or Urysohn-Brouwer lemma) states that any real-valued, continuous function on a closed subset of a normal topological space In mathe ...
and the
Hahn–Banach theorem In functional analysis, the Hahn–Banach theorem is a central result that allows the extension of bounded linear functionals defined on a vector subspace of some vector space to the whole space. The theorem also shows that there are sufficient ...
. If f : S \to Y is not continuous, then it could not possibly have a continuous extension. If Y is a
Hausdorff space In topology and related branches of mathematics, a Hausdorff space ( , ), T2 space or separated space, is a topological space where distinct points have disjoint neighbourhoods. Of the many separation axioms that can be imposed on a topologi ...
and S is a
dense subset In topology and related areas of mathematics, a subset ''A'' of a topological space ''X'' is said to be dense in ''X'' if every point of ''X'' either belongs to ''A'' or else is arbitrarily "close" to a member of ''A'' — for instance, the ra ...
of X then a continuous extension of f : S \to Y to X, if one exists, will be unique. The
Blumberg theorem In mathematics, the Blumberg theorem states that for any real function f : \Reals \to \Reals there is a Dense set, dense subset D of \Reals such that the Restriction (mathematics), restriction of f to D is continuous function, continuous. It is na ...
states that if f : \R \to \R is an arbitrary function then there exists a dense subset D of \R such that the restriction f\big\vert_D : D \to \R is continuous; in other words, every function \R \to \R can be restricted to some dense subset on which it is continuous. Various other mathematical domains use the concept of continuity in different but related meanings. For example, in
order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
, an order-preserving function f : X \to Y between particular types of
partially ordered set In mathematics, especially order theory, a partial order on a Set (mathematics), set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements need ...
s X and Y is continuous if for each directed subset A of X, we have \sup f(A) = f(\sup A). Here \,\sup\, is the
supremum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
with respect to the orderings in X and Y, respectively. This notion of continuity is the same as topological continuity when the partially ordered sets are given the
Scott topology In mathematics, given two partially ordered sets ''P'' and ''Q'', a function ''f'': ''P'' → ''Q'' between them is Scott-continuous (named after the mathematician Dana Scott) if it preserves all directed suprema. That is, for every directed sub ...
. In
category theory Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
, a
functor In mathematics, specifically category theory, a functor is a Map (mathematics), mapping between Category (mathematics), categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) ar ...
F : \mathcal C \to \mathcal D between two
categories Category, plural categories, may refer to: General uses *Classification, the general act of allocating things to classes/categories Philosophy *Category of being * ''Categories'' (Aristotle) *Category (Kant) *Categories (Peirce) *Category (Vais ...
is called if it commutes with small
limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2009 ...
. That is to say, \varprojlim_ F(C_i) \cong F \left(\varprojlim_ C_i \right) for any small (that is, indexed by a set I, as opposed to a
class Class, Classes, or The Class may refer to: Common uses not otherwise categorized * Class (biology), a taxonomic rank * Class (knowledge representation), a collection of individuals or objects * Class (philosophy), an analytical concept used d ...
)
diagram A diagram is a symbolic Depiction, representation of information using Visualization (graphics), visualization techniques. Diagrams have been used since prehistoric times on Cave painting, walls of caves, but became more prevalent during the Age o ...
of objects in \mathcal C. A is a generalization of metric spaces and posets, which uses the concept of
quantale In mathematics, quantales are certain partially ordered algebraic structures that generalize locales ( point free topologies) as well as various multiplicative lattices of ideals from ring theory and functional analysis ( C*-algebras, von Neu ...
s, and that can be used to unify the notions of metric spaces and domains. In
measure theory In mathematics, the concept of a measure is a generalization and formalization of geometrical measures (length, area, volume) and other common notions, such as magnitude (mathematics), magnitude, mass, and probability of events. These seemingl ...
, a function f : E \to \mathbb^k defined on a
Lebesgue measurable set In measure theory, a branch of mathematics, the Lebesgue measure, named after French mathematician Henri Lebesgue, is the standard way of assigning a measure to subsets of higher dimensional Euclidean '-spaces. For lower dimensions or , it coin ...
E \subseteq \mathbb^n is called
approximately continuous In mathematics, particularly in mathematical analysis and measure theory, an approximately continuous function is a concept that generalizes the notion of continuous functions by replacing the limit of a function, ordinary limit with an approximat ...
at a point x_0 \in E if the
approximate limit In mathematics, the approximate limit is a generalization of the ordinary limit for real-valued functions of several real variables. A function ''f'' on \mathbb^k has an approximate limit ''y'' at a point ''x'' if there exists a set ''F'' that h ...
of f at x_0 exists and equals f(x_0). This generalizes the notion of continuity by replacing the ordinary limit with the
approximate limit In mathematics, the approximate limit is a generalization of the ordinary limit for real-valued functions of several real variables. A function ''f'' on \mathbb^k has an approximate limit ''y'' at a point ''x'' if there exists a set ''F'' that h ...
. A fundamental result known as the Stepanov-Denjoy theorem states that a function is
measurable In mathematics, the concept of a measure is a generalization and formalization of geometrical measures (length, area, volume) and other common notions, such as magnitude, mass, and probability of events. These seemingly distinct concepts hav ...
if and only if it is approximately continuous
almost everywhere In measure theory (a branch of mathematical analysis), a property holds almost everywhere if, in a technical sense, the set for which the property holds takes up nearly all possibilities. The notion of "almost everywhere" is a companion notion to ...
.


See also

*
Continuity (mathematics) In mathematics, the terms continuity, continuous, and continuum are used in a variety of related ways. Continuity of functions and measures * Continuous function * Absolutely continuous function * Absolute continuity of a measure with respe ...
*
Absolute continuity In calculus and real analysis, absolute continuity is a smoothness property of functions that is stronger than continuity and uniform continuity. The notion of absolute continuity allows one to obtain generalizations of the relationship between ...
*
Approximate continuity In mathematics, particularly in mathematical analysis and measure theory, an approximately continuous function is a concept that generalizes the notion of continuous functions by replacing the ordinary limit with an approximate limit. This genera ...
*
Dini continuity In mathematical analysis, Dini continuity is a refinement of continuity. Every Dini continuous function is continuous. Every Lipschitz continuous function is Dini continuous. Definition Let X be a compact subset of a metric space (such as \mathbb^ ...
*
Equicontinuity In mathematical analysis, a family of functions is equicontinuous if all the functions are continuous and they have equal variation over a given neighbourhood, in a precise sense described herein. In particular, the concept applies to countable f ...
*
Geometric continuity In mathematical analysis, the smoothness of a function (mathematics), function is a property measured by the number of Continuous function, continuous Derivative (mathematics), derivatives (''differentiability class)'' it has over its Domain o ...
*
Parametric continuity In mathematical analysis, the smoothness of a function is a property measured by the number of continuous derivatives (''differentiability class)'' it has over its domain. A function of class C^k is a function of smoothness at least ; t ...
*
Classification of discontinuities Continuous functions are of utmost importance in mathematics, functions and applications. However, not all functions are continuous. If a function is not continuous at a limit point (also called "accumulation point" or "cluster point") of its do ...
*
Coarse function In mathematics, coarse functions are Function (mathematics), functions that may appear to be continuous at a distance, but in reality are not necessarily continuous.Chul-Woo Lee and Jared Duke (2007)Coarse Function Value Theorems ''Rose-Hulman Unde ...
*
Continuous function (set theory) In set theory, a continuous function is a sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms'') ...
*
Continuous stochastic process In probability theory, a continuous stochastic process is a type of stochastic process that may be said to be " continuous" as a function of its "time" or index parameter. Continuity is a nice property for (the sample paths of) a process to have, ...
*
Normal function In axiomatic set theory, a function is called normal (or a normal function) if it is continuous (with respect to the order topology) and strictly monotonically increasing. This is equivalent to the following two conditions: # For every limit o ...
*
Open and closed maps In mathematics, more specifically in topology, an open map is a function between two topological spaces that maps open sets to open sets. That is, a function f : X \to Y is open if for any open set U in X, the image f(U) is open in Y. Likewise, ...
*
Piecewise In mathematics, a piecewise function (also called a piecewise-defined function, a hybrid function, or a function defined by cases) is a function whose domain is partitioned into several intervals ("subdomains") on which the function may be ...
*
Symmetrically continuous function In mathematics, a function f: \mathbb \to \mathbb is symmetrically continuous at a point ''x'' if :\lim_ f(x+h)-f(x-h) = 0. The usual definition of continuity implies symmetric continuity, but the converse is not true. For example, the function x ...
*
Direction-preserving function In discrete mathematics, a direction-preserving function (or mapping) is a function on a discrete space, such as the integer grid, that (informally) does not change too drastically between two adjacent points. It can be considered a discrete analogu ...
- an analog of a continuous function in discrete spaces.


References


Bibliography

* * {{Authority control Calculus Types of functions