Skip to main content
\(\newcommand{\R}{\mathbb{R}} \newcommand{\va}{\mathbf{a}} \newcommand{\vb}{\mathbf{b}} \newcommand{\vc}{\mathbf{c}} \newcommand{\vC}{\mathbf{C}} \newcommand{\vd}{\mathbf{d}} \newcommand{\ve}{\mathbf{e}} \newcommand{\vi}{\mathbf{i}} \newcommand{\vj}{\mathbf{j}} \newcommand{\vk}{\mathbf{k}} \newcommand{\vn}{\mathbf{n}} \newcommand{\vm}{\mathbf{m}} \newcommand{\vr}{\mathbf{r}} \newcommand{\vs}{\mathbf{s}} \newcommand{\vu}{\mathbf{u}} \newcommand{\vv}{\mathbf{v}} \newcommand{\vw}{\mathbf{w}} \newcommand{\vx}{\mathbf{x}} \newcommand{\vy}{\mathbf{y}} \newcommand{\vz}{\mathbf{z}} \newcommand{\vzero}{\mathbf{0}} \newcommand{\vF}{\mathbf{F}} \newcommand{\vG}{\mathbf{G}} \newcommand{\vH}{\mathbf{H}} \newcommand{\vR}{\mathbf{R}} \newcommand{\vT}{\mathbf{T}} \newcommand{\vN}{\mathbf{N}} \newcommand{\vL}{\mathbf{L}} \newcommand{\vB}{\mathbf{B}} \newcommand{\vS}{\mathbf{S}} \newcommand{\proj}{\text{proj}} \newcommand{\comp}{\text{comp}} \newcommand{\nin}{} \newcommand{\vecmag}[1]{|#1|} \newcommand{\grad}{\nabla} \DeclareMathOperator{\curl}{curl} \DeclareMathOperator{\divg}{div} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section1.6Vector-Valued Functions

Objectives
  • What is a vector-valued function? What do we mean by the graph of a vector-valued function?

  • What is a parameterization of a curve in \(\R^2\text{?}\) In \(\R^3\text{?}\) What can the parameterization of a curve tell us?

So far, we have seen several different examples of curves in space, including traces and contours of functions of two variables, as well as lines in 3-space. Recall that for a line through a fixed point \(\vr_0\) in the direction of vector \(\vv\text{,}\) we may express the line parametrically through the single vector equation

\begin{equation*} \vr(t) = \vr_0 + t\vv. \end{equation*}

From this perspective, the vector \(\vr(t)\) is a function that depends on the parameter \(t\text{,}\) and the terminal points of this vector trace out the line in space.

Like lines, other curves in space are one-dimensional objects, and thus we aspire to similarly express the coordinates of points on a given curve in terms of a single variable. Vectors are a perfect vehicle for doing so we can use vectors based at the origin to identify points in space, and connect the terminal points of these vectors to draw a curve in space. This approach will allow us to draw an incredible variety of graphs in 2- and 3-space, as well as to identify and describe curves in \(n\)-space for any \(n\text{.}\) It will also allow us to represent traces and cross sections of surfaces in space.

Exploration1.6.1

In this activity we consider how we might use vectors to define a curve in space.

  1. On a single set of axes in \(\R^2\text{,}\) draw the vectors

    • \(\left\langle \cos(0), \sin(0) \right\rangle\text{,}\)

    • \(\left\langle \cos\left(\frac{\pi}{2}\right), \sin\left(\frac{\pi}{2}\right) \right\rangle\text{,}\)

    • \(\left\langle \cos\left(\pi\right), \sin\left(\pi\right) \right\rangle \text{,}\) and

    • \(\left\langle \cos\left(\frac{3\pi}{2}\right), \sin\left(\frac{3\pi}{2}\right) \right\rangle\)

    with their initial points at the origin.

  2. On the same set of axes, draw the vectors

    • \(\left\langle \cos\left(\frac{\pi}{4}\right), \sin\left(\frac{\pi}{4}\right) \right\rangle\text{,}\)

    • \(\left\langle \cos\left(\frac{3\pi}{4}\right), \sin\left(\frac{3\pi}{4}\right) \right\rangle\text{,}\)

    • \(\left\langle \cos\left(\frac{5\pi}{4}\right), \sin\left(\frac{5\pi}{4}\right) \right\rangle\text{,}\) and

    • \(\left\langle \cos\left(\frac{7\pi}{4}\right), \sin\left(\frac{7\pi}{4}\right) \right\rangle\)

    with their initial points at the origin.

  3. Based on the pictures from parts (a) and (b), sketch the set of terminal points of all of the vectors of the form \(\langle \cos(t), \sin(t) \rangle\text{,}\) where \(t\) assumes values from 0 to \(2 \pi\text{.}\) What is the resulting figure? Why?

  4. Suppose we sketched the terminal points of all vectors of the form \(\langle \cos(t), \sin(t) \rangle\text{,}\) where \(t\) assumes values from 0 to \(\pi\text{.}\) How does the resulting picture differ from the one in part (c)? What about for \(t\) from 0 to \(4 \pi\text{?}\)

Subsection1.6.1Vector-Valued Functions

Consider the curve shown in Figure1.6.1. As in Preview Activity1.6.1, we can think of a point on this curve as resulting from a vector from the origin to the point. As the point travels along the curve, the vector changes in order to terminate at the desired point. A few still pictures of this motion are shown in Figure1.6.1.

Figure1.6.1The graph of a curve in space.

Thus, we can think of the curve as a collection of terminal points of vectors emanating from the origin. We therefore view a point traveling along this curve as a function of time \(t\text{,}\) and define a function \(\vr\) whose input is the variable \(t\) and whose output is the vector from the origin to the point on the curve at time \(t\text{.}\) In so doing, we have introduced a new type of function, one whose input is a scalar and whose output is a vector.

The terminal points of the vector outputs of \(\vr\) then trace out the curve in space. From this perspective, the \(x\text{,}\) \(y\text{,}\) and \(z\) coordinates of the point are functions of time, \(t\text{,}\) say

\begin{equation*} x = x(t), \ \ \ y = y(t), \ \ \ \text{ and } \ \ \ \ \ z = z(t), \end{equation*}

and thus we have three coordinate functions that enable us to represent the curve. The variable \(t\) is called a parameter and the equations \(x = x(t)\text{,}\) \(y = y(t)\text{,}\) and \(z = z(t)\) are called parametric equations (or a parameterization of the curve). The function \(\vr\) whose output is the vector from the origin to a point on the curve is defined by

\begin{equation*} \vr(t) = \langle x(t), y(t), z(t) \rangle. \end{equation*}

Note that the input of \(\vr\) is the real-valued parameter \(t\) and the corresponding output is vector \(\langle x(t), y(t), z(t) \rangle\text{.}\) Such a function is called a vector-valued function because each real number input generates a vector output. More formally, we state the following definition.

Definition1.6.2

A vector-valued function is a function whose input is a real parameter \(t\) and whose output is a vector that depends on \(t\text{.}\) The graph of a vector-valued function is the set of all terminal points of the output vectors with their initial points at the origin.

Parametric equations for a curve are equations of the form

\begin{equation*} x = x(t), \ \ \ y = y(t), \ \ \ \text{ and } \ \ \ \ \ z = z(t) \end{equation*}

that describe the \((x,y,z)\) coordinates of a point on a curve in \(\R^3\text{.}\)

Note particularly that every set of parametric equations determines a vector-valued function of the form

\begin{equation*} \vr(t) = \langle x(t), y(t), z(t) \rangle, \end{equation*}

and every vector-valued function defines a set of parametric equations for a curve. Moreover, we can consider vector-valued functions and parameterizations in \(\R^2\text{,}\) \(\R^4\text{,}\) or indeed a real space of any dimension. As a reminder, in Section1.5, we determined the parametric equations of a line in space using a point and a direction vector. For a nonlinear example, the curve in Figure1.6.1 has the parametric equations

\begin{equation*} x(t) = \cos(t), \ \ \ y(t) = \sin(t), \ \ \ \text{ and } \ \ \ z(t) = \cos(t) \sin(t). \end{equation*}

Represented as a vector-valued function \(\vr\text{,}\) the curve in Figure1.6.1 is the graph of

\begin{equation*} \vr(t) = \langle \cos(t), \sin(t), \cos(t) \sin(t) \rangle. \end{equation*}
Activity1.6.2

The same curve can be represented with different parameterizations. Use appropriate technology to plot the curves generated by the following vector-valued functions for values of \(t\) from \(0\) to \(2 \pi \text{.}\) Compare and contrast the graphs explain how they are alike and how they are different.

  1. \(\vr(t) = \langle \sin(t), \cos(t) \rangle\)

  2. \(\vr(t) = \langle \sin(2t), \cos(2t) \rangle\)

  3. \(\vr(t) = \langle \cos(t+\pi), \sin(t+\pi) \rangle\)

  4. \(\vr(t) = \langle \cos(t^2), \sin(t^2) \rangle\)

Answer

All four parameterizations trace along the unit circle (a circle of radius 1 centered at the origin), although they have different start points, speeds, and end points. We can compare each to the parameterization that describes the unit circle as it was probably introduced to you: \(\vz(t) = \langle \cos(t), \sin(t) \rangle\) for \(0 \leq t \leq 2\pi\text{.}\) This parameterization starts at the point \((1,0)\) when \(t=0\) and traverses the unit circle counterclockwise at a constant speed until it reaches \((1,0)\) again when \(t=2\pi\text{.}\) Note that \(\vz(t)\) matches the angle \(t\) on the standard unit circle picture. For example, \(t=\pi\) corresponds to where \(\pi\) is normally marked on the unit circle, at the point \((-1,0)\) (so we have traced out the upper half of the unit circle).

  1. The parameterization \(\vr(t) = \langle \sin(t), \cos(t) \rangle\) starts at \((0,1)\) when \(t=0\) and traverses the unit circle clockwise at a constant speed until it reaches \((0,1)\) again when \(t=2\pi\text{.}\) Thus \(\vr(t)\) has a different start point and moves in the opposite direction when compared to \(\vz(t)\text{,}\) but both move at the same constant speed. This is a good parameterization to keep in your pocket for when you need a clockwise parameterization of a circle.

  2. The parameterization \(\vr(t) = \langle \sin(2t), \cos(2t) \rangle\) also starts at \((0,1)\) when \(t=0\) and traverses the unit circle clockwise at a constant speed. However, it's moving at double speed, so it will go around the unit circle twice to reach the point \((0,1)\) when \(t=\pi\) and when \(t=2\pi\text{.}\)

  3. The parameterization \(\vr(t) = \langle \cos(t+\pi), \sin(t+\pi) \rangle\) has the same orientation as \(\vz\) (that is, it moves in the same direction: counterclockwise) and moves at the same constant speed. However, adding \(\pi\) to \(t\) changes the starting and ending point to \((-1,0)\text{.}\)

  4. The parameterization \(\vr(t) = \langle \cos(t^2), \sin(t^2) \rangle\) starts at \((1,0)\) when \(t=0\) and traverses the unit circle counterclockwise, like \(\vz(t)\text{.}\) However, the function \(t^2\) is not linear and thus \(\vr(t)\) doesn't move at a constant speed. It will start slow and speed up to go around the unit circle over 6 times, ending arount the point \((-0.207,0.978)\) when \(t=2\pi\text{.}\)

The examples in Activity1.6.2 illustrate that a parameterization allows us to look not only at the graph, but at the direction and speed at which the graph is traversed as \(t\) changes. In the different parameterizations of the circle, we see that we can start at different points and move around the circle in either direction. The calculus of vector-valued functions which we will begin to investigate in Section1.7 will enable us to precisely quantify the direction, speed, and acceleration of a particle moving along a curve in space. As such, describing curves parametrically will allow us to not only indicate the curve itself, but also to describe how motion occurs along the curve.

Using parametric equations to define vector-valued functions in two dimensions is much more versatile than just defining \(y\) as a function of \(x\text{.}\) In fact, if \(y = f(x)\) is a function of \(x\text{,}\) then we can parameterize the graph of \(f\) by

\begin{equation*} \vr(t) = \langle t, f(t) \rangle, \end{equation*}

and thus every single-variable function may be described parametrically. In addition, as we saw in Preview Activity1.6.1 and Activity1.6.2, we can use vector-valued functions to represent curves in the plane that do not define \(y\) as a function of \(x\) (or \(x\) as a function of \(y\)). (As a side note: vector-valued functions make it easy to plot the inverse of a one-to-one function in two dimensions. To see how, if \(y = f(x)\)defines a one-to-one function, then we can parameterize this function by \(\vr(t) = \langle t, f(t) \rangle\text{.}\) Since the inverse function just reverses the role of input and output, a parameterization for \(f^{-1}\) is \(\langle f(t), t \rangle\text{.}\))

Activity1.6.3

Vector-valued functions can be used to generate many interesting curves. Graph each of the following using an appropriate technological tool, and then write one sentence for each function to describe the behavior of the resulting curve.

  1. \(\vr(t) = \langle t\cos(t), t\sin(t) \rangle\)

  2. \(\vr(t) = \langle \sin(t)\cos(t), t\sin(t) \rangle\)

  3. \(\vr(t) = \langle \sin(5t), \sin(4t) \rangle\)

  4. \(\vr(t) = \langle t^2\sin(t)\cos(t), 0.9t\cos(t^2), \sin(t) \rangle\) (Note that this defines a curve in 3-space.)

  5. Experiment with different formulas for \(x(t)\) and \(y(t)\) and ranges for \(t\) to see what other interesting curves you can generate. Share your best results with peers.

Answer
  1. The graph of \(\vr(t) = \langle t\cos(t), t\sin(t) \rangle\) starting at \(t=0\) spirals out from the origin like a Nautilus shell in a counterclockwise direction as \(t\) increases.

  2. The graph of \(\vr(t) = \langle \sin(t)\cos(t), t\sin(t) \rangle\) starting at \(t=0\) creates a distorted figure 8 that becomes more vertically stretched each time it passes through the origin.

  3. The graph of \(\vr(t) = \langle \sin(5t), \sin(4t) \rangle\) weaves a \(4\times 5\) mat.

  4. The graph of \(\vr(t) = \langle t^2\sin(t)\cos(t), 0.9t\cos(t^2), \sin(t) \rangle\) creates many loops in the \(x\) and \(y\) directions and moves between \(-1\) and \(1\) in the \(z\) direction.

Recall from our earlier work that the traces and level curves of a function are themselves curves in space. Thus, we may determine parameterizations for them. For example, if \(z = f(x,y) = \cos(x^2 + y^2)\text{,}\) the \(y = 1\) trace of the function is given by setting \(y = 1\) and letting \(x\) be parameterized by the variable \(t\text{;}\) then, the trace is the curve whose parameterization is \(\langle t, 1, \cos(t^2 + 1) \rangle.\)

Activity1.6.4

Consider the paraboloid defined by \(f(x,y) = x^2+y^2\text{.}\)

  1. Find a parameterization for the \(x=2\) trace of \(f\text{.}\) What type of curve does this trace describe?

  2. Find a parameterization for the \(y=-1\) trace of \(f\text{.}\) What type of curve does this trace describe?

  3. Find a parameterization for the level curve \(f(x,y) = 25\text{.}\) What type of curve does this trace describe?

  4. How do your responses change to all three of the preceding questions if you instead consider the function \(g\) defined by \(g(x,y) = x^2 - y^2\text{?}\) (Hint for generating one of the parameterizations: \(\sec^2(t)-\tan^2(t) = 1\text{.}\))

Answer
  1. The \(x=2\) trace of \(f\) is the parabola \(f(2,y) = 4+y^2\) on the plane \(x=2\text{.}\) We can parameterize this trace with \(\vr(t) = \langle 2, t, 4+t^2 \rangle\) for \(-\infty \leq t\leq \infty \text{.}\)

  2. The \(y=-1\) trace of \(f\) is the parabola \(f(x,-1) = x^2+1\) on the plane \(y=-1\text{.}\) We can parameterize this trace with \(\vr(t) = \langle t, -1, t^2+1 \rangle\) for \(-\infty \leq t\leq \infty \text{.}\)

  3. The level curve \(f(x,y) = 25\) is \(25= x^2+y^2\text{,}\) a circle of radius 5, on the plane \(z = 25\text{.}\) We can parameterize this level curve with \(\vr(t) = \langle 5\cos(t), 5\sin(t), 25 \rangle\) for \(0 \leq t\leq 2\pi \text{.}\)

    • The \(x=2\) trace of \(g\) is the parabola \(g(2,y) = 4-y^2\) on the plane \(x=2\text{.}\) We can parameterize this trace with \(\vr(t) = \langle 2, t, 4-t^2 \rangle\) for \(-\infty \leq t\leq \infty \text{.}\)

    • The \(y=-1\) trace of \(g\) is the parabola \(g(x,-1) = x^2-1\) on the plane \(y=-1\text{.}\) We can parameterize this trace with \(\vr(t) = \langle t, -1, t^2-1 \rangle\) for \(-\infty \leq t\leq \infty \text{.}\)

    • The level curve \(g(x,y) = 25\) is \(25= x^2-y^2\text{,}\) a hyperbola on the plane \(z = 25\text{.}\) If we multiply both sides of the relation \(\sec^2(t)-\tan^2(t) = 1\) by \(25\) we get

      \begin{align*} 25 \amp = 25\sec^2(t)-25\tan^2(t)\\ \amp = (5\sec(t))^2-(5\tan(t))^2 \end{align*}

      so setting \(x=5\sec(t)\) and \(y=5\tan(t)\) forces \(25= x^2-y^2\) to be true. We also need to be on the plane \(z = 25\text{.}\) We can thus parameterize this level curve with \(\vr(t) = \langle 5\sec(t), 5\tan(t), 25 \rangle\) for \(-\infty \leq t\leq \infty \text{.}\)

Subsection1.6.2Summary

  • A vector-valued function is a function whose input is a real parameter \(t\) and whose output is a vector that depends on \(t\text{.}\) The graph of a vector-valued function is the set of all terminal points of the output vectors with their initial points at the origin.

  • Every vector-valued function provides a parameterization of a curve. In \(\R^2\text{,}\) a parameterization of a curve is a pair of equations \(x = x(t)\) and \(y = y(t)\) that describes the coordinates of a point \((x,y)\) on the curve in terms of a parameter \(t\text{.}\) In \(\R^3\text{,}\) a parameterization of a curve is a set of three equations \(x = x(t)\text{,}\) \(y=y(t)\text{,}\) and \(z = z(t)\) that describes the coordinates of a point \((x,y,z)\) on the curve in terms of a parameter \(t\text{.}\)

Subsection1.6.3Exercises

A standard parameterization for the unit circle is \(\langle \cos(t), \sin(t) \rangle\text{,}\) for \(0 \le t \le 2\pi\text{.}\)

  1. Find a vector-valued function \(\vr\) that describes a point traveling along the unit circle so that at time \(t=0\) the point is at \(\left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2} \right)\) and travels clockwise along the circle as \(t\) increases.

  2. Find a vector-valued function \(\vr\) that describes a point traveling along the unit circle so that at time \(t=0\) the point is at \(\left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2} \right)\) and travels counter-clockwise along the circle as \(t\) increases.

  3. Find a vector-valued function \(\vr\) that describes a point traveling along the unit circle so that at time \(t=0\) the point is at \(\left(-\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2} \right)\) and travels clockwise along the circle as \(t\) increases.

  4. Find a vector-valued function \(\vr\) that describes a point traveling along the unit circle so that at time \(t=0\) the point is at \((0,1)\) and makes one complete revolution around the circle in the counter-clockwise direction on the interval \([0,\pi]\text{.}\)

