MULTIVARIABLE CALCULUS • VECTOR FIELDS

Vector Fields & Field Lines — Interpret vector fields and field lines

Discover how arrows on a map can reveal the hidden forces and flows shaping our physical world.

Historical Context & Motivation

Long before anyone wrote down a formal definition, people were already thinking about quantities that have both a size and a direction at every point in space. Wind, ocean currents, and the pull of gravity all vary from place to place, and scientists needed a visual language to capture that variation. The idea of a vector field grew out of this practical need: a systematic way to assign an arrow — with a specific length and direction — to every point in a region. Closely related are field lines, the smooth curves that trace the direction of those arrows from one location to the next, giving us an intuitive picture of flow or force.

1687
Newton's Gravitational Field
Isaac Newton published the Principia, describing gravity as a force that acts at every point around a massive object — an early implicit use of a vector field, though Newton did not use that term.
1831
Faraday's Lines of Force
Michael Faraday introduced lines of force to visualize electric and magnetic fields. He sprinkled iron filings around magnets, revealing beautiful curved patterns that became the first widely known field-line diagrams.
1864
Maxwell's Equations
James Clerk Maxwell translated Faraday's visual ideas into rigorous mathematics, publishing four equations that describe electric and magnetic vector fields. This milestone married the visual and the mathematical.
1890s–1900s
Formal Vector Calculus
Josiah Willard Gibbs and Oliver Heaviside developed modern vector notation (using i, j, k components), making it practical to write down and manipulate vector fields algebraically. Their notation is still the standard today.

The central question this lesson addresses is straightforward but powerful: given a formula or a picture full of arrows, how do you read and interpret it? Understanding vector fields and field lines unlocks the door to topics like fluid dynamics, electromagnetism, and later multivariable calculus ideas such as divergence and curl.

Core Principles & Definitions

Before diving into diagrams and equations, let's lock down the foundational ideas that make vector fields work. Every concept below builds on something you already know — vectors from physics or precalculus — and extends it so that a vector exists at every single point in a region, not just at one location.

1

Vector Field

A function that assigns a vector (magnitude and direction) to each point in a region of space. In 2-D, it looks like F(x, y) = ⟨P(x, y), Q(x, y)⟩, where P and Q give the horizontal and vertical components.
2

Magnitude (Length)

The length of each arrow tells you the strength or speed at that point. Longer arrows mean a stronger force or faster flow. Calculated as |F| = √(P² + Q²).
3

Direction

The angle each arrow points indicates where the quantity (force, velocity, etc.) is directed. Direction can be found using θ = arctan(Q/P).
4

Field Lines (Flow Lines)

Smooth curves that are everywhere tangent to the vector field. A tiny particle dropped into the field would travel along a field line. Where arrows are dense and long, field lines are packed closely together.
5

Sources & Sinks

A source is a point where field lines radiate outward. A sink is where they converge inward. These reveal where quantities are created or absorbed.
KEY TAKEAWAY
Think of a vector field like a weather map showing wind. At every city on the map, a small arrow tells you how fast the wind blows and in which direction. Field lines are the paths that a balloon would follow if you released it into that wind. Where the arrows are long and bunched together, the wind is strong; where they are short and spread apart, the wind is gentle.

Visualizing a Vector Field

The best way to build intuition about vector fields is to look at one. The diagram below shows the two-dimensional vector field F(x, y) = ⟨−y, x⟩. At each sampled point (x, y), we draw a small arrow whose horizontal component is −y and whose vertical component is x. Notice how all the arrows seem to swirl around the origin — this field represents a counter-clockwise rotation.

The arrows circulate counter-clockwise around the origin. Notice that arrows farther from the origin are longer because the magnitude |F| = √(x² + y²) grows with distance. At the origin itself, the vector is the zero vector — that point is an equilibrium point.

When you look at this diagram, focus on two things. First, check the direction pattern: are the arrows all pointing one way, swirling, or radiating outward? Here, they clearly swirl around the origin. Second, examine magnitude: do the arrows get longer or shorter as you move away from a particular point? In this field, the arrows grow with distance from the origin, meaning the rotational speed increases as you move outward.

Mathematical Framework

A vector field in two dimensions is written as a function that takes an input point (x, y) and returns a two-component vector. Let's set up the notation and key formulas you'll use when working with vector fields.

2-D VECTOR FIELD DEFINITION
F(x, y) = ⟨P(x, y), Q(x, y)⟩ = P(x, y) i + Q(x, y) j
F is the vector field. P(x, y) is the horizontal (x) component. Q(x, y) is the vertical (y) component. i and j are the unit vectors along the x- and y-axes.
MAGNITUDE OF THE VECTOR
|F(x, y)| = √(P(x, y)² + Q(x, y)²)
The magnitude tells you how strong the field is at a given point. It uses the same Pythagorean-style formula you know from computing the length of any 2-D vector.
DIRECTION ANGLE
θ = arctan(Q(x, y) / P(x, y))
θ is measured counter-clockwise from the positive x-axis. Be sure to adjust for the correct quadrant (use atan2 if available on your calculator).
FIELD LINE CONDITION
dy/dx = Q(x, y) / P(x, y)
Field lines are curves y(x) whose slope at every point equals the ratio of the field's components. Solving this differential equation (when possible) gives you the equation of a field line.
💡 Why does dy/dx = Q/P define a field line?
A field line must be tangent to the vector field at every point. The slope of the tangent line at a point is dy/dx, and the slope of the vector ⟨P, Q⟩ is Q/P. Setting these equal ensures the curve always 'follows' the arrows.

Field Lines in Detail

While a vector-field plot shows individual arrows at sampled points, field lines connect those arrows into smooth, continuous curves. Understanding the rules that govern field lines is critical for interpreting any vector-field diagram.

  • Tangency rule: At every point, the field line is tangent to the vector at that point.
  • Density rule: Field lines are drawn closer together where the magnitude is larger, and farther apart where it is smaller.
  • No crossing: Field lines never cross each other because a vector field assigns exactly one vector at each point. Two lines crossing would imply two different directions at the same point, which is impossible.
  • Direction arrows: Arrowheads on field lines indicate the direction a particle would move if placed in the field.
A source (left, yellow) radiates field lines outward — imagine a faucet pushing water away. A sink (right, green) draws field lines inward — like a drain pulling water in. The spacing between lines tells you the field's strength.

In real-world applications, a source might represent a positive electric charge emitting an electric field, while a sink might represent a negative charge attracting field lines. In fluid mechanics, a source is a point where fluid is being injected into a flow, and a sink is a point where fluid is being removed. Understanding these patterns helps you quickly classify a vector field just by looking at its picture.

Worked Example

Let's walk through a complete example. We'll analyze the vector field F(x, y) = ⟨x, y⟩, sketch a few vectors, find the magnitude and direction at a specific point, and determine the field-line equation.

Analyzing F(x, y) = ⟨x, y⟩
1
Step 1 — Evaluate the field at several pointsPick a few sample points and compute the vector at each. • At (1, 0): F = ⟨1, 0⟩ — a unit arrow pointing right. • At (0, 2): F = ⟨0, 2⟩ — an arrow pointing straight up with length 2. • At (1, 1): F = ⟨1, 1⟩ — an arrow pointing diagonally up-right. • At (−1, −1): F = ⟨−1, −1⟩ — an arrow pointing diagonally down-left. Pattern: every arrow points directly away from the origin.
2
Step 2 — Compute magnitude at (3, 4)Use the magnitude formula: |F(3, 4)| = √(3² + 4²) = √(9 + 16) = √25.
|F| = 5
3
Step 3 — Find the direction at (3, 4)θ = arctan(Q/P) = arctan(4/3) ≈ 53.1°. The vector at (3, 4) points roughly northeast, which matches our intuition that every arrow radiates away from the origin.
θ ≈ 53.1°
4
Step 4 — Determine the field-line equationSet up the differential equation for field lines: dy/dx = Q/P = y/x. This is a separable equation. Separate variables: (1/y) dy = (1/x) dx. Integrate both sides: ln|y| = ln|x| + C. Exponentiate: |y| = eC × |x|, so y = kx where k is any real constant.
Field lines: y = kx (straight lines through the origin)
5
Step 5 — Interpret the resultThe field lines of F(x, y) = ⟨x, y⟩ are straight lines passing through the origin, radiating outward. This confirms that the origin is a source. The magnitude grows linearly with distance from the origin, so the arrows get longer as you move outward — the field lines spread apart proportionally.

Vector Plots vs. Field Lines — Strengths & Limitations

