Calculus 4Vector Fields

Vector Fields

A vector field attaches an arrow to every point.

Not started Jump to practice

A weather map with wind arrows, the current in a river, the pull of the Earth on a satellite: each one attaches a vector to every point of a region. You already know vectors and functions of several variables. A vector field puts the two together: a function whose input is a point and whose output is a vector.

Key idea

A vector field on a region $D$ in the plane assigns to each point $(x, y)$ a vector $$\mathbf{F}(x, y) = \langle P(x, y), Q(x, y) \rangle.$$ In space, $\mathbf{F}(x, y, z) = \langle P, Q, R \rangle$. To draw it, pick points and draw the arrow $\mathbf{F}(x, y)$ with its tail at the point. A flow line is a curve $\mathbf{r}(t)$ whose velocity always matches the field: $\mathbf{r}'(t) = \mathbf{F}(\mathbf{r}(t))$.

The components $P$ and $Q$ are ordinary scalar functions, so everything you know about continuity and partial derivatives applies to each one. A field is continuous when its components are, and it is "smooth" when its components have continuous partial derivatives. Most fields in this course are smooth except perhaps at a few points, such as the origin for the field of a point charge.

Some fields to know. The rotation field $\langle -y, x \rangle$ circles the origin counterclockwise. The radial field $\langle x, y \rangle$ points straight away from the origin. A constant field such as $\langle 3, -1 \rangle$ is the same arrow everywhere, like a steady wind. Newton's law of gravitation gives an inverse-square field: a mass $M$ at the origin pulls a mass $m$ at $\mathbf{r} = \langle x, y, z \rangle$ with force $$\mathbf{F} = -\frac{GMm}{|\mathbf{r}|^3}\,\mathbf{r},$$ which points toward the origin and has length $GMm/|\mathbf{r}|^2$.

Why it works

Why draw the tail at the point? Think of a river. The arrow at $(x, y)$ is the velocity of the bit of water that is at $(x, y)$ right now. It says which way that water is heading and how fast, so it starts where the water is. A flow line is the path one bit of water actually takes. Its velocity at each moment is the arrow at the place where it is at that moment, which is exactly $\mathbf{r}'(t) = \mathbf{F}(\mathbf{r}(t))$.
Why the rotation field circles: $\langle -y, x \rangle \cdot \langle x, y \rangle = -xy + yx = 0$, so each arrow is perpendicular to the line from the origin, and $|\langle -y, x \rangle| = \sqrt{x^2 + y^2}$ is the distance to the origin. Arrows tangent to circles, longer farther out.
The rotation field $\langle -y, x \rangle$ with moving particles. No particle travels in a straight line along one arrow; each turns as the arrows under it turn. The buttons switch to other common fields.

Worked examples

Worked example: Evaluating a field

Find $\mathbf{F}(2, -1)$ and its length for $\mathbf{F}(x, y) = \langle x - y, xy \rangle$.
  1. Substitute: $P(2, -1) = 2 - (-1) = 3$ and $Q(2, -1) = 2 \cdot (-1) = -2$.
  2. So the arrow at $(2, -1)$ is $\langle 3, -2 \rangle$, pointing right and down.
  3. Its length is $\sqrt{9 + 4} = \sqrt{13}$. In a velocity field, that is the speed there.

Answer: $\langle 3, -2 \rangle$, length $\sqrt{13}$

Worked example: Sketching the rotation field

Sketch $\mathbf{F}(x, y) = \langle -y, x \rangle$ from a few arrows.
  1. At $(1, 0)$: $\langle 0, 1 \rangle$, up. At $(0, 1)$: $\langle -1, 0 \rangle$, left. At $(-1, 0)$: $\langle 0, -1 \rangle$, down. At $(0, -1)$: $\langle 1, 0 \rangle$, right.
  2. At $(2, 0)$: $\langle 0, 2 \rangle$, twice as long as at $(1, 0)$.
  3. The arrows go around the origin counterclockwise, getting longer with distance, as the Why box shows.

Answer: counterclockwise circles, length equal to the distance from the origin

Worked example: Checking a flow line

Is $\mathbf{r}(t) = \langle 2\cos t, 2\sin t \rangle$ a flow line of $\mathbf{F} = \langle -y, x \rangle$?
  1. $\mathbf{r}'(t) = \langle -2\sin t, 2\cos t \rangle$.
  2. $$\mathbf{F}(\mathbf{r}(t)) = \langle -y, x \rangle = \langle -2\sin t, 2\cos t \rangle.$$
  3. They are equal for every $t$, so yes: a particle in this flow goes around the circle of radius ${}2$, counterclockwise.

Answer: yes

Common mistake

Reading an arrow as a path. The arrow at a point is a velocity at that instant, not a trip. In the rotation field the arrow at $(1, 0)$ points straight up, but a particle starting there does not move straight up; one moment later it is at a new point with a new arrow, and it curves around the circle. To get paths, solve $\mathbf{r}'(t) = \mathbf{F}(\mathbf{r}(t))$ or follow the arrows a little at a time.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 1 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • OpenStax Calculus Volume 3, 6.1 Vector Fields
@teddyrookbook GitHub