01 / 21

Vector-Valued Functions
& Derivatives

Learn how to define functions that output vectors, trace curves in space, and compute their derivatives component by component.

Calculus 2

What Is a Vector-Valued Function?

A vector-valued function takes a real number \( t \) as input and returns a vector as output. Instead of mapping \( t \mapsto y \), it maps \( t \mapsto \vec{r}(t) \).

Each component function \( f(t) \), \( g(t) \), \( h(t) \) is an ordinary real-valued function. Together, they trace out a curve in the plane or in space as \( t \) varies.

Tracing a Parametric Curve

Consider \( \vec{r}(t) = \langle \cos t, \sin t \rangle \). As \( t \) increases from \( 0 \) to \( 2\pi \), the tip of the vector traces a unit circle.

\(x\) \(y\) 1 -1 1 -1 \(t\) \( \vec{r}(t) \)

Why Vector Functions Matter

Physics
Position, velocity, and acceleration of a moving particle are all described by vector-valued functions of time.
Engineering
Designing roller coasters, flight paths, and robotic arm trajectories relies on parametric curves in 3D.
Multivariable Calculus
Vector functions form the foundation for line integrals, curvature, and differential geometry.

Domain and Continuity

The domain of \( \vec{r}(t) = \langle f(t), g(t) \rangle \) is the intersection of the domains of its component functions.

1
Find each component's domain. Identify restrictions: denominators \( \neq 0 \), radicands \( \geq 0 \), log arguments \( > 0 \).
2
Take the intersection. Only values of \( t \) that satisfy every component survive.
3
Continuity check: \( \vec{r}(t) \) is continuous at \( t = a \) if and only if every component function is continuous at \( t = a \).

The Derivative of \( \vec{r}(t) \)

The derivative of a vector-valued function is defined by the same limit as in single-variable calculus, but applied to vectors:

The powerful result: you simply differentiate each component separately.

