In this section we will review the concept of a vector-valued function, or more simply a vector function. These differ from scalar functions as the output of a vector function is a vector in \(\RR^n\) (where \(n \gt 2\)). We will typically denote vector functions using boldface letters or arrows like so: \(\vb{f}\) and \(\vec{f}\text{.}\)
SubsectionVisualizing Vector Functions
Let \(\vb{f}:\RR^n\to\RR^n\) be a vector function and assume \(n=2\) or \(n=3\text{.}\) Then \(\vb{f}\) may be visualized by using a vector field. We sketch the vector field by attaching the vector \(\vb{f}(P)\) to the point \(P\text{.}\) This is best done using technology.
Example3.2.1.Sketching a Vector Field.
Sketch the vector field for \(\vb{f}(x,y) = -y\vb{i} + x\vb{j}\) in \(\RR^2\text{.}\)
This can be done using the plot_vector_field command in Sage:
Sage can also create plots of vector fields in \(\RR^3\) using plot_vector_field3d:
You can interact with the plot above by zooming and rotating.
SubsectionVector Functions and Motion
Vector functions of the form \(\vb{r}:\RR\to\RR^n\) (where \(n = 2\) or \(n = 3\)) are often useful in representing motion. The single indepent variable is taken to be time \(t\text{,}\) and the dependent variables are position variables. Furthermore, it's straightforward to differentiate and integrate such functions. For example, if \(\vb{r}(t) = \smqty[x(t) & y(t)]\text{,}\) then
The usual relations from Calculus I between motion and derivatives and integrals apply here as well. In particular, the derivative of a position vector is a velocity vector and the derivative of a velocity vector is an acceleration vector. We also have the important notion of a unit tangent vector.
Definition3.2.2.Unit Tangent Vectors.
Let \(\vb{r}(t)\) be a smooth vector function. The unit tangent to \(\vb{r}(t)\) is the vector function
Let \(\rr(t) = \smqty[\cos(t) & -3\sin(t) & t]\) denote the position of some particle at time \(t\text{.}\) Find the velocity and the unit tangent at \(t = \frac{\pi}{4}\text{.}\)
which at \(t = \frac{\pi}{4}\) is \(\rrp(\frac{\pi}{4}) = \smqty[-\frac{\sqrt{2}}{2} & -\frac{3\sqrt{2}}{2} & 1]\text{.}\) The unit tangent at \(t = \frac{\pi}{4}\) is
Space curves (vector functions of the form \(\rr:\RR\to\RR^n\)) are easy to visualize in two and three dimensions, and can be graphed using Sage with parametric_plot (for space curves in \(\RR^2\)) or parametric_plot3d (for space curves in \(\RR^3\)):
SubsectionDerivatives of Vector Products
Derivative formulas involving inner products and cross products look very similar to the product rule from calculus. In particular, if \(\uu\) and \(\vv\) are differentiable space curves then the following formulas hold: