Vector-Valued and Multivariable Functions

Part 3, Chapter 3: Calculus of Several Variables

Learning objectives

  • Define functions f:RnRmf:\mathbb{R}^n\to\mathbb{R}^m via coordinate functions
  • Recognize parametric curves (n=1n=1) and parametric surfaces (n=2,m=3n=2,m=3)
  • Distinguish vector fields (n=mn=m), scalar fields (m=1m=1), and curves (n=1n=1)
  • Predict that smooth vector-valued functions are the natural objects of multivariable calculus

Once we leave the real line, almost every interesting function has more than one input or more than one output. A satellite's position is a triple (x(t),y(t),z(t))(x(t), y(t), z(t)) as a function of one variable (time). A heat distribution is a single number T(x,y,z)T(x, y, z) as a function of three. A robot arm's end-effector is a vector function of joint angles. The whole machinery of multivariable calculus, gradients, Jacobians, divergence, curl, rests on a single object: the vector-valued function. Master its bookkeeping in one variable and the higher-dimensional theory follows almost mechanically.

The definition in one line

A vector-valued function f:mathbbRntomathbbRmf:\mathbb{R}^n\to\mathbb{R}^m assigns to each input mathbfx=(x1,ldots,xn)\mathbf{x}=(x_1,\ldots,x_n)n) an output vector f(mathbfx)=(f1(mathbfx),ldots,fm(mathbfx))f(\mathbf{x})=(f_1(\mathbf{x}),\ldots,f_m(\mathbf{x}))m(mathbfx)). Each fi:mathbbRntomathbbRf_i:\mathbb{R}^n\to\mathbb{R}i:mathbbRntomathbbR is a coordinate function. Everything about ff, continuity, differentiability, integrability, reduces to checking the same property for every fif_ii component-wise. That single principle is the most useful fact in the chapter.

Three special cases worth memorizing

  • Parametric curve (n=1n=1): mathbfr(t)=(x(t),y(t),z(t))\mathbf{r}(t)=(x(t), y(t), z(t)) traces a path through mathbbRm\mathbb{R}^m. The tangent vector mathbfr(t)\mathbf{r}'(t) is the instantaneous velocity.
  • Parametric surface (n=2,m=3n=2,\ m=3): mathbfr(u,v)=(x(u,v),y(u,v),z(u,v))\mathbf{r}(u,v)=(x(u,v), y(u,v), z(u,v)) sweeps out a 2D surface in 3D space.
  • Transformation (n=mn=m): The setting for the Inverse Function Theorem, a map from a space to itself. Coordinate changes (polar, spherical, cylindrical) are the canonical examples.

When m=1m=1 we recover the scalar field f:mathbbRntomathbbRf:\mathbb{R}^n\to\mathbb{R}, whose graph is a surface (for n=2n=2). The gradient nablaf\nabla f, the Jacobian's special case, points uphill.

The grapher above lets you plot a single coordinate function of one variable. Try cost\cos t and sint\sin t side by side: each is a coordinate of the helix mathbfr(t)=(cost,sint,t)\mathbf{r}(t)=(\cos t, \sin t, t). The full helix lives in mathbbR3\mathbb{R}^3 but each of its components is a normal one-variable function. That is the entire trick.

Where this shows up
  • Robotics, forward kinematics: The end-effector position of a 6-axis arm is mathbfp(boldsymboltheta)=(x,y,z,textroll,textpitch,textyaw)\mathbf{p}(\boldsymbol{\theta})=(x,y,z,\text{roll},\text{pitch},\text{yaw}), a vector function of the six joint angles boldsymbolthetainmathbbR6\boldsymbol{\theta}\in\mathbb{R}^6. The inverse problem, find boldsymboltheta\boldsymbol{\theta} for a desired mathbfp\mathbf{p}, is exactly the Inverse Function Theorem (§3.4) at work.
  • Computer-aided design (CAD): Every spline curve and Bézier surface in CAD is a parametric vector function. Solid modelling kernels evaluate millions of these per frame to render edges, intersections, and offsets.
  • Climate and fluid simulation: A wind field is mathbfv(x,y,z,t)=(u,v,w)\mathbf{v}(x,y,z,t)=(u,v,w), a 3-component vector function of 4 inputs (3 spatial + time). Numerical weather prediction integrates millions of grid points of this function at every timestep.

Pause and think: If mathbfr(t)=(cost,sint)\mathbf{r}(t)=(\cos t, \sin t) traces the unit circle counterclockwise, what curve does mathbfr(t)=(cost,sint)\mathbf{r}(t)=(\cos t, -\sin t) trace? Hint: compute mathbfr(0)\mathbf{r}(0) and mathbfr(pi/2)\mathbf{r}(\pi/2) for each. Which direction does the second one go around?

Try it

  • Predict first: what shape is traced by mathbfr(t)=(2cost,3sint)\mathbf{r}(t)=(2\cos t, 3\sin t)? Verify by eliminating tt to get a Cartesian equation. (Hint: think about (x/2)2+(y/3)2(x/2)^2+(y/3)^2.)
  • Find the tangent vector to mathbfr(t)=(t,t2,t3)\mathbf{r}(t)=(t,\ t^2,\ t^3) at t=1t=1. Sketch the direction in 3D. What does it tell you about the curve's direction of travel?
  • Predict: does the function f(x,y)=(x+y,xy)f(x,y)=(x+y,\ x-y) from mathbbR2\mathbb{R}^2 to mathbbR2\mathbb{R}^2 cover all of mathbbR2\mathbb{R}^2 in its range? Justify by trying to solve f(x,y)=(a,b)f(x,y)=(a,b) for arbitrary a,ba,b.
  • The parametric surface mathbfr(u,v)=(cosusinv,sinusinv,cosv)\mathbf{r}(u,v)=(\cos u \sin v,\ \sin u \sin v,\ \cos v) for u\in[0,2\pi),v\in[0,\pi] traces a familiar object. Which one? (Hint: compute x2+y2+z2x^2+y^2+z^2.)

A trap to watch for

The graph of f:mathbbRntomathbbRmf:\mathbb{R}^n\to\mathbb{R}^m lives in mathbbRn+m\mathbb{R}^{n+m}, NOT in mathbbRm\mathbb{R}^m. A function mathbbR2tomathbbR2\mathbb{R}^2\to\mathbb{R}^2 has a graph that is a 2-dimensional surface in 4-dimensional space, impossible to draw directly. Beginners often try to "graph" such functions on a normal 2D plot, but the right picture is two separate scalar plots (one per coordinate function), or an arrow-field showing where each input vector gets sent. The mismatch between graph dimension and output dimension catches everyone the first time.

What you now know

You can write any vector-valued function in coordinate form and read off whether it is a curve, surface, scalar field, or transformation. You know the next four sections all extend the one-variable tools, limits, continuity, derivatives, and their inverses, component-by-component to this richer setting.

Mark section complete →

References

  • Garrity, T. (2002). All the Mathematics You Missed: But Need to Know for Graduate School. Cambridge University Press, ch. 3.
  • Spivak, M. (1965). Calculus on Manifolds. W. A. Benjamin, ch. 2.
  • Munkres, J. R. (1991). Analysis on Manifolds. Westview Press, ch. 1.
  • Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.). McGraw-Hill, ch. 9.
  • Apostol, T. M. (1974). Mathematical Analysis (2nd ed.). Addison-Wesley, ch. 12.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.