Unit 2, lesson 9

Derivatives and Integrals of Vector Functions

How to differentiate and integrate vector functions one component at a time, what the tangent vector and unit tangent of a regular curve are, and how the dot and cross product rules work.

  • Theory part 17
  • Practice part 18
  • Curves and Their Calculus

Watch a moving point for a short time Δt\Delta t and draw the arrow from where it was to where it is now. Divide that arrow by Δt\Delta t and you have its average velocity as a vector. As Δt\Delta t shrinks, the arrow turns into the direction the point is heading at that instant. That limit is the derivative of a vector function, and it gives tangent lines to space curves the same way the ordinary derivative gave tangent lines to graphs.

Key terms

Componentwise differentiation and integration

Definition Let r\mathbf{r} be defined on an open interval containing tt. The derivative of r\mathbf{r} at tt is

r′(t)=lim⁡h→0r(t+h)−r(t)h,\mathbf{r}'(t) = \lim_{h \to 0} \frac{\mathbf{r}(t + h) - \mathbf{r}(t)}{h},

if this limit exists. Here hh is the small change in the parameter, the Δt\Delta t of the opening picture, and tt stays fixed while h→0h \to 0. At an endpoint of a closed interval the limit is one-sided. Because vector limits are taken componentwise, if r=⟨x,y,z⟩\mathbf{r} = \langle x, y, z \rangle then r′(t)\mathbf{r}'(t) exists if and only if x′(t)x'(t), y′(t)y'(t) and z′(t)z'(t) all exist, and then r′(t)=⟨x′(t),y′(t),z′(t)⟩\mathbf{r}'(t) = \langle x'(t), y'(t), z'(t) \rangle. Similarly, if xx, yy and zz are integrable on [a,b][a, b] (for example continuous), then

∫abr(t) dt=⟨∫abx(t) dt,  ∫aby(t) dt,∫abz(t) dt⟩.\begin{aligned} &\int_a^b \mathbf{r}(t)\,dt \\[0.4em] &\quad = \Big\langle \int_a^b x(t)\,dt, \; \int_a^b y(t)\,dt, \\[0.4em] &\qquad\quad \int_a^b z(t)\,dt \Big\rangle. \end{aligned}

In plain words Do the calculus you already know to each coordinate separately, then put the results back together.

Example For r(t)=⟨t2,e2t,sin⁡(πt)⟩\mathbf{r}(t) = \langle t^2, e^{2t}, \sin(\pi t) \rangle,

r′(t)=⟨2t,  2e2t,  πcos⁡(πt)⟩\mathbf{r}'(t) = \langle 2t, \; 2e^{2t}, \; \pi\cos(\pi t) \rangle

and

∫01r(t) dt=⟨13,  e2−12,  2π⟩.\int_0^1 \mathbf{r}(t)\,dt = \Big\langle \frac{1}{3}, \; \frac{e^2 - 1}{2}, \; \frac{2}{\pi} \Big\rangle.

Tangent vector

Definition Let r\mathbf{r} parametrize a curve CC. If r′(t0)\mathbf{r}'(t_0) exists and r′(t0)≠0\mathbf{r}'(t_0) \ne \mathbf{0}, then r′(t0)\mathbf{r}'(t_0) is a tangent vector to CC at the point r(t0)\mathbf{r}(t_0), pointing in the direction of the orientation. The tangent line to CC at that point is

L(s)=r(t0)+s r′(t0),s∈R.\mathbf{L}(s) = \mathbf{r}(t_0) + s\,\mathbf{r}'(t_0), \qquad s \in \mathbb{R}.

If r\mathbf{r} is position and tt is time, r′(t)\mathbf{r}'(t) is the velocity vector.

In plain words The derivative is an arrow that sits at the point and points along the curve, the way you are moving.

