Multivariable Calculus · Undergraduate
Vector Fields
Quick answer
A vector field F assigns a vector to each point of the plane or of space, such as the velocity of a fluid or the force of gravity. In the plane it has two component functions, F = (P, Q). Drawing arrows at a grid of points shows the pattern: rotation, flow outward, flow along a slope. The gradient of any function f is a vector field, perpendicular to the level curves of f. A flow line is a curve whose velocity at each moment equals the field there.
What you'll learn
- Evaluate and sketch a vector field in the plane
- Recognize rotational, radial and gradient fields
- Compute the gradient field of a function
- Verify that a curve is a flow line of a field
An arrow at every point
A weather map shows wind as arrows scattered across a country, each one giving the wind’s direction and speed at its location. That is a vector field: a function that takes a point and returns a vector. In the plane,
with two ordinary functions and as its components. In space a field has three components, , each a function of , and . Velocity fields describe fluids, force fields describe gravity and electricity, and gradient fields describe how a function changes.
To draw a field, evaluate it at a grid of points and draw each vector as an arrow there. The arrows below are all scaled by one factor, so their lengths compare correctly even though they are shorter than the true vectors.
Why fields are the right language
A single vector describes one velocity or one force. Most of physics needs a vector at every point at once: the velocity of every drop of a river, the pull of the Sun at every position a planet might occupy. Calculus with fields answers questions that single vectors cannot. How much work does the wind do on a kite flying along a path? How much water crosses a net each second? Does a fluid swirl, and does it spread out? A vector field packages the whole situation into one object, so these questions become integrals and derivatives of the field. The next lessons build exactly those tools: line integrals, then Green’s theorem.
Worked examples
- xy = 1
- xy = −1
Flow lines
Drop a cork into a fluid with velocity field . Its path has velocity equal to the field wherever it is:
Such a curve is a flow line, or streamline. In a picture of the field, flow lines are the curves that the arrows are tangent to.
Common mistakes
Practice problems
-
Evaluate at and find the length of the vector.
Answer
, length
Full solution
and . The length is .
-
Find the gradient field of and describe it.
Answer
, the radial field doubled
Full solution
The arrows point straight away from the origin, twice as long as the position vector. They cross the circular level curves at right angles.
-
Find the gradient field of .
Answer
Full solution
By the chain rule, and .
-
Find the gradient field of .
Answer
Full solution
Each partial derivative treats the other two variables as constants.
-
Which field has every arrow pointing straight toward the origin: , or ?
Answer
Full solution
is the negative of the position vector, so it points from each point back to the origin. is the gradient of and circles the origin.
-
Show that is a flow line of and say which point it passes through at .
Answer
; it passes through .
Full solution
The field at is , which equals the velocity. The cork moves out along the line , faster and faster.
-
Decide whether and can be gradient fields, using the test .
Answer
passes, and it is ; fails.
Full solution
For , both partials equal . For , but , so no function has gradient .
-
A student draws for the rotation field as an arrow from the origin to . What should the picture show?
Answer
An arrow placed at , pointing left.
Full solution
A vector field attaches each vector to its own point. At , on top of the circle of radius , the counterclockwise flow heads left.
Frequently asked questions
What is a vector field?
A function that assigns a vector to each point of a region. In the plane, F(x, y) = P(x, y) i + Q(x, y) j, with two component functions P and Q.
How do you sketch a vector field?
Evaluate F at a grid of points and draw each vector as an arrow starting at, or centered on, its point. Scaling all arrows by the same factor keeps the picture readable while preserving relative lengths.
What is a gradient field?
The vector field ∇f of a function f. Its arrows point in the direction f increases fastest and cross the level curves of f at right angles.
What is a flow line?
A curve r(t) whose velocity is the field at every point: r′(t) = F(r(t)). A particle carried by a fluid with velocity field F travels along a flow line.
Is every vector field a gradient field?
No. A gradient field in the plane must satisfy ∂P/∂y = ∂Q/∂x, and the rotation field (−y, x) fails that test. Fields that are gradients are called conservative.