We’ve given a formal definition for differentiability of a function ,
The idea behind this definition is that will be a “good” linear approximation to near if is differentiable at .
We would now like to define differentiability for scalar-valued functions of more than two variables, so functions from to . This definition will closely resemble our definition above, which handles the case . For example, in the case , we will use the linear function For larger , we’ll define a similar function , but this notation will quickly become unwieldy! In order to simplify notation, we’ll now introduce a new object to organize our partial derivatives: the gradient of a scalar-valued function.
The gradient
In order to organize our information about partial derivatives, and streamline our definition of differentiability for functions , we now define the gradient of a scalar-valued function.
The gradient vector will be a useful computation tool in general, not only for defining differentiability.
Differentiability
Now that we’ve defined the gradient, let’s revisit our definition of differentiability for a function from to . We used the function Looking at the terms , we can rewrite this as a dot product of two vectors: The first vector is the gradient of evaluated at , so we can rewrite this as If we take and , we can write this as With these notational changes in mind, we now define differentiability for a function .
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 .
First, we find the gradient of . At the point , we have From this, we find the formula for .
Next, we evaluate the limit
To evaluate this limit, we switch to translated spherical coordinates
Making this change, we obtain
Since , we use the squeeze theorem to obtain Thus, we have shown that is differentiable at .