You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
Vector-valued functions are parameterized curves.
1 Vector-valued functions
A function \(\vec {f}: \R \to \R ^3\) can be thought of as associating to each time \(t\) a vector \(\vector {x(t),y(t),z(t)}\).
A
vector-valued function maps real numbers to vectors in \(\R ^n\).
Vector-valued
functions simply map numbers to lists of numbers, that we interpret as vectors:
Placing the tail of the vector at the origin, its head
will sweep out a curve parameterized by \(t\). Below we see a plot of the vector-valued
function:
\[ \vec {f}(t) = \vector {t,\sin (t),\cos (t)} \]
Use the
slider to see how the vector-valued function is “drawn” by the tip of the
vector
Consider the function \(\vec {f}(t) = \vector {\cos (t),\sin (t),t}\). The projection of the point \(\vec {f}(t)\) into the \((x,y)\)-plane moves around the
unit circle in the positive direction. The projection onto the \(z\) axis moves at a constant
rate in the positive direction. So we expect that \(\vec {f}\) parameterizes
a straight line a
circle around the \(x\)-axisa circle around the \(y\)-axisa circle around the \(z\)-axisa
spiral around the \(x\)-axisa spiral around the \(y\)-axisa spiral around the \(z\)-axis
Here is
the graph of \(\vec {f}\):
1.1 How are vector-valued functions useful?
To get your imagination going, here are a few examples of what a function \(f: \R \to \R ^3\) could
represent:
The \(3\)-dimensional position of a rocket in space as a function of time.
The population of \(3\) different species of bacteria found in a swimming pool
as a function of the amount of chlorine in the water.
The performance of \(3\) different stocks as a function of time.
The trunk width, height, and canopy radius of a tree as a function of time.
The average temperature, humidity, and air pressure at a given latitude
as a function of that latitude.
The RGB color of a single pixel of a LCD screen varying over time.
Of the examples above, perhaps “position in space” is the best mental model to use
to help you understand vector-valued functions.
2 Lines in space
It is easy to create a vector-valued function that passes through two points \(\vec {p}\) and \(\vec {q}\):
What value of \(t\) gives the midpoint of the tips of vectors \(\vec {p}\)
and \(\vec {q}\)?
\[ t = \answer {1/2} \]
Here we see vectors \(\vec {p}\) and \(\vec {q}\). In blue below we see the vector \(t(\vec {q}-\vec {p})\) starting at point \(\vec {p}\).
Convince yourself that
\[ \vecl (t) = \vec {p} + t(\vec {q}-\vec {p}) \]
draws a line.
If we know that a line passes through two points (that we’ll notate with vectors) \(\vec {p}\) and
\(\vec {q}\), then we know that it points in the direction \(\vec {v} = \vec {q} - \vec {p}\), and passes through the tip of \(\vec {p}\). Hence
to make a line, We write
\[ \vecl (t) = \vec {p}+t\vec {v}. \]
Play around with the interactive below to see if you get
the idea:
Using the ideas above, find an expression in terms of \(t\) parameterizing the line
passing through \(\vec {p} = \vector {0,2,4}\) when \(t=0\), and \(\vec {q} = \vector {1,1,1}\) when \(t=1\).
Let \(\vecl \) be a line that passes through the points \(\vecl (0) = \vector {1,2,3}\) and \(\vecl (1) = \vector {2,2,2}\). What are the components of \(\vecl (t)\)?
Let \(\vecl (t) = \vec {p}+t\vec {v}\), then \(\vecl (0) = \vec {p}\).
\[ \vec {v}= \vector {2,2,2}-\vector {1,2,3} \]
There are an infinite number of ways to parameterize the same line. Try your hand at
the following puzzlers:
Compare and contrast the curves \(\vec {f}(t) = \vector {-3+t,5+2t,1+3t}\) and \(\vec {g}(t)=\vector {-3+2t,5+4t,1+6t}\).
They parameterize different lines. They parameterize the same line, but \(\vec {f}(t)\) moves “twice as fast” as \(\vec {g}(t)\).They parameterize
the same line, but \(\vec {g}(t)\) moves “twice as fast” as \(\vec {f}(t)\).These are the same function!
Note, both lines start at the same point when \(t=0\).
Compare and contrast the curves \(\vec {f}(t) = \vector {-3+t,5+2t,1+3t}\) and \(\vec {g}(t)=\vector {-3-t,5-2t,1-3t}\).
They parameterize different lines. They parameterize the same line, but \(\vec {f}(t)\) moves in the opposite direction compared with
\(\vec {g}(t)\).They parameterize the same line, but \(\vec {g}(t)\) moves “twice as fast” as \(\vec {f}(t)\).These are the
same function!
Note both lines start at the same point when \(t=0\).
We can use these ideas to parameterize any line in space. However, our
parameterizations will not be unique as there are infinitely many different ways to
parameterize the same line. Some parameterizations may “move faster” than others,
or in the opposite direction, or even at uneven rates!
2.1 Distance between a point and a line
Given a point \(\vec {p}\), notated as the tip of a vector with its tail at the
origin, and a line
\[ \vecl (t) = \vec {q} + t\vec {v} \]
we often want to know the distance between \(\vec {p}\) and \(\vecl \).
This distance is
the length of the shortest path from \(\vec {p}\) to the line \(\vecl \). How do we find this distance?
Well:
(a)
Recalling that the magnitude of a vector \(|\vec {w}| =\sqrt {\vec {w}\dotp \vec {w}}\) we could attempt to minimize
the function
However, both of these methods are somewhat involved. Perhaps the quickest
method for determining the distance between a point and a line is by using
the cross product. Since the cross product is only defined in \(\R ^3\), we need
\(3\)-dimensional vectors. If we consider the vector \(\vec {p}-\vec {q}\), we see by the definition of sine
gives a circle of radius \(r\), centered at the tip of \(\vec {p}\), lying in the plane containing
\(\uvec {u}\) and \(\uvec {v}\). Moreover, to produce an ellipse, we write:
Given an ellipse, the major axis of
an ellipse is its longest diameter, and the minor axis is its smallest diameter. The
semi-major axis is half of the major axis, and the semi-minor axis is half of the
minor axis. Given an ellipse of the form
where \(a>b\), \(a\) is the semi-major axis and \(b\) is the
semi-minor axis.
Let’s see an example.
Give a vector-valued formula for an ellipse that is drawn in the \((y,z)\)-plane centered
at the point \((0,2,3)\) whose semi-major axis is \(5\) on a line parallel to the \(y\)-axis, and
whose semi-minor axis is \(1\) on a line parallel to the \(z\)-axis.
There are actually
infinitely many solutions to this problem, though we’ll just give one. Write:
Curves can lie on surfaces. Typically, the surface is defined implicitly, and the curve
is a vector-valued function. To check if the curve lies on the surface, break the curve
into components and substitute:
The \(x\)-component of the curve for \(x\) in the equation of the surface.
The \(y\)-component of the curve for \(y\) in the equation of the surface.
The \(z\)-component of the curve for \(z\) in the equation of the surface.
If the equation defining the surfaces holds after the substitution, the curve lies on the
surface. Try your hand at these puzzles:
Consider the plane:
\[ x+2y+3z = 6 \]
Which of the following lines are on this plane?
Separate
each line into its component functions: \(x\), \(y\), and \(z\), and see if the equation defining the
surface is valid for all \(t\).
Though their formulation may be more complex, a vector-valued function that
produces a curve is no different from that which produces a line (a line is a special
type of curve!).
Consider the unit sphere:
\[ x^2+y^2+z^2 = 1 \]
Which of the following curves lie on this sphere?
Separate each curve into its component functions: \(x\), \(y\), and \(z\), and see if the equation
defining the surface is valid for all \(t\).