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 v" for the rate of change of a function per unit distance in that direction. In that convention the nonzero vector v 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: ∇𝐯f(𝐱)=f'𝐯(𝐱)=D𝐯f(𝐱)=Df(𝐱)(𝐯)=∂𝐯f(𝐱)=∂f(𝐱)∂𝐯=𝐯⋅∇f(𝐱)=𝐯⋅∂f(𝐱)∂𝐱. It therefore generalizes the notion of a partial derivative in a sense that it is the rate of change along any given direction, while the partial derivative is the rate of change along only 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 f(𝐱)=f(x1,x2,…,xn) along a vector 𝐯=(v1,…,vn) is the function ∇𝐯f defined by the limit ∇𝐯f(𝐱)=limh→0f(𝐱+h𝐯)−f(𝐱)h=ddtf(𝐱+t𝐯)|t=0. 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 ∇𝐯f(𝐱)=∇f(𝐱)⋅𝐯 where 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 𝐡(t)=𝐱+t𝐯 and using the definition of the derivative as a limit along this path to get ∇𝐯f(𝐱)−∇f(𝐱)⋅𝐯=limt→0f(𝐱+t𝐯)−f(𝐱)t−∇f(𝐱)⋅𝐯=limt→0f(𝐱+t𝐯)−f(𝐱)−t∇f(𝐱)⋅𝐯t=0, whence ∇f(𝐱)⋅𝐯=∇𝐯f(𝐱).
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 change of a function f per unit of distance moved in the direction given by v. In this case, one has ∇𝐯̂f(𝐱)=limh→0f(𝐱+h𝐯)−f(𝐱)h‖v‖, or in case f is differentiable at x, ∇𝐯̂f(𝐱)=∇f(𝐱)⋅𝐯̂.
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: ∇𝐯(f+g)=∇𝐯f+∇𝐯g. constant factor rule: For any constant c, ∇𝐯(cf)=c∇𝐯f. product rule (or Leibniz's rule): ∇𝐯(fg)=g∇𝐯f+f∇𝐯g. chain rule: If g is differentiable at p and h is differentiable at g(p), then ∇𝐯(h∘g)(𝐩)=h′(g(𝐩))∇𝐯g(𝐩).
In differential geometry
Let M be a differentiable manifold and p a point of M. Suppose that f is a function defined in a neighborhood of p, and differentiable at p. If v is a tangent vector to M at p, then the directional derivative of f along v, denoted variously as df(v) (see Exterior derivative), ∇𝐯f(𝐩) (see Covariant derivative), L𝐯f(𝐩) (see Lie derivative), or 𝐯𝐩(f) (see Tangent space § Definition via derivations), can be defined as follows. Let γ : [−1, 1] → M be a differentiable curve with γ(0) = p and γ′(0) = v. Then the directional derivative is defined by ∇𝐯f(𝐩)=ddτf∘γ(τ)|τ=0. This definition can be proven independent of the choice of γ, provided γ is selected in the prescribed manner so that γ(0) = p and γ′(0) = v.
The Lie derivative The Lie derivative of a vector field Wμ(x) along a vector field Vμ(x) is given by the difference of two directional derivatives (with vanishing torsion): ℒVWμ=(V⋅∇)Wμ−(W⋅∇)Vμ. In particular, for a scalar field ϕ(x), the Lie derivative reduces to the standard directional derivative: ℒVϕ=(V⋅∇)ϕ.
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 S 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 1+∑νδνDν=1+δ⋅D, and for δ′, 1+∑μδ'μDμ=1+δ′⋅D. The difference between the two paths is then (1+δ′⋅D)(1+δ⋅D)Sρ−(1+δ⋅D)(1+δ′⋅D)Sρ=∑μ,νδ'μδν[Dμ,Dν]Sρ. It can be argued that the noncommutativity of the covariant derivatives measures the curvature of the manifold: [Dμ,Dν]Sρ=±∑σRσρμνSσ, where R 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 𝐏=i∇. (the i ensures that P is a self-adjoint operator) For a finite displacement λ, the unitary Hilbert space representation for translations is U(𝝀)=exp(−i𝝀⋅𝐏). By using the above definition of the infinitesimal translation operator, we see that the finite translation operator is an exponentiated directional derivative: U(𝝀)=exp(𝝀⋅∇). This is a translation operator in the sense that it acts on multivariable functions f(x) as U(𝝀)f(𝐱)=exp(𝝀⋅∇)f(𝐱)=f(𝐱+𝝀).
… excerpt ends here. Continue reading the full article.

