Directional Derivatives and Differentiability
Directional derivatives measure the instantaneous rate of change of a multivariable function along a chosen direction; differentiability is the stronger condition that the function is well-approximated by a linear map at a point. Key result: differentiability implies all directional derivatives exist and equals the gradient dotted with the direction — but the converse is FALSE. Applies across multivariable calculus, optimization, physics, and machine learning. Crystallized in the 19th century through Cauchy, Weierstrass, and Fréchet.
Existence of directional derivatives is a one-dimensional condition checked along each line separately. Differentiability is a genuinely multidimensional condition: it demands that ONE linear map approximates uniformly as you approach from all directions at once. The gap between these — sequential 1D limits versus a single 2D/nD limit — is the source of nearly every subtlety on this page.
Formal Statement
Let , let , and let be a unit vector (). The directional derivative of at in the direction is
Derivation hint: Restrict to the line , then by the ordinary single-variable derivative definition. Here is the base point, the direction, and the scalar step. When (the -th standard basis vector), is the partial derivative .
Some authors do not require to be a unit vector. If is unnormalized, scales linearly with , and the geometric interpretation as "rate per unit distance" is lost. Always check your textbook's convention. This page uses unit vectors.
is differentiable at if there exists a linear map (equivalently a vector ) such that
Derivation hint: This says the error of the linear approximation vanishes faster than ; it is the multivariable analogue of . The linear map is the (total) derivative , and the vector representing it is the gradient , so that .
If is differentiable at , then every directional derivative exists and is given by
Derivation hint: Set in equation [2], divide by , and take ; the term vanishes because .
If is differentiable at , then is continuous at .
Derivation hint: From [2], ; both terms as since is linear hence continuous.
Among all unit directions , the directional derivative is maximized when points along , with maximum value .
Derivation hint: By [3] and Cauchy–Schwarz, , maximized at .
Why It Holds / Derivation
We prove that differentiability at forces for every unit .
Step 1. By definition [2], write the remainder as
with the property as .
Step 2. Specialize to with , . Since , we have . Then
Step 3. Divide by :
Step 4. Estimate the remainder term. Since ,
by the defining property of in Step 1.
Step 5. Taking in Step 3 yields the limit , which is equation [3].
∎If all partial derivatives exist in a neighborhood of and are continuous at , then is differentiable at . (Such is called continuously differentiable, or .)
Step 1. Write the increment as a telescoping sum, changing one coordinate at a time:
Step 2. Apply the single-variable Mean Value Theorem to each bracket. There exist between and , and between and , with
Step 3. Use continuity of the partials: as , the evaluation points approach , so
Step 4. Substitute: the increment equals . The error term satisfies
verifying [2].
∎The French mathematician Maurice Fréchet gave the modern, rigorous definition of differentiability in normed and metric spaces (1911), generalizing the classical multivariable derivative to infinite-dimensional settings. The "Fréchet derivative" of equation [2] is now the standard definition. Fréchet also pioneered abstract metric spaces and functional analysis, providing the language in which "differentiability as approximation by a bounded linear operator" became precise. His framework distinguishes the strong (Fréchet) derivative from the weaker Gâteaux derivative, which is exactly the directional-derivative notion lifted to function spaces — making this very page's central tension a foundational theme of modern analysis.
Building Intuition
Imagine standing on a hillside whose height is . A directional derivative is the slope you feel if you start walking in a fixed compass direction — steepness measured along that one path. There are infinitely many such slopes, one per direction.
Differentiability is a much stronger claim: it says the hillside near your feet looks like a flat tilted plane (the tangent plane). If that's true, then every walking-direction's slope is just the projection of one master arrow — the gradient — onto your direction. The gradient points "straight uphill," and its length is the steepest possible slope. The crucial subtlety: a surface can have a well-defined slope along every straight-line path through a point and yet still be crinkled, creased, or torn there — so no single tangent plane fits. Directional derivatives only probe along straight lines; differentiability demands good behavior along every approach, including curved and oscillating ones. That's why all directional derivatives existing is not enough.
```svg
```
Worked Examples
Given: at the point , in the direction of .
Step 1 — Normalize the direction. , so .
Step 2 — Compute the gradient.
At : and . So .
Step 3 — Apply equation [3].
(Since is a polynomial, it is everywhere, so equation [3] is valid.)
Answer:
Given: A metal plate has temperature (°C), with in centimeters. Find the direction of fastest temperature increase at and the maximum rate.
Step 1 — Gradient.
Step 2 — Direction of steepest ascent (equation [5]) is along :
Step 3 — Maximum rate is :
Answer:
Heat flows opposite to this, along (down the gradient).
Common Misconceptions
"If all partial derivatives exist, the function is differentiable." FALSE. Partials only probe the coordinate-axis directions. "If all directional derivatives exist (in every direction), the function is differentiable." ALSO FALSE — and even worse, such a function need not be continuous. Differentiability requires the single 2D limit [2] to vanish, which is strictly stronger than the existence of any collection of 1D limits. The correct sufficient condition is continuous partial derivatives (), not mere existence.
Define
Directional derivatives all exist at the origin. For a unit direction with :
For (the -axis), , so . Every directional derivative exists.
But is not even continuous at the origin. Approach along the parabola :
The limit depends on the path, so is discontinuous — hence (by equation [4]) not differentiable, despite all directional derivatives existing.
Moral: the directional derivatives, even if they existed and satisfied , would not guarantee differentiability. Straight-line probing misses the parabolic ridge.
A simpler classic:
Both partials exist at the origin (, so ), yet along . So is discontinuous, hence not differentiable, even though both partials exist. Existence of partials says nothing about differentiability.
Connections
Directional derivatives and differentiability sit at the hub of multivariable analysis. The gradient they define is the workhorse of Gradient Descent in optimization and machine learning. Equation [3] is the seed of the Multivariable Chain Rule, which expresses — a directional derivative along a curve. The condition [2] generalizes directly to the Total Derivative (Jacobian) for vector-valued maps , and onward to the Fréchet Derivative in Banach spaces, where the directional version becomes the Gâteaux Derivative. Geometrically, the vanishing of all directional derivatives at an interior extremum gives the first-order condition , linking to Lagrange Multipliers and critical-point theory. The orthogonality of to level sets connects to Tangent Planes and Linear Approximation and the Implicit Function Theorem.
Real-World Applications
Historical Development
Subtleties & Limits
Several deep issues hover around this seemingly elementary topic. (1) The gap between Gâteaux and Fréchet differentiability is enormous in infinite dimensions: a functional can be Gâteaux-differentiable everywhere yet Fréchet-differentiable nowhere, and characterizing where Lipschitz functions on Banach spaces are differentiable is the subject of deep results (Preiss's theorem, 1990) and still-open questions in the geometry of Banach spaces. (2) Differentiability of Lipschitz functions: Rademacher's theorem guarantees a Lipschitz is differentiable almost everywhere, but the structure of the (measure-zero) non-differentiability set is subtle — related to open problems on "universal differentiability sets." (3) Weak derivatives and Sobolev spaces replace pointwise directional derivatives with distributional ones, the foundation of modern PDE theory, where "differentiability" is reinterpreted entirely. (4) Even in finite dimensions, finding clean necessary-and-sufficient pointwise conditions for differentiability (beyond the sufficient criterion) remains genuinely delicate; existence of all directional derivatives plus continuity still does not suffice in general.
See Also
Gradient · Jacobian Matrix · Lagrange Multipliers · Implicit Function Theorem · Fréchet Derivative · Gâteaux Derivative · Level Sets and Contours · Directional Derivative in Differential Geometry