Let \(a\) and \(b\) be positive real numbers. You have probably seen the equation \(\frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1\) that generates an ellipse, centered at \((h,k)\text{,}\) with a horizontal axis of length \(2a\) and a vertical axis of length \(2b\text{.}\)

  1. Explain why the vector function \(\vr\) defined by \(\vr(t) = \langle a\cos(t), b\sin(t) \rangle\text{,}\) \(0 \le t \le 2\pi\) is one parameterization of the ellipse \(\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1\text{.}\)

  2. Find a parameterization of the ellipse \(\frac{x^2}{4} + \frac{y^2}{16} = 1\) that is traversed counterclockwise.

  3. Find a parameterization of the ellipse \(\frac{(x+3)^2}{4} + \frac{(y-2)^2}{9} = 1\text{.}\)

  4. Determine the \(x\)-\(y\) equation of the ellipse that is parameterized by

    \begin{equation*} \vr(t) = \langle 3 + 4\sin(2t), 1 + 3\cos(2t) \rangle. \end{equation*}

Consider the two-variable function \(z = f(x,y) = 3x^2 + 4y^2 - 2\text{.}\)

  1. Determine a vector-valued function \(\vr\) that parameterizes the curve which is the \(x = 2\) trace of \(z = f(x,y)\text{.}\) Plot the resulting curve. Do likewise for \(x = -2, -1, 0,\) and \(1\text{.}\)

  2. Determine a vector-valued function \(\vr\) that parameterizes the curve which is the \(y = 2\) trace of \(z = f(x,y)\text{.}\) Plot the resulting curve. Do likewise for \(y = -2, -1, 0,\) and \(1\text{.}\)

  3. Determine a vector-valued function \(\vr\) that parameterizes the curve which is the \(z = 2\) contour of \(z = f(x,y)\text{.}\) Plot the resulting curve. Do likewise for \(z = -2, -1, 0,\) and \(1\text{.}\)

  4. Use the traces and contours you've just investigated to create a wireframe plot of the surface generated by \(z = f(x,y)\text{.}\) In addition, write two sentences to describe the characteristics of the surface.

