Linear Algebra
13.110 min read

Vector-Valued Functions

A vector-valued function f:DRnRm\mathbf{f}: D \subseteq \mathbb{R}^n \to \mathbb{R}^m maps each input vector xRn\mathbf{x} \in \mathbb{R}^n to an output vector f(x)Rm\mathbf{f}(\mathbf{x}) \in \mathbb{R}^m. When m>1m > 1, the output has multiple components, each depending on all inputs.

We can always write f=(f1,f2,,fm)\mathbf{f} = (f_1, f_2, \ldots, f_m) where each component function fi:RnRf_i: \mathbb{R}^n \to \mathbb{R} is scalar-valued. For example, a function f:R2R3\mathbf{f}: \mathbb{R}^2 \to \mathbb{R}^3 might be written f(x,y)=(x2+y,xy,ey)\mathbf{f}(x,y) = (x^2+y, xy, e^y).

Vector-valued functions generalize the notion of "function" in several directions at once:

  • n=1n=1, m>1m>1: parametric curve (trajectory through Rm\mathbb{R}^m as parameter varies)
  • n>1n>1, m=1m=1: scalar field (previously studied)
  • n>1n>1, m>1m>1: vector field or transformation (maps one space to another)

Formal View

Definition 13.1 — Vector-Valued Function
A vector-valued function is a map f:DRnRm\mathbf{f}: D \subseteq \mathbb{R}^n \to \mathbb{R}^m defined by mm component functions:
f(x)=[f1(x)fm(x)]\mathbf{f}(\mathbf{x}) = \begin{bmatrix}f_1(\mathbf{x})\\\vdots\\f_m(\mathbf{x})\end{bmatrix}
where each fi:DRf_i: D \to \mathbb{R} is a scalar-valued function.

f\mathbf{f} is continuous (resp. differentiable) iff each component fif_i is continuous (resp. differentiable).

Example 13.1
The function f(t)=(cost,sint,t)\mathbf{f}(t) = (\cos t, \sin t, t) maps RR3\mathbb{R} \to \mathbb{R}^3 and traces a helix. Its components are f1(t)=costf_1(t)=\cos t, f2(t)=sintf_2(t)=\sin t, f3(t)=tf_3(t)=t.

Why This Matters

Vector-valued functions appear whenever a single input determines multiple outputs — coordinate transformations, physical trajectories, and neural network layers are all examples.

  • Coordinate transformations: converting between Cartesian, polar, and spherical coordinates
  • Physics: position, velocity, and acceleration as vector-valued functions of time
  • Neural network layers: each layer is a vector-valued function of the previous layer's output

Quiz

Question 1

A function f:R2R3\mathbf{f}: \mathbb{R}^2 \to \mathbb{R}^3 has how many component scalar functions?

Question 2

A vector-valued function f:RnRm\mathbf{f}: \mathbb{R}^n \to \mathbb{R}^m is continuous if and only if each of its component functions is continuous.

Common Mistakes

  • Confusing the domain dimension nn with the output dimension mm.
  • Forgetting that properties like continuity and differentiability are inherited from component functions.
  • Treating the Jacobian as an n×mn\times m matrix instead of m×nm\times n.