Courses / Physics I
Differential Equations and Vector Calculus

Gradient, Divergence, and Curl

Physics I 299 words Free to read

These three differential operators describe how scalar and vector fields change in space.

Gradient — Acts on a scalar field ϕ(x,y,z)\phi(x,y,z), producing a vector:

ϕ=ϕxi^+ϕyj^+ϕzk^\nabla\phi = \frac{\partial\phi}{\partial x}\hat{i} + \frac{\partial\phi}{\partial y}\hat{j} + \frac{\partial\phi}{\partial z}\hat{k}

ϕ\nabla\phi points in the direction of steepest increase and its magnitude is the rate of change.

Divergence — Acts on a vector field F\vec{F}, producing a scalar:

F=Fxx+Fyy+Fzz\nabla\cdot\vec{F} = \frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z}

Measures the net outward flux per unit volume — sources (>0>0) and sinks (<0<0).

Curl — Acts on a vector field F\vec{F}, producing a vector:

×F=i^j^k^xyzFxFyFz\nabla\times\vec{F} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ \partial_x & \partial_y & \partial_z \\ F_x & F_y & F_z \end{vmatrix}

Measures the local rotation of the field.

Key identities

Physics link: E=V\vec{E} = -\nabla V (electric field is the negative gradient of potential) and E=ρ/ε0\nabla\cdot\vec{E} = \rho/\varepsilon_0 (Gauss's law in differential form).
Common pitfall: Gradient, divergence and curl take different objects in and out: grad turns scalars into vectors; div turns vectors into scalars; curl turns vectors into vectors. Type-check before computing — "div of a scalar" is meaningless.
Placeholder: Gradient, Divergence, and Curl

Vector Fields and the Gradient

A vector field assigns a vector F(x,y)\vec{F}(x,y) to every point in a region.

The gradient of a scalar field ff is:

f=fxi^+fyj^\nabla f = \frac{\partial f}{\partial x}\hat{i} + \frac{\partial f}{\partial y}\hat{j}

It points in the direction of steepest increase; its magnitude is the rate of change.

A field like F=(y,x)\vec{F} = (-y, x) is rotational: streamlines form closed loops, with curl ×F=2k^\nabla \times \vec{F} = 2\hat{k}.

Gradient, divergence, and curl are the building blocks of vector calculus.
Rotational Vector Field

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes
Start Physics I free

Differential Equations and Vector Calculus