Gauss’s theorem, also called the divergence theorem, establishes the connection between the triple integral over a closed region of space and the surface integral of the second kind over the closed surface bounding the region. It is the generalisation of Green’s theorem to three dimensions, linking the “accumulation of the divergence inside the region” with the “flux across the boundary”, and it is one of the core theorems of vector analysis.
Gauss’s Theorem
Theorem
A theorem is a proposition that has been rigorously proved, and it is the foundation of mathematical reasoning. A theorem usually states its conditions and its conclusion, and is an important part of any mathematical system.
Theorem1
Suppose the closed region Ω of space is bounded by a piecewise smooth closed surface Σ, and the functions P(x,y,z),Q(x,y,z),R(x,y,z) have continuous first-order partial derivatives on Ω. Then
∬ΣPdydz+Qdzdx+Rdxdy=∭Ω(∂x∂P+∂y∂Q+∂z∂R)dv
where Σ is the entire boundary surface of Ω, taken on the outer side.
Expressed with the Divergence
Introducing the notion of the divergence: ∇⋅F=∂x∂P+∂y∂Q+∂z∂R, Gauss’s theorem can be written concisely as:
∬ΣF⋅dS=∭Ω(∇⋅F)dv
That is: the flux of the vector field through the outer side of the closed surface = the triple integral of the divergence over the closed region.
The Physical Meaning of Gauss’s Theorem
The Physical Meaning
The physical meaning of Gauss’s theorem: the total flux flowing out of a closed region = the net contribution of all the “sources” and “sinks” inside the region.
The divergence ∇⋅F expresses the “source strength” of the vector field at that point:
∇⋅F>0: the point is a “source”; the vector field diverges outwards from that point
∇⋅F<0: the point is a “sink”; the vector field converges towards that point
∇⋅F=0: the point has neither source nor sink
Gauss’s theorem says: the total flux flowing out across the boundary equals the algebraic sum of all the sources and sinks inside the region.
The Applications of Gauss’s Theorem
Application 1: Simplifying the Integral over a Closed Surface
When it is difficult to compute the surface integral of the second kind directly over a closed surface, you can use Gauss’s theorem to convert it into a triple integral. This is especially effective when the divergence ∇⋅F is very simple (a constant, or zero), for then the triple integral is usually easier.
Application 2: The Surface Completion Method for a Non-Closed Surface
If the surface Σ is not closed, you can add a surface Σ1 so that Σ+Σ1 becomes a closed surface, and then apply Gauss’s theorem:
where the side of Σ1 has to be chosen so that Σ+Σ1 is taken on the outer side (or the inner side, consistently).
When using the surface completion method, you must pay attention to the choice of the side of the added surface Σ1, and to the sign when subtracting ∬Σ1. It is a good idea to draw a diagram to confirm the directions.
Application 3: Fields with Zero Divergence
If the divergence of the vector field F vanishes (∇⋅F=0, that is, F is a solenoidal field or a tube field), then the flux through any closed surface is zero:
∬ΣF⋅dS=0
This means that for a solenoidal field the flux through any two surfaces with the same boundary curve is equal (it depends only on the boundary, not on the shape of the surface).
Worked Examples
Example 1: The Flux through a Closed Surface
Compute ∬Σxdydz+ydzdx+zdxdy, where Σ is the outer side of the sphere x2+y2+z2=a2.
For the outer side of a closed surface, use Gauss’s theorem to convert it into a triple integral. The divergence is the constant 3.
Steps:
P=x,Q=y,R=z
∂x∂P=1,∂y∂Q=1,∂z∂R=1
The divergence ∇⋅F=3
By Gauss’s theorem: ∬ΣF⋅dS=∭Ω3dv=3×the volume of the sphere=3×34πa3=4πa3
Answer: 4πa3
Example 2: The Surface Completion Method
Compute ∬Σ(x2cosα+y2cosβ+z2cosγ)dS, where Σ is the outer side (the lower side) of the part of the cone x2+y2=z2 between z=0 and z=h (h>0).
Gauss's theoremthe surface completion methoda conethe surface integral of the first kindthe outer side
Approach:
This is in the form of the surface integral of the first kind, but the integrand is F⋅n, which is equivalent to the surface integral of the second kind. The cone is not a closed surface, so add the surface z=h.
Steps:
Add the surface Σ1:z=h,x2+y2≤h2, taken on the upper side. Then Σ+Σ1 is a closed surface taken on the outer side.
F=(x2,y2,z2), and the divergence ∇⋅F=2x+2y+2z
By Gauss’s theorem: ∬Σ+Σ1F⋅dS=∭Ω2(x+y+z)dv
By symmetry, ∭Ωxdv=0 and ∭Ωydv=0
Computing ∭Ωzdv in cylindrical coordinates: Ω:0≤θ≤2π,0≤ρ≤h,ρ≤z≤h∭Ωzdv=∫02πdθ∫0hρdρ∫ρhzdz=2π∫0hρ⋅21(h2−ρ2)dρ=π∫0h(h2ρ−ρ3)dρ=π(2h4−4h4)=4πh4
∬Σ+Σ1=2×4πh4=2πh4
Computing the integral over the added surface Σ1: on z=h, upper side, F⋅dS=z2dxdy=h2dxdy∬Σ1F⋅dS=∬x2+y2≤h2h2dxdy=h2⋅πh2=πh4
Therefore ∬Σ=∬Σ+Σ1−∬Σ1=2πh4−πh4=−2πh4
Answer: −2πh4
Example 3: A Field with Zero Divergence
Prove that the vector field F=r3r (where r=(x,y,z) and r=x2+y2+z2) has zero divergence in the region away from the origin, and compute the flux through the outer side of any closed surface surrounding the origin.
Gauss's theoremzero divergencea point sourcean electric fielda singularity
Approach:
Compute the divergence, noting that the origin is a singular point. For a closed surface surrounding the origin, cut out a small sphere and apply Gauss’s theorem to the region in between.
Steps:
F=(r3x,r3y,r3z)
∂x∂(r3x)=r31−r53x2
Similarly ∂y∂(r3y)=r31−r53y2 and ∂z∂(r3z)=r31−r53z2
The divergence =r33−r53(x2+y2+z2)=r33−r53r2=0 (r=0)
For a closed surface Σ surrounding the origin, make a small sphere Σε:x2+y2+z2=ε2 (taken on the inner side, that is, pointing towards the origin), and apply Gauss’s theorem to the region between Σ and Σε:
∬Σ+Σε−F⋅dS=∭Ω0dv=0
Therefore ∬ΣF⋅dS=−∬Σε−F⋅dS=∬Σε+F⋅dS (where Σε+ is the outer side)
On the small sphere r=ε, F=ε3r and the normal vector n=εrF⋅n=ε4r⋅r=ε4ε2=ε21
The flux =∬Σεε21dS=ε21⋅4πε2=4π
Answer: the flux through the outer side of any closed surface surrounding the origin is 4π (independent of the shape of the surface); this is Gauss’s law for the electrostatic field.
Exercises
Exercise 1
Compute ∬Σ(x−y)dydz+(y−z)dzdx+(z−x)dxdy, where Σ is the outer side of the surface of the cube 0≤x≤1,0≤y≤1,0≤z≤1.
Gauss's theorema cubethe outer sidethe divergence
Approach:
For the outer side of a closed surface, use Gauss’s theorem. The divergence is the constant 3.
Steps:
P=x−y,Q=y−z,R=z−x
∂x∂P=1,∂y∂Q=1,∂z∂R=1, and the divergence =3
By Gauss’s theorem: =∭Ω3dv=3×1=3
Answer: 3
Exercise 2
Compute ∬Σxz2dydz+(x2y−z3)dzdx+(2xy+y2z)dxdy, where Σ is the upper side of the upper hemisphere z=a2−x2−y2.
Gauss's theoremthe surface completion methodthe upper hemispherethe upper side
Approach:
The upper hemisphere is not a closed surface, so add the surface z=0 on the lower side and use Gauss’s theorem.
Steps:
Add the surface Σ1:z=0,x2+y2≤a2, taken on the lower side. Then Σ+Σ1 is the outer side of a closed surface.
P=xz2,Q=x2y−z3,R=2xy+y2z
The divergence =z2+x2+y2
By Gauss’s theorem: ∬Σ+Σ1=∭Ω(x2+y2+z2)dv=∫02πdθ∫0π/2sinϕdϕ∫0ar2⋅r2dr=2π⋅1⋅5a5=52πa5
On the added surface z=0, lower side, F⋅dS=Rdxdy=2xydxdy (the lower side takes the minus sign)
∬Σ1=−∬Dxy2xydxdy=0 (by symmetry)
Therefore ∬Σ=52πa5−0=52πa5
Answer: 52πa5
Summary
Symbols Used in This Article
Symbol
Type
Pronunciation/Explanation
Meaning in This Article
∬Σ
Closed surface integral
closed surface integral
The integral over a closed surface
∇⋅F
Divergence
divergence
The divergence of the vector field, ∂x∂P+∂y∂Q+∂z∂R
Ω
Region of space
spatial domain
The region of space bounded by the closed surface
Σ
Boundary surface
boundary surface
The closed surface bounding the region Ω
Σ1
Added surface
added surface
The surface added in the surface completion method
r
Position vector
position vector
The vector from the origin to the point (x,y,z)
r
Distance
distance
The distance from the point to the origin, r=∥r∥
ε
Radius
epsilon
The radius of the small sphere cut out around a singularity
Key Terms
English term
Pronunciation
Note
Gauss’s theorem
/ɡaʊsɪz ˈθɪərəm/
the divergence theorem, the relation between a triple integral and the integral over the boundary surface
divergence theorem
/daɪˈvɜːrdʒəns ˈθɪərəm/
that is, Gauss’s theorem
divergence
/daɪˈvɜːrdʒəns/
the degree to which the vector field spreads out
flux
/flʌks/
the amount of a vector field passing through a surface
source
/sɔːrs/
a point at which the divergence is positive; the vector field spreads outwards from it
sink
/sɪŋk/
a point at which the divergence is negative; the vector field converges inwards towards it
surface completion method
/ˈsɜːrfɪs kəmˈpliːʃən ˈmɛθəd/
adding a surface so that the surface becomes closed, in order to apply Gauss’s theorem
source-free field
/sɔːrs friː fiːld/
a vector field with zero divergence, also called a tube field
solenoidal field
/səˈlɛnɔɪdəl fiːld/
that is, a solenoidal field, one with zero divergence
singularity
/ˌsɪŋɡjəˈlærəti/
a point at which the function is undefined or not smooth (such as the origin)