Worked examples · Sheet 3
Directional derivatives and direction of steepest ascent
Theory used: Directional derivativeGradient formulaDirection of steepest ascent
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Compute the directional derivative of
at the point along the unit vector .
The function is a polynomial, so the partial derivatives are continuous on all of , and by the total differential theorem is differentiable at every point. The gradient formula applies, therefore the directional derivative is the dot product of the gradient at the point and the unit vector. The given vector has norm , so it is already a unit vector and the dot product directly gives .
Exercise 2
Compute the directional derivative of
at the point in the direction of the vector .
The vector has norm , so one first normalizes it by dividing by its norm: the directional derivative is defined along a unit vector. The function is the product of an exponential and a cosine, with continuous partial derivatives, therefore it is differentiable and the gradient formula applies. At the given point the cosine vanishes and the sine equals , so the gradient is . The dot product with the unit vector gives , which after rationalizing is written .
Exercise 3
Determine the direction of steepest ascent of
at the point and the maximum value of the directional derivative at that point.
The function is differentiable because its partial derivatives are continuous, since the denominator is always greater than or equal to . At the point the denominator equals , so the gradient is . By the theorem on the direction of steepest ascent, the directional derivative is maximal along the unit vector of the gradient and its maximum value is the norm of the gradient. Normalizing , which has norm , gives the unit vector ; the maximum rate of increase equals .