Skip to content

Continuity

Definition

Let f ⁣:X→Rf\colon X\to\mathbb{R} and x0∈X.x_0\in X\text{.} We say that ff is continuous at x0x_0 if for every ε>0\varepsilon>0 there exists δ>0\delta>0 such that, for every x∈X,x\in X\text{,}

∣x−x0∣<δ  ⟹  ∣f(x)−f(x0)∣<ε.|x-x_0|<\delta\implies|f(x)-f(x_0)|<\varepsilon.

The function is continuous on XX if it is continuous at every point of X.X\text{.}


Interpretation

Continuity expresses the idea that small changes in the input of a function lead to small changes in its output. At a point x0x_0 this means: however close to f(x0)f(x_0) we want the value f(x)f(x) to be, we can achieve it by taking xx close enough to x0x_0.

In the definition the tolerance ε\varepsilon comes first and is arbitrary; then a δ\delta must be found, and it may depend on ε\varepsilon and on x0x_0. Geometrically, the part of the graph above (x0−δ,x0+δ)(x_0-\delta,x_0+\delta) must lie in the horizontal band of height 2ε2\varepsilon around f(x0)f(x_0). Unlike the limit at a point, the point x=x0x=x_0 itself is included and the target is the actual value f(x0)f(x_0), so ff must be defined at x0x_0.

Continuity at x0x_0 can fail in several ways, matching the kinds of singularity: the limit exists but differs from f(x0)f(x_0), the one-sided limits are different, as for the signum function at 00, or the values become unbounded or keep oscillating. The Dirichlet function is continuous at no point at all.

A common slip is to take "can be drawn without lifting the pen" as the definition. Continuity is checked point by point, and only at points of the domain: 1/x1/x is continuous, as the Examples explain, although its graph consists of two separate pieces. The pen picture fits continuous functions on an interval, the setting of the intermediate value theorem and the extreme value theorem.

Math III later replaces ∣x−x0∣|x-x_0| by a general distance in continuity between metric spaces.


Key Results

  • If x0x_0 is a limit point of X,X\text{,} continuity at x0x_0 is equivalent to the limit at that point satisfying lim⁡x→x0f(x)=f(x0);\displaystyle\lim_{x\to x_0}f(x)=f(x_0)\text{;} endpoints use the corresponding one-sided limit.
  • Sums, differences, products, quotients (where defined), maxima and minima of continuous functions are continuous.
  • If lim⁡x→x0g(x)=L\displaystyle\lim_{x\to x_0}g(x)=L and ff is continuous at L,L\text{,} then lim⁡x→x0f(g(x))=f(L),\displaystyle\lim_{x\to x_0}f(g(x))=f(L)\text{,} so a continuous function may be interchanged with a limit.
  • Standard facts used from here onwards. Each of the following is continuous at every point of its domain: polynomials, and rational functions wherever the denominator is nonzero; the power functions x↦xαx\mapsto x^{\alpha} on (0,+∞)(0,+\infty) and ⋅n\sqrt[n]{\cdot} on its natural domain; the exponential functions x↦bxx\mapsto b^{x} and the logarithms x↦log⁡bxx\mapsto\log_b x for b>0,b>0\text{,} b≠1;b\neq1\text{;} the trigonometric functions sin⁡\sin and cos⁡\cos on R,\mathbb{R}\text{,} and tan⁡\tan wherever cos⁡x≠0;\cos x\neq0\text{;} and the absolute value x↦∣x∣.x\mapsto|x|\text{.}

Examples

  • The function f(x)=x2f(x)=x^2 is continuous on R.\mathbb{R}\text{.}
  • The function f(x)=1/xf(x)=1/x is a continuous function: it is continuous at every point of its domain R∖{0}.\mathbb{R}\setminus\{0\}\text{.} The point x=0x=0 lies outside the domain; there the values become unbounded, which is classified as an infinite discontinuity of ff (see Singularity), but this does not make ff a discontinuous function.

Graphs of x, x squared, x cubed, 1/x, the square root of x and e to the x; each is continuous on its domain, and the graph of 1/x breaks only at 0, which is not in the domain.


Prerequisites

Sources

Keywords: continuous function Symbols: alpha, delta, element of, epsilon, infinity, real numbers, square root

Last updated: 20 October 2026 03:02