Vector Fields

⚡ Key Takeaways

A vector field assigns a vector to every point of a region in space. In symbols, F:U⊆Rn→Rn\mathbf{F}:U\subseteq\mathbb{R}^n\to\mathbb{R}^n. Vector fields model flows, forces, and gradients — velocity of a fluid, the electric field, the gradient of temperature. They are the central objects of vector calculus, manipulated via the operators gradient, divergence, and curl, and integrated via line and surface integrals. Foundational work: Gauss, Green, Stokes, Maxwell, and Gibbs/Heaviside (19th century).

💡 The Core Insight

A scalar field gives you one number at each point (temperature, pressure); a vector field gives you a whole arrow — magnitude and direction — at each point. The geometry of how those arrows spread, swirl, and align is captured entirely by three derivatives: the gradient (∇f\nabla f, building a field from a scalar), the divergence (∇⋅F\nabla\cdot\mathbf{F}, measuring outflow), and the curl (∇×F\nabla\times\mathbf{F}, measuring rotation). Mastering vector fields is mastering the dictionary between these local derivatives and global integrals.

Formal Statement

DefinitionVector Field

Let U⊆RnU\subseteq\mathbb{R}^n be an open set. A vector field on UU is a map

1
F:U→Rn,F(x)=(F1(x), F2(x), …, Fn(x)),\quad \mathbf{F}:U\to\mathbb{R}^n,\qquad \mathbf{F}(\mathbf{x})=\big(F_1(\mathbf{x}),\,F_2(\mathbf{x}),\,\dots,\,F_n(\mathbf{x})\big),

Derivation hint: this is a definition; Fi:U→RF_i:U\to\mathbb{R} are the component (scalar) functions, and x=(x1,…,xn)\mathbf{x}=(x_1,\dots,x_n). We say F\mathbf{F} is continuous (resp. C1C^1, C∞C^\infty) if every component FiF_i is continuous (resp. continuously differentiable, smooth). In three dimensions the standard notation, using basis vectors i,j,k\mathbf{i},\mathbf{j},\mathbf{k}, is

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

Derivation hint: rewrite (F1,F2,F3)(F_1,F_2,F_3) as P,Q,RP,Q,R — the traditional letters for the three components in vector calculus.

DefinitionThe Del Operator and Its Three Children

Define the symbolic vector operator ∇\nabla ("del" or "nabla") in R3\mathbb{R}^3 by

3
∇=(∂∂x,∂∂y,∂∂z).\quad \nabla=\left(\frac{\partial}{\partial x},\frac{\partial}{\partial y},\frac{\partial}{\partial z}\right).

Derivation hint: ∇\nabla is not a number but a recipe — it acts on whatever stands to its right. The gradient of a scalar field ff, the divergence and curl of a vector field F=(P,Q,R)\mathbf{F}=(P,Q,R) are

4
∇f=(∂f∂x,∂f∂y,∂f∂z),\quad \nabla f=\left(\frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z}\right),

Derivation hint: apply each component of ∇\nabla to the scalar ff — produces a vector field.

5
∇⋅F=∂P∂x+∂Q∂y+∂R∂z,\quad \nabla\cdot\mathbf{F}=\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z},

Derivation hint: formal dot product of ∇\nabla with F\mathbf{F} — produces a scalar field.

6
∇×F=(∂R∂y−∂Q∂z,  ∂P∂z−∂R∂x,  ∂Q∂x−∂P∂y).\quad \nabla\times\mathbf{F}=\left(\frac{\partial R}{\partial y}-\frac{\partial Q}{\partial z},\;\frac{\partial P}{\partial z}-\frac{\partial R}{\partial x},\;\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right).

Derivation hint: formal cross product ∇×F\nabla\times\mathbf{F} via the determinant of the matrix with rows (i,j,k)(\mathbf{i},\mathbf{j},\mathbf{k}), (∂x,∂y,∂z)(\partial_x,\partial_y,\partial_z), (P,Q,R)(P,Q,R) — produces a vector field.

DefinitionConservative (Gradient) Field

A vector field F\mathbf{F} on UU is conservative if there exists a scalar field ff (a potential) with

7
F=∇fon U.\quad \mathbf{F}=\nabla f \quad\text{on } U.

Derivation hint: definition; the sign convention F=−∇ϕ\mathbf{F}=-\nabla\phi is common in physics (force = minus gradient of potential energy).

TheoremFundamental Theorem for Line Integrals

If F=∇f\mathbf{F}=\nabla f is continuous on UU and CC is a piecewise-smooth curve from a\mathbf{a} to b\mathbf{b} inside UU, then the line integral depends only on the endpoints:

8
∫CF⋅dr=∫C∇f⋅dr=f(b)−f(a).\quad \int_C \mathbf{F}\cdot d\mathbf{r}=\int_C \nabla f\cdot d\mathbf{r}=f(\mathbf{b})-f(\mathbf{a}).

Derivation hint: parametrize CC by r(t)\mathbf{r}(t), apply the chain rule to ddtf(r(t))=∇f⋅r′(t)\tfrac{d}{dt}f(\mathbf{r}(t))=\nabla f\cdot\mathbf{r}'(t), then integrate using the single-variable FTC. Consequently, line integrals of conservative fields around any closed loop vanish.

TheoremCurl Test for Conservativeness

Let F\mathbf{F} be C1C^1 on a simply connected open set U⊆R3U\subseteq\mathbb{R}^3. Then

9
F=∇f for some f  ⟺  ∇×F=0 on U.\quad \mathbf{F}=\nabla f \text{ for some } f \iff \nabla\times\mathbf{F}=\mathbf{0} \text{ on } U.

Derivation hint: the forward direction is the identity ∇×(∇f)=0\nabla\times(\nabla f)=\mathbf{0} (mixed partials commute); the converse uses simple-connectedness via <a class="wiki-link" href="/wiki/ndli-iit-kgp-ma10002-mathematics-ii-stokes-theorem">Stokes&#39; Theorem</a> to construct ff by path integration.

Why It Holds / Derivation

ProofThe Two Fundamental Vector Identities

We prove ∇×(∇f)=0\nabla\times(\nabla f)=\mathbf{0} and ∇⋅(∇×F)=0\nabla\cdot(\nabla\times\mathbf{F})=0, the backbone of the curl/divergence tests.

Step 1 — Curl of a gradient. Let ff be C2C^2 so mixed partials commute (Clairaut's theorem). Compute the first component of ∇×(∇f)\nabla\times(\nabla f) using [6] with (P,Q,R)=(fx,fy,fz)(P,Q,R)=(f_x,f_y,f_z):

10
(∇×∇f)1=∂fz∂y−∂fy∂z=fzy−fyz=0.\quad \big(\nabla\times\nabla f\big)_1=\frac{\partial f_z}{\partial y}-\frac{\partial f_y}{\partial z}=f_{zy}-f_{yz}=0.

Derivation hint: substitute R=fz, Q=fyR=f_z,\ Q=f_y into the first slot of [6], then invoke fzy=fyzf_{zy}=f_{yz}.

Step 2. By symmetry the other two components also vanish, so ∇×(∇f)=0\nabla\times(\nabla f)=\mathbf{0}.

Step 3 — Divergence of a curl. With F=(P,Q,R)\mathbf{F}=(P,Q,R) apply [5] to the vector [6]:

11
∇⋅(∇×F)=∂∂x ⁣(Ry−Qz)+∂∂y ⁣(Pz−Rx)+∂∂z ⁣(Qx−Py).\quad \nabla\cdot(\nabla\times\mathbf{F})=\frac{\partial}{\partial x}\!\big(R_y-Q_z\big)+\frac{\partial}{\partial y}\!\big(P_z-R_x\big)+\frac{\partial}{\partial z}\!\big(Q_x-P_y\big).

Derivation hint: differentiate each component of [6] and add.

Step 4. Expand: the six terms are Ryx−Qzx+Pzy−Rxy+Qxz−PyzR_{yx}-Q_{zx}+P_{zy}-R_{xy}+Q_{xz}-P_{yz}. By equality of mixed partials, Ryx=RxyR_{yx}=R_{xy}, Qzx=QxzQ_{zx}=Q_{xz}, Pzy=PyzP_{zy}=P_{yz}, so all six cancel in pairs, giving ∇⋅(∇×F)=0\nabla\cdot(\nabla\times\mathbf{F})=0. ■\blacksquare

∎
ProofFundamental Theorem for Line Integrals

Step 1. Parametrize CC by r(t)\mathbf{r}(t), t∈[a,b]t\in[a,b], with r(a)=a\mathbf{r}(a)=\mathbf{a}, r(b)=b\mathbf{r}(b)=\mathbf{b}. By definition,

12
∫C∇f⋅dr=∫ab∇f(r(t))⋅r′(t) dt.\quad \int_C\nabla f\cdot d\mathbf{r}=\int_a^b \nabla f(\mathbf{r}(t))\cdot\mathbf{r}'(t)\,dt.

Derivation hint: the line-integral definition replaces drd\mathbf{r} with r′(t) dt\mathbf{r}'(t)\,dt.

Step 2. The multivariable chain rule gives ddt f(r(t))=∇f(r(t))⋅r′(t)\dfrac{d}{dt}\,f(\mathbf{r}(t))=\nabla f(\mathbf{r}(t))\cdot\mathbf{r}'(t), so the integrand is an exact derivative.

Step 3. Apply the single-variable Fundamental Theorem of Calculus:

13
∫abddtf(r(t)) dt=f(r(b))−f(r(a))=f(b)−f(a). ■\quad \int_a^b \frac{d}{dt}f(\mathbf{r}(t))\,dt = f(\mathbf{r}(b))-f(\mathbf{r}(a))=f(\mathbf{b})-f(\mathbf{a}). \ \blacksquare

Derivation hint: the result is path-independent because only endpoint values survive.

∎
JC
James Clerk Maxwell
1831–1879

Maxwell turned the abstract vector field into the governing language of physics. Building on Faraday's intuitive "lines of force," he formulated the electromagnetic field as coupled vector fields E\mathbf{E} and B\mathbf{B}, and his 1865 equations — later compactly written with ∇⋅\nabla\cdot and ∇×\nabla\times by Heaviside and Gibbs — predicted that electromagnetic disturbances propagate as waves at the speed of light. His Treatise on Electricity and Magnetism (1873) is the historical birthplace of the field concept as we teach it.

Building Intuition

🧠 Intuition

Picture a windy weather map: at every city an arrow shows wind speed and direction. That is a vector field. Now read its three derivatives physically:

  • Gradient turns a "hill" (scalar height) into arrows pointing uphill, steepest first — it always points perpendicular to level curves.
  • Divergence at a point asks: is this a source or a sink? Drop a tiny balloon; if air rushes out faster than it comes in, divergence is positive (a source); if it collapses inward, negative.
  • Curl asks: would a tiny paddlewheel spin here? Place a microscopic wheel in the flow; if neighboring arrows are stronger on one side it rotates — curl points along the spin axis (right-hand rule) with magnitude twice the local angular velocity.

A field can have zero divergence yet swirl violently (pure rotation), or huge divergence yet never spin (radial outflow). These two behaviors are independent — that independence is exactly what the Helmholtz decomposition formalizes.

Figure
A planar vector field: rotational part (closed flow lines) versus the radial source. The gold curve traces one integral curve (flow line) of the swirling component.
Rotational (curl ≠ 0, div = 0) Radial source (div > 0, curl = 0) flow line source point paddlewheel spins

Worked Examples

ExampleDivergence and Curl of an Explicit Field

Given: F(x,y,z)=(xy, y2z, xz2)\mathbf{F}(x,y,z)=(xy,\ y^2z,\ xz^2) at the point (1,2,3)(1,2,3).

Find: ∇⋅F\nabla\cdot\mathbf{F} and ∇×F\nabla\times\mathbf{F} there.

Step 1 — Divergence (use [5]):

P=xy, Q=y2z, R=xz2,Px=y, Qy=2yz, Rz=2xz.P=xy,\ Q=y^2z,\ R=xz^2,\quad P_x=y,\ Q_y=2yz,\ R_z=2xz.
∇⋅F=y+2yz+2xz.\nabla\cdot\mathbf{F}=y+2yz+2xz.

At (1,2,3)(1,2,3): 2+2(2)(3)+2(1)(3)=2+12+6=20.2+2(2)(3)+2(1)(3)=2+12+6=20.

Step 2 — Curl (use [6]):

  • 1st: Ry−Qz=0−y2=−y2R_y-Q_z=0-y^2=-y^2
  • 2nd: Pz−Rx=0−z2=−z2P_z-R_x=0-z^2=-z^2
  • 3rd: Qx−Py=0−x=−xQ_x-P_y=0-x=-x

So ∇×F=(−y2, −z2, −x)\nabla\times\mathbf{F}=(-y^2,\,-z^2,\,-x). At (1,2,3)(1,2,3): (−4, −9, −1)(-4,\,-9,\,-1).

∇⋅F=20 (s−1 if F is a velocity in s−1-scaled units),∇×F=(−4,−9,−1).\boxed{\nabla\cdot\mathbf{F}=20\ \text{(s}^{-1}\text{ if F is a velocity in s}^{-1}\text{-scaled units)},\qquad \nabla\times\mathbf{F}=(-4,-9,-1).}
ExampleFinding a Potential and a Line Integral

Given: F(x,y)=(2xy+3, x2−1)\mathbf{F}(x,y)=(2xy+3,\ x^2-1). Compute ∫CF⋅dr\displaystyle\int_C\mathbf{F}\cdot d\mathbf{r} along any path from (0,0)(0,0) to (2,1)(2,1).

Step 1 — Test conservativeness: P=2xy+3P=2xy+3, Q=x2−1Q=x^2-1. Then Py=2xP_y=2x and Qx=2xQ_x=2x, equal everywhere; R2\mathbb{R}^2 is simply connected, so F=∇f\mathbf{F}=\nabla f exists (planar curl test, special case of [9]).

Step 2 — Build ff: Integrate PP in xx: f=x2y+3x+g(y)f=x^2y+3x+g(y). Differentiate in yy: fy=x2+g′(y)f_y=x^2+g'(y) must equal Q=x2−1Q=x^2-1, so g′(y)=−1g'(y)=-1, g(y)=−yg(y)=-y. Thus

f(x,y)=x2y+3x−y.f(x,y)=x^2y+3x-y.

Step 3 — Apply the Fundamental Theorem [8]:

∫CF⋅dr=f(2,1)−f(0,0)=(4⋅1+6−1)−0=9.\int_C\mathbf{F}\cdot d\mathbf{r}=f(2,1)-f(0,0)=\big(4\cdot1+6-1\big)-0=9.
∫CF⋅dr=9 (units of work, e.g. joules if F is a force in N).\boxed{\int_C\mathbf{F}\cdot d\mathbf{r}=9\ \text{(units of work, e.g. joules if F is a force in N).}}

Common Misconceptions

⚠️ Common mistake

Zero curl does NOT automatically mean conservative. Equation [9] requires the domain to be simply connected (no holes). On a domain with a hole, a field can satisfy ∇×F=0\nabla\times\mathbf{F}=\mathbf{0} everywhere yet fail to be a gradient. Likewise, divergence and curl are not "the derivative" of a vector field — they are two specific scalar/vector summaries of the full n×nn\times n Jacobian matrix ∂Fi/∂xj\partial F_i/\partial x_j. The Jacobian carries strictly more information.

CounterexampleIrrotational but Not Conservative

Consider on U=R2∖{(0,0)}U=\mathbb{R}^2\setminus\{(0,0)\} the field

14
F(x,y)=(−yx2+y2, xx2+y2).\quad \mathbf{F}(x,y)=\left(\frac{-y}{x^2+y^2},\ \frac{x}{x^2+y^2}\right).

Derivation hint: this is ∇θ\nabla\theta in regions where the polar angle θ\theta is single-valued, but θ\theta jumps by 2π2\pi around the origin. A direct computation gives Qx−Py=0Q_x-P_y=0 everywhere on UU (irrotational). Yet integrating around the unit circle counterclockwise gives

∮CF⋅dr=∫02π1 dθ=2π≠0.\oint_C\mathbf{F}\cdot d\mathbf{r}=\int_0^{2\pi}1\,d\theta=2\pi\neq0.

A nonzero loop integral is impossible for a true gradient field (by [8]), so F\mathbf{F} is not conservative on UU. The culprit is the hole at the origin — UU is not simply connected.

Connections

connection

Vector fields are the meeting point of nearly all of vector calculus. The three integral theorems — Green's Theorem (plane), Stokes' Theorem (surfaces), and the Divergence Theorem — each relate an integral of a derivative of F\mathbf{F} over a region to an integral of F\mathbf{F} over its boundary; together with Differential Forms they unify into the generalized Stokes theorem ∫Mdω=∫∂Mω\int_M d\omega=\int_{\partial M}\omega. The flow generated by integrating x˙=F(x)\dot{\mathbf{x}}=\mathbf{F}(\mathbf{x}) links vector fields to Ordinary Differential Equations and Dynamical Systems. On curved spaces, vector fields become sections of the Tangent Bundle studied in Differential Geometry, and the Helmholtz decomposition generalizes to the Hodge Decomposition.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1760s — Euler & Lagrange: velocity fields appear implicitly in early fluid mechanics; the Euler equations describe an ideal fluid's velocity field.
- 1813 — Gauss: states the divergence theorem in the context of gravitational potential.
- 1828 — George Green: Essay on the Application of Mathematical Analysis to Electricity and Magnetism introduces potential theory and Green's theorem.
- 1831–1855 — Michael Faraday: experimental "lines of force," the physical seed of the field concept (though Faraday used no equations).
- 1850s — William Thomson (Lord Kelvin) & Stokes: formulate and popularize Stokes' theorem (it appears as an 1854 Smith's Prize exam question).
- 1865/1873 — James Clerk Maxwell: unifies electricity, magnetism, and light into field equations; coins much field terminology including "curl" and "convergence."
- 1880s — Josiah Willard Gibbs & Oliver Heaviside: independently develop modern vector analysis, the ∇\nabla notation, and the compact form of Maxwell's equations — defeating Hamilton's quaternions for the textbook standard.
- 1858 — Hermann von Helmholtz: proves the decomposition of a vector field into curl-free and divergence-free parts (vorticity theorems).
- 1900s — Élie Cartan: the calculus of differential forms recasts all vector-field theorems in coordinate-free language.

Subtleties & Limits

open-problem

The deepest open question tied directly to vector fields is the Navier–Stokes existence and smoothness problem — a Clay Millennium Prize problem: do smooth, finite-energy initial velocity fields in R3\mathbb{R}^3 always produce solutions that remain smooth for all time, or can the velocity field develop a singularity (blow up to infinite speed) in finite time? No one knows. More broadly, the topology of the domain controls which irrotational fields are gradients (de Rham cohomology measures the failure), and on curved manifolds the naive operators must be replaced by the exterior derivative and Hodge star, where the index theorems (e.g. Poincaré–Hopf, relating zeros of a vector field to the Euler characteristic) impose global constraints — you cannot, for instance, comb a hairy sphere flat.

See Also

Divergence · Curl · Gradient · Line Integral · Surface Integral · Conservative Fields · Helmholtz Decomposition · Tangent Bundle · Maxwell's Equations