Continuous Function
Elementary
Think of a function $y = f(x)$. The graph of $f(x)$ is a plot that shows the value of $y$ for each values of $x$ by plotting the value of $x$ on a horizontal axis and the value $y = f(x)$ on the vertical axis. The function is continuous if you can draw its graph without lifting your pencil.
Caveat. This only works when the domain is one unbroken interval. The function $x \mapsto 1/x$ is continuous, but its graph comes in two pieces because $0$ is not in its domain.
High school
Consider a function $f$. The function $f$ is continuous if
\[\lim_{x \to a} f(x) = f(a)\]for every $a$ in the domain of $f$.
Undergraduate (metric spaces)
Consider a function $f : X \to Y$ between metric spaces. The function $f$ is continuous if for every $x \in X$ and every $\varepsilon > 0$, there exists $\delta > 0$ such that
\[d(f(x), f(y)) < \varepsilon \quad \text{for every } y \in X \text{ with } d(x, y) < \delta.\]The choice of $\delta$ may depend on both $\varepsilon$ and $x$.
Examples
Examples
-
$x \mapsto x^2$ is continuous.
-
$x \mapsto e^x$ is continuous.
-
$\tan$ is continuous on $(-\pi/2, \pi/2)$.
-
$x \mapsto x^2$ on $[0, 1]$ is continuous.
-
The Cantor function is continuous, because it is nondecreasing and takes every value in $[0, 1]$, so it has no jumps.
-
$x \mapsto \sin(1/x)$ is continuous on $(0, 1]$, because it is the composition of the continuous functions $x \mapsto 1/x$, on $x > 0$, and $\sin$.
-
$x \mapsto \sin(1/x)$ is continuous on $(0, \infty)$.
-
$x \mapsto \sqrt{x}$ on $[0, 1]$ is continuous, because it is uniformly continuous.
-
$x \mapsto x^3$ is continuous, because it is a polynomial.
Non-examplesThings that may be mistaken for examples of this term.
-
The function $f(x) = (\sin x) / x$ is not continuous at $x = 0$, because $f(0)$ is undefined, so $x = 0$ is not in the domain of $f$.
Properties
- Sums, products, and compositions of continuous functions are continuous.
- Continuous images of compact sets are compact, and continuous images of connected sets are connected.
- A continuous function on $[a, b]$ takes every value between $f(a)$ and $f(b)$ (the intermediate value theorem).
Distinctions involving this term
- Continuous vs. Uniformly Continuous: Continuity says that small changes in input cause small changes in output, and uniform continuity asks for this at the same scale everywhere. A continuous function may need a smaller $\delta$ at some points than at others. A uniformly continuous function has one $\delta$ that works everywhere.
- Topology vs. σ-Algebra: Topologies and σ-algebras are both collections of subsets that are closed under some operations. A topology is closed under arbitrary unions and finite intersections, and describes nearness. A σ-algebra is closed under complements and countable unions, and describes what can be measured.
- Types of Continuity: There are many ways to describe the continuity of a function. On a compact interval, each is a special case of the next, from continuously differentiable to continuous.
All definitions · All distinctions · All examples · Notation