Directional derivative

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Refimprove section Script error: No such module "sidebar". 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 Template:Math" for the rate of change of a function per unit distance in that direction. In that convention the nonzero vector Template:Math 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 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

A contour plot of f(x,y)=x2+y2, showing the gradient vector in black, and the unit vector ๐ฎ scaled by the directional derivative in the direction of ๐ฎ in orange. The gradient vector is longer because the gradient points in the direction of greatest rate of increase of a function.

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[1] โˆ‡๐ฏ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.[2]

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

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, some authors[3][4] 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.[5]

This definition gives the rate change of a function Template:Math per unit of distance moved in the direction given by Template:Math. 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:

  1. sum rule: โˆ‡๐ฏ(f+g)=โˆ‡๐ฏf+โˆ‡๐ฏg.
  2. constant factor rule: For any constant c, โˆ‡๐ฏ(cf)=cโˆ‡๐ฏf.
  3. product rule (or Leibniz's rule): โˆ‡๐ฏ(fg)=gโˆ‡๐ฏf+fโˆ‡๐ฏg.
  4. chain rule: If g is differentiable at p and h is differentiable at g(p), then โˆ‡๐ฏ(hโˆ˜g)(๐ฉ)=h′(g(๐ฉ))โˆ‡๐ฏg(๐ฉ).

In differential geometry

Template:See also

Let Template:Math be a differentiable manifold and Template:Math a point of Template:Math. Suppose that Template:Math is a function defined in a neighborhood of Template:Math, and differentiable at Template:Math. If Template:Math is a tangent vector to Template:Math at Template:Math, then the directional derivative of Template:Math along Template:Math, denoted variously as Template:Math (see Exterior derivative), โˆ‡๐ฏf(๐ฉ) (see Covariant derivative), L๐ฏf(๐ฉ) (see Lie derivative), or ๐ฏ๐ฉ(f) (see Template:Section link), can be defined as follows. Let Template:Math be a differentiable curve with Template:Math and Template:Math. Then the directional derivative is defined by โˆ‡๐ฏf(๐ฉ)=ddฯ„fโˆ˜ฮณ(ฯ„)|ฯ„=0. This definition can be proven independent of the choice of Template:Math, provided Template:Math is selected in the prescribed manner so that Template:Math and Template:Math.

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[6] 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[7] 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(๐ฑ+๐€).

Template:Math proof

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 U(R(๐œฝ))=exp⁡(โˆ’i๐œฝโ‹…๐‹). Here L is the vector operator that generates SO(3): ๐‹=(0000010โˆ’10)๐ข+(00โˆ’1000100)๐ฃ+(010โˆ’100000)๐ค. It may be shown geometrically that an infinitesimal right-handed rotation changes the position vector x by ๐ฑโ†’๐ฑโˆ’ฮด๐œฝร—๐ฑ. So we would expect under infinitesimal rotation: U(R(ฮด๐œฝ))f(๐ฑ)=f(๐ฑโˆ’ฮด๐œฝร—๐ฑ)=f(๐ฑ)โˆ’(ฮด๐œฝร—๐ฑ)โ‹…โˆ‡f. It follows that U(R(ฮด๐œฝ))=1โˆ’(ฮด๐œฝร—๐ฑ)โ‹…โˆ‡. Following the same exponentiation procedure as above, we arrive at the rotation operator in the position basis, which is an exponentiated directional derivative:[8] U(R(๐œฝ))=exp⁡(โˆ’(๐œฝร—๐ฑ)โ‹…โˆ‡).

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 โˆ‚fโˆ‚๐ง. In other notations, โˆ‚fโˆ‚๐ง=โˆ‡f(๐ฑ)โ‹…๐ง=โˆ‡๐งf(๐ฑ)=โˆ‚fโˆ‚๐ฑโ‹…๐ง=Df(๐ฑ)[๐ง].

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.[9] The directional derivative provides a systematic way of finding these derivatives.

Template:Excerpt

See also


Notes

Template:Reflist

References

Template:Commons category inline

Template:Calculus topics

  1. โ†‘ Template:Cite book
  2. โ†‘ 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.
  3. โ†‘ Thomas, George B. Jr.; and Finney, Ross L. (1979) Calculus and Analytic Geometry, Addison-Wesley Publ. Co., fifth edition, p. 593.
  4. โ†‘ Template:Cite book
  5. โ†‘ 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.
  6. โ†‘ Template:Cite book
  7. โ†‘ Template:Cite book
  8. โ†‘ Template:Cite book
  9. โ†‘ J. E. Marsden and T. J. R. Hughes, 2000, Mathematical Foundations of Elasticity, Dover.