← M408M Week 8: Vector Functions
M408M · Week 8 Stewart §13.1–13.2

Vector Functions

Outline

  1. 1Vector functions and space curves
  2. 2Curves of intersection, collisions
  3. 3Derivatives and tangent lines
  4. 4Differentiation rules
  5. 5Integrals
  6. 6Exercises
§13.1 · Vector functions

Vector functions and space curves

A vector function assigns a vector $\mathbf r(t)$ to each number $t$ in its domain.

$$\mathbf r(t)=\langle f(t),\,g(t),\,h(t)\rangle=f(t)\,\mathbf i+g(t)\,\mathbf j+h(t)\,\mathbf k$$

$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

$$x=f(t),\qquad y=g(t),\qquad z=h(t)$$

Drag to rotate · double-click to reset

§13.1 · Vector functions

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.

$$\mathbf r(t)=\big\langle t^3,\ \ln(3-t),\ \sqrt t\,\big\rangle$$

$t^3$ is defined for all $t$, $\ln(3-t)$ needs $t<3$, and $\sqrt t$ needs $t\ge0$.

$$\text{Domain: }[0,3)$$

Limits and continuity

$$\lim_{t\to a}\mathbf r(t)=\Big\langle\lim_{t\to a}f(t),\ \lim_{t\to a}g(t),\ \lim_{t\to a}h(t)\Big\rangle$$
$$\lim_{t\to0}\Big\langle 1+t^3,\ te^{-t},\ \frac{\sin t}{t}\Big\rangle=\langle1,\ 0,\ 1\rangle$$

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

§13.1 · Space curves

Identifying a space curve

Find a surface that contains the curve, then see how the remaining coordinate changes.

  1. Eliminate $t$. Find an equation in $x,y,z$ that holds for every $t$. The curve lies on that surface.
  2. Check the remaining coordinate. Does it increase, oscillate, or grow without bound?
  3. Project. Dropping one coordinate gives the projection onto a coordinate plane.

Example: the helix $\mathbf r(t)=\langle\cos t,\ \sin t,\ t\rangle$

$$x^2+y^2=\cos^2t+\sin^2t=1$$

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.

Parametrizations are not unique. $\langle\cos 2t,\ \sin 2t,\ 2t\rangle$ traces the same helix twice as fast.

Drag to rotate · double-click to reset

§13.1 · Curves of intersection

Curve of intersection of two surfaces

A point on the curve satisfies both equations.

  1. Get an equation in two variables (substitute if needed).
  2. Parametrize it: a circle gives $\cos t$, $\sin t$; otherwise try $x=t$.
  3. Use the other equation for the third variable.

Example: the cylinder $x^2+y^2=1$ and the plane $y+z=2$

  1. Already in $x$ and $y$: $\;x^2+y^2=1$.
  2. Unit circle: $x=\cos t$, $y=\sin t$.
  3. The plane: $z=2-y=2-\sin t$.
$$\mathbf r(t)=\langle\cos t,\ \sin t,\ 2-\sin t\rangle,\qquad 0\le t\le2\pi$$

Example: the paraboloid $4y=x^2+z^2$ and the plane $y=x$

  1. Substitute $y=x$: $\;4x=x^2+z^2$, so $(x-2)^2+z^2=4$.
  2. Circle of radius $2$: $\;x=2+2\cos t$, $z=2\sin t$.
  3. 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

§13.1 · Collisions

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:

$$\begin{aligned}t^2&=4t-3 &&\Longrightarrow\ t=1\ \text{or}\ 3\\ 7t-12&=t^2 &&\Longrightarrow\ t=3\ \text{or}\ 4\\ t^2&=5t-6 &&\Longrightarrow\ t=2\ \text{or}\ 3\end{aligned}$$

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:

PointParticle 1 is there atParticle 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

§13.2 · Derivatives

The derivative is a tangent vector

Same definition as in one-variable calculus, but the difference quotient is a vector.

$$\mathbf r'(t)=\frac{d\mathbf r}{dt}=\lim_{h\to0}\frac{\mathbf r(t+h)-\mathbf r(t)}{h}$$

$\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 r'(t)=\langle f'(t),\ g'(t),\ h'(t)\rangle\qquad\quad \mathbf T(t)=\frac{\mathbf r'(t)}{|\mathbf r'(t)|}$$

$\mathbf T$ is the unit tangent vector: the direction of $\mathbf r'(t)$, with length $1$.

Example

$$\begin{aligned}\mathbf r(t)&=\langle1+t^3,\ te^{-t},\ \sin2t\rangle\\ \mathbf r'(t)&=\langle3t^2,\ (1-t)e^{-t},\ 2\cos2t\rangle\\ \mathbf r'(0)&=\langle0,\ 1,\ 2\rangle,\qquad|\mathbf r'(0)|=\sqrt5\\ \mathbf T(0)&=\Big\langle0,\ \tfrac1{\sqrt5},\ \tfrac2{\sqrt5}\Big\rangle\end{aligned}$$

Drag to rotate · double-click to reset

§13.2 · Tangent lines

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

  1. Find $t_0$ from $\mathbf r(t_0)=P$: solve one component, then check the others.
  2. Compute $\mathbf r'(t_0)$.
  3. Write the line with a new parameter $s$: $\;\mathbf L(s)=\mathbf r(t_0)+s\,\mathbf r'(t_0)$.

