Now that we are familiar with vectors and their operations, we can begin discussing functions whose values are vectors.
Definition 1.10
A vector-valued function of a real variable is a rule that associates a vector \(\textbf{f}(t)\) with a real number \(t\), where \(t\) is in some subset \(D\) of \(\Real{1}\) (called the domain of f). We write \(\textbf{f}: D \rightarrow \Real{3}\) to denote that f is a mapping of \(D\) into \(\Real{3}\).
For example, \(\textbf{f}(t) = t \textbf{i} + t^2 \textbf{j} + t^3 \textbf{k}\) is a vector-valued function in \(\Real{3}\), defined for all real numbers \(t\). We would write \(\textbf{f}: \mathbb{R} \rightarrow \Real{3}\). At \(t = 1\) the value of the function is the vector \(\textbf{i} + \textbf{j} + \textbf{k}\), which in Cartesian coordinates has the terminal point \((1,1,1)\).
A vector-valued function of a real variable can be written in component form as
or in the form
for some real-valued functions \(\ssub{f}{1}(t)\), \(\ssub{f}{2}(t)\), \(\ssub{f}{3}(t)\), called the component functions of f. The first form is often used when emphasizing that \(\textbf{f}(t)\) is a vector, and the second form is useful when considering just the terminal points of the vectors. By identifying vectors with their terminal points, a curve in space can be written as a vector-valued function.
width height 0.5pt
Example 1.35
Define \(\textbf{f}: \mathbb{R} \rightarrow \Real{3}\) by \(\textbf{f}(t) = ( \cos t , \sin t , t )\).
This is
the equation of a helix (see Figure 1.8.1). As the value of \(t\) increases, the terminal points of
\(\textbf{f}(t)\) trace out a curve spiraling upward. For each \(t\), the \(x\)- and \(y\)-coordinates of \(\textbf{f}(t)\)
are \(x = \cos t\) and \(y = \sin t\), so
Thus, the curve lies on the surface of the right circular cylinder \(x^2 + y^2 = 1\).
width height 0.5pt
It may help to think of vector-valued functions of a real variable in \(\Real{3}\) as a generalization of the parametric functions in \(\Real{2}\) which you learned about in single-variable calculus. Much of the theory of real-valued functions of a single real variable can be applied to vector-valued functions of a real variable. Since each of the three component functions are real-valued, it will sometimes be the case that results from single-variable calculus can simply be applied to each of the component functions to yield a similar result for the vector-valued function. However, there are times when such generalizations do not hold (see Exercise 13). The concept of a limit, though, can be extended naturally to vector-valued functions, as in the following definition.
Definition 1.11
Let \(\textbf{f}(t)\) be a vector-valued function, let \(a\) be a real number and let c be a vector. Then we say that the limit of \(\textbf{f}(t)\) as \(t\) approaches \(a\) equals c, written as \(\lim\limits_{t \to a} \textbf{f}(t) = \textbf{c}\), if \(\lim\limits_{t \to a} \,\norm{\textbf{f}(t) - \textbf{c}} = 0\). If \(\textbf{f}(t) = ( \ssub{f}{1}(t),\ssub{f}{2}(t),\ssub{f}{3}(t) )\), then
provided that all three limits on the right side exist.
The above definition shows that continuity and the derivative of vector-valued functions can also be defined in terms of its component functions.
Definition 1.12
Let \(\textbf{f}(t) = ( \ssub{f}{1}(t),\ssub{f}{2}(t),\ssub{f}{3}(t) )\) be a vector-valued function, and let \(a\) be a
real number in its domain. Then \(\textbf{f}(t)\) is continuous at \(a\) if
\(\lim\limits_{t \to a} \textbf{f}(t) = \textbf{f}(a)\). Equivalently, \(\textbf{f}(t)\) is continuous at \(a\) if and only
if \(\ssub{f}{1}(t)\), \(\ssub{f}{2}(t)\), and \(\ssub{f}{3}(t)\) are continuous at \(a\).
The derivative of \(\textbf{f}(t)\) at \(a\), denoted by \(\textbf{f}\,'(a)\) or \(\dfrac{d \textbf{f}}{dt}(a)\),
is the limit
if that limit exists. Equivalently, \(\textbf{f}\,'(a) = ( \ssub{f}{1}\,'(a),\ssub{f}{2}\,'(a), \ssub{f}{3}\,'(a) )\), if the component derivatives exist. We say that \(\textbf{f}(t)\) is differentiable at \(a\) if \(\textbf{f}\,'(a)\) exists.
Recall that the derivative of a real-valued function of a single variable is a real number, representing the slope of the tangent line to the graph of the function at a point. Similarly, the derivative of a vector-valued function is a tangent vector to the curve in space which the function represents, and it lies on the tangent line to the curve (see Figure 1.8.1).
width height 0.5pt
Example 1.36
Let \(\textbf{f}(t) = ( \cos t , \sin t , t )\). Then \(\textbf{f}\,'(t) = ( -\sin t , \cos t , 1 )\) for all \(t\). The tangent line \(L\) to the curve at \(\textbf{f}(2\pi) = (1,0,2\pi)\) is \(L = \textbf{f}(2\pi) + s\,\textbf{f}\,'(2\pi) = (1,0,2\pi) + s(0,1,1)\), or in parametric form: \(x = 1\), \(y = s\), \(z = 2\pi + s\) for \(-\infty < s < \infty\).
width height 0.5pt A scalar function is a real-valued function. Note that if \(u(t)\) is a scalar function and \(\textbf{f}(t)\) is a vector-valued function, then their product, defined by \((u\,\textbf{f})(t) = u(t)\,\textbf{f}(t)\) for all \(t\), is a vector-valued function (since the product of a scalar with a vector is a vector).
The basic properties of derivatives of vector-valued functions are summarized in the following theorem.
Theorem 1.20
Let \(\textbf{f}(t)\) and \(\textbf{g}(t)\) be differentiable vector-valued functions, let \(u(t)\) be a differentiable
scalar function, let \(k\) be a scalar, and let c be a constant vector. Then
(a) \(\dfrac{d}{dt} ( \textbf{c} ) = \textbf{0}\)
(b) \(\dfrac{d}{dt} ( k \textbf{f} ) = k \dfrac{d \textbf{f}}{dt}\)
(c) \(\dfrac{d}{dt} ( \textbf{f} + \textbf{g} ) = \dfrac{d \textbf{f}}{dt} \,+\, \dfrac{d \textbf{g}}{dt}\)
(d) \(\dfrac{d}{dt} ( \textbf{f} - \textbf{g} ) = \dfrac{d \textbf{f}}{dt} \,-\, \dfrac{d \textbf{g}}{dt}\)
(e) \(\dfrac{d}{dt} ( u\,\textbf{f} ) = \dfrac{du}{dt}\,\textbf{f} \,+\, u \dfrac{d \textbf{f}}{dt}\)
(f) \(\dfrac{d}{dt} ( \Dotprod{\textbf{f}}{\textbf{g}} ) = \Dotprod{\dfrac{d \textbf{f}}{dt}}{\textbf{g}} \,+\, \Dotprod{\textbf{f}}{\dfrac{d \textbf{g}}{dt}}\)
(g) \(\dfrac{d}{dt} ( \Crossprod{\textbf{f}\,}{\,\textbf{g}} ) = \Crossprod{\dfrac{d \textbf{f}}{dt}}{\,\textbf{g}} \,+\, \Crossprod{\textbf{f}\,}{\dfrac{d \textbf{g}}{dt}}\)
Example 1.37
Suppose \(\textbf{f}(t)\) is differentiable. Find the derivative of \(\norm{\textbf{f}(t)}\).
Solution: Since \(\norm{\textbf{f}(t)}\) is a real-valued function of \(t\), then by the Chain Rule for real-valued functions, we know that \(\dfrac{d}{dt} \norm{\textbf{f}(t)}^2 = 2 \norm{\textbf{f}(t)} \, \dfrac{d}{dt} \norm{\textbf{f}(t)}\).
But \(\norm{\textbf{f}(t)}^2 = \Dotprod{\textbf{f}(t)}{\textbf{f}(t)}\), so \(\dfrac{d}{dt} \norm{\textbf{f}(t)}^2 = \dfrac{d}{dt} ( \Dotprod{\textbf{f}(t)}{\textbf{f}(t)} )\). Hence, we have
We know that \(\norm{\textbf{f}(t)}\) is constant if and only if \(\dfrac{d}{dt} \norm{\textbf{f}(t)} = 0\) for all \(t\). Also, \(\textbf{f}(t) \perp \textbf{f}\,'(t)\) if and only if \(\Dotprod{\textbf{f}\,'(t)}{\textbf{f}(t)} = 0\). Thus, the above example shows this important fact:
This means that if a curve lies completely on a sphere (or circle) centered at the origin, then the tangent vector \(\textbf{f}\,'(t)\) is always perpendicular to the position vector \(\textbf{f}(t)\).
width height 0.5pt
Example 1.38
The spherical spiral \(\textbf{f}(t) = \biggl( \dfrac{\cos t}{\sqrt{1 + a^2 t^2}},\dfrac{\sin t}{\sqrt{1 + a^2 t^2}}, \dfrac{-at}{\sqrt{1 + a^2 t^2}} \biggr)\), for \(a \ne 0\).
Figure 1.8.2 shows the graph of the curve when \(a = 0.2\). In the exercises, the reader will be asked to show that this curve lies on the sphere \(x^2 + y^2 + z^2 = 1\) and to verify directly that \(\Dotprod{\textbf{f}\,'(t)}{\textbf{f}(t)} = 0\) for all \(t\).
width height 0.5pt Just as in single-variable calculus, higher-order derivatives of vector-valued functions are obtained by repeatedly differentiating the (first) derivative of the function:
We can use vector-valued functions to represent physical quantities, such as velocity, acceleration, force, momentum, etc. For example, let the real variable \(t\) represent time elapsed from some initial time (\(t = 0\)), and suppose that an object of constant mass \(m\) is subjected to some force so that it moves in space, with its position \((x,y,z)\) at time \(t\) a function of \(t\). That is, \(x = x(t)\), \(y = y(t)\), \(z = z(t)\) for some real-valued functions \(x(t)\), \(y(t)\), \(z(t)\). Call \(\textbf{r}(t) = (x(t),y(t),z(t))\) the position vector of the object. We can define various physical quantities associated with the object as follows:[1]
The magnitude \(\norm{\textbf{v}(t)}\) of the velocity vector is called the speed of the object. Note that since the mass \(m\) is a constant, the force equation becomes the familiar \(\textbf{F}(t) = m \textbf{a}(t)\).
width height 0.5pt
Example 1.39
Let \(\textbf{r}(t) = (5 \cos t , 3 \sin t , 4 \sin t )\) be the position vector of an object at time \(t \ge 0\). Find its (a) velocity and (b) acceleration vectors.
Solution: (a) \(\textbf{v}(t) = \dot{\textbf{r}}(t) = (-5 \sin t , 3 \cos t , 4 \cos t )\)
(b) \(\textbf{a}(t) = \dot{\textbf{v}}(t) = (-5 \cos t , -3 \sin t , -4 \sin t )\)
Note that \(\norm{\textbf{r}(t)} = \sqrt{25 \cos^2 t + 25 \sin^2 t} = 5\) for all \(t\), so by Example 1.37 we know that \(\Dotprod{\textbf{r}(t)}{\dot{\textbf{r}}(t)} = 0\) for all \(t\) (which we can verify from part (a)). In fact, \(\norm{\textbf{v}(t)} = 5\) for all \(t\) also. And not only does \(\textbf{r}(t)\) lie on the sphere of radius \(5\) centered at the origin, but perhaps not so obvious is that it lies completely within a circle of radius 5 centered at the origin. Also, note that \(\textbf{a}(t) = -\textbf{r}(t)\). It turns out (see Exercise 16) that whenever an object moves in a circle with constant speed, the acceleration vector will point in the opposite direction of the position vector (i.e. towards the center of the circle).
width height 0.5pt Recall from Section 1.5 that if \(\ssub{\textbf{r}}{1}\), \(\ssub{\textbf{r}}{2}\) are position vectors to distinct points then \(\ssub{\textbf{r}}{1} + t (\ssub{\textbf{r}}{2} - \ssub{\textbf{r}}{1})\) represents a line through those two points as \(t\) varies over all real numbers. That vector sum can be written as \((1 - t) \ssub{\textbf{r}}{1} + t \ssub{\textbf{r}}{2}\). So the function \(\textbf{l}(t) = (1 - t) \ssub{\textbf{r}}{1} + t \ssub{\textbf{r}}{2}\) is a line through the terminal points of \(\ssub{\textbf{r}}{1}\) and \(\ssub{\textbf{r}}{2}\), and when \(t\) is restricted to the interval \(\left[ 0,1 \right]\) it is the line segment between the points, with \(\textbf{l}(0) = \ssub{\textbf{r}}{1}\) and \(\textbf{l}(1) = \ssub{\textbf{r}}{2}\).
In general, a function of the form \(\textbf{f}(t) = (\ssub{a}{1}t + \ssub{b}{1},\ssub{a}{2}t + \ssub{b}{2},\ssub{a}{3}t + \ssub{b}{3})\) represents a line in \(\Real{3}\). A function of the form \(\textbf{f}(t) = (\ssub{a}{1}t^2 + \ssub{b}{1}t + \ssub{c}{1},\ssub{a}{2}t^2 + \ssub{b}{2}t + \ssub{c}{2}, \ssub{a}{3}t^2 + \ssub{b}{3}t + \ssub{c}{3})\) represents a (possibly degenerate) parabola in \(\Real{3}\).
width height 0.5pt
Example 1.40
Bézier curves are used in Computer Aided Design (CAD) to approximate the shape of a polygonal path in space (called the Bézier polygon or control polygon). For instance, given three points (or position vectors) \(\ssub{\textbf{b}}{0}\), \(\ssub{\textbf{b}}{1}\), \(\ssub{\textbf{b}}{2}\) in \(\Real{3}\), define
for all real \(t\). For \(t\) in the interval \([0,1]\), we see that \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 1}(t)\) is the line segment between \(\ssub{\textbf{b}}{0}\) and \(\ssub{\textbf{b}}{1}\), and \(\ssub{\textbf{b}}{1}^{\scriptscriptstyle 1}(t)\) is the line segment between \(\ssub{\textbf{b}}{1}\) and \(\ssub{\textbf{b}}{2}\). The function \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 2}(t)\) is the Bézier curve for the points \(\ssub{\textbf{b}}{0}\), \(\ssub{\textbf{b}}{1}\), \(\ssub{\textbf{b}}{2}\). Note from the last formula that the curve is a parabola that goes through \(\ssub{\textbf{b}}{0}\) (when \(t = 0\)) and \(\ssub{\textbf{b}}{2}\) (when \(t = 1\)).
As an example, let \(\ssub{\textbf{b}}{0} = (0,0,0)\), \(\ssub{\textbf{b}}{1} = (1,2,3)\), and \(\ssub{\textbf{b}}{2} = (4,5,2)\). Then the explicit formula for the Bézier curve is \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 2}(t) = ( 2t + 2t^2, 4t + t^2, 6t - 4t^2 )\), as shown in Figure 1.8.3, where the line segments are \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 1}(t)\) and \(\ssub{\textbf{b}}{1}^{\scriptscriptstyle 1}(t)\), and the curve is \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 2}(t)\).
In general, the polygonal path determined by \(n \ge 3\) noncollinear points in \(\Real{3}\) can be used to define the Bézier curve recursively by a process called repeated linear interpolation. This curve will be a vector-valued function whose components are polynomials of degree \(n-1\), and its formula is given by de Casteljau’s algorithm.[2] In the exercises, the reader will be given the algorithm for the case of \(n = 4\) points and asked to write the explicit formula for the Bézier curve for the four points shown in Figure 1.8.4.
A
For Exercises 1-4, calculate \(\textbf{f}\,'(t)\) and find the tangent line at \(\textbf{f}(0)\).
2
\(\textbf{f}(t) = (t + 1 , t^2 + 1 , t^3 + 1)\)
\(\textbf{f}(t) = (e^t + 1 , e^{2t} + 1 , e^{t^2} + 1)\)
2
\(\textbf{f}(t) = (\cos 2t , \sin 2t , t)\)
\(\textbf{f}(t) = (\sin 2t , 2\sin^2 t , 2\cos t)\)
For Exercises 5-6, find the velocity \(\textbf{v}(t)\) and acceleration \(\textbf{a}(t)\) of an object with the given position vector \(\textbf{r}(t)\).
2
\(\textbf{r}(t) = (t, t - \sin t , 1 - \cos t)\)
\(\textbf{r}(t) = (3\cos t , 2\sin t , 1)\)
B
Let \(\textbf{f}(t) = \biggl( \dfrac{\cos t}{\sqrt{1 + a^2 t^2}},\dfrac{\sin t}{\sqrt{1 + a^2 t^2}}, \dfrac{-at}{\sqrt{1 + a^2 t^2}} \biggr)\), with \(a \ne 0\).
Show that \(\norm{\textbf{f}(t)} = 1\) for all \(t\).
Show directly that \(\Dotprod{\textbf{f}\,'(t)}{\textbf{f}(t)} = 0\) for all \(t\).
If \(\textbf{f}\,'(t) = \textbf{0}\) for all \(t\) in some interval \((a,b)\), show that \(\textbf{f}(t)\) is a constant vector in \((a,b)\).
For a constant vector \(\textbf{c} \ne \textbf{0}\), the function \(\textbf{f}(t) = t\textbf{c}\) represents a line parallel to \(\textbf{c}\).
What kind of curve does \(\textbf{g}(t) = t^3\textbf{c}\) represent? Explain.
What kind of curve does \(\textbf{h}(t) = e^t\textbf{c}\) represent? Explain.
Compare \(\textbf{f}\,'(0)\) and \(\textbf{g}\,'(0)\). Given your answer to part (a), how do you explain the difference in the two derivatives?
Show that \(\dfrac{d}{dt} \biggl( \Crossprod{\textbf{f}\,}{\dfrac{d\textbf{f}}{dt}} \biggr) = \Crossprod{\textbf{f}\,}{\dfrac{d^2 \textbf{f}}{dt^2}}\;\).
Let a particle of (constant) mass \(m\) have position vector \(\textbf{r}(t)\), velocity \(\textbf{v}(t)\), acceleration \(\textbf{a}(t)\) and momentum \(\textbf{p}(t)\) at time \(t\). The angular momentum \(\textbf{L}(t)\) of the particle with respect to the origin at time \(t\) is defined as \(\textbf{L}(t) = \Crossprod{\textbf{r}(t)}{\,\textbf{p}(t)}\). If \(\textbf{F}(t)\) is the force acting on the particle at time \(t\), then define the torque \(\textbf{N}(t)\) acting on the particle with respect to the origin as \(\textbf{N}(t) = \Crossprod{\textbf{r}(t)}{\textbf{F}(t)}\). Show that \(\textbf{L}\,'(t) = \textbf{N}(t)\).
Show that \(\dfrac{d}{dt} ( \Dotprod{\textbf{f}}{( \Crossprod{\textbf{g}\,}{\,\textbf{h}} )} ) = \Dotprod{\dfrac{d\textbf{f}}{dt}}{(\Crossprod{\textbf{g}\,}{\,\textbf{h}})} \,+\, \Dotprod{\textbf{f}}{\biggl(\Crossprod{\dfrac{d \textbf{g}}{dt}}{\,\textbf{h}}\biggr)} \,+\, \Dotprod{\textbf{f}}{\biggl(\Crossprod{\textbf{g}\,}{\dfrac{d \textbf{h}}{dt}}\biggr)}\).
The Mean Value Theorem does not hold for vector-valued functions: Show that for \(\textbf{f}(t) = (\cos t, \sin t,t)\), there is no \(t\) in the interval \((0,2\pi)\) such that
\[ \textbf{f}\,'(t) = \dfrac{\textbf{f}(2\pi) - \textbf{f}(0)}{2\pi - 0} . \]
C
The Bézier curve \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 3}(t)\) for four noncollinear points \(\ssub{\textbf{b}}{0}\), \(\ssub{\textbf{b}}{1}\), \(\ssub{\textbf{b}}{2}\), \(\ssub{\textbf{b}}{3}\) in \(\Real{3}\) is defined by the following algorithm (going from the left column to the right):
\begin{alignat*}{3} \ssub{\textbf{b}}{0}^{\scriptscriptstyle 1}(t) &= ( 1 - t )\ssub{\textbf{b}}{0} + t \ssub{\textbf{b}}{1} \qquad & \ssub{\textbf{b}}{0}^{\scriptscriptstyle 2}(t) &= ( 1 - t )\ssub{\textbf{b}}{0}^{\scriptscriptstyle 1}(t) + t \ssub{\textbf{b}}{1}^{\scriptscriptstyle 1}(t) \qquad & \ssub{\textbf{b}}{0}^{\scriptscriptstyle 3}(t) &= ( 1 - t )\ssub{\textbf{b}}{0}^{\scriptscriptstyle 2}(t) + t \ssub{\textbf{b}}{1}^{\scriptscriptstyle 2}(t)\\ \ssub{\textbf{b}}{1}^{\scriptscriptstyle 1}(t) &= ( 1 - t )\ssub{\textbf{b}}{1} + t \ssub{\textbf{b}}{2} \qquad & \ssub{\textbf{b}}{1}^{\scriptscriptstyle 2}(t) &= ( 1 - t )\ssub{\textbf{b}}{1}^{\scriptscriptstyle 1}(t) + t \ssub{\textbf{b}}{2}^{\scriptscriptstyle 1}(t)\\ \ssub{\textbf{b}}{2}^{\scriptscriptstyle 1}(t) &= ( 1 - t )\ssub{\textbf{b}}{2} + t \ssub{\textbf{b}}{3} \end{alignat*}Show that \(\ssub{\textbf{b}}{0}^{\scriptscriptstyle 3}(t) = (1 - t)^3 \ssub{\textbf{b}}{0} + 3t(1 - t)^2 \ssub{\textbf{b}}{1} + 3t^2 (1 - t) \ssub{\textbf{b}}{2} + t^3 \ssub{\textbf{b}}{3}\).
Write the explicit formula (as in Example 1.40) for the Bézier curve for the points \(\ssub{\textbf{b}}{0} = (0,0,0)\), \(\ssub{\textbf{b}}{1} = (0,1,1)\), \(\ssub{\textbf{b}}{2} = (2,3,0)\), \(\ssub{\textbf{b}}{3} = (4,5,2)\).
Let \(\textbf{r}(t)\) be the position vector for a particle moving in \(\Real{3}\). Show that
\[ \dfrac{d}{dt} ( \Crossprod{\textbf{r}}{( \Crossprod{\textbf{v}\,}{\,\textbf{r}} )} ) = \norm{\textbf{r}}^2 \textbf{a} + (\Dotprod{\textbf{r}}{\textbf{v}}) \textbf{v} - (\norm{\textbf{v}}^2 + \Dotprod{\textbf{r}}{\textbf{a}})\textbf{r} . \]Let \(\textbf{r}(t)\) be the position vector in \(\Real{3}\) for a particle moving at constant speed \(c > 0\) in a circle of radius \(a > 0\) in the \(xy\)-plane. Show that \(\textbf{a}(t)\) points in the opposite direction as \(\textbf{r}(t)\) for all \(t\). (Hint: Use Example 1.37 to show that \(\textbf{r}(t) \perp \textbf{v}(t)\) and \(\textbf{a}(t) \perp \textbf{v}(t)\)).
Prove Theorem 1.20(g).
If \(\norm{\textbf{f}(t)} \ne 0\), then \(\norm{\textbf{f}(t)}\) is constant if and only if \(\textbf{f}(t) \perp \textbf{f}\,'(t)\) for all \(t\).