Skip to main content

Section 4.2 Derivatives of Vector Valued Functions

Suppose that \(\vect g\) is a function with domain \(D\subset\mathbb R^N\) and values in \(\mathbb R^k\text{.}\) We denote its component functions by \(g_i\text{,}\) \(i=1,\dots,k\) and define
\begin{equation*} \frac{\partial}{\partial x_j}\vect g(\vect x) = \frac{\partial}{\partial x_j} \begin{bmatrix} g_1(\vect x) \\ \vdots \\ g_k(\vect x) \end{bmatrix} := \begin{bmatrix} \frac{\partial}{\partial x_j}g_1(\vect x) \\ \vdots \\ \frac{\partial}{\partial x_j}g_k(\vect x) \end{bmatrix}\text{.} \end{equation*}
We call such a function a vector valued function.
If \(N=1\text{,}\) and the variable is \(t\in\mathbb R\) we set
\begin{equation*} \frac{d}{dt}\vect g(t) =\vect g'(t) =\frac{d}{dt} \begin{bmatrix} g_1(t) \\ \vdots \\ g_k(t) \end{bmatrix} := \begin{bmatrix} g_1'(t) \\ \vdots \\ g_k'(t) \end{bmatrix}\text{,} \end{equation*}
that is, we differentiate component-wise. We now want to derive an interpretation of \(\vect g'(t)\text{.}\) To do so it is useful to think of \(\vect g(t)\) to be the position of moving particle at time \(t\text{.}\) Then the difference coefficient
\begin{equation*} \frac{1}{\Delta t}\Bigl(\vect g(t+\Delta t)-\vect g(t)\Bigr) \end{equation*}
points in the direction of the line \(L\) shown in Figure 4.12. The magnitude of that vector is the approximate speed of the particle moving from \(\vect g(t)\) to \(\vect g(t+\Delta t)\text{.}\)
Figure 4.12. Secants approaching the tangent of a curve.
Passing to the limit we see that
\begin{equation*} \frac{1}{\Delta t}\Bigl(\vect g(t+\Delta t)-\vect g(t)\Bigr) = \begin{bmatrix} \frac{g_1(t+\Delta t)-g_1(t)}{\Delta t} \\ \vdots \\ \frac{g_k(t+\Delta t)-g_k(t)}{\Delta t} \end{bmatrix} \xrightarrow{\quad\Delta t\to 0\quad} \begin{bmatrix} g_1'(t) \\ \vdots \\ g_k'(t) \end{bmatrix}\text{.} \end{equation*}
Let us summarise what we found in the following proposition.

Remark 4.14. Speed and velocity of a particle.

If we consider \(\vect g(t)\) as the position of a particle at time \(t\text{,}\) then
\begin{equation*} \frac{\|\vect g(t+\Delta t)-\vect g(t)\|}{\Delta t} \end{equation*}
is the approximate speed of that particle travelling from \(\vect g(t)\) to \(\vect g(t+\Delta t)\text{.}\) Now (4.2) tells us that \(\|\vect{g}'(t)\|\) is very close to that speed. The direction in which the particle travels is the tangential direction given by \(\vect g'(t)\text{.}\) In other words, \(\vect g'(t)\) is the velocity of the particle at \(\vect g(t)\text{.}\) The distance travelled in a small time interval is therefore
\begin{equation*} \|\vect g(t+\Delta t)-\vect g(t)\| \approxeq\|\vect g'(t)\|\Delta t\text{.} \end{equation*}
Note that the above approximate equality holds no matter what \(k\) is.
We can also use the above to find a representation of the tangent line to a curve in space.
For vectors we have three different kinds of products: the multiplication by scalars and the scalar product in \(\mathbb R^N\) for general \(N\text{,}\) and the cross product in \(\mathbb R^3\text{.}\) We conclude this section by proving a ‘product rule’ for these products.

Proof.

The proof of all the above formulae are analogous to the classical product rule. As an example we give a proof of the first. By definition of the partial derivative we need to compute the limit of the difference quotient
\begin{equation*} D(t):=\frac{1}{t} \Bigl(u(\vect x+t\vect e_i)\vect f(\vect x+t\vect e_i) -u(\vect x)\vect f(\vect x)\Bigr) \end{equation*}
as \(t\to 0\text{,}\) where \(\vect e_i\) is the vector
\begin{equation*} \vect e_i:=(0,\dots,0,1,0,\dots,0)\text{,} \end{equation*}
where the \(1\) appears in the \(i\)-th coordinate
By adding and subtracting a term we can rewrite \(D(t)\) by
\begin{equation*} D(t)=\frac{1}{t} \Bigl(u(\vect x+t\vect e_i)-u(\vect x)\Bigr)\vect f(\vect x+t\vect e_i) +u(x)\frac{1}{t} \Bigl(\vect f(\vect x+t\vect e_i)-\vect f(\vect x)\Bigr)\text{.} \end{equation*}
Using the continuity of the functions and the definition of the partial derivatives we get from the above that
\begin{equation*} \lim_{t\to 0}D(t) =\Bigl(\frac{\partial u}{\partial x_i}(\vect x)\Bigr) \vect f(\vect x) +u(\vect x)\frac{\partial \vect f}{\partial x_i}(\vect x) \end{equation*}
as required.