No history yet

Vector Fields

Fields of Arrows

Imagine you're looking at a weather map. At every single point on the map, you could measure the temperature. That's a scalar field—a function that assigns a single number (a scalar) to every point in a space. But what about the wind? At every point, the wind has both a speed and a direction. To describe that, you need a vector.

This leads us to the idea of a vector field. It’s a function that assigns a vector to each point in a plane or in space. Instead of just a number, every location gets its own arrow with a specific length and direction.

Vector Field

noun

A function that assigns a vector to each point in its domain. Vector fields are used to model phenomena like fluid flow, gravity, or electric fields.

Ocean currents are a perfect real-world example. At any location on the ocean's surface, the water is moving with a certain speed in a particular direction. A vector field can represent this entire system of currents by placing an arrow at each point to show the water's velocity there.

Vector Fields in 2D

In a two-dimensional plane, a vector field is a function FF that assigns a vector F(x,y)F(x, y) to each point (x,y)(x, y). We can write this function using its component functions, PP and QQ:

F(x,y)=P(x,y)i+Q(x,y)jorF(x,y)=P(x,y),Q(x,y)\mathbf{F}(x, y) = P(x, y)\mathbf{i} + Q(x, y)\mathbf{j} \quad \text{or} \quad \mathbf{F}(x, y) = \langle P(x, y), Q(x, y) \rangle

Here, P(x,y)P(x, y) gives the horizontal component of the vector at point (x,y)(x, y), and Q(x,y)Q(x, y) gives the vertical component.

Let's look at an example. Consider the vector field F(x,y)=yi+xj\mathbf{F}(x, y) = -y\mathbf{i} + x\mathbf{j}. What does this look like? We can plug in a few points to get a feel for it.

At the point (1, 0), the vector is F(1,0)=0i+1j=0,1\mathbf{F}(1, 0) = -0\mathbf{i} + 1\mathbf{j} = \langle 0, 1 \rangle. It points straight up. At (0, 1), the vector is F(0,1)=1i+0j=1,0\mathbf{F}(0, 1) = -1\mathbf{i} + 0\mathbf{j} = \langle -1, 0 \rangle. It points left. At (-1, 0), the vector is F(1,0)=0i1j=0,1\mathbf{F}(-1, 0) = -0\mathbf{i} - 1\mathbf{j} = \langle 0, -1 \rangle. It points straight down.

If we plot more points, we see a pattern emerge: the vectors seem to be rotating counter-clockwise around the origin.

This type of swirling motion is common in models of fluid dynamics, like a whirlpool, or in describing the magnetic field around a wire.

Vector Fields in 3D

The concept extends naturally to three dimensions. A 3D vector field assigns a vector F(x,y,z)\mathbf{F}(x, y, z) to each point (x,y,z)(x, y, z) in space. The formula just gains a third component, RR, for the zz-direction.

F(x,y,z)=P(x,y,z)i+Q(x,y,z)j+R(x,y,z)k\mathbf{F}(x, y, z) = P(x, y, z)\mathbf{i} + Q(x, y, z)\mathbf{j} + R(x, y, z)\mathbf{k}

One of the most fundamental vector fields in physics is the gravitational field. For a mass MM at the origin, the gravitational force exerted on a smaller mass mm at point (x,y,z)(x, y, z) is given by Newton's Law of Universal Gravitation. The force vector always points from (x,y,z)(x, y, z) back toward the origin.

Lesson image

Another great example is an electric field. The image below shows the vector field created by two point charges: a positive charge (source) and a negative charge (sink). The arrows show the direction of the force that would be exerted on a positive test charge placed at that point. The vectors radiate away from the positive charge and curve toward the negative charge.

Lesson image

Not all vector fields are complex. The simplest type is a constant vector field, where every point is assigned the exact same vector. For example, F(x,y,z)=0,1,0\mathbf{F}(x, y, z) = \langle 0, -1, 0 \rangle describes a field where every arrow points straight down with a length of 1. You could think of this as a simplified model for gravity near the Earth's surface, where the force is approximately constant.

Quiz Questions 1/6

What does a vector field assign to each point in a space?

Quiz Questions 2/6

For the vector field F(x,y)=yi+xj\mathbf{F}(x, y) = -y\mathbf{i} + x\mathbf{j}, what is the vector at the point (0, 1)?

Vector fields provide a powerful way to visualize forces and flows that change over a region. By mapping vectors to points, we can understand the behavior of complex systems in physics, engineering, and beyond.