What is the formula for the directional derivative of a scalar function of two variables in the direction of a general vector ?
The directional derivative in the direction of a general vector is the linear combination of the partial derivatives weighted by the components of w. The formula is a*(∂f/∂x) + b*(∂).
Conditions
- The function is differentiable.
- The direction vector is .
- The partial derivatives ∂ and ∂ exist.
Reasoning, step by step
- Identify the components a and b of the direction vector w.
- Calculate the partial derivative of f with respect to x.
- Calculate the partial derivative of f with respect to y.
- Multiply ∂ by a and ∂f/∂y by b.
- Sum the results to get the directional derivative.
Example
For , the directional derivative is a*(∂f/∂x) + b*(∂).
Common misconceptions
- Forgetting to multiply the partial derivatives by the corresponding vector components.
- Thinking the formula only works for unit vectors.
Watch the explanation
YouTubeDirectional derivative
4:38 – 5:25Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.