In
multivariable calculus, the directional derivative measures the rate at which a function changes in a particular direction at a given point.
The directional derivative of a multivariable
differentiable (scalar) function along a given
vector v at a given point x intuitively represents the instantaneous rate of change of the function, moving through x with a direction specified by v.
The directional derivative of a
scalar function ''f'' with respect to a vector v at a point (e.g., position) x may be denoted by any of the following:
It therefore generalizes the notion of a
partial derivative
In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
, in which the rate of change is taken along one of the
curvilinear coordinate curves, all other coordinates being constant.
The directional derivative is a special case of the
Gateaux derivative.
Definition

The ''directional derivative'' of a
scalar function
along a vector
is the
function defined by the
limit
This definition is valid in a broad range of contexts, for example where the
norm of a vector (and hence a unit vector) is undefined.
For differentiable functions
If the function ''f'' is
differentiable at x, then the directional derivative exists along any unit vector v at x, and one has
where the
on the right denotes the ''
gradient'',
is the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
and v is a unit vector. This follows from defining a path
and using the definition of the derivative as a limit which can be calculated along this path to get:
Intuitively, the directional derivative of ''f'' at a point x represents the
rate of change of ''f'', in the direction of v.
Using only direction of vector
The angle ''α'' between the tangent ''A'' and the horizontal will be maximum if the cutting plane contains the direction of the gradient ''A''.
In a
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
, some authors define the directional derivative to be with respect to an arbitrary nonzero vector v after
normalization, thus being independent of its magnitude and depending only on its direction.
This definition gives the rate of increase of per unit of distance moved in the direction given by . In this case, one has
or in case ''f'' is differentiable at x,
Restriction to a unit vector
In the context of a function on a
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
, some texts restrict the vector v to being a
unit vector. With this restriction, both the above definitions are equivalent.
Properties
Many of the familiar properties of the ordinary
derivative hold for the directional derivative. These include, for any functions ''f'' and ''g'' defined in a
neighborhood
A neighbourhood (Commonwealth English) or neighborhood (American English) is a geographically localized community within a larger town, city, suburb or rural area, sometimes consisting of a single street and the buildings lining it. Neigh ...
of, and
differentiable at, p:
#
sum rule:
#
constant factor rule: For any constant ''c'',
#
product rule (or Leibniz's rule):
#
chain rule: If ''g'' is differentiable at p and ''h'' is differentiable at ''g''(p), then
In differential geometry
Let be a
differentiable manifold
In mathematics, a differentiable manifold (also differential manifold) is a type of manifold that is locally similar enough to a vector space to allow one to apply calculus. Any manifold can be described by a collection of charts (atlas). One ...
and a point of . Suppose that is a function defined in a neighborhood of , and
differentiable at . If is a
tangent vector to at , then the directional derivative of along , denoted variously as (see
Exterior derivative),
(see
Covariant derivative),
(see
Lie derivative), or
(see ), can be defined as follows. Let be a differentiable curve with and . Then the directional derivative is defined by
This definition can be proven independent of the choice of , provided is selected in the prescribed manner so that and .
The Lie derivative
The
Lie derivative of a vector field
along a vector field
is given by the difference of two directional derivatives (with vanishing torsion):
In particular, for a scalar field
, the Lie derivative reduces to the standard directional derivative:
The Riemann tensor
Directional derivatives are often used in introductory derivations of the
Riemann curvature tensor
Georg Friedrich Bernhard Riemann (; ; 17September 182620July 1866) was a German mathematician who made profound contributions to mathematical analysis, analysis, number theory, and differential geometry. In the field of real analysis, he is mos ...
. Consider a curved rectangle with an infinitesimal vector
along one edge and
along the other. We translate a covector
along
then
and then subtract the translation along
and then
. Instead of building the directional derivative using partial derivatives, we use the
covariant derivative. The translation operator for
is thus
and for
,
The difference between the two paths is then
It can be argued that the noncommutativity of the covariant derivatives measures the curvature of the manifold:
where
is the Riemann curvature tensor and the sign depends on the
sign convention of the author.
In group theory
Translations
In the
Poincaré algebra, we can define an infinitesimal translation operator P as
(the ''i'' ensures that P is a
self-adjoint operator) For a finite displacement λ, the
unitary Hilbert space representation for translations is
By using the above definition of the infinitesimal translation operator, we see that the finite translation operator is an exponentiated directional derivative:
This is a translation operator in the sense that it acts on multivariable functions ''f''(x) as
Rotations
The
rotation operator also contains a directional derivative. The rotation operator for an angle ''θ'', i.e. by an amount ''θ'' = , ''θ'', about an axis parallel to
is
Here L is the vector operator that generates
SO(3):
It may be shown geometrically that an infinitesimal right-handed rotation changes the position vector x by
So we would expect under infinitesimal rotation:
It follows that
Following the same exponentiation procedure as above, we arrive at the rotation operator in the position basis, which is an exponentiated directional derivative:
Normal derivative
A normal derivative is a directional derivative taken in the direction normal (that is,
orthogonal
In mathematics, orthogonality (mathematics), orthogonality is the generalization of the geometric notion of ''perpendicularity''. Although many authors use the two terms ''perpendicular'' and ''orthogonal'' interchangeably, the term ''perpendic ...
) to some surface in space, or more generally along a
normal vector field orthogonal to some
hypersurface. See for example
Neumann boundary condition. If the normal direction is denoted by
, then the normal derivative of a function ''f'' is sometimes denoted as
. In other notations,
In the continuum mechanics of solids
Several important results in continuum mechanics require the derivatives of vectors with respect to vectors and of
tensors with respect to vectors and tensors.
[J. E. Marsden and T. J. R. Hughes, 2000, ''Mathematical Foundations of Elasticity'', Dover.] The directional directive provides a systematic way of finding these derivatives.
See also
*
*
*
*
*
*
*
*
*
*
*
*
*
Notes
References
*
*
*
External links
Directional derivativesat
MathWorld.
Directional derivativeat
PlanetMath
PlanetMath is a free content, free, collaborative, mathematics online encyclopedia. Intended to be comprehensive, the project is currently hosted by the University of Waterloo. The site is owned by a US-based nonprofit corporation, "PlanetMath.org ...
.
{{Calculus topics
Differential calculus
Differential geometry
Generalizations of the derivative
Multivariable calculus
Scalars
Rates