A vector field assigns a vector to each point in space. In 3D:
In 2D: .
A vector field is not one specific vector. It’s an infinite collection, one at every point. Any rule that assigns vectors to points is a valid vector field.
Distinct from vector-valued functions of one variable
A vector-valued function assigns a vector to each parameter value, so the vectors live along a curve. A vector field assigns a vector to each point in space. Same kind of output (vectors), different objects: traces out a curve, fills space.
Examples everywhere in physics
- Gravitational field: gravitational force per unit mass at each point.
- Electric field: force per unit positive test charge at each point.
- Magnetic field: a vector at each point in space.
- Velocity field of a fluid: at each point, the velocity of the fluid that’s there.
- Gradient of a scalar function (temperature, pressure): direction of steepest increase. See Gradient and Gradient field.
Simple 2D fields to recognize
- Constant field : uniform grid of identical arrows.
- Radial field : arrows point outward from origin, magnitude .
- Rotational field : at the vector is ; at it’s . Arrows rotate counterclockwise around the origin.
- Sink : arrows point radially inward.
- Inverse-square : points radially outward, magnitude . See Inverse-square field.
Most fields you’ll see are combinations of these.
Visualization
For 2D fields, draw the vector as an arrow with tail at , for a grid of sample points. 3D is harder: use 2D slices, streamlines, or color maps of magnitude. Stream plots (curves tangent to the field) usually read better than arrow plots for messier fields.
Operations on vector fields
A vector field is the input for:
- The Divergence (scalar field, “source density”).
- The Curl (vector field, “circulation density”).
- Line integrals along curves (work / circulation).
- Flux integrals across surfaces.
These four operations, plus the theorems relating them (Green’s theorem, Stokes’ theorem, Divergence theorem), are most of classical vector calculus.
Important special classes
- Conservative (or gradient) fields: for some scalar . Equivalent to zero curl on simply connected domains. See Conservative vector field.
- Source-free (or solenoidal) fields: . Equivalent to having a stream function (in 2D) or vector potential (in 3D).
- Harmonic / irrotational and source-free: both at once. In 2D, these show up as the real and imaginary parts of analytic functions, which is where vector calculus meets complex analysis.