Example

$$x=2\cos t,\quad y=\sin t,\quad z=t,\qquad P=\Big(0,\ 1,\ \frac\pi2\Big)$$
  1. $$z=t\ \Longrightarrow\ t_0=\frac\pi2\qquad\Big(x=2\cos\frac\pi2=0\ \checkmark,\quad y=\sin\frac\pi2=1\ \checkmark\Big)$$
  2. $$\mathbf r'(t)=\langle-2\sin t,\ \cos t,\ 1\rangle\ \Longrightarrow\ \mathbf r'\Big(\frac\pi2\Big)=\langle-2,\ 0,\ 1\rangle$$
  3. $$\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}$$
$$x=-2s,\qquad y=1,\qquad z=\frac\pi2+s$$

Drag to rotate · double-click to reset

§13.2 · Differentiation rules

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:

$$0=\mathbf r'\cdot\mathbf r+\mathbf r\cdot\mathbf r'=2\,\mathbf r\cdot\mathbf r'$$

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

§13.2 · Integrals

Integrals of vector functions

Integrate each component. The Fundamental Theorem of Calculus still holds, with $\mathbf R'=\mathbf r$.

$$\int_a^b\mathbf r(t)\,dt=\Big\langle\int_a^b f(t)\,dt,\ \int_a^b g(t)\,dt,\ \int_a^b h(t)\,dt\Big\rangle=\mathbf R(b)-\mathbf R(a)$$

Example

$$\int_0^{\pi/2}\langle2\cos t,\ \sin t,\ 2t\rangle\,dt=\langle2\sin t,\ -\cos t,\ t^2\rangle\Big|_0^{\pi/2}=\Big\langle2,\ 1,\ \frac{\pi^2}{4}\Big\rangle$$

Example: find $\mathbf r(t)$ from $\mathbf r'(t)$ and one value

$$\mathbf r'(t)=\langle 2t,\ 3t^2,\ \sqrt t\,\rangle,\qquad \mathbf r(1)=\langle1,\ 1,\ 0\rangle$$
  1. $$\mathbf r(t)=\Big\langle t^2,\ t^3,\ \frac23t^{3/2}\Big\rangle+\mathbf C$$
  2. $$t=1:\ \ \Big\langle1,\ 1,\ \frac23\Big\rangle+\mathbf C=\langle1,\ 1,\ 0\rangle\ \Longrightarrow\ \mathbf C=\Big\langle0,\ 0,\ -\frac23\Big\rangle$$
$$\mathbf r(t)=\Big\langle t^2,\ t^3,\ \frac23t^{3/2}-\frac23\Big\rangle$$

Drag to rotate · double-click to reset

Exercise

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

  1. 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$.
  2. Find the unit tangent vector $\mathbf T$ at the point $(0,2,0)$.
  3. Find parametric equations for the tangent line to $C$ at $(0,2,0)$.
  4. Evaluate $\displaystyle\int_0^{\pi/2}\mathbf r(t)\,dt$.
Solution

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

$$z=xy=4\sin t\cos t=2\sin2t$$
$$\mathbf r(t)=\langle 2\cos t,\ 2\sin t,\ 2\sin2t\rangle,\qquad 0\le t\le2\pi$$

(b) Find $t_0$: $\;2\cos t=0$ and $2\sin t=2$ give $t_0=\tfrac\pi2$. Check: $z=2\sin\pi=0$.

$$\mathbf r'(t)=\langle-2\sin t,\ 2\cos t,\ 4\cos2t\rangle,\qquad\mathbf r'\big(\tfrac\pi2\big)=\langle-2,\ 0,\ -4\rangle$$
$$\mathbf T\big(\tfrac\pi2\big)=\frac{\langle-2,0,-4\rangle}{\sqrt{4+0+16}}=\Big\langle-\frac1{\sqrt5},\ 0,\ -\frac2{\sqrt5}\Big\rangle$$

(c) Through $(0,2,0)$ in the direction $\mathbf r'\big(\tfrac\pi2\big)=\langle-2,0,-4\rangle$:

$$x=-2s,\qquad y=2,\qquad z=-4s$$

(d) Integrate each component from $0$ to $\tfrac\pi2$:

$$\int_0^{\pi/2}\mathbf r(t)\,dt=\Big[\langle 2\sin t,\ -2\cos t,\ -\cos2t\rangle\Big]_0^{\pi/2}=\langle 2,\ 2,\ 2\rangle$$

Drag to rotate · double-click to reset

§13.1–13.2 · Summary

Summary: what to find, and how

Work one component at a time. Tangent vectors give tangent lines and angles between curves.

GoalMethod
Domain, limit, continuityWork with each component; the domain is where all components are defined
Identify a space curveEliminate $t$ to find a surface that contains it (e.g. $x^2+y^2=1$), then check the remaining coordinate
Curve of intersectionGet 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. intersectionCollision: $\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 curvesAngle 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
IntegralsIntegrate each component: $\displaystyle\int_a^b\mathbf r\,dt=\mathbf R(b)-\mathbf R(a)$; an indefinite integral adds a constant vector $\mathbf C$