Andromeda
Note

Directional Derivatives

Definition

The directional derivative DufD_{\mathbf{u}} f measures the rate of change of ff at a point in the direction of a unit vector u\mathbf{u}.

Why It Matters

A mountain doesn’t just have one “steepness”; it depends on which way you’re facing. Directional derivatives allow us to calculate the rate of change for any possible heading, not just the standard “north-south” or “east-west” axes. It is the essential tool for any system where the outcome depends on the direction of travel—from a hiker choosing the easiest path to a computer simulating how light hits a curved surface.

Core Concepts

  • Formula: Duf=fuD_{\mathbf{u}} f = \nabla f \cdot \mathbf{u}.

    • How to read: “The directional derivative D u of f equals the dot product of the gradient nabla f and the unit vector u.”
    • Meaning: Rate of change of f as you move in unit direction u—the gradient projected onto that heading.
  • Magnitude: Duf=fcosθD_{\mathbf{u}} f = |\nabla f| \cos \theta, where θ\theta is the angle between the gradient and the direction.

    • How to read: “The directional derivative D u of f equals the magnitude of the gradient nabla f times the cosine of theta.”
    • Meaning: Steepest climb is along the gradient (θ=0\theta = 0); perpendicular motion (θ=90°\theta = 90°) gives zero change.
  • Connection: Partial derivatives fxf_x and fyf_y are special cases where u=i\mathbf{u} = \mathbf{i} or u=j\mathbf{u} = \mathbf{j}.

    • How to read: “The directional derivative along i equals the partial derivative f with respect to x, and the directional derivative along j equals the partial derivative f with respect to y.”
    • Meaning / when to use: Partials are just directional derivatives along coordinate axes—general u covers any compass direction on the surface.

Connected Concepts