In multivariable calculus, the directional derivative measures the instantaneous rate at which a function changes along a specified vector through a given point. If the vector is multiplied by a scalar, the corresponding directional derivative is multiplied by the same scalar.

Some elementary texts instead use the phrase "directional derivative in the direction of " for the rate of change of a function per unit distance in that direction. In that convention the nonzero vector is first normalized to the unit vector , where the normalized vector is denoted with a circumflex (hat) symbol: .

The directional derivative of a scalar function f with respect to a vector v 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. In functional analysis, the analogous notion for functions between topological vector spaces is 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 is defined. In finite dimensions, it does not depend on the choice of norm, since all norms are equivalent. Its applicability extends to functions on finite-dimensional vector spaces without a metric and to differentiable manifolds, such as in general relativity.

For differentiable functions

If the function f is differentiable at x, then the directional derivative exists along any vector v at x, and one has

where the on the right denotes the gradient and is the dot product.If the dot product is undefined, the gradient is also undefined; however, for differentiable f, the directional derivative is still defined, and a similar relation exists with the exterior derivative.

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 along this path to get

whence .

Using only direction of vector

In a Euclidean space, some authorsThomas, George B. Jr.; and Finney, Ross L. (1979) Calculus and Analytic Geometry, Addison-Wesley Publ. Co., fifth edition, p. 593. 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 typically assumes a Euclidean space – for example, a function of several variables typically has no definition of the magnitude of a vector, and hence of a unit vector.

This definition gives the rate change of a function per unit of distance moved in the direction given by . In this case, one has

or in case f is differentiable at x,

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 (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 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. 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) 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 derivative provides a systematic way of finding these derivatives.

See also

Notes

References

External links

Directional derivatives at MathWorld. Directional derivative at PlanetMath.