There are two main ways to visualize a vector field: a vector plot (arrows at sampled points) and a field-line diagram (smooth curves with arrowheads). Each approach has trade-offs, and knowing when to use which representation will make you a stronger problem solver.

Comparing two common ways to visualize vector fields
FeatureVector Plot (Arrows)Field-Line Diagram
Shows magnitudeYes — directly, via arrow lengthIndirectly — via line spacing (closer = stronger)
Shows directionYes — the way the arrow pointsYes — tangent direction plus arrowheads
Reveals global flowDifficult — arrows are isolated at sample pointsExcellent — continuous curves show the 'big picture'
Quantitative precisionHigher — can read off components from arrow lengthLower — spacing is qualitative
Visual clutterCan get crowded if too many arrows are drawnCleaner; a few curves convey a lot of information
KEY TAKEAWAY
Think of a vector plot as a collection of individual compass needles scattered across a map — each one tells you the exact reading at that spot. A field-line diagram is more like tracing the path of a leaf floating on a stream; it shows you where the whole flow goes but not the exact speed at every point. Good physicists and mathematicians switch between the two representations depending on what question they're trying to answer.

Connection to Advanced Theory

Once you're comfortable interpreting vector fields and field lines, you're perfectly positioned to study two powerful operations in multivariable calculus: divergence and curl. Divergence measures how much a field 'spreads out' from a point (think sources and sinks), while curl measures how much it 'rotates' around a point (think swirling water). Both are defined in terms of partial derivatives of the component functions P and Q.

How today's concepts connect to upcoming multivariable calculus topics
ConceptWhat You Learn NowWhat Comes Next
Field interpretationRead direction and magnitude from arrows or field linesCompute divergence (∂P/∂x + ∂Q/∂y) to quantify source/sink behavior
RotationVisually identify swirling patternsCompute curl (∂Q/∂x − ∂P/∂y) to quantify rotation
Field linesSolve dy/dx = Q/P for curvesUse line integrals to compute work or flux along curves
3-D extensionUnderstand 2-D fields F(x, y) = ⟨P, Q⟩Extend to 3-D: F(x, y, z) = ⟨P, Q, R⟩ with gradient, Stokes' theorem, etc.

The ability to look at a vector field and say, 'This has a source here,' or 'This is rotating clockwise over there,' is exactly the kind of qualitative reasoning that makes the later quantitative tools (divergence, curl, and the big integral theorems) feel natural rather than abstract.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why field lines can never cross each other. What would it mean physically if two field lines did cross at a point?
PROBLEM 2BASIC CALCULATION
For the vector field F(x, y) = ⟨2x, −3y⟩, compute the vector, its magnitude, and its direction angle at the point (1, −2).
PROBLEM 3INTERMEDIATE
Find the equation of the field lines for F(x, y) = ⟨y, −x⟩. What geometric shape do these field lines form?
PROBLEM 4APPLIED
A river's velocity at position (x, y) (in meters, with y pointing downstream) is modeled by v(x, y) = ⟨0, 4 − x²⟩, where the riverbanks are at x = −2 and x = 2. Describe how the speed of the water varies from bank to bank. Where is the flow fastest?
PROBLEM 5CRITICAL THINKING
Consider F(x, y) = ⟨x, y⟩ and G(x, y) = ⟨x/(x² + y²), y/(x² + y²)⟩ (defined for (x, y) ≠ (0, 0)). Both fields have field lines that are straight rays emanating from the origin. How do the two fields differ, and what does this tell you about the limitation of field lines as a visualization tool?

Lesson Summary

A vector field assigns a vector — with a magnitude and a direction — to every point in a region. In two dimensions, you write it as F(x, y) = ⟨P(x, y), Q(x, y)⟩, where P gives the horizontal component and Q gives the vertical component. The magnitude at any point is computed as √(P² + Q²), and the direction angle is found using θ = arctan(Q/P).

Field lines are smooth curves that are tangent to the vector field at every point. They satisfy dy/dx = Q/P, and they never cross. Closely spaced field lines indicate a strong field, while widely spaced lines indicate a weak field. Points where lines radiate outward are called sources, and points where lines converge inward are sinks. Together, vector plots and field-line diagrams give you complementary tools for understanding physical phenomena — from wind and water flow to electric and gravitational forces — and they set the stage for deeper multivariable calculus concepts like divergence and curl.

Varsity Tutors • Multivariable Calculus • Vector Fields & Field Lines