Lably
Skip to content

Directional derivative

Instantaneous rate of change of the function

  • 8 min read
  • 6 chapters

Related on Lably

Through Vector (mathematics and physics), Coordinate system and Function (mathematics)

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 v^=v/‖v‖, 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: ∇vf(x)=fv′(x)=Dvf(x)=Df(x)(v)=∂vf(x)=∂f(x)∂v=v⋅∇f(x)=v⋅∂f(x)∂x.

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 f(x)=f(x1,x2,…,xn) along a vector v=(v1,…,vn) is the function ∇vf defined by the limit ∇vf(x)=limh→0f(x+hv)−f(x)h=ddtf(x+tv)|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

∇vf(x)=∇f(x)⋅v

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 h(t)=x+tv and using the definition of the derivative as a limit along this path to get ∇vf(x)−∇f(x)⋅v=limt→0f(x+tv)−f(x)t−∇f(x)⋅v=limt→0f(x+tv)−f(x)−t∇f(x)⋅vt=0, whence ∇f(x)⋅v=∇vf(x).

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 ∇v^f(x)=limh→0f(x+hv)−f(x)h‖v‖, or in case f is differentiable at x, ∇v^f(x)=∇f(x)⋅v^.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Calculus and analysis