01 / 21

Vector Fields
& Field Lines

Learn how vector fields assign a vector to every point in space, and how field lines give us a visual map of direction and magnitude.

Multivariable Calculus

What Is a Vector Field?

A vector field is a function that assigns a vector to every point in a region of space. In two dimensions we write:

In three dimensions: \( \mathbf{F}(x,y,z) = \langle P, Q, R \rangle \). Think of wind velocity at every location on a weather map, or the gravitational pull at every point around a planet.

Visualizing a Vector Field

We draw a small arrow at each sample point. The arrow's direction shows where the field points, and its length shows the magnitude.

\(x\) \(y\) origin

Where Do Vector Fields Appear?

Velocity Fields
Fluid flow: assign a velocity vector to every point in a river or atmosphere.
Gravitational Fields
Every point near a mass has a gravitational force vector pointing toward the center.
Electric Fields
Charges create fields: vectors point away from positive charges, toward negative ones.

What Are Field Lines?

A field line (also called a flow line or streamline) is a curve that is everywhere tangent to the vector field. If you released a particle into the field, it would follow a field line.

Field lines never cross (except at points where \( \mathbf{F} = \mathbf{0} \)), because a unique tangent direction is defined at every nonzero point.

The Field Line Equation

Equivalently, eliminating the parameter \( t \):

Solving this ODE (analytically or numerically) traces out the complete field line through any initial point.

Field Lines of \( \mathbf{F} = \langle -y, x \rangle \)

origin \(x\) \(y\)

Vector Plots vs. Field Lines

Vector Plot
Arrows at sample points. Shows direction and magnitude explicitly. Can look cluttered for dense fields.
Field Lines
Smooth curves tangent to the field. Spacing encodes magnitude. Cleaner for visualizing global flow patterns.

Gradient Fields: A Special Case

A vector field \( \mathbf{F} \) is called conservative (or a gradient field) if there exists a scalar function \( f \) such that:

Not all vector fields are conservative. The rotation field \( \langle -y, x \rangle \) has no potential function, because its curl is nonzero (\( \nabla \times \mathbf{F} \neq \mathbf{0} \)).

Divergence \( (\nabla \cdot \mathbf{F}) \) and Curl \( (\nabla \times \mathbf{F}) \)

Divergence \( \nabla \cdot \mathbf{F} \)
Measures whether field lines spread out (source, \( > 0 \)) or converge (sink, \( < 0 \)) at a point.
Curl \( \nabla \times \mathbf{F} \)
Measures the rotation tendency of the field around a point. Zero curl means no local spinning.

How to Sketch a Vector Field

1
Pick sample points. Choose a grid: the origin, axis points, and a few off-axis points.
2
Evaluate \( \mathbf{F} \). Compute the vector \( \langle P, Q \rangle \) at each sample point.
3
Draw arrows. Place each arrow with its tail at the sample point. Scale lengths proportionally to \( \|\mathbf{F}\| \).
4
Look for patterns. Do arrows rotate? Radiate outward? Converge? This reveals the field's character.
5
Sketch field lines. Draw smooth curves tangent to the arrows, adding arrowheads for direction.

Example 1: \( \mathbf{F} = \langle 1, 0 \rangle \)

Example 2: \( \mathbf{F} = \langle x, y \rangle \)

source \(x\) \(y\)

Example 3: \( \mathbf{F} = \langle -y, x \rangle \)

We solve the field line ODE:

The field lines are circles of radius \( R \). Direction: since \( \mathbf{F} \) at \( (1,0) \) is \( \langle 0, 1 \rangle \) (upward), the flow is counterclockwise.

Common Mistakes

✕ Crossing Field Lines
Drawing field lines that cross at a nonzero point. Two different tangent directions at one point are impossible for a continuous field.
✕ Arrow \( \neq \) Field Line
Treating individual arrows as field lines. Arrows show the field at isolated points: field lines are the smooth curves connecting them.
✕ Ignoring Magnitude
Drawing all arrows the same length. Arrow length should scale with \( \|\mathbf{F}\| \): longer arrows mean stronger field.

Summary Comparison

Vector Plot Field Lines
What is drawn Arrows at sample points Smooth tangent curves
Direction info Arrow orientation Curve tangent + arrowheads
Magnitude info Arrow length Line spacing (density)
Best for Local detail, exact values Global flow patterns
Equation Evaluate \( \mathbf{F}(x,y) \) Solve \( \frac{d\mathbf{r}}{dt} = \mathbf{F} \)

Question 1 of 5

A field line of a vector field \( \mathbf{F} \) is a curve that satisfies which condition?

Question 2 of 5

What are the field lines of the constant field \( \mathbf{F} = \langle 3, 0 \rangle \)?

Question 3 of 5

For the vector field \( \mathbf{F} = \langle x, y \rangle \), what is the divergence \( \nabla \cdot \mathbf{F} \)?

Question 4 of 5

In a field line diagram, what does closer spacing between field lines indicate?

Question 5 of 5

A vector field \( \mathbf{F} = \nabla f \) is called conservative. Its field lines are always: