Divergence Theorem
Volume to surface integral conversion, Gauss theorem.
The Divergence Theorem, also known as Gauss's theorem, is one of the most powerful tools in vector calculus for electromagnetics. It converts a volume integral of the divergence of a vector field into a surface integral of the field itself over the closed boundary of that volume. This conversion is used to derive Gauss's law for electric and magnetic fields, relate flux to enclosed sources, and simplify complex field problems.
Core Concept: What the Divergence Theorem States
The divergence theorem states that the total outward flux of a vector field A through a closed surface S equals the volume integral of the divergence of A over the enclosed volume V. In mathematical form:
∮S A · dS = ∫∫∫V (∇·A) dv
The intuition is straightforward. Divergence at a point measures how much the field is spreading outward from that point, or in other words, the strength of the source at that point. Integrating divergence over the entire volume adds up all the source contributions inside. The total outward flux through the surface must equal this total internal source strength, because any field line created by an internal source must eventually exit through the surface.
The closed surface S must completely enclose the volume V, and the area element dS (or dS = dS an where an is the outward normal) must always point outward. If any sources exist outside the volume, they contribute zero net flux through the surface because their field lines both enter and exit.
Mathematical Expression and Derivation Insight
The theorem can be understood by dividing the volume V into many tiny elemental volumes dv. For each elemental cube, the flux through its six faces equals (∇·A) dv by the definition of divergence. When all the elemental fluxes are summed across the entire volume, the interior face contributions cancel (each interior face is shared by two adjacent cubes with opposite normals). Only the fluxes through the exterior faces survive, giving the closed surface integral ∮S A · dS.
In electromagnetics, applying the divergence theorem to Gauss's law ∇·D = ρv gives:
∮S D · dS = ∫∫∫V ρv dv = Qenc
This is the integral form of Gauss's law for electric fields. Similarly, applying it to ∇·B = 0 gives ∮S B · dS = 0, meaning no net magnetic flux exits any closed surface, confirming that isolated magnetic monopoles do not exist.
Practical Understanding
In practice, the divergence theorem is used in two directions. When the field distribution is complex and direct surface integration is difficult, converting to a volume integral may be simpler. Conversely, when a volume has distributed sources, the surface integral gives the total flux without computing internal field variations in detail.
In antenna theory and radiation problems, the divergence theorem is used to compute total radiated power. The Poynting vector is integrated over a closed surface surrounding the antenna, and the divergence theorem connects this to the total power dissipated or radiated in the enclosed volume.
Numerical Example
Given:
A = r ar in spherical coordinates (purely radial field)
Surface S: sphere of radius R = 2 m
Volume V: sphere enclosed by S
Why this formula applies:
Divergence theorem: ∮S A · dS = ∫∫∫V (∇·A) dv
Formula:
Divergence in spherical: ∇·A = (1/r²) d(r² Ar)/dr = (1/r²) d(r³)/dr = 3
Substitution (Volume side):
∫∫∫V 3 dv = 3 × (4/3)πR³ = 3 × (4/3)π(8) = 32π
Surface side verification:
∮S A · dS = ∮S r ar · r² sinθ dθ dφ ar
= R × R² × ∫₀^π sinθ dθ × ∫₀^{2π} dφ
= 2 × 4 × 2 × 2π = 32π
Final Answer:
∮S A · dS = ∫∫∫V (∇·A) dv = 32π (both sides match, theorem verified)Exam Tip: In GATE problems, when you are given a vector field and a closed surface, always check if using divergence theorem to convert to a volume integral makes the calculation easier. For fields like A = r² ar in spherical, computing divergence is much faster than evaluating the surface integral directly.
- Divergence theorem: ∮S A · dS = ∫∫∫V (∇·A) dv, converting volume integral to closed surface integral.
- Physical meaning: total source strength inside equals total outward flux through the boundary.
- Interior faces of elemental volumes cancel; only exterior surface contributions remain.
- Applying to ∇·D = ρv gives Gauss's law: ∮D · dS = Qenc.
- Applying to ∇·B = 0 gives ∮B · dS = 0, confirming no magnetic monopoles.
Quick Revision
- Divergence theorem: ∮S A · dS = ∫∫∫V (∇·A) dv (also called Gauss's divergence theorem).
- Converts volume integral of divergence to closed surface integral of flux.
- Works for any well-behaved vector field A over any closed volume with outward normals.
- Key application: derives integral forms of Gauss's laws from Maxwell's differential equations.
- Sources outside the volume contribute zero net flux (their flux in equals flux out).
- Exam trap: The surface must be closed. Open surfaces require Stokes theorem, not the divergence theorem.
- When surface integral is complex, compute ∇·A first; if it is a simple constant, volume integration is much faster.
Divergence Theorem Quiz
Test your ability to apply the Divergence Theorem to convert volume integrals to surface integrals and vice versa.
Q1.The Divergence Theorem states that the total flux of a vector field A through a closed surface S equals:
Related Articles
Divergence
Del dot A, source or sink of vector field, flux density.
8 min read
Helmholtz Theorem
Decomposition into irrotational and solenoidal parts.
12 min read
Gradient
Del V, direction of maximum rate of increase, normal to surface.
12 min read
Vector Addition and Subtraction
Parallelogram law, component-wise operations.
8 min read
Cartesian Coordinate System
x y z axes, unit vectors, position vector.
5 min read