Continuity at a Point
The previous tutorial defined limits of vector-valued functions by controlling the distance between an output and a proposed limiting vector. Continuity adds one requirement: at a point in the domain, the function’s value itself must be that limiting vector. This makes continuity a local condition on how nearby inputs affect the output, and it applies just as well when the domain is a subset of Euclidean space.
Let \(D\subseteq\mathbb{R}^m\), let \(f:D\to\mathbb{R}^n\), and fix \(a\in D\). Distances in the input space are measured in \(\mathbb{R}^m\), and distances in the output space are measured in \(\mathbb{R}^n\). Unless stated otherwise, we use the Euclidean norm in each space.
The implication includes \(x=a\), where the output distance is \(0\). Unlike the definition of a limit, continuity does not use a punctured neighborhood: it directly compares nearby outputs with \(f(a)\). The function \(f:D\to\mathbb{R}^n\) is continuous on \(D\) if it is continuous at every point of \(D\).
There is an important edge case. If \(a\) is isolated in \(D\), some open ball around \(a\) contains no other point of \(D\). Then every function on \(D\) is continuous at \(a\): for any \(\varepsilon>0\), choose a ball small enough that its only domain point is \(a\). The required output inequality is then just \(0<\varepsilon\).
Continuity and Limits
When \(a\) is an accumulation point of \(D\), continuity can be expressed using the limit from the previous tutorial. The point must be an accumulation point for that limit to be defined in the usual way.
Proof. Suppose first that \(f\) is continuous at \(a\). Given \(\varepsilon>0\), choose \(\delta>0\) from continuity. Whenever \(x\in D\) and \(0<\|x-a\|_2<\delta\), we also have \(\|x-a\|_2<\delta\), so \[ \|f(x)-f(a)\|_2<\varepsilon. \] This is the definition of the limit \(f(a)\).
Conversely, suppose \(\lim_{x\to a,\ x\in D}f(x)=f(a)\). Given \(\varepsilon>0\), choose \(\delta>0\) so that \[ x\in D,\quad 0<\|x-a\|_2<\delta \quad\Longrightarrow\quad \|f(x)-f(a)\|_2<\varepsilon. \] If \(x\in D\) and \(\|x-a\|_2<\delta\), then either \(x=a\), in which case \(\|f(x)-f(a)\|_2=0<\varepsilon\), or \(x\neq a\), in which case the displayed implication applies. Thus \(f\) is continuous at \(a\). \(\square\)
Worked Example: Continuity of the Distance from a Fixed Point
Fix \(b\in\mathbb{R}^n\), and define \(g:\mathbb{R}^n\to\mathbb{R}\) by \(g(x)=\|x-b\|_2\). To show continuity at any \(a\in\mathbb{R}^n\), use the reverse triangle inequality: \[ \big|\|x-b\|_2-\|a-b\|_2\big|\leq\|x-a\|_2. \] For completeness, the triangle inequality gives \[ \|x-b\|_2\leq\|x-a\|_2+\|a-b\|_2, \] so \(\|x-b\|_2-\|a-b\|_2\leq\|x-a\|_2\). Interchanging \(x\) and \(a\) gives the same bound for \(\|a-b\|_2-\|x-b\|_2\), proving the absolute-value inequality. Given \(\varepsilon>0\), choose \(\delta=\varepsilon\). If \(\|x-a\|_2<\delta\), then \[ |g(x)-g(a)|\leq\|x-a\|_2<\varepsilon. \] Therefore \(g\) is continuous at every \(a\).
A Sequential Criterion for Continuity
Continuity can also be tested by looking at sequences in the domain. The criterion differs slightly from the sequential criterion for limits: sequences are allowed to equal \(a\), including infinitely often. This is useful because continuity concerns all domain points near \(a\), not only points distinct from it.
Proof. Suppose \(f\) is continuous at \(a\), and let \((x_k)\) be a sequence in \(D\) converging to \(a\). Given \(\varepsilon>0\), choose \(\delta>0\) from the definition of continuity. Since \(x_k\to a\), there is an integer \(K\) such that \(k\geq K\) implies \(\|x_k-a\|_2<\delta\). Hence, for every \(k\geq K\), \[ \|f(x_k)-f(a)\|_2<\varepsilon. \] Thus \(f(x_k)\to f(a)\).
Conversely, suppose the sequential condition holds, but \(f\) is not continuous at \(a\). The failure of continuity means that there is an \(\varepsilon_0>0\) such that for every \(\delta>0\), there is an \(x\in D\) with \[ \|x-a\|_2<\delta \quad\text{and}\quad \|f(x)-f(a)\|_2\geq\varepsilon_0. \] For each positive integer \(k\), apply this statement with \(\delta=1/k\) to choose \(x_k\in D\) such that \[ \|x_k-a\|_2<\frac{1}{k} \quad\text{and}\quad \|f(x_k)-f(a)\|_2\geq\varepsilon_0. \] The first inequality shows \(x_k\to a\). By the assumed sequential condition, \(f(x_k)\to f(a)\). But the second inequality holds for every \(k\), so the output sequence cannot converge to \(f(a)\). This contradiction proves continuity at \(a\). \(\square\)
Worked Example: A Discontinuous Function Detected by a Sequence
Define \(h:\mathbb{R}\to\mathbb{R}\) by \[ h(t)= \begin{cases} 1,&t>0,\\ 0,&t\leq 0. \end{cases} \] We test continuity at \(0\), where \(h(0)=0\). The sequence \(t_k=1/k\) lies in the domain and satisfies \(t_k\to0\). For every positive integer \(k\), \(t_k>0\), so \[ h(t_k)=1. \] Thus \(h(t_k)\) does not converge to \(h(0)=0\). By the Sequential Criterion, \(h\) is not continuous at \(0\). Directly, for \(\varepsilon=1/2\), every \(\delta>0\) admits an integer \(k\) with \(1/k<\delta\); then \(|h(1/k)-h(0)|=1\geq1/2\), which also violates the definition.
A single sequence with outputs that fail to converge to \(f(a)\) is enough to disprove continuity. To prove continuity using sequences, however, one must establish the required output convergence for every sequence in the domain that approaches \(a\).
Continuity of Compositions
Continuity is stable under composition: if one function sends nearby inputs to nearby intermediate values, and a second function sends those intermediate values to nearby outputs, then the combined function is continuous. The neighborhoods used for the two functions need not have the same radius, so the proof chooses them in sequence.
Proof. Let \(\varepsilon>0\). By continuity of \(g\) at \(f(a)\), there is an \(\eta>0\) such that for every \(y\in E\), \[ \|y-f(a)\|_2<\eta \quad\Longrightarrow\quad \|g(y)-g(f(a))\|_2<\varepsilon. \] By continuity of \(f\) at \(a\), there is a \(\delta>0\) such that for every \(x\in D\), \[ \|x-a\|_2<\delta \quad\Longrightarrow\quad \|f(x)-f(a)\|_2<\eta. \] For such an \(x\), the value \(f(x)\) belongs to \(E\), so the implication for \(g\) applies with \(y=f(x)\). Therefore, \[ \|g(f(x))-g(f(a))\|_2<\varepsilon. \] Since \((g\circ f)(a)=g(f(a))\), this is exactly continuity of \(g\circ f\) at \(a\). \(\square\)
Worked Example: Continuity of a Linear Vector Function
Define \(F:\mathbb{R}^2\to\mathbb{R}^2\) by \[ F(x,y)=(x+y,\ x-y). \] We verify continuity at any \(a=(a_1,a_2)\). For \(z=(x,y)\), write \(u=x-a_1\) and \(v=y-a_2\). Then \[ F(z)-F(a)=(u+v,\ u-v). \] Expanding the squared Euclidean norm gives \[ \|F(z)-F(a)\|_2^2 =(u+v)^2+(u-v)^2 =2u^2+2v^2 =2\|z-a\|_2^2. \] Thus \(\|F(z)-F(a)\|_2=\sqrt{2}\|z-a\|_2\). Given \(\varepsilon>0\), choose \(\delta=\varepsilon/\sqrt{2}\). Whenever \(\|z-a\|_2<\delta\), \[ \|F(z)-F(a)\|_2 =\sqrt{2}\|z-a\|_2 <\sqrt{2}\delta =\varepsilon. \] Hence \(F\) is continuous at every point of \(\mathbb{R}^2\).
What Continuity Does and Does Not Say
Continuity is local: continuity at \(a\) controls outputs for inputs sufficiently close to that particular point. The suitable \(\delta\) may depend on both \(a\) and \(\varepsilon\). Continuity at every point of a domain therefore does not, by itself, provide one common \(\delta\) that works throughout the domain.
It is also important to distinguish continuity from the existence of a limit. At an accumulation point, continuity means that the limit exists and equals the assigned value \(f(a)\). If a limit exists but \(f(a)\) is assigned a different value, the function is not continuous at \(a\). At an isolated domain point, by contrast, continuity holds automatically, even though the limit definition from the previous tutorial does not apply there.
The Sequential Criterion is particularly effective for detecting failure: one sequence approaching \(a\) whose outputs do not approach \(f(a)\) settles the matter. For proving continuity, direct estimates can be shorter, while the composition theorem lets continuity be assembled from simpler functions. The next topic develops a further practical method for functions whose outputs have several coordinates.
Check Your Understanding
Use the definitions and results in this tutorial to answer each question.
- How does the definition of continuity at \(a\) differ from the definition of a limit at \(a\)?
- Why is every function continuous at an isolated point of its domain?
- How does the Sequential Criterion produce a contradiction when continuity fails?
- In the proof for a composition, why is continuity of the inner function used after choosing the neighborhood for the outer function?
- What sequence disproves continuity at zero for the function that equals \(1\) on positive inputs and \(0\) on nonpositive inputs?