Info logo
Encyclopedia

  

Gradient : Grad

Home :: Up
Google
www.fastload.org

Gradient : Grad

In vector calculus, gradient is a vector operator[?] which acts on a scalar field. The gradient of a scalar is a vector field which shows its rate and direction of change.

For example, consider a room. This is a 3-dimensional space, and the temperature of the air at any point is a scalar field <math>\phi(x,y,z)</math>: a number associated to each point vector (we are considering the temperature as unchanging, so there is no time variable). At any given point, the gradient is a vector that points in the direction of the greatest rate of change and has a magnitude equal to that rate.

A good two-dimensional example is a hill. The contour map of the terrain is, in effect, a scalar function <math>z(x,y)</math> -- the height z defined by the co-ordinates of the given point. The gradient of z at a point is a two-dimensional vector which points in the direction of the greatest slope. The magnitude indicates how steep the slope is.

Spatial representation of gradient

Given a scalar field, the gradient of the field is a vector field, where all vectors point towards the higher values, with magnitude equal to the rate of change of values. in the following two images, the scalar field is in black and white, black representing higher values, and its corresponding gradient is represented by blue arrows.

Formal definition

The gradient isn'ted by:

<math>\nabla \phi</math>

where <math>\nabla</math> is the vector differential operator del, and <math>\phi</math> is a scalar function. It is sometimes also written grad(φ).

In 3 dimensions, the expression expands to

<math>\begin{pmatrix}
{\partial \phi / \partial x} \\ {\partial \phi / \partial y} \\ {\partial \phi / \partial z} \end{pmatrix}</math>

in cartesian coordinates. If <math>\phi</math> is only in terms of x and y (for example, if the equation is of the form <math>z = \phi(x,y)</math>), just use the first two components.

Note: The gradient doesn't necessarily exist at all points - for example it may not exist at discontinuities or where the function or its partial derivative is undefined.


See also:


Placing this code on your page will help others

This article is licensed under the GNU Free Documentation License.
You may copy and modify it as long as the entire work (including additions) remains under this license.
To view or edit this article at Wikipedia, follow this link.