Example On the twisted cubic r(t)=⟨t,t2,t3⟩\mathbf{r}(t) = \langle t, t^2, t^3 \rangle, the derivative is r′(t)=⟨1,2t,3t2⟩\mathbf{r}'(t) = \langle 1, 2t, 3t^2 \rangle. At t=1t = 1 the point is (1,1,1)(1, 1, 1) and the tangent vector is ⟨1,2,3⟩\langle 1, 2, 3 \rangle, so the tangent line is

L(s)=⟨1+s,  1+2s,  1+3s⟩.\mathbf{L}(s) = \langle 1 + s, \; 1 + 2s, \; 1 + 3s \rangle.

Regular curves

Definition A parametrization r\mathbf{r} on an interval II is regular if it satisfies both of these conditions.

  1. It is continuously differentiable, written C1C^1, on II. That is, r′(t)\mathbf{r}'(t) exists at every tt in II, one-sided at an endpoint that belongs to II, and r′\mathbf{r}' is continuous on II.
  2. Its derivative never vanishes, so r′(t)≠0\mathbf{r}'(t) \ne \mathbf{0} for every tt in II.

In this course the words smooth and regular mean exactly the same thing, a C1C^1 parametrization with nonvanishing derivative. Some books call any C1C^1 parametrization smooth, so check the definition a source uses. A curve is regular, or smooth, if it has a regular parametrization. A point where r′(t)=0\mathbf{r}'(t) = \mathbf{0} is called a singular point of the parametrization, and there the derivative gives no tangent direction.

In plain words A regular parametrization never stops, so it always has a well defined direction of travel. When the velocity drops to zero, the curve may have a sharp corner or cusp, or the point may simply have paused.

Example The plane curve r(t)=⟨t3,t2⟩\mathbf{r}(t) = \langle t^3, t^2 \rangle has r′(t)=⟨3t2,2t⟩\mathbf{r}'(t) = \langle 3t^2, 2t \rangle, which is 0\mathbf{0} only at t=0t = 0. The curve is y=x2/3y = x^{2/3}, which has a cusp at the origin. On the other hand, ⟨t3,t3⟩\langle t^3, t^3 \rangle also has zero velocity at t=0t = 0, yet its trace is the straight line y=xy = x, which is regular when parametrized as ⟨t,t⟩\langle t, t \rangle. A zero derivative is a warning, not a proof of a corner.

Unit tangent

Definition At a point where r′(t)\mathbf{r}'(t) exists and is not 0\mathbf{0}, the unit tangent vector is

T(t)=r′(t)∣r′(t)∣.\mathbf{T}(t) = \frac{\mathbf{r}'(t)}{\lvert \mathbf{r}'(t) \rvert}.

It has length 1 and points in the direction of increasing tt. For a regular parametrization it is defined and continuous on the whole interval. Reversing the orientation replaces T\mathbf{T} by −T-\mathbf{T} at each point.

In plain words Keep the direction of the velocity and throw away its size.

Example For the helix r(t)=⟨2cos⁡t,2sin⁡t,t⟩\mathbf{r}(t) = \langle 2\cos t, 2\sin t, t \rangle, the velocity is r′(t)=⟨−2sin⁡t,2cos⁡t,1⟩\mathbf{r}'(t) = \langle -2\sin t, 2\cos t, 1 \rangle with length 4sin⁡2t+4cos⁡2t+1=5\sqrt{4\sin^2 t + 4\cos^2 t + 1} = \sqrt{5}. So

T(t)=15⟨−2sin⁡t,  2cos⁡t,  1⟩,\mathbf{T}(t) = \frac{1}{\sqrt{5}} \langle -2\sin t, \; 2\cos t, \; 1 \rangle,

and at t=0t = 0 it equals 15⟨0,2,1⟩\frac{1}{\sqrt{5}} \langle 0, 2, 1 \rangle.

Product rules for dot and cross products

Definition Let u\mathbf{u} and v\mathbf{v} be vector functions and ff a real function, all differentiable at tt. Then

(fu)′=f′u+fu′,(u⋅v)′=u′⋅v+u⋅v′,(u×v)′=u′×v+u×v′,\begin{aligned} (f\mathbf{u})' &= f'\mathbf{u} + f\mathbf{u}', \\[0.4em] (\mathbf{u} \cdot \mathbf{v})' &= \mathbf{u}' \cdot \mathbf{v} + \mathbf{u} \cdot \mathbf{v}', \\[0.4em] (\mathbf{u} \times \mathbf{v})' &= \mathbf{u}' \times \mathbf{v} + \mathbf{u} \times \mathbf{v}', \end{aligned}

all evaluated at tt. In the cross product rule the order of the factors must be kept, since a×b=−b×a\mathbf{a} \times \mathbf{b} = -\mathbf{b} \times \mathbf{a}. The chain rule also holds. If ff is differentiable at ss and u\mathbf{u} is differentiable at f(s)f(s), then ddsu(f(s))=f′(s) u′(f(s))\frac{d}{ds}\mathbf{u}(f(s)) = f'(s)\,\mathbf{u}'(f(s)). A useful consequence is that if ∣r(t)∣\lvert \mathbf{r}(t) \rvert is constant on an interval and r\mathbf{r} is differentiable there, then differentiating r⋅r\mathbf{r} \cdot \mathbf{r} gives 2 r⋅r′=02\,\mathbf{r} \cdot \mathbf{r}' = 0, so r′(t)\mathbf{r}'(t) is perpendicular to r(t)\mathbf{r}(t).

In plain words The usual product rule works for every kind of product, as long as the cross product keeps each factor on its own side.

Example Let u(t)=⟨t,1,t2⟩\mathbf{u}(t) = \langle t, 1, t^2 \rangle and v(t)=⟨1,t,0⟩\mathbf{v}(t) = \langle 1, t, 0 \rangle. Directly,

u×v=⟨−t3,  t2,  t2−1⟩,\mathbf{u} \times \mathbf{v} = \langle -t^3, \; t^2, \; t^2 - 1 \rangle,

whose derivative at t=1t = 1 is ⟨−3,2,2⟩\langle -3, 2, 2 \rangle. With the rule, at t=1t = 1 we have u=⟨1,1,1⟩\mathbf{u} = \langle 1, 1, 1 \rangle, u′=⟨1,0,2⟩\mathbf{u}' = \langle 1, 0, 2 \rangle, v=⟨1,1,0⟩\mathbf{v} = \langle 1, 1, 0 \rangle and v′=⟨0,1,0⟩\mathbf{v}' = \langle 0, 1, 0 \rangle, so

u′×v+u×v′=⟨−2,2,1⟩+⟨−1,0,1⟩=⟨−3,2,2⟩.\begin{aligned} &\mathbf{u}' \times \mathbf{v} + \mathbf{u} \times \mathbf{v}' \\[0.4em] &\quad = \langle -2, 2, 1 \rangle + \langle -1, 0, 1 \rangle \\[0.4em] &\quad = \langle -3, 2, 2 \rangle. \end{aligned}

The dot product rule checks just as easily. Here u⋅v=2t\mathbf{u} \cdot \mathbf{v} = 2t, with derivative 22, and at t=1t = 1 the rule gives

⟨1,0,2⟩⋅⟨1,1,0⟩+⟨1,1,1⟩⋅⟨0,1,0⟩=1+1=2.\begin{aligned} &\langle 1, 0, 2 \rangle \cdot \langle 1, 1, 0 \rangle \\[0.4em] &\quad + \langle 1, 1, 1 \rangle \cdot \langle 0, 1, 0 \rangle \\[0.4em] &\quad = 1 + 1 = 2. \end{aligned}

Vector antiderivative

Definition A vector function R\mathbf{R} is an antiderivative of r\mathbf{r} on an interval II if R′(t)=r(t)\mathbf{R}'(t) = \mathbf{r}(t) for every tt in II. Any two antiderivatives of r\mathbf{r} on the same interval differ by a constant vector C\mathbf{C}, so the indefinite integral is ∫r(t) dt=R(t)+C\int \mathbf{r}(t)\,dt = \mathbf{R}(t) + \mathbf{C}. If r\mathbf{r} is continuous on [a,b][a, b] and R\mathbf{R} is an antiderivative of r\mathbf{r} on [a,b][a, b], the fundamental theorem of calculus applied to each component gives

