Vector Functions
Outline
- 1Vector functions and space curves
- 2Curves of intersection, collisions
- 3Derivatives and tangent lines
- 4Differentiation rules
- 5Integrals
- 6Exercises
Vector functions and space curves
A vector function assigns a vector $\mathbf r(t)$ to each number $t$ in its domain.
$f$, $g$, $h$ are ordinary functions of $t$, the component functions of $\mathbf r$.
Space curve
Draw $\mathbf r(t)$ from the origin. As $t$ varies, its tip traces a curve $C$ with parametric equations
Drag to rotate · double-click to reset
Domain, limits, and continuity
All three are found one component at a time.
Domain
The domain of $\mathbf r$ is the set of $t$ where every component is defined.
$t^3$ is defined for all $t$, $\ln(3-t)$ needs $t<3$, and $\sqrt t$ needs $t\ge0$.
Limits and continuity
$\mathbf r$ is continuous at $a$ when $\lim_{t\to a}\mathbf r(t)=\mathbf r(a)$, that is, when every component is continuous at $a$.
Identifying a space curve
Find a surface that contains the curve, then see how the remaining coordinate changes.
- Eliminate $t$. Find an equation in $x,y,z$ that holds for every $t$. The curve lies on that surface.
- Check the remaining coordinate. Does it increase, oscillate, or grow without bound?
- Project. Dropping one coordinate gives the projection onto a coordinate plane.
Example: the helix $\mathbf r(t)=\langle\cos t,\ \sin t,\ t\rangle$
The helix lies on the cylinder $x^2+y^2=1$. Its projection onto the $xy$-plane goes around the unit circle while $z=t$ increases, so the curve spirals upward.
Drag to rotate · double-click to reset
Curve of intersection of two surfaces
A point on the curve satisfies both equations.
- Get an equation in two variables (substitute if needed).
- Parametrize it: a circle gives $\cos t$, $\sin t$; otherwise try $x=t$.
- Use the other equation for the third variable.
Example: the cylinder $x^2+y^2=1$ and the plane $y+z=2$
- Already in $x$ and $y$: $\;x^2+y^2=1$.
- Unit circle: $x=\cos t$, $y=\sin t$.
- The plane: $z=2-y=2-\sin t$.
Example: the paraboloid $4y=x^2+z^2$ and the plane $y=x$
- Substitute $y=x$: $\;4x=x^2+z^2$, so $(x-2)^2+z^2=4$.
- Circle of radius $2$: $\;x=2+2\cos t$, $z=2\sin t$.
- The plane: $y=x$. So $\mathbf r(t)=\langle 2+2\cos t,\ 2+2\cos t,\ 2\sin t\rangle$.
Drag to rotate · double-click to reset
Collisions and intersections
Two particles collide only if they are at the same point at the same time.
- Collide?
- Solve $\mathbf r_1(t)=\mathbf r_2(t)$, with the same $t$ on both sides.
- Paths intersect?
- Solve $\mathbf r_1(t)=\mathbf r_2(s)$, with a separate parameter for each curve.
Example: a collision
$\mathbf r_1(t)=\langle t^2,\ 7t-12,\ t^2\rangle$, $\;\mathbf r_2(t)=\langle 4t-3,\ t^2,\ 5t-6\rangle$, $t\ge0$. Solve each component equation:
Only $t=3$ solves all three: the particles collide at $(9,9,9)$.
Example: the paths cross, but no collision
$\mathbf r_1(t)=\langle t,\ t^2,\ t^3\rangle$, $\;\mathbf r_2(t)=\langle 1+2t,\ 1+6t,\ 1+14t\rangle$. Both paths pass through two points, but at different times, so the particles never meet:
| Point | Particle 1 is there at | Particle 2 is there at |
|---|---|---|
| $(1,1,1)$ | $t=1$ | $t=0$ |
| $(2,4,8)$ | $t=2$ | $t=\tfrac12$ |
Drag to rotate · double-click to reset
The derivative is a tangent vector
Same definition as in one-variable calculus, but the difference quotient is a vector.
$\mathbf r(t+h)-\mathbf r(t)$ is the secant vector $\overrightarrow{PQ}$. As $h\to0$, the quotient approaches a vector along the tangent line at $P$: the tangent vector $\mathbf r'(t)$, provided it is not $\mathbf 0$.
Compute it component by component
$\mathbf T$ is the unit tangent vector: the direction of $\mathbf r'(t)$, with length $1$.
Example
Drag to rotate · double-click to reset
Tangent line to a space curve
The tangent line at $P=\mathbf r(t_0)$ passes through $P$ in the direction $\mathbf r'(t_0)$.
- Find $t_0$ from $\mathbf r(t_0)=P$: solve one component, then check the others.
- Compute $\mathbf r'(t_0)$.
- Write the line with a new parameter $s$: $\;\mathbf L(s)=\mathbf r(t_0)+s\,\mathbf r'(t_0)$.
Example
- $$z=t\ \Longrightarrow\ t_0=\frac\pi2\qquad\Big(x=2\cos\frac\pi2=0\ \checkmark,\quad y=\sin\frac\pi2=1\ \checkmark\Big)$$
- $$\mathbf r'(t)=\langle-2\sin t,\ \cos t,\ 1\rangle\ \Longrightarrow\ \mathbf r'\Big(\frac\pi2\Big)=\langle-2,\ 0,\ 1\rangle$$
- $$\begin{aligned}\mathbf L(s)&=\Big\langle0,\ 1,\ \frac\pi2\Big\rangle+s\,\langle-2,\ 0,\ 1\rangle\\&=\Big\langle-2s,\ 1,\ \frac\pi2+s\Big\rangle\end{aligned}$$
Drag to rotate · double-click to reset
Differentiation rules
For differentiable vector functions $\mathbf u,\mathbf v$, a constant $c$, and a real function $f$:
| Sum, constant | $(\mathbf u+\mathbf v)'=\mathbf u'+\mathbf v',\qquad (c\,\mathbf u)'=c\,\mathbf u'$ |
| Scalar function | $(f\,\mathbf u)'=f'\,\mathbf u+f\,\mathbf u'$ |
| Dot product | $(\mathbf u\cdot\mathbf v)'=\mathbf u'\cdot\mathbf v+\mathbf u\cdot\mathbf v'\quad$ (a scalar) |
| Cross product | $(\mathbf u\times\mathbf v)'=\mathbf u'\times\mathbf v+\mathbf u\times\mathbf v'\quad$ (keep the order) |
| Chain rule | $\dfrac{d}{dt}\,\mathbf u\big(f(t)\big)=f'(t)\,\mathbf u'\big(f(t)\big)$ |
If $|\mathbf r(t)|$ is constant, then $\mathbf r'(t)\perp\mathbf r(t)$
Differentiate $\mathbf r\cdot\mathbf r=|\mathbf r|^2=c^2$ with the dot product rule:
So for a curve on a sphere centered at the origin, the tangent vector is perpendicular to the position vector.
Drag to rotate · double-click to reset
Integrals of vector functions
Integrate each component. The Fundamental Theorem of Calculus still holds, with $\mathbf R'=\mathbf r$.
Example
Example: find $\mathbf r(t)$ from $\mathbf r'(t)$ and one value
- $$\mathbf r(t)=\Big\langle t^2,\ t^3,\ \frac23t^{3/2}\Big\rangle+\mathbf C$$
- $$t=1:\ \ \Big\langle1,\ 1,\ \frac23\Big\rangle+\mathbf C=\langle1,\ 1,\ 0\rangle\ \Longrightarrow\ \mathbf C=\Big\langle0,\ 0,\ -\frac23\Big\rangle$$
Drag to rotate · double-click to reset
Practice: a curve of intersection
The quiz topics: parametrize an intersection curve, find its unit tangent vector and tangent line, and evaluate a vector integral.
Exercise · A curve on a cylinder
The cylinder $x^2+y^2=4$ and the surface $z=xy$ meet in a curve $C$.
- Find a vector function $\mathbf r(t)$, $0\le t\le2\pi$, that represents $C$, using $x=2\cos t$ and $y=2\sin t$.
- Find the unit tangent vector $\mathbf T$ at the point $(0,2,0)$.
- Find parametric equations for the tangent line to $C$ at $(0,2,0)$.
- Evaluate $\displaystyle\int_0^{\pi/2}\mathbf r(t)\,dt$.
Solution: a curve on a cylinder
Cylinder $x^2+y^2=4$, surface $z=xy$, point $P(0,2,0)$.
(a) The cylinder gives $x=2\cos t$, $y=2\sin t$, and the surface gives $z$:
(b) Find $t_0$: $\;2\cos t=0$ and $2\sin t=2$ give $t_0=\tfrac\pi2$. Check: $z=2\sin\pi=0$.
(c) Through $(0,2,0)$ in the direction $\mathbf r'\big(\tfrac\pi2\big)=\langle-2,0,-4\rangle$:
(d) Integrate each component from $0$ to $\tfrac\pi2$:
Drag to rotate · double-click to reset
Summary: what to find, and how
Work one component at a time. Tangent vectors give tangent lines and angles between curves.
| Goal | Method |
|---|---|
| Domain, limit, continuity | Work with each component; the domain is where all components are defined |
| Identify a space curve | Eliminate $t$ to find a surface that contains it (e.g. $x^2+y^2=1$), then check the remaining coordinate |
| Curve of intersection | Get an equation in two variables, parametrize it (a circle gives $a\cos t$, $a\sin t$), then use the other equation for the third variable |
| Collision vs. intersection | Collision: $\mathbf r_1(t)=\mathbf r_2(t)$. Intersection: $\mathbf r_1(t)=\mathbf r_2(s)$ |
| Tangent vector, unit tangent | $\mathbf r'(t)=\langle f',g',h'\rangle$, $\quad\mathbf T(t)=\dfrac{\mathbf r'(t)}{|\mathbf r'(t)|}$ |
| Tangent line at $\mathbf r(t_0)$ | $\mathbf L(s)=\mathbf r(t_0)+s\,\mathbf r'(t_0)$; find $t_0$ from the point first |
| Angle between two curves | Angle between the tangent vectors at the crossing point: $\cos\theta=\dfrac{\mathbf r_1'\cdot\mathbf r_2'}{|\mathbf r_1'|\,|\mathbf r_2'|}$ |
| $|\mathbf r(t)|$ constant | $\mathbf r(t)\cdot\mathbf r'(t)=0$: the tangent is perpendicular to the position vector |
| Integrals | Integrate each component: $\displaystyle\int_a^b\mathbf r\,dt=\mathbf R(b)-\mathbf R(a)$; an indefinite integral adds a constant vector $\mathbf C$ |