Directional Derivatives: Motivation and Definition
You'll learn how to measure the rate of change of a function in any direction you choose, not just along the coordinate axes.
Why Directional Derivatives?
So far, partial derivatives ∂f/∂x and ∂f/∂y have told us how a function f(x,y) changes when we move parallel to the x-axis or y-axis. But what if you're hiking on a mountainside and want to know how steep it is if you walk northeast? Or southwest? Partial derivatives only give you the steepness going due east or due north—they're limited to the coordinate directions.
Directional derivatives generalize this idea: they measure the rate of change of a function as you move in any direction from a point.
The Core Idea
Imagine standing at point (a,b) on a surface z = f(x,y). Pick any direction in the xy-plane—represented by a unit vector u = ⟨u₁, u₂⟩ (with ||u|| = 1). Now walk a tiny step h in that direction: your new position is (a + hu₁, b + hu₂).
The directional derivative measures how much f changes per unit distance as you take that step:
D_u f(a,b) = lim[h→0] [f(a + hu₁, b + hu₂) - f(a,b)] / h
This is the instantaneous rate of change of f at (a,b) in the direction u.
Special Cases
When u = ⟨1, 0⟩ (pointing along the positive x-axis), you get ∂f/∂x.
When u = ⟨0, 1⟩ (pointing along the positive y-axis), you get ∂f/∂y.
Partial derivatives are just directional derivatives in the standard coordinate directions!
Key Takeaway: The directional derivative D_u f measures how fast f changes as you move from a point in the direction of unit vector u, generalizing partial derivatives to arbitrary directions.