Directional derivative

Definition (gradient) open_in_new

For a function $f(x,y)$, its gradient is $$ \mrm{grad}(f) \equiv \v\nabla f \equiv \Big(\pdfd fx, \pdfd fy\Big).$$

Definition (directional derivative) open_in_new

The directional derivative of $f(x,y)$ in the direction $\vhat s$ is $$ \dfd fs = \vhat s\cdot\v\nabla f. $$

Properties of gradient vector open_in_new
  • Direction of $\v\nabla f$ is that in which $f$ increases most rapidly.

  • Magnitude of $\v\nabla f$ is the maximum rate of change of $f$.

  • When $0 = \dfd fs = \vhat s\cdot\v\nabla f$, we have $\hat s$ being along a contour of $f$, so $\v\nabla f$ is perpendicular to the contours of $f$.