The directional derivative tests a function along a chosen straight line, including lines that follow neither coordinate axis. For a fixed vector and a point in an open subset of , defineif the limit exists. With a unit vector , the parameter measures signed distance in the input Euclidean space, so the directional derivative is change per unit distance. For a general , it is change per unit parameter; the norm of also sets the rate of travel.[ref]
4.6 Directional Derivatives and the Gradient. Calculus Volume 3, §4.6, definition (4.36), unit-direction convention
For a differentiable real-valued function, the multivariable chain rule givesThus one gradient predicts the local response in every direction. This formula requires differentiability, rather than merely separate partial derivatives.[ref]
Return to at . Its gradient is . In the unit direction ,One can check this without invoking the gradient formula: substitution givesThe difference quotient is , whose limit is . This calculation separates the exact change along a finite path from its first-order rate at the starting point.
Changing the travel speed changes the parameter rate. Taking gives , because the input travels five distance units per parameter unit. For a differentiable function, for any real : negative reverses the orientation as well as scaling the rate. Normalizing before comparing different slopes avoids confusing direction with speed.
The Cauchy-Schwarz inequality bounds the rate in any unit direction by . Here the largest rate is , attained in the direction ; the chosen gives the slightly smaller rate . The perpendicular unit direction gives zero. That means no first-order height change, rather than no change at all: along this direction the example has .
This is useful for following a height or temperature scalar field, choosing a local search direction in mathematical optimization, and distinguishing a coordinate sensitivity from a response along an actual path. For a curved path, derivative along a curve uses its instantaneous tangent vector. Even existence of all directional derivatives does not guarantee one common linear approximation; directional derivatives do not imply differentiability gives a concrete counterexample.
