Directional Derivatives and the Gradient
The Essentials
A directional derivative is the slope of the plane tangent to a function in a given direction. The partial derivative of a function with respect to \( x \) is just the directional derivative in the \( x \) direction. The formula for the directional derivative in the direction of the unit vector \( \vec{u} \) is:
The gradient is an arbitrary directional derivative, or a directional derivative that hasn't been given a direction yet:
The directional derivative of a function a direction is the dot product of the gradient of the function and the unit vector of the direction:
The maximum value of the directional derivative occurs when the direction of the directional derivative is the same as the direction of the gradient. The maximum value of the directional derivative is the magnitude of the gradient.
The minimum value of the directional derivative occurs when the direction of the directional derivative is the opposite as the direction of the gradient. The minimum value of the directional derivative is the negative magnitude of the gradient.
The directional derivative and the gradient can be generalized to more dimensions:
Where the angles \( \alpha,\beta,\gamma \) determine the unit vector.
Example
Find the unit vector in the direction for which the directional derivative of the function \( f(x,y)=\frac{7}{2}x^2-3xy+3y^2 \) at the point (1, 1). Find the maximum value.
The gradient of \( f \) is:
The direction of the gradient at the point (1, 1) is:
The maximum value of the gradient is 5.
Practice
1) Find the direction in which the value of the directional derivative of the function \( 6x^2-2xy+13y^2 \) at the point (1, 1) is a maximum.
2) Find the directional derivative of the function \( f(x,y)=x^2-y^2 \) at the point (2, 1) in the direction \( \vec{u}=\langle2,3\rangle \)
Solutions:
1) \( \langle \frac{5}{13},\frac{12}{13} \rangle \)
2) 2