In
multivariable calculus
Multivariable calculus (also known as multivariate calculus) is the extension of calculus in one variable to calculus with functions of several variables: the differentiation and integration of functions involving multiple variables ('' mult ...
, 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
Vector most often refers to:
* Euclidean vector, a quantity with a magnitude and a direction
* Disease vector, an agent that carries and transmits an infectious pathogen into another living organism
Vector may also refer to:
Mathematics a ...
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
In geometry, curvilinear coordinates are a coordinate system for Euclidean space in which the coordinate lines may be curved. These coordinates may be derived from a set of Cartesian coordinates by using a transformation that is locally inv ...
coordinate curves, all other coordinates being constant.
The directional derivative is a special case of the
Gateaux derivative
In mathematics, the Gateaux differential or Gateaux derivative is a generalization of the concept of directional derivative in differential calculus. Named after René Gateaux, it is defined for functions between locally convex topological vect ...
.
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
In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
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
In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
'',
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
Normalization or normalisation refers to a process that makes something more normal or regular. Science
* Normalization process theory, a sociological theory of the implementation of new technologies or innovations
* Normalization model, used in ...
, 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
In mathematics, a unit vector in a normed vector space is a Vector (mathematics and physics), vector (often a vector (geometry), spatial vector) of Norm (mathematics), length 1. A unit vector is often denoted by a lowercase letter with a circumfle ...
. With this restriction, both the above definitions are equivalent.
Properties
Many of the familiar properties of the ordinary
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
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
In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
at, p:
#
sum rule:
#
constant factor rule: For any constant ''c'',
#
product rule
In calculus, the product rule (or Leibniz rule or Leibniz product rule) is a formula used to find the derivatives of products of two or more functions. For two functions, it may be stated in Lagrange's notation as (u \cdot v)' = u ' \cdot v ...
(or Leibniz's rule):
#
chain rule
In calculus, the chain rule is a formula that expresses the derivative of the Function composition, composition of two differentiable functions and in terms of the derivatives of and . More precisely, if h=f\circ g is the function such that h ...
: 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
In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
at . If is a
tangent vector
In mathematics, a tangent vector is a vector that is tangent to a curve or surface at a given point. Tangent vectors are described in the differential geometry of curves in the context of curves in R''n''. More generally, tangent vectors are ...
to at , then the directional derivative of along , denoted variously as (see
Exterior derivative
On a differentiable manifold, the exterior derivative extends the concept of the differential of a function to differential forms of higher degree. The exterior derivative was first described in its current form by Élie Cartan in 1899. The re ...
),
(see
Covariant derivative
In mathematics and physics, covariance is a measure of how much two variables change together, and may refer to:
Statistics
* Covariance matrix, a matrix of covariances between a number of variables
* Covariance or cross-covariance between ...
),
(see
Lie derivative
In differential geometry, the Lie derivative ( ), named after Sophus Lie by Władysław Ślebodziński, evaluates the change of a tensor field (including scalar functions, vector fields and one-forms), along the flow defined by another vector fi ...
), 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
In differential geometry, the Lie derivative ( ), named after Sophus Lie by Władysław Ślebodziński, evaluates the change of a tensor field (including scalar functions, vector fields and one-forms), along the flow defined by another vector fi ...
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
In mathematics and physics, covariance is a measure of how much two variables change together, and may refer to:
Statistics
* Covariance matrix, a matrix of covariances between a number of variables
* Covariance or cross-covariance between ...
. 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
In physics, a sign convention is a choice of the physical significance of signs (plus or minus) for a set of quantities, in a case where the choice of sign is arbitrary. "Arbitrary" here means that the same physical system can be correctly descri ...
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
In mathematics, a self-adjoint operator on a complex vector space ''V'' with inner product \langle\cdot,\cdot\rangle is a linear map ''A'' (from ''V'' to itself) that is its own adjoint. That is, \langle Ax,y \rangle = \langle x,Ay \rangle for al ...
) For a finite displacement λ, the
unitary
Unitary may refer to:
Mathematics
* Unitary divisor
* Unitary element
* Unitary group
* Unitary matrix
* Unitary morphism
* Unitary operator
* Unitary transformation
* Unitary representation
* Unitarity (physics)
* ''E''-unitary inverse semigr ...
Hilbert space
In mathematics, a Hilbert space is a real number, real or complex number, complex inner product space that is also a complete metric space with respect to the metric induced by the inner product. It generalizes the notion of Euclidean space. The ...
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)
In mechanics and geometry, the 3D rotation group, often denoted SO(3), is the group of all rotations about the origin of three-dimensional Euclidean space \R^3 under the operation of composition.
By definition, a rotation about the origin is a ...
:
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
In geometry, a normal is an object (e.g. a line, ray, or vector) that is perpendicular to a given object. For example, the normal line to a plane curve at a given point is the infinite straight line perpendicular to the tangent line to the cu ...
field orthogonal to some
hypersurface
In geometry, a hypersurface is a generalization of the concepts of hyperplane, plane curve, and surface. A hypersurface is a manifold or an algebraic variety of dimension , which is embedded in an ambient space of dimension , generally a Euclidea ...
. See for example
Neumann boundary condition
In mathematics, the Neumann (or second-type) boundary condition is a type of boundary condition, named after Carl Neumann.
When imposed on an ordinary or a partial differential equation, the condition specifies the values of the derivative app ...
. 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
In mathematics, a tensor is an algebraic object that describes a multilinear relationship between sets of algebraic objects associated with a vector space. Tensors may map between different objects such as vectors, scalars, and even other ...
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
''MathWorld'' is an online mathematics reference work, created and largely written by Eric W. Weisstein. It is sponsored by and licensed to Wolfram Research, Inc. and was partially funded by the National Science Foundation's National Science ...
.
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