The Divergence Operator
For a vector field F=(Fx,Fy,Fz):
∇⋅F=∂x∂Fx+∂y∂Fy+∂z∂Fz
The result is a scalar field.
Physical Interpretation
∇⋅F measures expansion: the rate at which flow “spreads out” from each point.

- ∇⋅F>0: Source (flow diverges)
- ∇⋅F<0: Sink (flow converges)
- ∇⋅F=0: Incompressible (volume preserved)
The Laplacian
Applying divergence to gradient of a scalar field:
∇⋅(∇ϕ)=∇2ϕ=∂x2∂2ϕ+∂y2∂2ϕ+∂z2∂2ϕ
The Laplacian ∇2 is fundamental in PDEs:
| PDE | Equation |
|---|
| Laplace’s equation | ∇2ϕ=0 |
| Heat equation | ∇2ϕ=D1∂t∂ϕ |
| Wave equation | ∇2ϕ=c21∂t2∂2ϕ |
Example
For F=(x2,y2,z2):
∇⋅F=2x+2y+2z=2(x+y+z)
At origin: ∇⋅F=0.
On axis (x,0,0): ∇⋅F=2x, increases with distance.
Gauss’s (Divergence) Theorem
For a closed surface S enclosing volume V:
∫SF⋅dS=∫V(∇⋅F)dV
The flux through a closed surface equals the volume integral of divergence inside.

Proof Sketch (Cuboid)
Consider a cuboid V: 0≤x≤a, 0≤y≤b, 0≤z≤c.
Faces perpendicular to x:
- x=0: flux =−∫Fx(0,y,z)dydz (normal points inward)
- x=a: flux =∫Fx(a,y,z)dydz
Combined: ∫[Fx(a,y,z)−Fx(0,y,z)]dydz
By fundamental theorem of calculus: =∫0a∂x∂Fxdxdydz
Sum over all six faces:
Φ=∫V(∂x∂Fx+∂y∂Fy+∂z∂Fz)dV
Proof Extension
To generalise from cuboid to any shape:
- Subdivide volume into small cuboids
- Apply theorem to each cuboid
- Sum: internal surfaces cancel (opposite normals)
- Result: theorem holds for whole volume
Requirement: Surface is smooth enough for subdivision.
Applications
Flux Calculation
Often easier to compute volume integral than surface integral.
Example: Flux of F=(x2,y2,z2) through unit sphere.
∇⋅F=2(x+y+z)
Φ=∫V2(x+y+z)dV
By symmetry: ∫xdV=∫ydV=∫zdV=0.
So Φ=0.
Vector Area of Closed Surface
∮SdS=0
(Apply divergence theorem to constant vector field.)
Solenoidal Fields
A vector field with ∇⋅F=0 everywhere is solenoidal.
From divergence theorem: flux through any closed surface is zero.
Examples:
- Magnetic field B: ∇⋅B=0 (no magnetic monopoles)
- Incompressible fluid velocity
Why These Theorems Matter
Gauss’s theorem converts between:
- Surface integrals (flux)
- Volume integrals (divergence)
This is powerful because:
- Choose whichever is easier to evaluate
- Derive conservation laws in fluid mechanics
- Apply to Maxwell’s equations in electromagnetism