We’ve defined differentiability for scalar-valued functions, .
If any of the partial derivatives of do not exist, or the above limit does not exist or is not , then is not differentiable at .
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.
We define the derivative matrix of to be the matrix with as the th entry. That is,
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:
We can now generalize our definition of differentiability for scalar-valued functions, by replacing the gradient with the derivative matrix.
If any of the partial derivatives of do not exist, or the above limit does not exist or is not , then is not differentiable at .
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.
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.
First, we find all of the partial derivatives of .
All of these functions are polynomials, hence continuous at all points . Since the partial derivatives of all exist and are continuous on , by the theorem above, is differentiable at all points in .