Tutorials › Real Analysis › Componentwise Continuity

Multivariable Analysis · Tutorial 780 of 1000

Componentwise Continuity

Continuity of a vector-valued function can be checked one output coordinate at a time, provided each coordinate is considered on the full domain.

Advanced 11 min read

What You'll Learn

  • Define the scalar component functions of a vector-valued map
  • Prove continuity of a vector-valued function from continuity of each component
  • Recover continuity of each component from continuity of the full map
  • Use coordinate projections to obtain scalar functions from vector-valued functions
  • Apply componentwise continuity to linear and nonlinear examples
  • Distinguish output-component continuity from continuity along selected input paths

Why Coordinates Can Simplify Continuity

The previous tutorial defined continuity by comparing the distance between two inputs with the distance between their outputs. When the output lies in \(\mathbb{R}^n\), that output distance combines changes in all \(n\) coordinates. It is often simpler to study those scalar changes separately. Because there are only finitely many output coordinates, control of every coordinate is equivalent to control of the full vector.

Let \(D\subseteq\mathbb{R}^m\), and write a function \(f:D\to\mathbb{R}^n\) in coordinates as \(f(x)=(f_1(x),\ldots,f_n(x))\), where each \(f_i:D\to\mathbb{R}\). The functions \(f_i\) are the component functions of \(f\). Continuity of a component is understood using the Euclidean metric on the domain and the usual absolute value on \(\mathbb{R}\).

Definition (Component Functions): If \(f:D\to\mathbb{R}^n\) and \(f(x)=(f_1(x),\ldots,f_n(x))\) for every \(x\in D\), then \(f_1,\ldots,f_n:D\to\mathbb{R}\) are the component functions of \(f\).

The key estimates come from the Euclidean norm. For any \(v=(v_1,\ldots,v_n)\in\mathbb{R}^n\), each coordinate satisfies \(|v_i|\leq\|v\|_2\), while the sum of the squared coordinates gives \(\|v\|_2^2=\sum_{i=1}^n|v_i|^2\). These estimates let us pass in both directions between coordinate errors and the total vector error.

The Componentwise Criterion

Theorem (Componentwise Criterion for Continuity): Let \(D\subseteq\mathbb{R}^m\), let \(f:D\to\mathbb{R}^n\), and let \(a\in D\). Write \(f=(f_1,\ldots,f_n)\). Then \(f\) is continuous at \(a\) if and only if each component function \(f_i\) is continuous at \(a\).

Proof. Suppose first that \(f\) is continuous at \(a\). Fix an index \(i\) and let \(\varepsilon>0\). By continuity of \(f\), there is a \(\delta>0\) such that, for every \(x\in D\), \[ \|x-a\|_2<\delta \quad\Longrightarrow\quad \|f(x)-f(a)\|_2<\varepsilon. \] The \(i\)-th coordinate difference is bounded by the Euclidean norm of the whole difference vector: \[ |f_i(x)-f_i(a)|\leq\|f(x)-f(a)\|_2. \] Thus \(\|x-a\|_2<\delta\) implies \(|f_i(x)-f_i(a)|<\varepsilon\). This proves that \(f_i\) is continuous at \(a\). Since \(i\) was arbitrary, every component is continuous there.

Conversely, suppose each component \(f_i\) is continuous at \(a\), and let \(\varepsilon>0\). For each \(i\in\{1,\ldots,n\}\), continuity supplies a number \(\delta_i>0\) such that, for every \(x\in D\), \[ \|x-a\|_2<\delta_i \quad\Longrightarrow\quad |f_i(x)-f_i(a)|<\frac{\varepsilon}{\sqrt{n}}. \] There are finitely many components, so the minimum \(\delta=\min\{\delta_1,\ldots,\delta_n\}\) is positive. If \(x\in D\) and \(\|x-a\|_2<\delta\), then all \(n\) coordinate estimates hold. Consequently, \[ \|f(x)-f(a)\|_2^2 =\sum_{i=1}^{n}|f_i(x)-f_i(a)|^2 <n\left(\frac{\varepsilon}{\sqrt{n}}\right)^2 =\varepsilon^2. \] Both sides are nonnegative, so \(\|f(x)-f(a)\|_2<\varepsilon\). Hence \(f\) is continuous at \(a\). \(\square\)

