## Section9.6Vector-Valued Functions

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.

###### Preview Activity9.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{?}$

### Subsection9.6.1Vector-Valued Functions

Consider the curve shown in Figure 9.6.1. As in Preview Activity 9.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 Figure 9.6.1.

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.

###### Definition9.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 Section 9.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 Figure 9.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 Figure 9.6.1 is the graph of

\begin{equation*} \vr(t) = \langle \cos(t), \sin(t), \cos(t) \sin(t) \rangle. \end{equation*}
###### Activity9.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$

The examples in Activity 9.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 Section 9.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 Activity 9.6.1 and Activity 9.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{.}$)

###### Activity9.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.

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.$

###### Activity9.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{.}$)

### Subsection9.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{.}$

### Exercises9.6.3Exercises

###### 11.

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{.}$

###### 12.

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*}
###### 13.

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.

###### 14.

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.

###### 15.

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$