∫abr(t) dt=R(b)−R(a).\int_a^b \mathbf{r}(t)\,dt = \mathbf{R}(b) - \mathbf{R}(a).

An initial condition r(t0)=r0\mathbf{r}(t_0) = \mathbf{r}_0 at a point of the interval fixes C\mathbf{C}, one constant for each component.

In plain words Undo the derivative in each coordinate, and add one unknown constant vector. A starting position pins it down.

Example Find r\mathbf{r} on R\mathbb{R} with r′(t)=⟨2t,cos⁡t,e−t⟩\mathbf{r}'(t) = \langle 2t, \cos t, e^{-t} \rangle and r(0)=⟨1,0,2⟩\mathbf{r}(0) = \langle 1, 0, 2 \rangle. Antidifferentiating gives

r(t)=⟨t2,  sin⁡t,  −e−t⟩+C.\mathbf{r}(t) = \langle t^2, \; \sin t, \; -e^{-t} \rangle + \mathbf{C}.

At t=0t = 0 this is ⟨0,0,−1⟩+C=⟨1,0,2⟩\langle 0, 0, -1 \rangle + \mathbf{C} = \langle 1, 0, 2 \rangle, so C=⟨1,0,3⟩\mathbf{C} = \langle 1, 0, 3 \rangle and

r(t)=⟨t2+1,  sin⁡t,  3−e−t⟩.\mathbf{r}(t) = \langle t^2 + 1, \; \sin t, \; 3 - e^{-t} \rangle.

Check yourself

  1. Find the tangent line to r(t)=⟨et, tet, t2⟩\mathbf{r}(t) = \langle e^t, \, t e^t, \, t^2 \rangle at t=0t = 0.
Show the answer

The derivative is r′(t)=⟨et,(1+t)et,2t⟩\mathbf{r}'(t) = \langle e^t, (1 + t)e^t, 2t \rangle, so r′(0)=⟨1,1,0⟩\mathbf{r}'(0) = \langle 1, 1, 0 \rangle, which is not zero. The point is r(0)=⟨1,0,0⟩\mathbf{r}(0) = \langle 1, 0, 0 \rangle, and the tangent line is L(s)=⟨1+s,s,0⟩\mathbf{L}(s) = \langle 1 + s, s, 0 \rangle.

  1. A ball has acceleration r′′(t)=⟨0,0,−10⟩\mathbf{r}''(t) = \langle 0, 0, -10 \rangle, initial velocity r′(0)=⟨3,2,4⟩\mathbf{r}'(0) = \langle 3, 2, 4 \rangle and initial position r(0)=⟨0,0,1⟩\mathbf{r}(0) = \langle 0, 0, 1 \rangle. Find r(t)\mathbf{r}(t).
Show the answer

One antiderivative and the initial velocity give r′(t)=⟨3,2,4−10t⟩\mathbf{r}'(t) = \langle 3, 2, 4 - 10t \rangle. A second one and the initial position give

r(t)=⟨3t,  2t,  1+4t−5t2⟩.\mathbf{r}(t) = \langle 3t, \; 2t, \; 1 + 4t - 5t^2 \rangle.
  1. Where does r(t)=⟨t2−2t, t3−3t, 0⟩\mathbf{r}(t) = \langle t^2 - 2t, \, t^3 - 3t, \, 0 \rangle fail to be regular?
Show the answer

The derivative is r′(t)=⟨2t−2,3t2−3,0⟩\mathbf{r}'(t) = \langle 2t - 2, 3t^2 - 3, 0 \rangle. The first two entries vanish together only at t=1t = 1, so the parametrization is regular on any interval that avoids t=1t = 1 and has a singular point at t=1t = 1, the point (−1,−2,0)(-1, -2, 0).

How this lesson connects

It also uses Scalar derivatives and integrals, vector functions, dot and cross products, basic limits.