Let X⊆RX \subseteq \mathbb{R} be a subset of real numbers, x0∈Xx_0 \in X and f:X→Rf: X \rightarrow \mathbb{R} be a function that maps elements of XX to real numbers. The function ff is continuous at x0x_0 if and only if the limit of f(x)f(x) as x→x0x \rightarrow x_0 is equal to f(x0).f(x_0).

lim⁡x→x0f(x)=f(x0)\lim_{x \rightarrow x_0} f(x) = f(x_0)

This uses the limit of a function, which requires x0x_0 to be a limit point of X.X. If x0x_0 is an isolated point of XX (some open interval around x0x_0 contains no other point of XX) then ff is continuous at x0x_0 by convention. Written out, ff is continuous at x0x_0 if and only if for every ε>0\varepsilon>0 there exists δ>0,\delta>0, which may depend on both ε\varepsilon and x0,x_0, such that

∣f(x)−f(x0)∣≤ε  ∀ x∈X, ∣x−x0∣<δ.\lvert f(x)-f(x_0)\rvert\leq\varepsilon\,\,\forall\,x\in X,\,\lvert x-x_0\rvert<\delta.

The function ff is continuous on XX if and only if ff is continuous at x  ∀ x∈X.x \, \, \forall \, x \in X. Otherwise, ff is discontinuous.

Let f,g:X→Rf,g:X\rightarrow\mathbb{R} be continuous at x0∈Xx_0\in X and c∈R.c\in\mathbb{R}. The limit laws give that f+g,f+g, f−g,f-g, c fc\,f and f gf\,g are continuous at x0,x_0, and fg\frac{f}{g} is continuous at x0x_0 if g(x0)≠0.g(x_0)\neq 0. Let Y⊆R,Y\subseteq\mathbb{R}, f:X→Yf:X\rightarrow Y be continuous at x0x_0 and g:Y→Rg:Y\rightarrow\mathbb{R} be continuous at f(x0).f(x_0). The composition g∘f:X→Rg\circ f:X\rightarrow\mathbb{R} is continuous at x0.x_0. Constant functions and the identity function x↦xx\mapsto x are continuous, so every polynomial is continuous on R\mathbb{R} and every rational function is continuous wherever its denominator is non-zero.

Let fn:X→Rf_n:X\rightarrow\mathbb{R} be a sequence of functions that converges uniformly to f:X→R.f:X\rightarrow\mathbb{R}. If every fnf_n is continuous at x0∈Xx_0\in X then ff is continuous at x0,x_0, so a uniform limit of continuous functions is continuous. Pointwise convergence does not suffice, since fn(x)=xnf_n(x)=x^n converges pointwise on [0,1]\left[0,1\right] to a discontinuous function. A power series converges uniformly on every closed interval inside its interval of convergence and its partial sums are polynomials, so it is continuous on (c−R,c+R);\left(c-R,c+R\right); in particular the exponential, cosine and sine functions are continuous on R.\mathbb{R}.

The intermediate value theorem states that if a function f:[a,b]→Rf:[a,b]\rightarrow\mathbb{R} is continuous and CC lies strictly between f(a)f(a) and f(b)f(b) (either f(a)<C<f(b)f(a)<C<f(b) or f(b)<C<f(a)f(b)<C<f(a)) then there is at least one c∈(a,b):f(c)=C.c\in(a,b) : f(c)=C.

Let f:X→Rf:X\rightarrow\mathbb{R} be a function. ff is bounded on XX if and only if its image f(X)f(X) is a bounded set.

∃M≥0:∣f(x)∣≤M  ∀ x∈X\exists M\geq 0:\lvert f(x)\rvert\leq M\,\,\forall\,x\in X

The extreme value theorem states that if f:[a,b]→Rf:[a,b]\rightarrow\mathbb{R} is continuous on a closed bounded interval then ff is bounded and attains its maximum and minimum.

∃ xmin⁡,xmax⁡∈[a,b]:f(xmin⁡)≤f(x)≤f(xmax⁡)  ∀ x∈[a,b]\exists\,x_{\min},x_{\max}\in[a,b]:f\left(x_{\min}\right)\leq f(x)\leq f\left(x_{\max}\right)\,\,\forall\,x\in[a,b]