The proof uses the fact that the output has finitely many coordinates: it takes the minimum of finitely many positive radii. It also shows why the factor \(\sqrt n\) is convenient. Requiring each coordinate error to be less than \(\varepsilon/\sqrt n\) makes the sum of their squares less than \(\varepsilon^2\).

Corollary (Continuity on the Domain): A function \(f:D\to\mathbb{R}^n\) is continuous at every point of \(D\) if and only if each of its component functions is continuous at every point of \(D\).

Proof. Apply the Componentwise Criterion at each \(a\in D\). The statement on the whole domain means exactly that the pointwise condition holds for every such \(a\). \(\square\)

Worked Example: A Linear Map from the Plane to Three Dimensions

Define \(F:\mathbb{R}^2\to\mathbb{R}^3\) by \[ F(x,y)=(x+2y,\ 3x-y,\ 2x-y). \] Fix \(a=(a_1,a_2)\), and write \(u=x-a_1\) and \(v=y-a_2\). The three component differences are \(u+2v\), \(3u-v\), and \(2u-v\). For the first, \[ |u+2v|^2\leq (1^2+2^2)(u^2+v^2)=5(u^2+v^2); \] for the second, \[ |3u-v|^2\leq (3^2+(-1)^2)(u^2+v^2)=10(u^2+v^2); \] and for the third, \[ |2u-v|^2\leq (2^2+(-1)^2)(u^2+v^2)=5(u^2+v^2). \] These inequalities follow from the Cauchy–Schwarz Inequality. Adding them gives \[ \|F(x,y)-F(a_1,a_2)\|_2^2 \leq20(u^2+v^2) =20\|(x,y)-a\|_2^2. \] Therefore \(\|F(x,y)-F(a)\|_2\leq\sqrt{20}\,\|(x,y)-a\|_2\). Given \(\varepsilon>0\), choose \(\delta=\varepsilon/\sqrt{20}\). Whenever \(\|(x,y)-a\|_2<\delta\), the output distance is less than \(\varepsilon\). Thus \(F\) is continuous at every \(a\). Equivalently, each of its linear component functions is continuous, so the Componentwise Criterion applies.

Coordinate Projections and Component Functions

The component functions can also be obtained by composing \(f\) with coordinate projections. For \(i\in\{1,\ldots,n\}\), define \(\pi_i:\mathbb{R}^n\to\mathbb{R}\) by \(\pi_i(y_1,\ldots,y_n)=y_i\). Then \(f_i=\pi_i\circ f\). The projections themselves are continuous.

Proposition (Continuity of Coordinate Projections): For each \(i\in\{1,\ldots,n\}\), the coordinate projection \(\pi_i:\mathbb{R}^n\to\mathbb{R}\) is continuous at every point.

Proof. Fix \(y\in\mathbb{R}^n\) and let \(\varepsilon>0\). If \(\|z-y\|_2<\varepsilon\), then \[ |\pi_i(z)-\pi_i(y)|=|z_i-y_i|\leq\|z-y\|_2<\varepsilon. \] Thus \(\delta=\varepsilon\) works in the definition of continuity at \(y\). Since \(y\) was arbitrary, \(\pi_i\) is continuous everywhere. \(\square\)

This observation connects the componentwise criterion with the Composition of Continuous Functions theorem from the previous tutorial. If \(f\) is continuous, then \(\pi_i\circ f\) is continuous, so each component is continuous. Conversely, the Componentwise Criterion assembles the continuous scalar component functions into a continuous vector-valued function.

Worked Example: A Nonlinear Map with Continuous Components

