Gradient (math)

from Wikipedia, the free encyclopedia
Two scalar fields, shown as a shade of gray (darker color corresponds to a larger function value). The blue arrows on it symbolize the associated gradient.

The gradient as an operator in mathematics generalizes the known gradients that describe the course of physical quantities. As a differential operator , it can be applied to a scalar field and in this case it will yield a vector field called a gradient field . The gradient is a generalization of the derivative in multidimensional analysis . To better differentiate between the operator and the result of its application, such gradients of scalar field sizes are also called gradient vectors in some sources.

In Cartesian coordinates , the components of the gradient vector are the partial derivatives in the point ; the gradient therefore points in the direction of the greatest change. The amount of the gradient indicates the value of the greatest rate of change at that point.

If, for example, the relief map of a landscape is interpreted as a function  that assigns the altitude at this point to each location, then the gradient of at that point is a vector that points in the direction of the greatest increase in altitude of . The magnitude of this vector indicates the greatest slope at this point.

The gradient is examined together with other differential operators such as divergence and rotation in vector analysis , a sub-area of multidimensional analysis . They are formed with the same vector operator, namely with the Nabla operator (to indicate that the Nabla operator can alternatively be understood as a vector, sometimes also or ).

definition

On is the scalar product given. The gradient of the totally differentiable function in the point is that due to the requirement

uniquely determined vector The operator is the total differential or the Cartan derivative . The definition of the gradient for scalar fields can be extended to vector fields . This generalized gradient is called the vector gradient .

Coordinate representation

The gradient also has different representations in different coordinate systems.

Cartesian coordinates

Im with the standard Euclidean scalar product is the column vector

The entries are the partial derivatives of in -direction. Often one also writes (pronounced “ Nabla ”) instead of Cartesian coordinates . The gradient has the representation in three dimensions

where , and denote the unit vectors in the direction of the coordinate axes.

Calculation example

A scalar field is given by Thus the partial derivatives are and and it follows or in vector representation

For example, the gradient vector for the point is . The amount is .

Cylinder and spherical coordinates

  • Representation in three-dimensional cylinder coordinates :
  • Representation in three-dimensional spherical coordinates :

These are special cases of the gradient on Riemannian manifolds . For this generalization see: Outer derivative .

Orthogonal coordinates

The gradient is represented in general orthogonal coordinates

where they indicate the magnitude and direction of the vector .

Generally curvilinear coordinates

The gradient is represented in generally curvilinear coordinates

where is the gradient of the coordinate .

Coordinate-free representation as a volume derivative

With the help of Gauss's integral theorem , the gradient, like the divergence (source density) and the rotation (vortex density) , can be represented as a volume derivative . This representation has the advantage that it is independent of coordinates. For this reason, the gradient is often defined directly in the field of engineering .

If there is a spatial area with a piecewise smooth edge and the volume, then the gradient of the scalar field in the point can be determined by means of the volume derivative

be calculated. In this case, referred to the outer surface vector element of which the outward facing normal vector and the scalar element surface.

To form the limit value, the spatial area is contracted to the point so that its content approaches zero. If you replace with a pressure , the gradient appears as a force density . The coordinate representations of the previous section result from the volume derivation if the respective volume element, for example a sphere or cylinder, is selected as the spatial area .

Riemannian manifolds

For a smooth function on a Riemann manifold , the gradient of is that vector field with which for each vector field the equation

holds, where the by -defined inner product of tangent to , and (often referred to) that function is associated with each point , the directional derivative of in the direction evaluated in assigns. In other words, in a map from an open subset of to an open subset of is given by:

where the -th component of in these coordinates means.

The gradient has the form in local coordinates

Analogous to the case , the relationship between the gradient and the external derivative is mediated

More precisely: is that of the 1-form under the musical isomorphism ("sharp") defined by means of the metric

corresponding vector field. The connection between the external derivative and the gradient for functions on the is the special case for the flat metric given by the Euclidean scalar product.

Geometric interpretation

From a geometrical point of view, the gradient of a scalar field at a point is a vector that points in the direction of the steepest rise in the scalar field. The gradient is perpendicular to the level surface ( level set ) of the scalar field in a point . The amount of the vector corresponds to the strength of the increase. If you are at a local minimum or maximum ( extremum ) or at a saddle point , the gradient at this point is precisely the zero vector , provided that this extreme point lies inside the area under consideration.

With the help of the gradient, the increase in any direction, called the directional derivative , can also be determined, which - in contrast to the gradient - is again a scalar.

properties

The following applies to all constants and scalar fields :

Linearity

Product rule

Relation to the derivation of direction

The directional derivative means the derivative , i.e. the rise of a scalar field in the direction of a normalized vector :

If in a neighborhood of is differentiable, then the directional derivative can be calculated as the scalar product of with the gradient of :

Integrability condition

An important relationship for differentiable gradient fields in dimensions is the statement that these (according to Schwarz's theorem ) are always "integrable" in the following sense: It applies to all and :

This directly verifiable relationship - identical in three dimensions to the freedom of rotation of the field - is necessary for the existence of a "potential function" (more precisely: the function ). The or are the components of the vector field. The integrability condition also implies that the line integral disappears for all closed paths in , which is of great importance in mechanics and electrodynamics.

The reverse also applies locally: the integrability condition

for a differentiable vector field it is also sufficient for the local existence of a scalar potential function with (cf. total differential # integrability condition ). Under suitable prerequisites for the domain of definition (e.g. star-shaped ) one can even infer the global existence of such a potential function (see Poincaré lemma ).

Useful formulas

The following gradients often occur in physics. The position vector is used.

Note that in the last example the gradient only acts on and not on . It is therefore also written as.

Applications

Conservative forces

In physics , many force fields can be represented as the gradient of a potential . Examples are:

a) the gravitational force
for a central mass M located at the coordinate origin
reads
b) or in electrodynamics static electric fields

Conservative force fields make use of, among other things, that for test masses or test loads, the path integral, the work along any path through the force field is only dependent on the start and end point of the path, but not on its course.

Transport phenomena

Numerous transport phenomena can be traced back to the fact that the associated currents can be expressed as a gradient of a scalar field, whereby the proportionality factor that occurs is referred to as the transport coefficient or conductivity.

An example of this is the heat flow in thermodynamics , for the

applies, where is the thermal conductivity .

In fluid dynamics , a potential flow is understood to be a flow in which the velocities are gradients of a potential. Since the divergence of a gradient vanishes, a conservation law follows from the continuity equation .

Image processing

One problem in image processing is to recognize contiguous areas in an image. Since an image contains discrete values, filters such as the Sobel operator are used to obtain a gradient field of the image. A filter is a matrix that is used to convolve the image (see Discrete Convolution ). The edges in the image can then be recognized as extreme values ​​of the filtered image.

Other uses

Web links

literature

Individual evidence

  1. Ernst Grimsehl : Textbook of Physics. Volume 1: Mechanics, thermodynamics, acoustics. 15th edition, edited by Walter Schallreuter. Teubner, Leipzig 1954, p. 579.
  2. ^ Bronstein, Semendjajew, Musiol, Mühlig: Taschenbuch der Mathematik , Verlag Harri Deutsch, Frankfurt, 8th edition 2012, section 13.2, Spatial differential operators