A **vector field** is an assignment of a vector to each point in some region of space. A simple example of a vector field is the wind velocity (a vector) at each point on the Earth's surface. Vector fields are extremely important in science and engineering—some examples are the electric and magnetic fields of electrodynamics, and the gravitational field of Newtonian gravity.

In addition to the usual operations of vectors (addition, scalar multiplication, dot product, and cross product), vector fields have some differentiation operations that compare the values of the field at different points. The common operations are the divergence and the curl.

In analogy with a vector field, a scalar field is an assignment of a plain number ("scalar") to each point. There are tensor fields as well, assigning a tensor to every point in space.

## More formal treatment

A vector field is a *function* that maps the region of space into the vector space.

If is a subset of the , then a vector field can be seen as the function , which maps an n-dimensional positional vector to each point :