We’ve defined differentiability for scalar-valued functions, .

We’d now like to define differentiability for vector-valued functions, .

In order to define differentiability for scalar-valued functions , we organized our partial derivatives into a vector, the gradient of . We would like to do something similar for a vector-valued function , and organize all of the partial derivatives into a single object. However, for a function , we not only have partial derivatives with respect to all of the different variables, we have partial derivatives of all of the component functions with respect to all of the different variables! This leads us to the derivative matrix.

The derivative matrix

It can be difficult to remember whether the variable or the component changes across the rows or columns. Here are a couple of ways to remember which way it goes:

  • The derivative matrix represents a linear transformation , hence is an matrix.
  • The rows are gradients of the component functions.

Find the derivative matrix of each of the following functions.

Differentiability

We can now generalize our definition of differentiability for scalar-valued functions, by replacing the gradient with the derivative matrix.

Note one of the quirks of multivariable differentiation: if the derivative matrix exist, it’s still possible for the function to not be differentiable. We’ve seen this with functions before, when the partial derivatives of a function exist, and yet the function is not differentiable. For example, we’ve worked with the piecewise function defined by We found that the partial derivatives and both exist and are . However, the function is not differentiable at .

For vector-valued functions, we can also reduce differentiability to differentiability of its component functions.

This theorem can quickly be proved from the definitions of differentiability in these two cases.

A criterion for differentiability

Checking differentiability using the limit definitions that we’ve found can be a huge pain! It would be much nicer if we could tell if a function is differentiable just by looking at the partial derivatives. Fortunately, this is possible in some cases.

An analogous result holds for scalar-valued functions. This theorem requires a very important note: its converse is false. That is, if one or more of the partial derivatives of a function is discontinuous, it’s still possible that the function is differentiable. In this case, you would probably need to resort to the limit definition to determine differentiability.