Both the intermediate and extreme value theorems can fail on intervals that are not closed and bounded. For example, f(x)=1xf(x)=\frac{1}{x} is continuous on (0,1](0,1] but unbounded.

Let XX be an interval and f:X→Rf:X\rightarrow\mathbb{R} be continuous. The image f(X)f(X) is an interval, since by the intermediate value theorem it contains every value between any two of its elements. If X=[a,b]X=[a,b] is closed and bounded then, by the extreme value theorem, f([a,b])f([a,b]) is the closed bounded interval [f(xmin⁡),f(xmax⁡)].\left[f\left(x_{\min}\right),f\left(x_{\max}\right)\right].

A function f:X→Rf:X\rightarrow\mathbb{R} is uniformly continuous on XX if and only if for every ε>0\varepsilon>0 there exists δ>0\delta>0 that depends on ε\varepsilon alone such that f(x)f(x) and f(y)f(y) are ε\varepsilon-close whenever x,y∈Xx,y\in X are within δ\delta of each other.

∀ε>0 ∃δ>0:∣f(x)−f(y)∣≤ε  ∀ x,y∈X, ∣x−y∣<δ\forall\varepsilon>0\,\exists\delta>0:\lvert f(x)-f(y)\rvert\leq\varepsilon\,\,\forall\,x,y\in X,\,\lvert x-y\rvert<\delta

A uniformly continuous function is continuous. The converse is false: f(x)=x2f(x)=x^2 is continuous but not uniformly continuous on R,\mathbb{R}, and f(x)=1xf(x)=\frac{1}{x} is continuous but not uniformly continuous on (0,1].(0,1]. The Heine–Cantor theorem states that a continuous function on a closed bounded interval [a,b][a,b] is uniformly continuous.

A function f:X→Rf:X\rightarrow\mathbb{R} is Lipschitz continuous on XX if and only if there exists a Lipschitz constant L≥0L\geq 0 that bounds how fast ff can change.

∣f(x)−f(y)∣≤L ∣x−y∣  ∀ x,y∈X\lvert f(x)-f(y)\rvert\leq L\,\lvert x-y\rvert\,\,\forall\,x,y\in X

A Lipschitz continuous function is uniformly continuous, since δ=εL\delta=\frac{\varepsilon}{L} works for every ε>0\varepsilon>0 when L>0.L>0. The converse is false: f(x)=xf(x)=\sqrt{x} is uniformly continuous but not Lipschitz continuous on [0,1].[0,1].

Let XX be an interval and f:X→Rf:X\rightarrow\mathbb{R} be a function. ff is monotonically increasing if and only if f(x)≤f(y)f(x)\leq f(y) whenever x<yx<y and strictly increasing if and only if f(x)<f(y)f(x)<f(y) whenever x<y.x<y. ff is monotonically decreasing or strictly decreasing if and only if −f-f is monotonically or strictly increasing respectively. ff is monotonic if it is either monotonically increasing or monotonically decreasing, and strictly monotonic if it is either strictly increasing or strictly decreasing.

A monotonic function ff on an interval XX is continuous if and only if its image f(X)f(X) is an interval. A monotonic function can be discontinuous at no more than countably many points of X.X.

Let XX be an interval and f:X→Rf:X\rightarrow\mathbb{R} be continuous and strictly monotonic. Then ff is injective, its image Y=f(X)Y=f(X) is an interval and its inverse function f−1:Y→Xf^{-1}:Y\rightarrow X is continuous and strictly monotonic in the same direction as f.f. Conversely, a continuous injective function on an interval is strictly monotonic. For example, f(x)=xnf(x)=x^n is continuous and strictly increasing on [0,∞)[0,\infty) for n∈N,n\in\mathbb{N}, so the nn-th root f−1(y)=y1nf^{-1}(y)=y^{\frac{1}{n}} is continuous and strictly increasing on [0,∞).[0,\infty).