Recall that any line in space may be represented parametrically by a vector-valued function.

  1. Find a vector-valued function \(\vr\) that parameterizes the line through \((-2,1,4)\) in the direction of the vector \(\vv = \langle 3, 2, -5 \rangle\text{.}\)

  2. Find a vector-valued function \(\vr\) that parameterizes the line of intersection of the planes \(x + 2y - z = 4\) and \(3x + y - 2z = 1\text{.}\)

  3. Determine the point of intersection of the lines given by

    \begin{equation*} x = 2 + 3t, \ y = 1 - 2t, \ z = 4t, \end{equation*}
    \begin{equation*} x = 3 + 1s, \ y = 3-2s, \ z = 2s. \end{equation*}

    Then, find a vector-valued function \(\vr\) that parameterizes the line that passes through the point of intersection you just found and is perpendicular to both of the given lines.

For each of the following, describe the effect of the parameter \(s\) on the parametric curve for \(t\) in the interval \([0,2 \pi]\text{.}\)

  1. \(\vr(t) = \langle \cos(t), \sin(t) + s \rangle\)

  2. \(\vr(t) = \langle \cos(t)-s, \sin(t) \rangle\)

  3. \(\vr(t) = \langle s\cos(t), \sin(t) \rangle\)

  4. \(\vr(t) = \langle s\cos(t), s\sin(t) \rangle\)

  5. \(\vr(t) = \langle \cos(st), \sin(st) \rangle\)