The Gradient and Directional Derivatives

25 min
0/4 practice checks

The gradient collects the partial derivatives into a vector:

f=(fx,  fy).\nabla f = \left( \frac{\partial f}{\partial x}, \; \frac{\partial f}{\partial y} \right).

It has two headline properties: f\nabla f points in the direction of steepest ascent, and its length f|\nabla f| is the maximum rate of increase at that point.

The directional derivative measures the rate of change in an arbitrary direction given by a unit vector u^\hat{u}:

Du^f=fu^.D_{\hat{u}} f = \nabla f \cdot \hat{u}.

Worked example. For f(x,y)=x2+xyf(x, y) = x^2 + xy, f=(2x+y,  x)\nabla f = (2x + y, \; x). At (1,2)(1, 2) this is (4,1)(4, 1). In the direction of (3,4)(3, 4), the unit vector is u^=(35,45)\hat{u} = \left(\tfrac{3}{5}, \tfrac{4}{5}\right), so Du^f=435+145=165=3.2.D_{\hat u} f = 4\cdot\tfrac{3}{5} + 1\cdot\tfrac{4}{5} = \tfrac{16}{5} = 3.2.

For f(x,y)=x2+y2f(x, y) = x^2 + y^2, find the magnitude f|\nabla f| of the gradient at the point (3,4)(3, 4).

What is the gradient f\nabla f of f(x,y)=x2yf(x, y) = x^2 y?

At a point where f0\nabla f \neq 0, the gradient vector points in the direction of…

For f(x,y)=x2+xyf(x, y) = x^2 + xy, find the directional derivative at (1,2)(1, 2) in the direction of the vector (3,4)(3, 4).