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.

Find the gradient of each function.

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 .