Directional derivative
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 represents the instantaneous rate of change of the function in the direction v through x.
Many mathematical texts assume that the directional vector is normalized, meaning that its magnitude is equivalent to one. This is by convention and not required for proper calculation. In order to adjust a formula for the directional derivative to work for any vector, one must divide the expression by the magnitude of the vector. Normalized vectors are denoted with a circumflex symbol:.
The directional derivative of a scalar function f with respect to a vector v at a point may be denoted by any of the following:
It therefore generalizes the notion of a partial derivative, 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 functionalong 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 is defined.
For differentiable functions
If the function f is differentiable at x, then the directional derivative exists along any vector v at x, and one haswhere the on the right denotes the gradient and is the dot product.
It can be derived by using the property that all directional derivatives at a point make up a single tangent plane which can be defined using partial derivatives. This can be used to find a formula for the gradient vector and an alternative formula for the directional derivative, the latter of which can be rewritten as shown above for convenience.
It also follows from defining a path and using the definition of the derivative as a limit which can be calculated along this path to get:
Using only direction of vector
In a Euclidean space, 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, some texts restrict the vector v to being a unit vector for convention. Both of the above equations remain true, though redundant, when a vector is normalized.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 of, and differentiable at, p:- sum rule:
- constant factor rule: For any constant c,
- product rule :
- chain rule: If g is differentiable at p and h is differentiable at g, then
In differential geometry
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 :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. 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 thusand 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 asFor 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 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 isHere L is the vector operator that generates SO:
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: