Main content

### Course: Multivariable calculus > Unit 2

Lesson 8: Differentiating vector-valued functions (articles)# Derivatives of vector-valued functions

How to compute, and more importantly how to interpret, the derivative of a function with a vector output.

## Background

## What we're building to

- To take the derivative of a vector-valued function, take the derivative of each component:

- If you interpret the initial function as giving the position of a particle as a function of time, the derivative gives the velocity vector of that particle as a function of time.

## The derivative of a vector-valued function

Good news! Computing the derivative of a vector-valued function is nothing really new. As such, I'll keep this article pretty short. The main new takeaway is interpreting the vector derivative.

## Dive in with an example

Let's start with a relatively simple vector-valued function $\overrightarrow{\mathbf{\text{s}}}(t)$ , with only two components,

To take the derivative of $\overrightarrow{\mathbf{\text{s}}}$ , just take the derivative of each component:

You might also write this derivative as ${\overrightarrow{\mathbf{\text{s}}}}^{\prime}(t)$ . This derivative is a new vector-valued function, with the same input $t$ that $\overrightarrow{\mathbf{\text{s}}}$ has, and whose output has the same number of dimensions.

More generally, if we write the components of $\overrightarrow{\mathbf{\text{s}}}$ as $x(t)$ and $y(t)$ , we write its derivative like this:

## Derivative gives a velocity vector.

For the example above, how can we visualize what the derivative means? First, to visualize

we note that the output has more dimensions than the input, so it is well-suited to be viewed as a parametric function.

Each point on the curve represents the tip of a vector $\left[\begin{array}{c}2\mathrm{sin}({t}_{0})\\ 2\mathrm{cos}({t}_{0}/3){t}_{0}\end{array}\right]$ for some specific number ${t}_{0}$ . For instance, when ${t}_{0}=2$ we draw a vector to the point

When we do this for all possible inputs $t$ , the tips of the vectors $\overrightarrow{\mathbf{\text{s}}}(t)$ will trace out a certain curve:

What do we get when we plug in some value of $t$ , perhaps $2$ again, to the derivative?

This is also some two-dimensional vector.

It's hard to see what this derivative vector represents when it just sits at the origin, but if we shift it so that its tail sits on the tip of the vector $\overrightarrow{\mathbf{\text{s}}}(2)$ , it has a wonderful interpretation:

**If** represents the position of a traveling particle as a function of time,$\overrightarrow{\mathbf{\text{s}}}(t)$ is the velocity vector of that particle at time$\frac{d\overrightarrow{\mathbf{\text{s}}}}{dt}}({t}_{0})$ .${t}_{0}$

In particular, this means the direction of the vector is tangent to the curve, and its magnitude indicates the speed at which one travels along this curve as $t$ increases at a constant rate (as time tends to do).

**Concept Check**: Suppose the position in two-dimensional space of a particle, as a function of time, is given by the function

## Summary

- To take the derivative of a vector-valued function, take the derivative of each component.
- If you interpret the initial function as giving the position of a particle as a function of time, the derivative gives the velocity vector of that particle as a function of time.

## Want to join the conversation?

- how do we prove that the velocity vector is perpendicular to the position vector using the dot product?(1 vote)
- In general, it is not necessarily true that the velocity vector is perpendicular to the position vector (for example, the particle could be traveling in a straight line through the origin). An additional assumption is needed, such as assuming that the position vector's magnitude is constant.

Assume that |r(t)| = c for some constant c. We need to show that r'(t) and r(t) are perpendicular, or equivalently r'(t) dot r(t) is zero.

Since the square of the magnitude of any vector is the dot product of the vector and itself, we have

r(t) dot r(t) = c^2.

We differentiate both sides with respect to t, using the analogue of the product rule for dot products:

[r'(t) dot r(t)] + [r(t) dot r'(t)] = 0.

Since dot product is commutative, it immediately follows that r'(t) dot r(t) is zero, so the velocity vector is perpendicular to the position vector assuming that the position vector's magnitude is constant.(12 votes)

- Why did we have to square and then take the radical sqrt(6^2 + 27^2) = 27.6? Couldn't we just sum the output 27 + 6 = 33?(0 votes)
- Just to clarify: Here it only talks about taking derivative relative to the same frame. If the derivative is being calculated relative to another moving frame, things are changed. ( https://en.wikipedia.org/wiki/Rotating_reference_frame )(2 votes)
- On the second prompted challenge, the speed of the particle at t = 3 must be root(9^2 + 27^2) and not 6^2 as the first term. Just wanted to point out for an edit!(0 votes)
- The derivative is 2*t and 2*3=6 so the article appears to be correct. Best wishes.(12 votes)