Geometric Meaning of \( \vec{r}\,\'(t) \)

curve \( \vec{r}(t) \) \( \vec{r}\,\'(t) \) O
\( \vec{r}(t) \)
The position vector: points from the origin to the curve at time \( t \).
\( \vec{r}\,\'(t) \)
The tangent vector: points in the direction of motion, tangent to the curve.

Scalar vs Vector Derivatives

Scalar Function Vector-Valued Function
Input Real number \( t \) Real number \( t \)
Output A single number \( y \) A vector \( \langle x, y \rangle \) or \( \langle x, y, z \rangle \)
Derivative Slope of tangent line Tangent vector to the curve
Computation Standard rules on \( f(t) \) Differentiate each component separately
Result type A number A vector

Differentiation Rules for Vectors

1
Scalar multiple: \( \frac{d}{dt}[c\,\vec{r}(t)] = c\,\vec{r}\,\'(t) \)
2
Sum rule: \( \frac{d}{dt}[\vec{r}(t) + \vec{s}(t)] = \vec{r}\,\'(t) + \vec{s}\,\'(t) \)
3
Scalar function product: \( \frac{d}{dt}[f(t)\,\vec{r}(t)] = f'(t)\,\vec{r}(t) + f(t)\,\vec{r}\,\'(t) \)
4
Dot product: \( \frac{d}{dt}[\vec{r}(t) \cdot \vec{s}(t)] = \vec{r}\,\'(t) \cdot \vec{s}(t) + \vec{r}(t) \cdot \vec{s}\,\'(t) \)
5
Chain rule: \( \frac{d}{dt}[\vec{r}(g(t))] = g'(t)\,\vec{r}\,\'(g(t)) \)

How to Differentiate Step by Step

1
Write the components. Identify \( f(t) \), \( g(t) \), and (if 3D) \( h(t) \) from \( \vec{r}(t) = \langle f(t), g(t), h(t) \rangle \).
2
Differentiate each component using standard single-variable calculus rules (power, trig, chain, product, quotient).
3
Reassemble. Place the derivatives back into vector brackets: \( \vec{r}\,\'(t) = \langle f'(t), g'(t), h'(t) \rangle \).
4
Evaluate (if needed). Substitute the given value of \( t \) to get a specific tangent vector.

Example 1: Basic Derivative

Find \( \vec{r}\,\'(t) \) for \( \vec{r}(t) = \langle t^3, 2t, e^t \rangle \).

1
Components: \( f(t) = t^3 \), \( g(t) = 2t \), \( h(t) = e^t \)
2
Differentiate: \( f'(t) = 3t^2 \), \( g'(t) = 2 \), \( h'(t) = e^t \)
3
Reassemble: \( \vec{r}\,\'(t) = \langle 3t^2, 2, e^t \rangle \)

Example 2: Trigonometric Components

Find \( \vec{r}\,\'(t) \) for \( \vec{r}(t) = \langle \cos t, \sin t \rangle \) and evaluate at \( t = \frac{\pi}{4} \).

1
Differentiate: \( \frac{d}{dt}[\cos t] = -\sin t \), \( \frac{d}{dt}[\sin t] = \cos t \)
2
Result: \( \vec{r}\,\'(t) = \langle -\sin t, \cos t \rangle \)
3
Evaluate: \( \vec{r}\,\'\left(\frac{\pi}{4}\right) = \left\langle -\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2} \right\rangle \)
\( \vec{r}\,\'(t) \) \( t = \frac{\pi}{4} \)

Example 3: Product Rule in Action

Find \( \frac{d}{dt}\!\bigl[t^2\,\vec{r}(t)\bigr] \) where \( \vec{r}(t) = \langle \sin t, t \rangle \).

1
Apply scalar-vector product rule: \( \frac{d}{dt}[f(t)\,\vec{r}(t)] = f'(t)\,\vec{r}(t) + f(t)\,\vec{r}\,\'(t) \)
2
Identify parts: \( f(t) = t^2 \), so \( f'(t) = 2t \). And \( \vec{r}\,\'(t) = \langle \cos t, 1 \rangle \).
3
Combine: \( 2t\langle \sin t, t \rangle + t^2 \langle \cos t, 1 \rangle = \langle 2t\sin t + t^2\cos t, 2t^2 + t^2 \rangle \)
4
Simplify: \( = \langle 2t\sin t + t^2\cos t, 3t^2 \rangle \)

Velocity, Speed, and Acceleration

If \( \vec{r}(t) \) describes a particle's position, then its derivatives have clear physical interpretations:

Velocity
\( \vec{v}(t) = \vec{r}\,\'(t) \)
Direction and rate of motion
Speed
\( |\vec{v}(t)| = |\vec{r}\,\'(t)| \)
Magnitude of velocity (scalar)
Acceleration
\( \vec{a}(t) = \vec{r}\,\''\!(t) \)
Rate of change of velocity

Common Mistakes to Avoid

Mixing up speed and velocity
Velocity is a vector \( \vec{r}\,\'(t) \). Speed is the magnitude \( |\vec{r}\,\'(t)| \). They are different quantities.
Cross-contaminating components
When differentiating \( \langle f(t), g(t) \rangle \), each component is independent. Do not mix terms from \( f \) into \( g' \).
Forgetting the product rule
For \( f(t)\,\vec{r}(t) \), you cannot just differentiate \( \vec{r} \). You must apply the product rule: both pieces contribute.

Summary Cheat Sheet

Concept Formula Output
Vector function \( \vec{r}(t) = \langle f(t), g(t), h(t) \rangle \) Vector
Derivative \( \vec{r}\,\'(t) = \langle f'(t), g'(t), h'(t) \rangle \) Vector
Velocity \( \vec{v}(t) = \vec{r}\,\'(t) \) Vector
Speed \( |\vec{r}\,\'(t)| \) Scalar
Acceleration \( \vec{a}(t) = \vec{r}\,\''\!(t) \) Vector
Product rule \( \frac{d}{dt}[f\vec{r}] = f'\vec{r} + f\vec{r}' \) Vector

Question 1 of 5

Find \( \vec{r}\,\'(t) \) for \( \vec{r}(t) = \langle t^2, 3t, \ln t \rangle \).

Question 2 of 5

If \( \vec{r}(t) = \langle \sin t, \cos t, t \rangle \), what is the speed at any time \( t \)?

Question 3 of 5

Which differentiation rule is needed to find \( \frac{d}{dt}[e^t \, \vec{r}(t)] \)?

Question 4 of 5

For \( \vec{r}(t) = \langle t^2 - 1, t^3 \rangle \), find \( \vec{r}\,\'(1) \).

Question 5 of 5

If \( \vec{r}(t) = \langle \cos t, \sin t \rangle \) and \( \vec{r}(t) \cdot \vec{r}\,\'(t) = 0 \) for all \( t \), what does this tell us geometrically?