Section 1 Vector Functions: Curves and Trajectories
Vector functions take real numbers and return vectors
These vectors can be of any arbitrary dimension, but we are often interested in 3 dimensional vector functions:
In this expression 1 \(f(t)\text{,}\) \(g(t)\) and \(h(t)\) are real functions, \(f,g,h:\mathbb{R}\subset I \to \mathbb{R}\text{,}\) called the component functions of \(\vec{r}(t)\text{.}\)
Remark 1.1.
Vector functions are used to represent trajectories in space or curves.Example 1.2.
The vector function \(\vec{r}(t)=(5t+1,\ln(t^3),\sqrt{3-t})\) has three component functions:
The domain of \(\vec{r}\text{,}\) if not explicitly given, is the largest set in which all the component functions are defined, in this example it is \([0,3)\text{.}\)
Remark 1.3.
All the component funcions of \(\vec{r}(t)\) have to be defined for every point of its domain \(D\text{.}\) The domain, or part of it, may have be given explicitly when coding (when plotting, for example).Some of the most important concepts in Vector Calculus use the concept of limit, which we define componentwise 2 :
Definition 1.4.
For a vector function \(\vec{r}:I\to \mathbb{R}^3\text{,}\) \(\vec{r}(t)=(f(t),g(t),h(t))\text{,}\) we define the limit of \(\vec{r}(t)\) when \(t \) tends to \(a \in \overline{I}\) 3 as:
if the real functions have limits at \(a\text{.}\)
Example 1.5.
If \(\vec{r}(t)=(1+t^3)\vec{i} + te^{-t}\vec{j}+\frac{\sin(t)}{t}\vec{k}\) then
Remark 1.6.
Instead of defining everything from scratch for vector functions, we prefer to build upon the knowledge of single variable calculus. This might be an adequate viewpoint for who is interested in applications.Definition 1.7.
The vector function \(\vec{r}:I\to \mathbb{R}^3\text{,}\) is continuous at \(a \in I\) if, and only if:
Theorem 1.8.
The vector function \(\vec{r}:I\to \mathbb{R}^3\text{,}\) \(\vec{r}(t)=(f(t),g(t),h(t))\text{,}\) is continuous at \(a \in I\) if, and only if, \(f(t)\text{,}\) \(g(t)\) e \(h(t)\) are continuous at \(a\text{.}\)
Proof.
(\(\Longrightarrow\)) If \(\vec{r}\) is continuous at \(a\text{,}\) we have that
and \(f(t)\text{,}\) \(g(t)\) and \(h(t)\) are continuous at \(a\text{.}\)
(\(\Longleftarrow\)) If \(f(t)\text{,}\) \(g(t)\) and \(h(t)\) are continuous at \(a\text{,}\) we have that
and \(\vec{r}(t)\) is continuous at \(a\text{.}\)
Remark 1.9.
We will focus on continuous vector functions to represent curves and trajectories. We do this to avoid calling a bunch of erratic points a curve or a trajectory.Let \(I \subset \mathbb{R}\) be an interval. If \(\vec{r}:I \to \mathbb{R}^n\) (usually with \(n= 2\) or \(3\)) is continuous for all \(t \in I\) and is not constant, then the set
is called a space curve.
\(r(t) = (f(t),g(t), h(t))\) is a parametrization of \(C\text{;}\) \(t\) is the parameter and \(x=f(t)\text{,}\) \(y=g(t)\) e \(z=h(t)\) are the parametric equations of \(C\text{.}\)
Python code for plotting a plane curve given by a vector function \(\vec{r}:I \to \mathbb{R}^2\text{.}\)
Exercise 1.10.
Python code to crate an animation of a point moving accordingly to some vector function \(\vec{r}:[a,b] \to \mathbb{R}^2\text{.}\)
Exercise 1.11.
\(\vec{r}(t) = P + (Q-P)t\text{,}\) with \(t \in [0,4]\text{.}\)
\(\vec{r}(t) = P + (Q-P)t^2\text{,}\) with \(t \in [0,2]\text{.}\)
\(\vec{r}(t) = P + (Q-P)4\sin(t)\text{,}\) with \(t \in [0,\pi/2]\text{.}\)
Remark 1.12.
Each parametrized curve has infinitely many parametrizations, which correspond to the different velocities it can be traveled over.Python code for plotting a space curve given by a vector function \(\vec{r}:I \to \mathbb{R}^3\text{,}\) \(\vec{r}(t)=(x(t),y(t),z(t))\text{.}\)
Exercise 1.13.
\(\vec{r}(t) = (\sin (t), \cos (t), \cos (t))\text{,}\) with \(t \in [0,2\pi]\text{.}\)
\(\vec{r}(t) = (\sin (t^3), \cos (t^3), \cos (t^3))\text{,}\) with \(t \in [0,1.845]\text{.}\)
Change # Parameter t = np.linspace(0,6.283,100), # Dataset x = np.sin(t); y = np.cos(t); z = np.cos(t)
Change # Parameter t = np.linspace(0,1.845,100), # Dataset x = np.sin(t^3); y = np.cos(t^3); z = np.cos(t^3)