Jump to content

Gradient

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pascalromon (talk | contribs) at 10:10, 27 May 2005 (The gradient on manifolds). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In vector calculus, the gradient of a scalar field is a vector field which points in the direction of the greatest rate of change of the scalar field, and whose magnitude is the greatest rate of change.

In the above two images, the scalar field is in black and white, black representing higher values, and its corresponding gradient is represented by blue arrows.

More rigorously, the gradient of a function from the Euclidean space Rn to R is the best linear approximation to that function at any particular point in Rn. To that extent, the gradient is a particular case of the Jacobian.

Examples

  • Consider a room in which the temperature is given by a scalar field , so at each point the temperature is . We will assume that the temperature does not change in time. Then, at each point in the room, the gradient at that point will show the direction in which it gets hottest. The magnitude of the gradient will tell how fast it gets hot in that direction.
  • Consider a hill whose height at a point is . The gradient of at a point will show the direction of the steepest slope at that point. The magnitude of the gradient will tell how steep the slope actually is. The gradient at a point is perpendicular to the level set going through that point, that is, to the curve of constant height at that point.

Formal definition

The gradient of a scalar function is denoted by:

where (nabla) is the vector differential operator del. The gradient of is sometimes also written as grad(φ).

In 3 dimensions, the expression expands to

in Cartesian coordinates. (See partial derivative and vector.)

Example

For example, the gradient of the function is:

The gradient on manifolds

For any differentiable function f on a riemannian_manifold M, the gradient of f is the vector field such that for any vector ,

where denotes the inner product on M (the metric) and is the function that takes any point p to the directional derivative of in the direction evaluated at p. In other words, under some coordinate chart, will be:

The gradient of a function is related to the exterior derivative, since . Indeed the metric allows one to associate canonically the 1-form df to the vector field . In Rn the flat metric is implicit and the gradient can be identified with the exterior derivative.

See also