Define \(G:\mathbb{R}^2\to\mathbb{R}^2\) by \(G(x,y)=(x^2+y^2,xy)\). Fix \(a=(a_1,a_2)\), and set \(u=x-a_1\) and \(v=y-a_2\). If \(\|(x,y)-a\|_2<\delta\leq1\), then \(|u|<\delta\), \(|v|<\delta\), \(|x|\leq|a_1|+1\), and \(|y|\leq|a_2|+1\). For the first component, \[ |x^2+y^2-a_1^2-a_2^2| \leq |u|(|x|+|a_1|)+|v|(|y|+|a_2|) \leq (2|a_1|+2|a_2|+2)\delta. \] For the second component, use \(xy-a_1a_2=x(y-a_2)+a_2(x-a_1)\). It follows that \[ |xy-a_1a_2| \leq |x||v|+|a_2||u| \leq (|a_1|+1+|a_2|)\delta. \] Both bounds tend to zero with \(\delta\). More explicitly, given \(\varepsilon>0\), choose \[ \delta=\min\left\{1,\, \frac{\varepsilon}{2(2|a_1|+2|a_2|+2)},\, \frac{\varepsilon}{2(|a_1|+1+|a_2|)} \right\}. \] Then each component difference is less than \(\varepsilon/2\). The Componentwise Criterion, or the estimate \[ \|G(x,y)-G(a)\|_2^2 <2\left(\frac{\varepsilon}{2}\right)^2 <\varepsilon^2, \] shows that \(G\) is continuous at \(a\). Since \(a\) was arbitrary, \(G\) is continuous on \(\mathbb{R}^2\).

A Common Pitfall: Output Coordinates Are Not Input Directions

“Componentwise” refers to the coordinates of the output, not merely to testing the function along selected directions in the input space. Checking a function on the coordinate axes, or on a few lines through a point, does not establish continuity there. Those tests examine only some input paths; continuity must control every domain point sufficiently close to the point in question.

Worked Example: Axis Tests Do Not Prove Continuity

Define \(q:\mathbb{R}^2\to\mathbb{R}\) by \[ q(x,y)= \begin{cases} \dfrac{xy}{x^2+y^2},&(x,y)\neq(0,0),\\ 0,&(x,y)=(0,0). \end{cases} \] On the \(x\)-axis, if \(y=0\), the numerator is zero, so \(q(x,0)=0\), including at the origin. On the \(y\)-axis, \(x=0\), so \(q(0,y)=0\) as well. These two restrictions are continuous at the origin. But along the diagonal points \((t,t)\) with \(t\neq0\), \[ q(t,t)=\frac{t^2}{t^2+t^2}=\frac12. \] For the sequence \(t_k=1/k\), the inputs \((t_k,t_k)\) converge to \((0,0)\), while the outputs are all \(1/2\), not the value \(q(0,0)=0\). By the Sequential Criterion for Continuity in Euclidean Spaces, \(q\) is not continuous at the origin. In this scalar-valued example there is only one output component, and that component is discontinuous. The axis checks did not establish its continuity on the full domain.

Using the Criterion Carefully

For a map into \(\mathbb{R}^n\), the theorem reduces a vector-valued continuity problem to finitely many scalar ones. It is especially useful when the formulas for the component functions are simpler than a direct estimate of the full Euclidean output distance. One may prove each component continuous by an estimate, by a limit argument at an accumulation point, or by composing simpler continuous functions when the hypotheses of the Composition of Continuous Functions theorem apply.

The finiteness of the output dimension matters to the proof: the minimum of finitely many positive radii is positive. The result here concerns maps into \(\mathbb{R}^n\), with finite \(n\), and should not be transferred automatically to an infinite-coordinate setting. Also, continuity of a component means continuity as a function on all of \(D\) near the point, not merely continuity of its restrictions to a few curves or coordinate lines.

When using the theorem at a particular \(a\), verify every component at that same point. When proving continuity on all of \(D\), verify each component at every point of \(D\). The criterion is an equivalence: it provides both a method for proving vector-valued continuity and a way to disprove it, since one discontinuous component is enough to rule out continuity of the full map.

Check Your Understanding

Use the componentwise criterion and its proof to answer each question.

  1. How are the component functions of a map \(f:D\to\mathbb{R}^n\) defined?
  2. Which inequality lets continuity of \(f\) imply continuity of each scalar component?
  3. Why does the proof in the reverse direction use the minimum of finitely many radii?
  4. Why is the tolerance \(\varepsilon/\sqrt{n}\) sufficient for each component?
  5. Why do continuity tests on the two coordinate axes fail to establish continuity of the function in the final worked example?