Defines the line integral of a vector field along a piecewise C1 curve and proves that path independence, the existence of a single-valued potential and exactness of F⋅dr are the same condition, that each forces ∇×F=0, and that the converse holds on a star-shaped (more generally simply connected) domain.
Definition(Line integral, conservative field, potential, exact differential)AdaptedAdapted from Riley, Hobson & Bence (2006), §11.1, Eqs. (11.1)–(11.2), pp. 377–379 and §11.1.3, p. 382; Lee (2013), Ch. 11, pp. 288–292
Let Ω⊆R3 be open and let F=(F1,F2,F3) be a continuous vector field on Ω.
A curve segment in Ω is a continuous map γ:[a,b]→Ω. It is piecewise C1 if [a,b] can be cut at finitely many points a=t0<t1<⋯<tk=b so that γ is C1 on each [ti−1,ti]; the one-sided velocities at the cuts need not agree. The segment is closed if γ(a)=γ(b).
The line integral of F along a piecewise C1 segment γ is
∫γF⋅dr=i=1∑k∫ti−1tiF(γ(t))⋅γ′(t)dt.
In Cartesian components this is ∫γ(F1dx+F2dy+F3dz). The integral of a scalar field φ with respect to arc length is ∫γφds=∫abφ(γ(t))∣γ′(t)∣dt, and ∫γφdr and ∫γa×dr are defined componentwise in the same way.
F is conservative on Ω if ∮γF⋅dr=0 for every piecewise C1 closed segment γ in Ω.
A potential for F is a function ϕ on Ω, single-valued and of class C1, with F=∇ϕ. Equivalently, F⋅dr=dϕ is an exact differential: the one-form F1dx+F2dy+F3dz is the total differential of ϕ. Physicists usually write F=−∇ϕ instead, so that ϕ is the work done against F; the two conventions differ only in the sign of ϕ.
Ω is simply connected if every closed curve in Ω can be contracted to a point without leaving Ω; it is star-shaped about c∈Ω if the straight segment from c to any point of Ω lies in Ω. A convex set is star-shaped, and a star-shaped set is simply connected.
Theorem(Parameter independence)AdaptedAdapted from Lee (2013), Prop. 11.37, p. 290
Let γ:[a,b]→Ω be piecewise C1 and let ψ:[c,d]→[a,b] be a C1 bijection with ψ′ of one sign. Then
So the integral depends only on the image curve and the direction of travel along it, not on the parametrization, and reversing the direction reverses the sign. Splitting a curve at an interior point adds the two pieces' integrals.
Let Ω⊆R3 be open and connected and let F be a C1 vector field on Ω (that is, F has continuous first partial derivatives there). Consider the four conditions
Path independence.∫γF⋅dr has the same value for any two piecewise C1 segments in Ω with the same initial and final point; equivalently, F is conservative.
Potential. There is a single-valued ϕ∈C2(Ω) with F=∇ϕ.
Exactness.F⋅dr is an exact differential on Ω.
Vanishing curl.∇×F=0 at every point of Ω.
Then:
Conditions 1, 2 and 3 are equivalent, with no hypothesis on the shape of Ω, and each of them implies condition 4. When they hold, ϕ is determined up to one additive constant and
∫γF⋅dr=ϕ(γ(b))−ϕ(γ(a))
for every piecewise C1 segment γ:[a,b]→Ω.
If Ω is star-shaped, condition 4 implies the other three, so all four are equivalent. The same conclusion holds whenever Ω is simply connected.
A field satisfying these conditions is called conservative, and ϕ is its scalar potential.
NoteOriginal
Which implications need which hypothesis. Riley, Hobson and Bence state the four conditions as equivalent for a field with continuous partial derivatives on a simply connected region (§11.4, p. 387), so their list carries the topological hypothesis throughout. Lee separates the implications: conservative ⇔ exact needs no hypothesis on the domain (Thm 11.42), exact ⇒ closed needs none (Prop. 11.44), and only the converse of the last one needs the domain to be star-shaped (Thm 11.49) or simply connected (Cor. 16.27). The statement above follows Lee's division, which is the sharper one; the two accounts agree on simply connected domains, which is the case Riley, Hobson and Bence discuss.
Idea of the proofOriginal
Each implication is one short idea. If F is a gradient, the chain rule turns F⋅γ′ into the t-derivative of ϕ∘γ, and the fundamental theorem of calculus leaves only the endpoint values: that is path independence. Conversely, if the integral depends only on the endpoints, then definingϕ at a point as the integral from a fixed base point is unambiguous, and probing it along a short coordinate segment recovers the corresponding component of F. A gradient has symmetric second derivatives, which is exactly what ∇×∇ϕ=0 says. The last implication is the only one with any geometry in it: on a star-shaped domain we can reach every point by one preferred path, the straight segment from the centre, and integrating along it produces a potential — the vanishing of the curl is what makes the resulting derivative collapse to a total derivative in the segment parameter.
Throughout, Ω is open and connected, so any two of its points are joined by a piecewise C1 segment in Ω: the set of points reachable from a fixed p0 by such a segment is open (append a straight segment inside a ball of Ω) and has open complement in Ω for the same reason, so by connectedness it is all of Ω (connectedness).
Step 1: condition 2 implies condition 1, with the endpoint formula. Let F=∇ϕ and let γ be C1 on a subinterval [ti−1,ti]. By the chain rule,
dtdϕ(γ(t))=∇ϕ(γ(t))⋅γ′(t)=F(γ(t))⋅γ′(t),
so by the fundamental theorem of calculus that piece contributes ϕ(γ(ti))−ϕ(γ(ti−1)). Summing over the pieces, the intermediate values cancel and
∫γF⋅dr=ϕ(γ(b))−ϕ(γ(a)).
What stands on the right involves the endpoints and nothing else — this is where the hypothesis that ϕ is single-valued is used — and it vanishes when γ is closed.
Step 2: condition 1 implies condition 2. Assume path independence and fix p0∈Ω. For q∈Ω put
ϕ(q)=∫γqF⋅dr,
where γq is any piecewise C1 segment in Ω from p0 to q. Such a segment exists by the paragraph above, and the value does not depend on which one is used, by hypothesis; so ϕ is a single-valued function on Ω.
Fix q∈Ω and j∈{1,2,3}. Since Ω is open there is ε>0 with q+sej∈Ω for ∣s∣<ε. Concatenating a path to q with the straight segment σ↦q+σej, 0≤σ≤s, gives an admissible path to q+sej, whence
ϕ(q+sej)−ϕ(q)=∫0sFj(q+σej)dσ,
because along that segment dr=ejdσ. The integrand is continuous in σ, so dividing by s and letting s→0 gives ∂ϕ/∂xj(q)=Fj(q). Hence ∇ϕ=F, and ϕ∈C1 because its partial derivatives are the continuous functions Fj; since F is C1 by hypothesis, in fact ϕ∈C2.
Step 3: conditions 2 and 3 are the same statement. By definition, F⋅dr is exact precisely when there is a single-valued ϕ with dϕ=F1dx+F2dy+F3dz, and dϕ=∇ϕ⋅dr identifies the coefficients one by one: ∂ϕ/∂x=F1, and likewise for y and z. So condition 3 holds if and only if condition 2 does.
Step 4: condition 2 implies condition 4. With F=∇ϕ and ϕ∈C2 by Step 2, the mixed second partial derivatives of ϕ are symmetric (Clairaut's theorem), so
(∇×F)1=∂y∂F3−∂z∂F2=∂y∂z∂2ϕ−∂z∂y∂2ϕ=0,
and the other two components vanish by the same computation with the indices permuted cyclically.
Step 5: condition 4 implies condition 2 when Ω is star-shaped. Translate so that Ω is star-shaped about the origin. For x∈Ω the segment t↦tx, 0≤t≤1, lies in Ω, so
ϕ(x)=∫01F(tx)⋅xdt=∫01i∑Fi(tx)xidt
is defined on all of Ω; it is the line integral of F along that one segment. The integrand and its partial derivatives in x are continuous on a neighbourhood of {tx:0≤t≤1} because F is C1, and the t-interval is compact, so we may differentiate under the integral sign:
∂xj∂ϕ(x)=∫01[ti∑∂xj∂Fi(tx)xi+Fj(tx)]dt.
Now the hypothesis ∇×F=0 enters: it says precisely that ∂Fi/∂xj=∂Fj/∂xi for every pair i=j, and for i=j this is trivially true. Substituting,
the middle equality being the chain rule applied to t↦tFj(tx) and the last one the fundamental theorem of calculus, since the bracket vanishes at t=0 and equals Fj(x) at t=1. So F=∇ϕ.
Step 6: uniqueness of ϕ. If ∇ϕ=∇ϕ~ on the connected open set Ω then ∇(ϕ−ϕ~)=0; a function with vanishing gradient is constant along every segment inside Ω by Step 1, hence constant on Ω by connectedness. □
NoteAdaptedAdapted from Lee (2013), Ch. 16, Thm 16.26 and Cor. 16.27, p. 421
The simply connected case. Step 5 proves the implication 4⇒2 only for star-shaped domains, which is all that an elementary argument gives: the proof needs a family of paths, one to each point, varying smoothly with the endpoint. For a general simply connected Ω the implication is still true, but the proof runs through homotopy invariance of line integrals of closed fields — Lee's Thm 16.26 — and is beyond the scope of this unit; see the Poincaré lemma for forms. The ingredients are: a closed field has the same integral along path-homotopic curves; in a simply connected domain every closed curve is path-homotopic to a constant curve; hence every closed circulation vanishes, and Step 2 supplies the potential.
RemarkOriginal
Where the hypotheses are used, and what fails without them.
Simple connectivity, in Step 5 only. On Ω=R3 minus the z-axis, the field
F=x2+y21(−y,x,0)
is C∞ and has ∇×F=0 everywhere (checked in the second example below), yet its circulation around the unit circle in the z=0 plane is 2π=0. So condition 4 does not imply conditions 1–3 on this Ω, which is not simply connected: a loop around the axis cannot be contracted inside Ω. Restricted to the half-space x>0, which is convex, the same field is ∇(arctan(y/x)).
Openness and connectedness of Ω. Openness is used in Step 2 to find the probing segment, and in Step 6. Connectedness is used to join points by paths and to pin ϕ down to one constant; on a disconnected Ω the conclusions hold on each component separately, with an independent constant in each.
Continuity of F versus F∈C1. Steps 1–3 and 6 need only that F is continuous. Step 4 needs the first derivatives of F to exist and be continuous, since it is a statement about them; Step 5 needs them too, to differentiate under the integral sign.
Piecewise C1 rather than C1 paths. Admitting corners costs nothing in Step 1 and makes Step 2 easy, because the probing segment can simply be appended to an arbitrary path. Lee notes (after Prop. 11.40) that restricting to smooth closed curves would make the equivalence harder to prove.
Single-valuedness of ϕ. This is not decoration. The field above has the multivalued "potential" φ=arctan(y/x), i.e. the azimuthal angle, which increases by 2π on each circuit; that increase is the circulation. Riley, Hobson and Bence note the same phenomenon for the magnetic scalar potential of a current-carrying wire (p. 389): the results apply as long as the loop encloses no net current.
A field can fail to be conservative for the plainest reason. For F=(−y,x,0) on R3 we get ∇×F=(0,0,2)=0, and Arfken's Example 3.7.1 computes two integrals of this field from (0,0) to (1,1) with different values. Here no topology is involved; condition 4 already fails.
Example(A conservative field: potential and work)Original
On Ω=R3 take
F=(y2z+2x,2xyz+1,xy2+3z2).
Test condition 4. Componentwise,
∂y∂F3=2xy=∂z∂F2,∂z∂F1=y2=∂x∂F3,∂x∂F2=2yz=∂y∂F1,
so ∇×F=0. Since R3 is convex, hence star-shaped about the origin, the theorem gives a potential.
Build it by the formula of Step 5. With F(tx)⋅x=4t3xy2z+2tx2+y+3t2z3,
ϕ(x)=∫01(4t3xy2z+2tx2+y+3t2z3)dt=xy2z+x2+y+z3.
Check: ∂ϕ/∂x=y2z+2x, ∂ϕ/∂y=2xyz+1, ∂ϕ/∂z=xy2+3z2, as required. Any other potential differs from this by a constant.
Work between two points. The work done by F from (0,0,0) to (1,2,3) is
ϕ(1,2,3)−ϕ(0,0,0)=(1⋅4⋅3+1+2+27)−0=42,
along every path in R3 joining the two points.
Two explicit paths, as a check. Along the straight segment γ(t)=(t,2t,3t), 0≤t≤1, the three components of F become 12t3+2t, 12t3+1 and 4t3+27t2, and γ′=(1,2,3), so
∫γF⋅dr=∫01(48t3+81t2+2t+2)dt=12+27+1+2=42.
Along the three-leg path (0,0,0)→(1,0,0)→(1,2,0)→(1,2,3), each leg has only one varying coordinate. On the first, y=z=0 and F1=2x, giving ∫012xdx=1. On the second, x=1, z=0 and F2=1, giving ∫021dy=2. On the third, x=1, y=2 and F3=4+3z2, giving ∫03(4+3z2)dz=12+27=39. The total is 1+2+39=42, the same value.
Example(A curl-free field that is not conservative)Original
Let Ω=R3∖{x=y=0}, the complement of the z-axis, and
F=(x2+y2−y,x2+y2x,0).
The curl vanishes. The third component of the curl is
∂x∂x2+y2x−∂y∂x2+y2−y=(x2+y2)2(x2+y2)−2x2+(x2+y2)2(x2+y2)−2y2=(x2+y2)22(x2+y2)−2(x2+y2)=0,
and the first two components vanish because F3=0 and F1,F2 do not depend on z.
The circulation does not. On the unit circle γ(θ)=(cosθ,sinθ,0), 0≤θ≤2π, we have x2+y2=1 and
F(γ)⋅γ′=(−sinθ)(−sinθ)+(cosθ)(cosθ)=1,
so ∮γF⋅dr=2π.
Reading off the obstruction. By the theorem, F has no single-valued potential on Ω, and Ω is therefore not simply connected — the circulation 2π is a certificate of that. On any simply connected subdomain the potential exists: on {x>0} it is arctan(y/x), on {y>0} it is −arctan(x/y), and the two differ by π/2 on the overlap, which is consistent because each is only determined up to a constant on its own domain.
Circulation counts turns. For the circle of radius R traversed n times the same computation gives 2πn, independent of R: the integral measures how many times the loop winds about the axis (see the winding number).
ApplicationOriginal
The physical content of the theorem is that work against a conservative force is storable as potential energy. For a force field F=−∇V, the work done by the field along any path from a to b is V(a)−V(b), so the sum of kinetic and potential energy is constant along a trajectory: gravity, electrostatics and linear springs are all of this kind, and the whole machinery of potentials in Hamiltonian mechanics rests on it.
Line integrals that are not path independent are equally important, and the curl is the diagnostic. The electromotive force ∮E⋅dr around a circuit is nonzero exactly when ∇×E=0, which by Faraday's law means a changing magnetic flux — this is how a generator works. Ampère's law ∮CB⋅dr=μ0I (Riley, Hobson and Bence, p. 381) is the circulation of B, and the field of a straight wire is, up to the factor μ0I/2π, exactly the curl-free field of the second example: its circulation is nonzero only because the wire has been removed from the domain.
In thermodynamics the same distinction is the difference between a state function and a process quantity. Internal energy has an exact differential dU, so ∮dU=0 around any cycle; heat and work do not, which is why a heat engine can run. In fluid mechanics the circulation ∮u⋅dr of the velocity field around a closed material curve is the quantity conserved by Kelvin's theorem, and an irrotational flow is one whose velocity has a single-valued potential — the starting point of classical aerofoil theory, where the lift is proportional to a circulation made nonzero by cutting the aerofoil out of the domain.
Defines a regular parametrized surface patch, its scalar surface element dS=∣ru×rv∣dudv and its vector element dS=n^dS, proves that both are independent of the parametrization, fixes the orientation conventions for closed and open surfaces, and gives the graph and projection formulas used to compute a flux integral.
Let D⊆R2 be a connected set that is the closure of a bounded open set, with coordinates (u,v).
A regular parametrized patch is a map r:D→R3 that is C1, injective on the interior of D, and satisfies ru×rv=0 there, where ru=∂r/∂u and rv=∂r/∂v. Its image is the surfaceS=r(D), and (u,v) are its parameters. A piecewise C1 surface is a finite union of such patches meeting along boundary curves, for example the six faces of a cube.
The two vectors ru,rv span the tangent plane at r(u,v). The first fundamental form of the patch records three numbers attached to that plane, whose classical names are E, F and G:
E=ru⋅ru,F=ru⋅rv,G=rv⋅rv.
By the Lagrange identity ∣a×b∣2+(a⋅b)2=∣a∣2∣b∣2 (vector algebra),
∣ru×rv∣=EG−F2.
The scalar surface element is dS=∣ru×rv∣dudv; it is the area of the parallelogram spanned by rudu and rvdv. The area of S and the surface integral of a scalar fieldφ over S are
A(S)=∬D∣ru×rv∣dudv,∫SφdS=∬Dφ(r(u,v))∣ru×rv∣dudv.
A unit normal at r(u,v) is one of the two unit vectors orthogonal to the tangent plane; the parametrization picks out
n^=∣ru×rv∣ru×rv.
An orientation of a surface is a continuous choice of unit normal on it. A surface admitting one is orientable; equivalently (do Carmo's Def. 1) it can be covered by patches whose changes of parameters all have positive Jacobian determinant. The vector surface element is then dS=n^dS=(ru×rv)dudv.
The flux of a continuous vector field F through an oriented surface S is
∫SF⋅dS=∫SF⋅n^dS=∬DF(r(u,v))⋅(ru×rv)dudv.
The integrals ∫SφdS and ∫SF×dS are defined componentwise in the same way; they are vectors, whereas ∫SφdS and the flux are scalars. For a closed surface S the notation ∮S is used.
Two conventions fix the sign of a flux, and every statement about flux depends on which one is in force.
Closed surface. A closed surface encloses a volume V; the positive normal points out of V. A closed surface need not be simply connected — the surface of a torus is closed — but it must bound a volume.
Open surface. The boundary of an open surface is one or more closed curves, and a direction of traversal is chosen on each. Then n^ is given by the right-hand rule relative to that direction: standing at a boundary point, let u point along the direction of travel and v point into the surface, tangent to it; the positive normal is the direction of u×v. Used at one boundary curve of a connected S, the rule fixes n^ there and so, by continuity of the normal field, everywhere on S — which then fixes the traversal of each of the remaining boundary curves. Arfken insists on this formulation rather than on any appeal to "outward" or "upward", precisely so that it covers a surface that curls round on itself, his own illustration being a spherical surface with a hole cut in it.
An open surface need not be simply connected, but it does have to have two sides. The Möbius strip has one, admits no continuous normal field, and carries no flux at all.
Definition(The surface element does not depend on the parametrization)AdaptedAdapted from do Carmo (2016), §2-3, Prop. 1, p. 72 and §2-5, p. 100
Let r:D→R3 and rˉ:Dˉ→R3 be regular patches with the same image S, and let h=r−1∘rˉ, the change of parameters, carry the interior of Dˉ onto the interior of D. That h is a C1 diffeomorphism is not an extra assumption but a theorem: for two regular patches covering the same surface it is automatic, being do Carmo's change-of-parameters proposition (§2-3, Proposition 1, p. 72), which he proves from the inverse function theorem. He states it for his smooth surfaces; the same argument applied to C1 patches returns a C1 diffeomorphism, which is what is used below. Then for every continuous φ on S,
so A(S) and ∫SφdS are properties of S alone. The two unit normals agree where detDh>0 and are opposite where detDh<0; hence ∫SF⋅dS is determined by S together with a choice of orientation, and changing the orientation changes its sign.
Graph. For S:z=h(x,y) with h∈C1 on D⊆R2, the parametrization r(x,y)=(x,y,h(x,y)) gives rx×ry=(−hx,−hy,1), hence
dS=(−hx,−hy,1)dxdy,dS=1+hx2+hy2dxdy,
with the upward orientation. Every regular patch is locally of this form, with respect to one of the three coordinate planes.
Level set, projected onto a coordinate plane. Let S be part of {f=0} with f∈C1 and ∇f=0 on S, so that n^=±∇f/∣∇f∣. Suppose a piece of S both projects one-to-one onto a region R of the xy-plane and has fz=0 at each of its points, so that it is nowhere vertical. Then on that piece
dS=∣n^⋅k^∣dA=∣fz∣∣∇f∣dA,dA=dxdy,
both ∣∇f∣ and fz being evaluated on S. The two conditions are independent: fz=0 is a hypothesis here and not a consequence of one-to-one projection (see the remark below). If a line parallel to the z-axis meets S more than once — as happens for every closed surface — the surface must first be cut into pieces on which the projection is one-to-one, and the results added. Projections onto the other two coordinate planes are used in the same way, and a piece that is vertical over the xy-plane is handled by projecting it onto one of those instead.
Sphere of radius a. With r(θ,ϕ)=a(sinθcosϕ,sinθsinϕ,cosθ) on the closed rectangle D=[0,π]×[0,2π], which is a parameter domain of the kind the definition asks for,
rθ×rϕ=asinθr,dS=a2sinθdθdϕ,n^=r^,
the outward normal. On the interior (0,π)×(0,2π) the map is regular and injective, as required; what it does on the rest of D is to collapse the edges θ=0 and θ=π to the two poles, where rθ×rϕ=0, and to cover the meridian ϕ=0 twice, at ϕ=0 and again at ϕ=2π. Those edges are a set of zero area in D, so deleting them changes no integral.
Idea of the proofOriginal
Both claims come down to the change-of-variables formula for double integrals. A change of parameters multiplies ru and rv by the Jacobian matrix of h, so their cross product is multiplied by detDh; the modulus of that factor is exactly what the change-of-variables formula contributes when the region of integration is pulled back. The two cancel, which is why the area element is geometric. The sign of detDh survives in the direction of the cross product, which is why the normal, and so the flux, is geometric only after an orientation has been chosen.
Step 2 (how the cross product transforms). Expanding the cross product of these two expressions, the two terms in ru×ru and rv×rv vanish and the remaining two combine:
Taking lengths, ∣rˉuˉ×rˉvˉ∣=∣detDh∣∣ru×rv∣. Both cross products are nonzero by regularity, so this identity exhibits again what the change-of-parameters proposition already guarantees: detDh vanishes nowhere.
Step 3 (change variables). The integrand on the left is therefore
φ(r(h(uˉ,vˉ)))∣ru×rv∣(h(uˉ,vˉ))∣detDh∣,
which is precisely the integrand produced by the change-of-variables formula applied to the map h and to the continuous function ψ=(φ∘r)∣ru×rv∣ on the interior of D. Since h is a C1 diffeomorphism between the interiors and ψ is bounded on a bounded region, the formula applies and the two integrals are equal. The boundaries, being Lebesgue null in the plane, contribute nothing.
Step 4 (normals and flux). By Step 2 the two unit normals satisfy n^ˉ=sgn(detDh)n^. On a connected parameter domain detDh has constant sign, since it is continuous and never zero; so the two parametrizations induce either the same normal field or the opposite one. Applying Steps 1–3 to φ=F⋅n^ gives
Describe the surface and decide whether it is closed or open. If it is open, note the direction in which its perimeter is to be traversed; if closed, note which side is the outside.
Choose a parametrizationr(u,v) on a parameter domain D that covers S once: spherical angles on a sphere, (ρ,ϕ) or (ϕ,z) on a cylinder, (x,y) on a graph. Cut S into pieces if no single patch covers it, which is unavoidable for a closed surface.
Compute ru×rv once and for all. Its length gives dS; its direction gives n^.
Fix the sign. Compare the direction of ru×rv with the convention of step 1 at one convenient point of the patch, and insert an overall minus sign if they disagree. Doing this at one point suffices, because the direction varies continuously.
Substitute and integrate. Express F or φ in the parameters, form the double integral over D, and evaluate it as an iterated integral (multiple integrals).
Add the pieces. For a cut surface, sum the contributions, each with its own sign fixed by step 4.
How it fails. The commonest errors are a parametrization that covers part of S twice, which doubles that part's contribution; forgetting step 4, which flips the sign of a flux; and projecting a closed surface onto a coordinate plane without cutting it, which silently cancels the two halves. If ru×rv vanishes on a curve or at isolated points, those sets have zero area and may be deleted, but a parametrization whose cross product vanishes on a set of positive area is not a regular patch there at all.
RemarkOriginal
Where the hypotheses are used, and conventions that differ.
Regularity, ru×rv=0. This is what makes the tangent plane two-dimensional and the normal well defined; it is also what makes the change of parameters a diffeomorphism in Step 2. The spherical patch violates it at θ=0,π, where sinθ=0, and the cone r(u,v)=(ucosv,usinv,u) violates it at its apex u=0. In both cases the bad set has zero area and is simply removed.
Injectivity. Needed for S to be covered once. On (0,π)×(0,4π) the spherical patch is regular everywhere but covers the sphere twice, and every integral computed from it is twice the right answer.
Orientability. Steps 1–3 of the proof never mention the normal, so areas and scalar surface integrals are defined on non-orientable surfaces too; it is only the flux that needs a globally continuous n^. The Möbius strip is the standard example where none exists.
fz=0 in the projection formula. A one-to-one projection does not supply it. Take f=z3−y on the slab ∣x∣<1, ∣z∣<1: here ∇f=(0,−1,3z2) never vanishes, so S={y=z3} is a legitimate level surface, and S projects one-to-one onto the xy-plane, since y determines z=y1/3. Yet fz=3z2 vanishes on the whole line z=0 of S, where the normal (0,−1,0) is horizontal, the surface is vertical, and the displayed dS has a zero denominator. What the derivation needs is ∣n^⋅k^∣=0, which is fz=0; one-to-one projection only prevents the surface from doubling back. (This surface is in fact a graph y=z3 over the xz-plane, so the right move for it is to project the other way, as form 2 says.)
The modulus in the projection formula. Riley, Hobson and Bence write Eq. (11.10) as dS=∣∇f∣dA/(∂f/∂z), without a modulus sign in the denominator; as they say, both quantities are evaluated on S. That form is correct where ∂f/∂z>0, which holds on the upper piece of a surface such as a sphere when f is chosen with an outward-increasing gradient, and it is the piece they project in their example. For the lower piece ∂f/∂z<0 and the formula returns a negative dS; the version with ∣fz∣ above holds on both and is what the derivation dS=dA/∣n^⋅k^∣ gives directly, since dS and dA are both areas.
EG−F2 versus ∣ru×rv∣. These are equal, by the Lagrange identity. The first form is the one that survives on an abstract surface with a metric, where there is no ambient space and so no cross product, and is the one used in the first fundamental form; the second is quicker when r is given explicitly in R3.
Notation. Arfken writes the vector element dσ and the scalar one dA; Riley, Hobson and Bence write dS and dS, which we follow. Nothing but the symbols differs.
Example(Area of a piece of the surface z=xy)Original
Let S be the part of the graph z=xy lying over the closed unit disc D={x2+y2≤1}.
Surface element. Here h=xy, so hx=y, hy=x, and by form 1 above dS=1+x2+y2dxdy.
Change to plane polars (change of variables): x2+y2=ρ2 and dxdy=ρdρdϕ, so
A(S)=∫02π∫011+ρ2ρdρdϕ=2π∫01ρ1+ρ2dρ.
Evaluate. With s=1+ρ2, ds=2ρdρ, the inner integral is 21∫12sds=31(23/2−1), so
A(S)=32π(22−1)=3.82945(5 d.p.).
Sanity check. The disc itself has area π=3.14159, and the surface lies above it with slope ∣∇h∣=ρ≤1, so its area must exceed π but not by more than the factor max1+ρ2=2, i.e. it lies between 3.1416 and 4.4429. It does.
Example(Flux through a paraboloid cap)Original
Let S be the part of the paraboloid z=4−x2−y2 with z≥0, oriented so that the normal has a positive z-component (upward), and let
F=(y,−x,z).
Parametrize as a graph over the disc D={x2+y2≤4}: h=4−x2−y2, so hx=−2x, hy=−2y and
dS=(−hx,−hy,1)dxdy=(2x,2y,1)dxdy.
Its third component is +1>0, so this is already the required orientation and no sign change is needed (step 4 of the method).
Form the integrand. On S,
F⋅(2x,2y,1)=2xy−2xy+(4−x2−y2)=4−x2−y2.
The two circulating components of F cancel against the normal: they are tangent to the circles x2+y2=const, which lie in S.
Integrate in plane polars.∫SF⋅dS=∫02π∫02(4−ρ2)ρdρdϕ=2π[2ρ2−4ρ4]02=2π(8−4)=8π.
Check by a second parametrization. Using (ρ,ϕ) directly, r=(ρcosϕ,ρsinϕ,4−ρ2) gives rρ×rϕ=(2ρ2cosϕ,2ρ2sinϕ,ρ), whose third component is positive, and F⋅(rρ×rϕ)=(4−ρ2)ρ: the same integral, as the parametrization-independence statement requires.
Check the sign convention. Reversing the orientation to point downward changes the answer to −8π. Were S closed off by the disc z=0, x2+y2≤4 and read as the boundary of the enclosed solid, the upward normal on the cap would be the outward one, so 8π is the outward flux through the curved part.
ApplicationOriginal
Flux is how a conservation law is written down before it is turned into a differential equation. The mass of fluid crossing a surface per unit time is ∫Sρv⋅dS; the heat crossing it is −∫Sk∇T⋅dS by Fourier's law; the electric charge enclosed is ε0∮SE⋅dS by Gauss's law, and the magnetic flux through a circuit is ∫SB⋅dS, whose rate of change is the induced electromotive force. In each case the orientation convention is what makes "in" and "out", or the sign of an induced current, unambiguous — which is why Arfken insists on stating the right-hand rule carefully.
Scalar surface integrals carry the quantities that do not have a direction: the total surface charge ∫SσdS, the area of a membrane in a surface-tension energy, the drag integral ∫SτdS over a wetted hull, the radiating area of a heat sink. The parametrization-independence proved above is what lets an engineer compute such a quantity in whatever coordinates the geometry suggests and still get the same number; and in numerical practice it is what justifies replacing a curved panel by a flat quadrilateral of the same area, the basis of boundary-element and panel methods.
The two integral theorems that follow — the divergence theorem and Stokes' theorem — are statements about exactly these integrals, and are the reason the conventions above have to be fixed once and used consistently.
States Gauss's theorem — the outward flux of a C1 field through the boundary of a bounded region equals the integral of its divergence over the region — proves it for regions bounded by C1 graphs in each coordinate direction, derives the gradient and curl companion identities, and uses it to turn conservation of mass into the continuity equation.
Call a compact set V⊆R3z-simple if there are a compact region D⊆R2 whose boundary is a piecewise C1 curve and functions ψ1≤ψ2 of class C1 on D, with ψ1<ψ2 at every interior point of D, such that
V={(x,y,z):(x,y)∈D,ψ1(x,y)≤z≤ψ2(x,y)}.
Define x-simple and y-simple in the same way with the roles of the coordinates permuted, and call V a simple region if it is simple in all three directions. An axis-aligned box is one, and so is the corner tetrahedron {x,y,z≥0,x+y+z≤c}, which in each of the three directions has one affine face as its top and one as its bottom; so is the solid between two C1 graphs when it is also simple the other two ways.
Convex polyhedra in general are not simple regions, because the definition asks for ψ1,ψ2 of class C1 and a solid whose top is made of more than one face has a crease where two of them meet. The functions are forced by V, so there is nothing to choose: for the regular octahedron ∣x∣+∣y∣+∣z∣≤1 they are D={∣x∣+∣y∣≤1}, ψ2=1−∣x∣−∣y∣ and ψ1=−ψ2, and ψ2 is not differentiable at interior points of D such as (0,21). So the octahedron is not z-simple, and by its symmetry in the three coordinates not simple in any direction. A cube resting on one vertex fails in the same way, with three faces above and three below; so does a tetrahedron with three upper faces, such as the one on the vertices (0,0,0), (1,0,0), (0,1,0), (31,31,1), whose apex lies over the interior of its base triangle. Each of these solids is instead a finite union of simple regions, cut along the offending creases, and that is what Step 5 of the proof below exists to handle.
The boundary ∂V of a z-simple region consists of the top z=ψ2 and the bottom z=ψ1, both graphs over D, together with the lateral part lying over ∂D, on which the outward unit normal n^ is horizontal, so that n^⋅k^=0 there. (That part is the vertical cylinder {(x,y)∈∂D,ψ1≤z≤ψ2}, and it degenerates to a curve over whatever part of ∂D carries ψ1=ψ2, as the whole rim of the disc does for the two hemispheres of a ball.)
A simple region is a closed set. When the theorem below is applied to one, V is to be read as its interior and V as the simple region itself; the boundary has zero volume, so which of the two carries the volume integral makes no difference to it.
Theorem(Divergence theorem (Gauss's theorem))AdaptedAdapted from Strauss (2008), Appendix §A.3, Divergence Theorem 7, p. 423; Evans (2010), Appendix §C.2, Thm 1, p. 667; Riley, Hobson & Bence (2006), §11.8, Eq. (11.18), p. 401
Let V⊆R3 be a bounded open region — Strauss's "bounded spatial domain" — whose boundary surface S=∂V is piecewise C1, so that the closed region is V=V∪S; let n^ be the unit outward normal on S, and let F be a vector field of class C1 on V. Then
∫V∇⋅FdV=∮SF⋅n^dS=∮SF⋅dS.
This is Strauss's Theorem 7. Evans states the same result for a bounded open U⊆Rn with ∂U of class C1 and u∈C1(U;Rn), and derives it from the componentwise form
∫U∂xi∂udx=∫∂UuνidS(i=1,…,n),u∈C1(U),
with ν the outward normal; taking u=ui and summing over i gives the divergence form. The theorem holds whether or not V is simply connected: the region between two concentric spheres is admissible, with the normal pointing out of V on both components of S, hence into the inner cavity.
Under the same hypotheses, with φ a C1 scalar field and b a C1 vector field on V:
∫V∇φdV=∮SφdS,∫V∇×bdV=∮SdS×b,
both equalities between vectors. Three consequences are used constantly:
∮SdS=0 for every closed surface (take φ≡1).
vol(V)=31∮Sr⋅dS, since ∇⋅r=3.
Integration by parts. For u,v∈C1(V), applying the componentwise form to uv gives
∫V∂xi∂uvdV=−∫Vu∂xi∂vdV+∮SuvνidS,
which is Evans's Theorem 2 and the source of Green's identities.
Idea of the proofOriginal
In one variable the fundamental theorem of calculus says that integrating a derivative over an interval leaves only the values at the two ends. The divergence theorem is the same statement in three variables, done one coordinate at a time. Integrate ∂F3/∂z first in z: over a region squeezed between two graphs, the inner integral is the value of F3 on the top minus its value on the bottom. The geometric content is then a single observation about the surface element: on the top and bottom of the region, the horizontal area element dxdy is exactly ±n^⋅k^dS, and on the sides n^⋅k^ vanishes. So the two-term difference is precisely the flux of F3k^ out of the whole boundary. Repeating with x and y and adding the three gives the theorem. Nothing else is involved; the apparent power of the theorem comes from the fact that cutting a region into pieces makes all the internal faces cancel in pairs, which is why the result extends from blocks to arbitrary regions.
We prove the theorem for a region whose closure is a simple region; the hypotheses on F are those of the statement. Throughout the proof V denotes that closed region, as in the definition, which costs nothing: S has zero volume, so the volume integrals are the same either way.
Step 1 (one component, in the matching direction). Let V be z-simple, with D, ψ1, ψ2 as in the definition, and write F3 for the third component of F. Since ∂F3/∂z is continuous on the compact set V, the triple integral may be computed as an iterated integral (iterated integrals), innermost in z:
the inner integral being evaluated by the fundamental theorem of calculus in the variable z alone, with x and y held fixed.
Step 2 (the same difference, read as a flux). The top of ∂V is the graph z=ψ2 over D, whose outward normal points upward; by the graph formula for the surface element (surface integrals),
n^dS=(−∂xψ2,−∂yψ2,1)dxdyson^⋅k^dS=dxdy.
On the bottom z=ψ1 the outward normal points downward, which is the opposite choice, so there n^⋅k^dS=−dxdy. On the lateral part the outward normal is horizontal, so n^⋅k^=0 and that part contributes nothing. Hence
which is the right-hand side of Step 1. Combining,
∫V∂z∂F3dV=∮SF3n3dS.(∗)
Step 3 (the other two components). Because V is also x-simple and y-simple, the argument of Steps 1 and 2 applies with the coordinates permuted. Each direction brings its own data: being x-simple means that V lies between two C1 graphs x=χ1(y,z)≤χ2(y,z) over a compact region D′⊆R2 in the (y,z)-plane, and these have nothing to do with the D, ψ1, ψ2 of Step 1; likewise for y. With that reading, Steps 1 and 2 give
Note that each of the three identities needs V to be simple in its own direction; this is the only place where the shape of V is used, and it is used three times.
Step 4 (add). Summing the three identities and using ∇⋅F=∂xF1+∂yF2+∂zF3 and F⋅n^=F1n1+F2n2+F3n3 gives
∫V∇⋅FdV=∮SF⋅n^dS.
Step 5 (regions assembled from simple pieces). Suppose V=V1∪⋯∪Vm, where the Vi are simple regions meeting only along pieces of their boundaries. Adding the theorem over the pieces, every face interior to V occurs in exactly two of the surface integrals, carrying the outward normal of one piece and therefore the inward normal of the other. The two contributions are equal and opposite and cancel, while the volume integrals add to ∫V. What survives on the surface side is the integral over the part of ⋃i∂Vi lying in ∂V, with the normal pointing out of V. So the theorem holds for V. □
NoteAdaptedAdapted from Lee (2013), Ch. 16, Thm 16.32, pp. 423–424
The general case. The statement above is for any bounded region with a piecewise C1 boundary, which is more than Steps 1–5 deliver: a ball, for instance, is z-simple with graphs ψ1,2=∓a2−x2−y2 that are continuous on the closed disc but not C1 up to its rim. Two devices close the gap, and neither is proved here. The elementary one is exhaustion: apply the theorem to the region between the two graphs over the disc of radius a−ε, whose boundary now also has a short cylindrical band of area 4π(a−ε)2aε−ε2→0; as ε→0 the volume integrals converge because ∇⋅F is bounded, the band's flux tends to 0 for the same reason, and the two cap integrals converge to the integral over the sphere. The structural one is Lee's Theorem 16.32, which obtains the divergence theorem on any oriented Riemannian manifold with boundary as a corollary of Stokes's theorem for differential forms; see Stokes' theorem for forms. Strauss and Evans both state the theorem without proof and refer the reader elsewhere, and we follow them in taking it as given in the stated generality.
RemarkOriginal
Where the hypotheses are used, and what fails without them.
F of class C1 on the closed region. Step 1 needs ∂F3/∂z to exist and be integrable on V; Step 2 needs F3 to have boundary values on S. A field that is C1 only in the open region can fail: F=r^/r2 on the punctured ball 0<r≤a has ∇⋅F=0 everywhere it is defined, so the left side is 0, while the outward flux through r=a is (1/a2)(4πa2)=4π. The theorem is not contradicted — the hypothesis fails at the origin — and the discrepancy is exactly what the Dirac delta is introduced to bookkeep: writing ∇⋅(r^/r2)=4πδ(3)(r) restores the identity. Riley, Hobson and Bence make the same point with a point source of strength Q in an incompressible fluid (p. 405), where ∇⋅v=Qδ(r) and the flux is Q or 0 according to whether S encloses the source.
Boundedness of V and the closed surface. The flux integral is over a closed surface bounding a region of nonzero volume. For an open surface the statement is meaningless; the standard manoeuvre, as in Riley, Hobson and Bence's example on p. 401, is to cap the open surface so that the union is closed, apply the theorem, and subtract the cap's flux.
Simple connectivity is not required. Nothing in the proof uses it, and Riley, Hobson and Bence state the theorem for simply and multiply connected closed surfaces alike, asking only that the surface be closed and enclose a non-zero volume (p. 401). A solid torus is admissible, and so is a spherical shell a≤r≤b, whose boundary has two components, with the outward normal +r^ on r=b and −r^ on r=a; forgetting the sign on the inner sphere is the commonest error in applications. Arfken, cited above for the companion identities, does impose the hypothesis: he states Gauss' theorem for a field continuous with its first derivatives over "a simply connected region of R3", adding that a region containing a hole, like a doughnut, is not one (p. 164). Neither his subdivision argument nor ours uses that restriction, so the two sources differ in strength and not in content; we follow Riley, Hobson and Bence, and the difference is logged in verification/discrepancies.md.
Orientability is automatic here. The boundary of a region in R3 is always two-sided, so the flux is always defined — unlike the situation for a general open surface.
Where the proof could not be shortened. Step 3 cannot be replaced by "by symmetry" unless V really is simple in all three directions. The solid between the paraboloid z=x2+y2 and the plane z=1 is z-simple with C1 graphs, but as a region over the (y,z)-plane its graphs x=±z−y2 are not C1 up to the curve z=y2. The identity (∗) for the third component holds for it directly; the other two need the general statement or the exhaustion argument.
Dimension. Evans's version holds in Rn for every n≥1. For n=2 it is the divergence form of Green's theorem, ∫D∇⋅fdA=∮Cf⋅n^ds with n^ds=(dy,−dx), which Strauss gives as his Eq. (8); for n=1 it is the fundamental theorem of calculus, the "surface" being two points with normals ±1.
Example(A tetrahedron, both sides computed)Original
Let V be the tetrahedron with vertices (0,0,0), (2,0,0), (0,2,0), (0,0,2), that is {x,y,z≥0,x+y+z≤2}, and let F=(x2,y2,z2). This V is a simple region, so the proof above applies to it directly.
Volume side.∇⋅F=2(x+y+z), so by the symmetry of V in the three coordinates
∫V∇⋅FdV=6∫VxdV=6∫02x2(2−x)2dx=6⋅2424=4,
where the cross-section of V at height x is a right triangle of area (2−x)2/2, and ∫0ax(a−x)2dx/2=a4/24.
Surface side: the three coordinate faces. On {x=0} the outward normal is −i^, so F⋅n^=−x2=0 there. The same happens on {y=0} and {z=0}. These three faces contribute nothing — each component of F vanishes on the face it is normal to.
Surface side: the oblique face. On x+y+z=2 the outward unit normal is n^=(1,1,1)/3, and the face projects one-to-one onto the triangle T={x,y≥0,x+y≤2} with dS=3dxdy (the graph z=2−x−y has 1+1+1=3). Hence
∫obliqueF⋅n^dS=∬T3x2+y2+z23dxdy=∬T(x2+y2+(2−x−y)2)dxdy.
The three terms are equal by the symmetry of T under permuting x, y and 2−x−y, so this is
3∬Tx2dxdy=3∫02x2(2−x)dx=3[32x3−4x4]02=3(316−4)=4.
Comparison. Both sides equal 4. As a dimensional check, the face has area 23=3.4641 and F⋅n^=(x2+y2+z2)/3 runs from 4/3=2.309 at the vertices to (3⋅94)/3=0.770 at the centroid, so the flux must lie between 2.67 and 8.00; it does.
Example(A curved boundary: paraboloid and plane)Original
Let V be the solid bounded below by z=x2+y2 and above by z=1, and let F=r=(x,y,z).
Volume side.∇⋅r=3, and the horizontal cross-section at height z is a disc of radius z, of area πz, so
∫V3dV=3∫01πzdz=23π.
Surface side: the lid. On z=1, x2+y2≤1, the outward normal is +k^ and r⋅k^=z=1, so the flux is the area of the disc, π.
Surface side: the paraboloid. Here the outward normal points away from the axis and downward. Writing the surface as the graph z=h(x,y)=x2+y2 over the unit disc, the upward element is (−hx,−hy,1)dxdy=(−2x,−2y,1)dxdy; the outward one is its negative, (2x,2y,−1)dxdy. Then
r⋅(2x,2y,−1)=2x2+2y2−z=2ρ2−ρ2=ρ2
on the surface, and in plane polars
∫parabr⋅dS=∫02π∫01ρ2⋅ρdρdϕ=42π=2π.
Comparison.π+π/2=3π/2, matching step 1. Note how step 3 would have come out −π/2 with the orientation taken carelessly, and the two sides would then have differed by π — the usual symptom of a sign slip in a flux.
The volume, for free. The same field gives vol(V)=31∮r⋅dS=31⋅23π=2π, which agrees with ∫01πzdz.
The theorem's main use is to convert a conservation law, which is naturally a statement about a region and its boundary, into a partial differential equation, which is a statement at a point. Consider a fluid of density ρ(r,t) moving with velocity v(r,t), with no creation or destruction of matter. For any fixed region V in the fluid, the mass inside is ∫VρdV, and the only way it can change is by transport across S=∂V, at the rate ∮Sρv⋅dS outwards. So
dtd∫VρdV=−∮Sρv⋅dS.
Taking the derivative inside the integral on the left (legitimate for ρ and ∂ρ/∂t continuous, differentiation under the integral sign) and the divergence theorem on the right,
∫V(∂t∂ρ+∇⋅(ρv))dV=0.
The region V was arbitrary and the integrand is continuous, so the integrand vanishes identically: a continuous function whose integral vanishes over every region is zero, since otherwise it would keep one sign on a small ball around a point where it is nonzero. This is the continuity equation
∂t∂ρ+∇⋅(ρv)=0,
which reduces to ∇⋅v=0 for an incompressible fluid. The identical argument with ρ read as charge density and ρv as current density gives charge conservation; with ρ read as heat content and the flux given by Fourier's law −k∇T, it gives the heat equation; and with a source term σ on the right it gives the general transport equation of conservation laws. Gauss's law of electrostatics, ∮SE⋅dS=q/ε0, becomes ∇⋅E=ρ/ε0 by the same route, and the integration-by-parts identity above is the first step in every finite-element formulation of an elliptic boundary-value problem (finite elements).
Proves Green's theorem in the plane for a region bounded by graphs in both coordinate directions, then obtains Stokes' theorem — the circulation of a C1 field round the perimeter of an oriented surface equals the flux of its curl through the surface — by pulling the circulation back to the parameter domain, and fixes the orientation convention that makes the two sides agree in sign.
Let R be a bounded plane domain whose boundary C=∂R is a piecewise C1 curve. Parametrize C to go round exactly once, keeping R to the left-hand side; for a region with no holes that is the anticlockwise direction, seen from the positive z-axis. Let P and Q be C1 functions on R=R∪C. Then
∮C(Pdx+Qdy)=∬R(∂x∂Q−∂y∂P)dxdy.
Riley, Hobson and Bence impose their hypothesis on P, Q and the partial derivatives of both: all are to be single-valued, finite and continuous, on R as well as on its boundary curve, and their R is simply connected. For a multiply connected region the line integral is taken over all the boundary curves, each traversed with R on the left — so the outer boundary anticlockwise and each hole clockwise. Strauss's example is the annulus, whose boundary is a pair of circles traversed in opposite senses.
Two equivalent readings, both used below:
Circulation form. With f=(P,Q) and τ^ the unit tangent in the direction of travel, the left side is ∮Cf⋅τ^ds, the circulation of f round C.
Divergence form. Putting P=−g, Q=f for f=(f,g), and using n^ds=(dy,−dx) for the outward normal, the theorem becomes ∬R∇⋅fdA=∮Cf⋅n^ds: the two-dimensional divergence theorem.
Let S be a two-sided (orientable) piecewise C1 surface in R3 with perimeter curve C=∂S, piecewise C1, and let F be a C1 vector field on an open set containing S. Orient S by a choice of unit normal n^ and let C be traversed in the sense the right-hand rule attaches to n^ (the convention of surface integrals: with u along the direction of travel and v tangent to S and pointing into it, n^ is the direction of u×v; Arfken asks of v only that it be tangent to the surface and lie on it, leaving the sense to his Fig. 3.13, so the words "pointing into it" are the disambiguation made here and in that unit, not his). Then
∫S(∇×F)⋅dS=∮CF⋅dr.
Riley, Hobson and Bence note that the theorem holds for simply and multiply connected open surfaces alike, provided they are two-sided; for a multiply connected S the right side becomes a sum over all the boundary curves, each taken in the sense attached to n^. Two immediate consequences:
Closed surfaces. A closed surface has no perimeter, so ∮S(∇×F)⋅dS=0 for every closed S: a curl has no net flux through any closed surface. (Consistently, ∇⋅(∇×F)=0.)
Surface independence. Two surfaces spanning the same curve C, with normals agreeing with the same traversal of C, give the same flux of ∇×F — provided F is C1 on one open set containing both of them. The hypothesis is not a formality: the last remark below exhibits a field, and two surfaces spanning one circle, for which it fails and the two fluxes are not even both defined.
The companion identities obtained by Arfken with an arbitrary constant vector are
∫SdS×∇φ=∮Cφdr,∫S(dS×∇)×P=∮Cdr×P,
for φ and P of class C1 on an open set containing S, with ∇ in the second acting on P alone. Arfken states these without derivation, saying only that they come from the same arbitrary-vector technique that gave him the companion identities of the divergence theorem (his Eqs. (3.89)–(3.90)); the third proof below carries that technique out.
Idea of the proofOriginal
Green's theorem is the fundamental theorem of calculus applied twice, once in each coordinate direction, exactly as in the divergence theorem: integrating ∂P/∂y across the region in the y-direction leaves the values of P on the top and bottom arcs, and those two arcs are the boundary, traversed in opposite senses — which is where the minus sign in front of ∂P/∂y comes from. The term in Q is the same computation turned on its side.
Stokes' theorem then needs no new analysis, only a change of variables. Push the circulation integral back to the flat parameter domain: a tangent vector to the boundary curve of S is rudu+rvdv, so F⋅dr becomes a plane line integral with P=F⋅ru and Q=F⋅rv. Green's theorem converts it to a double integral, and the combination ∂uQ−∂vP turns out to be exactly (∇×F)⋅(ru×rv): the second derivatives of r cancel because mixed partials commute, and what remains is an algebraic identity about cross products. So the curl appears not because it was put in by hand but because it is what survives.
with y1≤y2 and x1≤x2 piecewise C1. (This is the situation of Riley, Hobson and Bence's Fig. 11.3; a disc, a convex region and a rectangle are all of this kind.)
Step 1 (the term in P). Since ∂P/∂y is continuous on the compact set R, it is bounded and integrable there, so the double integral may be written as an iterated integral (iterated integrals), innermost in y; the inner integral is then evaluated by the fundamental theorem of calculus at fixed x:
∬R∂y∂Pdxdy=∫ab[P(x,y2(x))−P(x,y1(x))]dx.
Step 2 (the same difference as a line integral). Traversing C with R on the left means going along the lower arc y=y1(x) in the direction of increasing x and back along the upper arc y=y2(x) in the direction of decreasing x. Any vertical segments of C (at x=a or x=b) contribute nothing to ∮Pdx because dx=0 on them. Hence
using Step 1 in the last equality. The minus sign is produced by the direction of travel, not by any choice of ours.
Step 3 (the term in Q). Now use the second description of R and integrate innermost in x:
∬R∂x∂Qdxdy=∫cd[Q(x2(y),y)−Q(x1(y),y)]dy.
With R on the left, the right arc x=x2(y) is traversed with y increasing and the left arc x=x1(y) with y decreasing, while horizontal segments contribute nothing to ∮Qdy. So
this time with no sign change: the two orientations work out oppositely in the two directions, which is precisely why the integrand of Green's theorem is a difference.
Step 4 (add). Adding Steps 2 and 3 gives the theorem for a region describable in both ways at once.
Step 5 (regions assembled from finitely many such pieces). Suppose next that R=R1∪⋯∪Rm, where each Ri is a region of the kind Steps 1–3 treat, the Ri meet only along arcs of their boundaries, and each ∂Ri is traversed with Ri on the left. Add the theorem over the pieces. An arc interior to R belongs to exactly two of the pieces, which lie on opposite sides of it, so it is traversed once in each direction and its two contributions to ∮(Pdx+Qdy) cancel; the double integrals add to ∬R. What survives on the line-integral side is the integral over the part of ⋃i∂Ri that lies in ∂R, each arc still carrying R on its left. So the theorem holds for R. The same bookkeeping covers a multiply connected R, whose boundary is then a family of curves, the outer one anticlockwise and each hole clockwise. □
What the proof above covers, and what is taken on authority. Steps 1–5 prove Green's theorem for a plane region that is a finite union of pieces each of which is a graph region in both coordinate directions. The statement at the head of this unit is the stronger one — every bounded plane domain with piecewise C1 boundary — and that gap is not closed here, exactly as the gap between simple regions and general ones is left open in the divergence theorem.
The gap is real, not just unaddressed: a bounded domain with piecewise C1 boundary need not admit a finite decomposition of that kind. Let
f(x)=2+x3sin(1/x)(0<x≤1),f(0)=2,
which is C1 on [0,1], since f′(x)=3x2sin(1/x)−xcos(1/x)→0=f′(0) as x→0+, and let R be the region {0<x<1,0<y<f(x)}. Let I1,I2,… be the maximal open intervals of (0,1) on which sin(1/x)>0; there are infinitely many, they are pairwise disjoint, and f>2 exactly on their union. Put Bj={(x,y):x∈Ij,2<y<f(x)}, an infinite family of pairwise disjoint nonempty open subsets of R, any two of which are separated by the line y=2 in the sense that no connected subset of R∩{y>2} meets two of them.
Now suppose R=⋃k=1NRk were a finite decomposition into two-way graph regions, and write the y-description of the kth piece as Rk={(x,y):ck≤y≤dk,ak(y)≤x≤bk(y)} with ak≤bk continuous on [ck,dk]. The part of that piece above the line,
is connected: each of its horizontal slices is the single interval [ak(y),bk(y)], each slice meets the left edge {(ak(y),y):max(ck,2)<y≤dk}, and that edge is connected, being the image of an interval under a continuous map — and a union of connected sets all meeting one connected set is connected. Since the Bj are separated in the sense just noted, a connected subset of R∩{y>2} meets at most one of them, so each Rk meets at most one Bj. With only N pieces and infinitely many Bj, some Bj is met by no piece at all; as Bj is a nonempty subset of R, this contradicts ⋃kRk=R.
We therefore take the general statement unproved, from Strauss's Green's Theorem 6 (p. 422), who states it for any bounded plane domain with piecewise C1 boundary and refers the reader elsewhere for the proof, and from Riley, Hobson and Bence's Eq. (11.4) (p. 384), whose own derivation is exactly Steps 1–4 for the single region of their Fig. 11.3, the extension to multiply connected regions being introduced on p. 385 with the words "it may further be shown". The proof of Stokes' theorem below uses Green's theorem only on parameter domains, and is written so as to say which of the two cases it is invoking.
Proof(Stokes' theorem for a C2 patch)Original
Let S=r(D) be a regular patch with r of class C2 on a compact parameter domain D to which Green's theorem applies — either a domain of the two-way graph form that Steps 1–4 of the previous proof treat directly, or a finite union of those, which its Step 5 covers; the note above says what is taken on authority beyond that. Require r to be injective on the whole of D, not merely regular, and orient S by n^=(ru×rv)/∣ru×rv∣. Let F be C1 on an open set containing S.
Injectivity is what makes the two descriptions of the perimeter agree. A regular injective r on the compact set D is a homeomorphism of D onto S, so it carries the interior of D onto the points of S with a neighbourhood in S and ∂D onto the rest; that is, r(∂D) is precisely the perimeter C=∂S named in the statement. Without injectivity the image of ∂D need not be the boundary of the image at all: a map r that wraps D twice over the same patch has r(∂D) running round S's rim twice, and the identity proved below would then compute twice the flux, not the circulation of the statement.
Step 1 (orientation bookkeeping). Traverse ∂D anticlockwise, with D on the left, and let C=r(∂D) — the perimeter ∂S of the statement, by the injectivity just assumed — carry the induced direction. This is the right-hand traversal relative to n^. To see it, look at a boundary point in parameters where D is locally the half-plane v≥0 with boundary the u-axis: with D on the left, the direction of travel is +u, so the travel vector on S is u=ru, and the tangent to S pointing into the surface is v=rv. Then u×v=ru×rv, which is the chosen normal — exactly the right-hand rule in the form fixed in the statement.
Step 2 (pull the circulation back to the parameters). Let t↦(u(t),v(t)) parametrize ∂D. The image curve is t↦r(u(t),v(t)), with velocity ruu′+rvv′ by the chain rule. Therefore
∮CF⋅dr=∮∂D[(F⋅ru)du+(F⋅rv)dv],
a plane line integral with P=F(r)⋅ru and Q=F(r)⋅rv as functions of (u,v). Both are C1 on D: F is C1 and r is C2, so ru and rv are C1.
Step 3 (apply Green's theorem). By the previous proof,
∮CF⋅dr=∬D(∂u∂(F⋅rv)−∂v∂(F⋅ru))dudv.
Step 4 (the second derivatives of r cancel). By the product rule and the chain rule,
where (a⋅∇)F denotes the vector with components am∂Fn/∂xm. Here the hypothesis r∈C2 is used: ruv=rvu, so the two terms containing them cancel on subtraction, leaving
∂u∂Q−∂v∂P=[(ru⋅∇)F]⋅rv−[(rv⋅∇)F]⋅ru.
Step 5 (this is the curl, dotted with the normal). For any two vectors a,b and any differentiable F, the epsilon-delta identity εkmnεkpq=δmpδnq−δmqδnp (vector algebra) gives
With a=ru, b=rv this is exactly the integrand of Step 4.
Step 6 (conclude). Substituting into Step 3,
∮CF⋅dr=∬D(∇×F)⋅(ru×rv)dudv=∫S(∇×F)⋅dS,
the last equality being the definition of a flux integral over the patch. For a surface made of several patches, add: interior edges are traversed twice in opposite directions when the patches are consistently oriented, and cancel. □
Proof(The two companion identities)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.8, Eqs. (3.94)–(3.95), p. 168
Both come from Stokes' theorem applied to a field built out of an arbitrary constant vector a — the technique Arfken points to but does not carry out. Being constant, a passes through ∇ and through both integral signs; (a⋅∇)P keeps the meaning it was given in the previous proof, the vector with components am∂Pn/∂xm. Throughout, S and C satisfy the hypotheses of the theorem and φ,P are C1 on an open set containing S.
Step 1 (one cyclic rule, used twice). For any three vectors, (u×a)⋅w=det[u,a,w]=det[a,w,u]=a⋅(w×u), the two determinants differing by a cyclic permutation of their rows, which is an even permutation.
Step 2 (the scalar identity). Take F=φa. Then ∇×(φa)=∇φ×a, since the term φ∇×a vanishes for constant a. Apply Stokes' theorem to this F; rewrite its flux side by Step 1 with u=∇φ and w=n^, and its circulation side by pulling the scalar φ past the dot product. This gives
a⋅∫S(n^×∇φ)dS=∫S(∇φ×a)⋅dS=∮Cφa⋅dr=a⋅∮Cφdr.
Step 3 (strip the arbitrary vector). The outer two members agree for every constant a; taking a=i^,j^,k^ in turn equates the three components of the two vectors, which is the first identity, Arfken's Eq. (3.94), since n^dS=dS.
Step 4 (the vector identity: the left side of Stokes). Take F=P×a. With the epsilon-delta identity used in the previous proof,
using εijkεklm=εkijεklm=δilδjm−δimδjl. On the circulation side, Step 1 with u=P and w=dr gives (P×a)⋅dr=a⋅(dr×P). So Stokes' theorem reads
∫S[(a⋅∇)P−a(∇⋅P)]⋅dS=a⋅∮Cdr×P.
Step 5 (recognise the left side as (dS×∇)×P). Expanding that double cross product with (n^×∇)j=εjlmnl∂m, and using εijkεjlm=−εjikεjlm=−(δilδkm−δimδkl),
Dotting with a and collecting, a⋅[(n^×∇)×P]=nk(a⋅∇)Pk−(a⋅n^)∇⋅P=[(a⋅∇)P−a(∇⋅P)]⋅n^, which is exactly the integrand of Step 4.
Step 6 (conclude). Therefore a⋅∫S(dS×∇)×P=a⋅∮Cdr×P for every constant a, and stripping a as in Step 3 gives the second identity, Arfken's Eq. (3.95). □
Other routes, and the general version. Riley, Hobson and Bence and Arfken both derive Stokes' theorem by dividing S into a mesh of small rectangles, applying the circulation definition of the curl to each, and observing that all interior edges cancel in pairs. That argument shows why the theorem is true and is the one to remember, but turning it into a proof requires an estimate of the error on each cell and a limit; the route through Green's theorem above avoids that. The statement in its full generality — S a compact oriented two-dimensional submanifold with boundary in an oriented Riemannian 3-manifold — is Lee's Theorem 16.34, proved by applying Stokes's theorem for differential forms to the 1-form F♭ and identifying d(F♭) with the curl; see Stokes' theorem for forms, which contains Green's theorem, Stokes' theorem and the divergence theorem as the three cases n=2, and (2,3) and (3,3) of one statement.
RemarkOriginal
Where the hypotheses are used, and what fails without them.
Orientation is not a convention one may drop. Both sides change sign when the traversal of C is reversed, and both change sign when n^ is reversed; the theorem is the statement that they change together. Arfken makes the point that this is why no sign ambiguity arises in Faraday's law. Fixing one of the two and reading off the other, as in Step 1, is the only safe procedure.
Two-sidedness. A Möbius strip has a perimeter and a well-defined circulation round it, but no continuous normal field, so the left-hand side is not even defined. This is the one hypothesis with no analogue in the divergence theorem, where the boundary of a solid region is automatically two-sided.
r∈C2, used twice. In Step 2 it makes the coefficients P,Q of the pulled-back line integral of class C1, which is what lets Green's theorem be applied to them in Step 3; in Step 4 it gives ruv=rvu, so that the two mixed terms cancel. Our proof therefore covers the C2 case and no more. The statement above is nevertheless given for two-sided piecewise C1 surfaces, on the authority of Riley, Hobson and Bence (§11.9, p. 406), who state the theorem for any two-sided open surface, simply or multiply connected, and attach no smoothness hypothesis to it at all; Arfken's mesh derivation (p. 167) is the same argument, with the same silence. The merely C1 case is proved nowhere in this handbook. It needs S to be approximated by smoother surfaces, and the nearest result in our library, Lee's Theorem 16.34 quoted in the note above, assumes a smooth submanifold and so does not contain it either. What is unproved here is the smoothness of the surface and nothing else: the extension from one patch to a surface made of several is the last line of the proof.
F∈C1 on a neighbourhood of S, not just on S. The curl involves derivatives of F in the direction off the surface as well as along it. A field defined only on S has no curl.
F must be C1 at every point of S, including points not on C. Take F=(−y,x,0)/(x2+y2) on the complement of the z-axis, for which ∇×F=0 (see line integrals), and let C be the unit circle in the plane z=0. The circulation is 2π, but every surface spanning C meets the z-axis, where F is undefined; so the flux side is not available, and no contradiction arises. If instead S is a disc spanning a circle that does not encircle the axis, both sides are 0.
Why the two readings of Green's theorem are the same theorem. In the plane, replacing f=(f,g) by (−g,f) rotates the field by a quarter turn, which exchanges its tangential and normal components on C and exchanges ∇⋅f with the scalar curl ∂xg−∂yf. Strauss records the substitution P=−g, Q=f explicitly; the two forms carry exactly the same information.
Relation to the plane case. Green's theorem is Stokes' theorem for a flat surface in the plane z=0 with n^=k^: for F=(P,Q,0) the only surviving component of the curl is (∇×F)3=∂xQ−∂yP. Our proof runs in that direction — Green first, then Stokes — so it cannot be reversed without circularity.
Example(Green's theorem: the area inside an astroid)Original
Putting P=−y, Q=x in Green's theorem makes the integrand ∂xQ−∂yP=2, so for any region R with piecewise C1 boundary
area(R)=21∮C(xdy−ydx),
which turns an area into a one-dimensional integral along the boundary. Take the astroid
x=acos3t,y=asin3t,0≤t≤2π(a>0),
traversed anticlockwise, which encloses a region R with four cusps.
Differentials.dx=−3acos2tsintdt and dy=3asin2tcostdt.
Check, by trapping R between two shapes whose areas are known. On the curve,
∣x∣+∣y∣=a(∣cost∣3+∣sint∣3)≤a(cos2t+sin2t)=a,
since ∣cost∣≤1 and ∣sint∣≤1. So the boundary lies in the diamond ∣x∣+∣y∣≤a, which is convex and therefore contains R as well; the diamond's area is 2a2, so area(R)≤2a2. In the other direction, on the curve
r2=x2+y2=a2(cos6t+sin6t)=a2(1−43sin22t)≥4a2,
so every boundary point is at distance at least a/2 from the origin; and R is star-shaped about the origin, each ray from it meeting the curve exactly once, so R contains the disc of radius a/2 and area(R)≥πa2/4. Hence
4π=0.78540≤83π=1.17810≤2,
in units of a2: the computed area does lie between the two bounds, nearer the lower one, as the four concave sides should make it.
The cusps at t=0,π/2,π,3π/2, where (x′,y′)=0, do no harm, but not because the parametrization is smooth. What Green's theorem requires is that the boundary be a piecewise C1curve, and it is: the four open arcs between consecutive cusps are regular C1 arcs, and the cusps are the finitely many corner points at which the pieces join — exactly as for the corners of a square. The line integral is then computed from the given C∞ parametrization, whose velocity vanishing at four isolated parameter values affects neither the integrand nor the value of the integral.
Example(Stokes' theorem on a triangle, both sides computed)Original
Let S be the flat triangle with vertices A=(1,0,0), B=(0,1,0), C0=(0,0,1) and perimeter traversed A→B→C0→A, and let
F=(z,x,y).
Orientation. Two edge vectors in the direction of travel are B−A=(−1,1,0) and C0−B=(0,−1,1), and
(−1,1,0)×(0,−1,1)=(1,1,1),
so the right-hand traversal corresponds to n^=(1,1,1)/3, the normal pointing away from the origin. The triangle is equilateral with side ∣B−A∣=2, so its area is 43(2)2=23.
Circulation, edge by edge. Each edge is a straight segment r(t)=p+t(q−p), 0≤t≤1.
A→B: r=(1−t,t,0), r′=(−1,1,0), and F(r)=(z,x,y)=(0,1−t,t), so F⋅r′=1−t and the contribution is ∫01(1−t)dt=21.
B→C0: r=(0,1−t,t), r′=(0,−1,1), F(r)=(t,0,1−t), so F⋅r′=1−t: again 21.
C0→A: r=(t,0,1−t), r′=(1,0,−1), F(r)=(1−t,t,0), so F⋅r′=1−t: again 21.
Hence ∮CF⋅dr=3⋅21=23.
Comparison. Both sides equal 23.
Surface independence, checked. Replace S by the three right triangles OAB, OBC0, OC0A with O the origin; together they span the same perimeter, because the three segments OA, OB, OC0 each belong to two of them and cancel. Consistency forces the boundary traversals A→B→O→A, B→C0→O→B and C0→A→O→C0, whose right-hand normals are, by the same cross-product computation as in step 1,
Each triangle has area 21, so each contributes (1,1,1)⋅e^⋅21=21, and the total is again 23. Note that these three normals point into the tetrahedron OABC0; the orientation is fixed by the perimeter, not by any region.
Stokes' theorem is what converts the two curl equations of Maxwell's set between their differential and circuit forms. Integrating ∇×B=μ0J over a disc S pierced by a current-carrying wire and applying the theorem gives
∮∂SB⋅dr=μ0∫SJ⋅dS=μ0I,
which is Ampère's law in the form Arfken calls Oersted's law; the surface-independence property is what makes "the current enclosed by the loop" well defined. Integrating ∇×E=−∂B/∂t over a circuit of area S gives
∮∂SE⋅dr=−dtdΦ,Φ=∫SB⋅dS,
Faraday's law: the voltage induced in a loop of wire is minus the rate at which magnetic flux through the loop changes. Two separate things are often run together here. Reversing the sense of the loop reverses dr and therefore also dS and the flux Φ, so both sides change sign together and the prediction does not depend on which way round the loop was labelled: that is Arfken's "no sign ambiguity" remark (p. 168), a statement about orientation. Lenz's law is the content of the minus sign itself — the induced current flows so as to oppose the change in flux — and it is what makes a transformer or an alternator work rather than run away.
In fluid mechanics the circulation Γ=∮Cu⋅dr round a closed curve equals the flux of the vorticity ω=∇×u through any surface spanning it; this is the identity behind Kelvin's circulation theorem, the Kutta–Joukowski lift formula, and the statement that a vortex tube's strength is constant along its length. Green's theorem in its own right is the planimeter's mathematics: an instrument that traces the boundary of a shape and reads off 21∮(xdy−ydx) returns its area, and the same formula is how a geographic information system computes the area of a polygon from its vertex list.
Derives Green's first and second identities from the divergence theorem and uses the first to prove that the Dirichlet problem for Poisson's equation has at most one solution, that the Neumann problem has one up to an additive constant and only when its data satisfy the compatibility condition ∮ShdS=∫VfdV, and that the Robin problem with positive coefficient has at most one.
Theorem(Green's first and second identities)AdaptedAdapted from Strauss (2008), §7.1, Eq. (G1), p. 180 and §7.2, Eq. (G2), p. 185; Evans (2010), Appendix §C.2, Thm 3, p. 667; Riley, Hobson & Bence (2006), §11.8.1, Eqs. (11.19)–(11.20), p. 403
Let V⊆R3 be a bounded domain whose boundary S=∂V is piecewise C1, with unit outward normal n^, and write
∂n∂u=n^⋅∇u
for the outward normal derivative on S. Then:
Green's first identity. For u∈C2(V) and v∈C1(V),
∮Sv∂n∂udS=∫V∇v⋅∇udV+∫Vv∇2udV.(G1)
The case v≡1. For u∈C2(V),
∮S∂n∂udS=∫V∇2udV.
Green's second identity. For u,v∈C2(V),
∫V(u∇2v−v∇2u)dV=∮S(u∂n∂v−v∂n∂u)dS.(G2)
Evans states all three in Rn for a bounded open U with C1 boundary and u,v∈C2(U); nothing in the statements or the proof is special to three dimensions. Strauss presents (G1) and (G2) without attaching smoothness conditions to u and v — his claim is that they hold whatever the solid region and whatever the two functions — because he obtains them formally from the product rule and the divergence theorem; the hypotheses above are what that derivation actually needs, and are Evans's.
Idea of the proofOriginal
Both identities are the three-dimensional integration-by-parts formula, and they come from one line of algebra plus the divergence theorem. The product rule for the divergence of v∇u splits it into a term with no derivative on v and a term with one on each; integrating and converting the left side to a boundary integral gives (G1), with the boundary term playing the part of the [uv]ab of one-variable integration by parts. The second identity is obtained for free: in (G1) the middle term ∫∇u⋅∇v is symmetric in u and v, so writing (G1) twice with the two functions exchanged and subtracting annihilates it, leaving a relation between the Laplacians inside and the data on the boundary.
That relation is what makes uniqueness proofs work. Setting v=u in (G1) turns the boundary data of a harmonic function into the integral of ∣∇u∣2 — a quantity that is non-negative and vanishes only for a constant. So vanishing boundary data forces the solution to be constant, and the proof is three lines long.
The first term on each right-hand side is the same number, since the dot product is symmetric. Subtracting the first equation from the second therefore gives
∮S(u∂n∂v−v∂n∂u)dS=∫V(u∇2v−v∇2u)dV,
which is (G2). □
Theorem(Uniqueness for Laplace's and Poisson's equations)AdaptedAdapted from Strauss (2008), §7.1, Eq. (4), p. 180 and Eq. (7), p. 182, with Exercises 2 and 3, p. 184
Let V be a bounded connected domain with piecewise C1 boundary S, and let f on V and h on S be given continuous functions. All solutions below are required to be of class C2(V).
Dirichlet problem. The problem ∇2u=f in V, u=h on S, has at most one solution.
Neumann problem. For ∇2u=f in V, ∂u/∂n=h on S:
a solution exists only if the data satisfy the compatibility condition∮ShdS=∫VfdV;
and any two solutions differ by a constant. So the Neumann problem is not well-posed in the strict sense: existence fails for most data, and uniqueness fails by one constant. Strauss notes that when the compatibility condition does hold, a solution can be shown to exist.
Robin problem. If a is continuous with a>0 everywhere on S, the problem ∇2u=f in V, ∂u/∂n+au=h on S, has at most one solution.
ProofAdaptedAdapted from Strauss (2008), §7.1, p. 180, Eq. (4) and p. 182, Eq. (7)
Each part uses the same device: subtract two solutions, so that the difference u solves the homogeneous problem, then put v=u in (G1).
Step 0 (the energy identity). For u∈C2(V) with ∇2u=0 in V, taking v=u in (G1) and dropping the last term gives
∮Su∂n∂udS=∫V∣∇u∣2dV.(E)
Step 1 (a vanishing lemma). If ∫V∣∇u∣2dV=0 then ∇u≡0 on V: the integrand is continuous and non-negative, so were it positive at a point it would exceed half that value on a ball around the point and the integral would be positive. Since V is connected, a function with vanishing gradient on V is constant there (integrate along a path, line integrals), hence on V by continuity.
Step 2 (Dirichlet). Let u1,u2 both solve part 1 and put u=u1−u2. Then ∇2u=f−f=0 in V and u=h−h=0 on S. The left side of (E) vanishes because u=0 at every point of S, so ∫V∣∇u∣2=0; by Step 1, u is a constant, and that constant is 0 because u vanishes on S. Hence u1=u2.
Step 3 (Neumann: the compatibility condition). Suppose u solves part 2. Part 2 of the identities, with v≡1, gives directly
∮ShdS=∮S∂n∂udS=∫V∇2udV=∫VfdV.
So data violating this equality admit no solution at all. (For f≡0 the condition reads ∮ShdS=0: a steady temperature field cannot have a net heat flux through its boundary.)
Step 4 (Neumann: uniqueness up to a constant). With u=u1−u2 as before, now ∇2u=0 in V and ∂u/∂n=0 on S, so the left side of (E) vanishes because the normal derivative vanishes on S. By Step 1, u is constant; nothing fixes its value, and indeed u2+c solves the same problem as u2 for every constant c.
Step 5 (Robin). With u=u1−u2 we have ∇2u=0 in V and ∂u/∂n=−au on S. Substituting into (E),
∫V∣∇u∣2dV=∮Su∂n∂udS=−∮Sau2dS.
The left side is ≥0 and the right side is ≤0, since a>0 and u2≥0; so both are 0. From the left, ∇u≡0 and u is a constant c by Step 1. From the right, ∮Sac2dS=0 with a>0 on a surface of positive area forces c=0. Hence u1=u2. □
RemarkOriginal
Where the hypotheses are used, and what fails without them.
Connectedness of V, in Step 1 only. On a disconnected V the Dirichlet conclusion still holds, since u vanishes on the boundary of each component; but the Neumann solution is then unique only up to an independent constant in each component.
a>0 in the Robin problem, not a≥0. With a≡0 the Robin problem is the Neumann problem, and uniqueness genuinely fails by a constant: Step 5 breaks at its last sentence. With a<0 somewhere, the two sides of Step 5 can both be nonzero and uniqueness can fail outright. Strauss poses the case a>0 as Exercise 3.
u∈C2 up to the boundary. Both the divergence theorem in Step 2 of the first proof and the evaluation of u or ∂u/∂n on S require the solution and its first derivatives to extend continuously to S. Dropping this admits spurious "solutions": the harmonic function u=Re((1+z)/(1−z)) on the unit disc in the plane vanishes at almost every boundary point yet is not identically zero — it is unbounded near z=1 and so not in C2(V). The energy method does not see such functions, and the uniqueness statements are statements about the class C2(V).
Only v∈C1 is needed in (G1). Step 2 of the first proof applies the divergence theorem to v∇u, which is C1 as soon as v is C1 and u is C2. (G2), by contrast, differentiates both functions twice and needs both in C2.
Nothing here needs V simply connected. The underlying divergence theorem does not, so the identities hold on a spherical shell, with the boundary integral taken over both spheres and n^ pointing out of V on each.
Symmetry of the boundary condition. Strauss observes that each of the three classical boundary conditions makes the right-hand side of (G2) vanish for every pair u,v satisfying it — he calls such a condition symmetric for ∇2. For the Dirichlet condition both terms vanish separately; for the Neumann condition likewise; for the Robin condition ∂u/∂n=−au the two terms become −auv and +avu and cancel. This is exactly the property that makes ∇2 self-adjoint on the corresponding function space, and hence the starting point for eigenfunction expansions.
Notation. Strauss writes the Laplacian Δ and warns against the physicists' ∇2; we use ∇2, as do Riley, Hobson and Bence and Arfken. Evans writes Du for the gradient and ν for the outward normal. Only symbols differ.
NoteOriginal
Moments on the unit sphere and ball, used in the examples. Aligning the polar axis with the x-axis so that x=rcosθ, and using ∮S2g(cosθ)dS=2π∫−11g(t)dt on the unit sphere,
where B is the unit ball. In particular ∮x2dS=34π, ∮x4dS=54π, ∮x6dS=74π, and ∫Bx2dV=154π, ∫Bx4dV=354π. Also, expanding ∮(x2+y2+z2)2dS=∮1dS=4π into 3∮x4dS+6∮x2y2dS gives ∮x2y2dS=154π, and by symmetry the same for ∮x2z2dS.
Example(Green's first identity on the unit ball)Original
Let V=B be the unit ball, S the unit sphere, and
u=x2+y2,v=x2.
Both are polynomials, hence C∞ on V, so (G1) applies.
Ingredients.∇u=(2x,2y,0), ∇2u=4; ∇v=(2x,0,0); and ∇u⋅∇v=4x2. On S the outward normal is n^=(x,y,z), so
∂n∂u=(2x,2y,0)⋅(x,y,z)=2(x2+y2)=2(1−z2)
using x2+y2+z2=1 on S.
Left side. Using the moments above,
∮Sv∂n∂udS=∮S2x2(1−z2)dS=2∮Sx2dS−2∮Sx2z2dS=2⋅34π−2⋅154π=1532π.
Right side, first term.∫B∇u⋅∇vdV=4∫Bx2dV=4⋅154π=1516π.
Right side, second term.∫Bv∇2udV=4∫Bx2dV=1516π.
Comparison.1516π+1516π=1532π, which is step 2. Numerically both sides are 6.70206 to five decimal places. Note that all three terms are nonzero here, so this is a genuine test of the identity and not of a symmetry.
Example(Green's second identity on the unit ball)Original
A contrast with (G1). Had we chosen u=x2, v=y2 here, both sides would have come out 0 by the symmetry of the ball under exchanging x and y — true, but no test of anything. Breaking the symmetry, as above, is what makes the check informative; this is why (G2) is harder to test numerically than (G1).
ApplicationOriginal
Green's second identity is the engine of potential theory. Choosing v to be the fundamental solution −1/(4π∣x−x0∣) of the Laplacian and cutting out a small ball around its singularity turns (G2) into a formula expressing the value of a harmonic function at an interior point as an integral of u and ∂u/∂n over the boundary — Strauss's representation formula (§7.2). Replacing that fundamental solution by the Green's function of the region, which also vanishes on the boundary, removes the unknown ∂u/∂n and gives the solution of the Dirichlet problem purely in terms of its data; this is the subject of Green's functions for Laplace's equation and the Poisson integral formula. Riley, Hobson and Bence single out the second identity for exactly this reason.
Green's first identity is the engine of the variational and numerical theory. Read from right to left it says that, for u vanishing on the boundary, ∫v∇2u=−∫∇v⋅∇u: a second-order operator has been traded for a symmetric first-order bilinear form. That trade defines the weak formulation of an elliptic problem, makes −∇2 manifestly non-negative, and produces the stiffness matrix of the finite-element method; it is also what Strauss's Dirichlet principle rests on, which identifies the harmonic function with the minimizer of 21∫∣∇w∣2 among functions with the given boundary values (compare the Rayleigh–Ritz method).
In physics the same identity is energy accounting. With u=v=ϕ the electrostatic potential and ∇2ϕ=−ρ/ε0, (G1) gives ∫∣E∣2dV=∫ρϕdV/ε0 for a potential decaying at infinity, equating field energy with the work of assembling the charges — Arfken's Exercise 3.8.4. The Neumann compatibility condition ∮ShdS=∫VfdV is the statement that a body in steady state cannot absorb heat on balance, and in a numerical solver a violated compatibility condition is the standard reason a Neumann solve fails to converge.
States and proves the two theorems of potential theory as Arfken gives them — a field is determined by its divergence, its curl and its boundary normal component on a simply connected region, and a field whose source and circulation densities vanish at infinity splits into an irrotational part −∇φ and a solenoidal part ∇×A with the two Poisson integrals as potentials — and describes the gauge freedom in φ and A.
Theorem(Scalar and vector potentials)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.9, Eqs. (3.96)–(3.100), pp. 171–172 and Eq. (3.102), p. 172, verified on p. 173; Riley, Hobson & Bence (2006), §10.8.2, Eqs. (10.37)–(10.38), p. 356 and §11.4, p. 389
Two one-line identities govern everything in this unit: for ϕ∈C2 and a∈C2,
∇×∇ϕ=0,∇⋅(∇×a)=0.
So a gradient is irrotational and a curl is solenoidal. The converses are the content of potential theory:
Scalar potential. On a simply connected region, a C1 field F with ∇×F=0 can be written F=−∇φ; Arfken calls φ a scalar potential, and the three conditions F=−∇φ, ∮F⋅dr=0 and ∇×F=0 are equivalent there. The step from the vanishing circulation to the vanishing curl is Stokes' theorem applied to small loops, which is how Arfken takes it (p. 172); the rest is the theorem on conservative fields, with the physicists' sign. φ is determined up to one additive constant.
Why simple connectivity is needed. Arfken imposes it too: the section opens "over a given simply connected region of space (one with no holes)" (p. 171), and the equivalence of his three conditions, Eqs. (3.96), (3.99) and (3.100), is stated within that setting (p. 172). The hypothesis cannot be dropped. On R3 minus the z-axis the field (−y,x,0)/(x2+y2) has zero curl everywhere yet circulation 2π around any loop encircling the axis (line integrals), so a curl-free field there need not be a gradient.
Vector potential. A C1 field B with ∇⋅B=0 admits a field A with B=∇×A. Arfken's Eq. (3.102), p. 172, exhibits one explicitly,
and the text on p. 173 verifies ∇×A=B for it, the x-component being the one that uses ∇⋅B=0. Riley, Hobson and Bence state the existence of such an A without proof (p. 389).
Gauge freedom.A is far from unique — Arfken's own phrase, in the paragraph on p. 173 that follows the verification: for any scalar ψ and any constant vector k (Riley, Hobson and Bence call this constant vector c; that letter is reserved here for Arfken's circulation density in Helmholtz's theorem below),
A′=A+∇ψ+kalso satisfies∇×A′=B,
by the first identity above. Arfken's formula also depends on the arbitrary base point (x0,y0), and a second formula with x and y interchanged (his Eq. (3.103)) gives yet another A. Replacing A by A+∇ψ is called a gauge transformation.
Theorem(Uniqueness from divergence, curl and boundary data)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.9, pp. 177–178
Let V be a bounded simply connected region with piecewise C1 boundary, and let P and P′ be C1 fields on the closed region V that agree in all three of
∇⋅P=∇⋅P′,∇×P=∇×P′,P⋅n^=P′⋅n^ on ∂V.
Then P=P′ everywhere in V. Read as a recipe: three pieces of data pin a field down on such a region — how much it spreads out, how much it circulates, and how much of it crosses the boundary.
Boundedness is our hypothesis, not Arfken's. He asks only for a simply connected region, and his proof, which is the one given below, runs through Green's first identity; that identity is available on a bounded region with piecewise C1 boundary and not otherwise (Green's identities). The hypothesis is load-bearing rather than decorative: on V=R3, which is simply connected and has no boundary at all, the boundary condition would be vacuous and the conclusion false, since every constant field has zero divergence and zero curl. Arfken applies the theorem to all of space in his proof of Helmholtz's theorem; Step 5 of our second proof below therefore replaces that appeal by a limit over balls, and the difference from the source is recorded in verification/discrepancies.md.
A caveat of Arfken's applies here and to Helmholtz's theorem below. Suppose the divergence or the curl of the field makes sense at some point only as a delta function; that point still belongs to the region, and is not to be excised from it. A point charge sitting inside V is therefore covered, with ∇⋅P understood as a multiple of δ(3) (the Dirac delta) — whereas removing the point would replace V by a region that is not simply connected in the same way, and the conclusion could fail.
Theorem(Helmholtz's theorem)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.9, Eqs. (3.122)–(3.125) and the closing paragraph straddling pp. 179–180, pp. 178–180
Suppose a field P has a source density and a circulation density that both die away at infinity. Then P splits into two summands, the first of them irrotational and the second solenoidal. Explicitly, with
where r12=∣r1−r2∣ and the integrals are over all space. The first part is irrotational because ∇×∇φ=0 and the second is solenoidal because ∇⋅(∇×A)=0, so the two pieces carry the whole of the divergence and the whole of the curl respectively.
In electromagnetic language, s is the charge density divided by ε0 and c is the current density times μ0; Arfken says the theorem is what legitimizes splitting the quantities of electromagnetic theory into an irrotational E and a solenoidal B, each with its own potential.
NoteOriginal
On the hypothesis. The hypothesis is stated above exactly as Arfken states it: the source and circulation densities vanish at infinity. He also uses, in appealing to the uniqueness theorem, that the field itself vanishes at infinity. Mere vanishing is not by itself enough for the two integrals to converge — for φ(r1) to converge one needs s to decay faster than 1/r2, which holds in the case of chief interest, where s and c have bounded support, as in the first example below. Convergence is not the only thing mere vanishing fails to give: the integration by parts in Step 3 of the second proof below needs c=o(1/r), and the identification of P⋆ with P in Step 5 needs a decay rate for the field, neither of which follows from vanishing alone. The remark below sets out all three conditions and which step needs which. We follow the source and state the hypothesis as given; a reader applying the theorem to a slowly decaying source should check those conditions first.
Idea of the proofOriginal
The uniqueness theorem is the energy argument of Green's identities in disguise. The difference of two candidate fields has zero divergence, zero curl and zero normal component. Zero curl on a simply connected region means it is a gradient; zero divergence then makes its potential harmonic; and Green's first identity converts the vanishing boundary data of a harmonic function into the vanishing of ∫∣∇φ∣2, which forces the field itself to vanish.
Helmholtz's theorem is then proved without any further analysis, by checking rather than constructing. The two candidate potentials are built out of 1/r12 for one reason only: ∇2(1/r)=−4πδ(3), so applying the Laplacian to either integral sifts the source back out. That gives the proposed field the right divergence and the right curl — the curl computation needing one extra observation, that a circulation density is itself divergence-free, which kills the unwanted ∇(∇⋅A) term. Having the right divergence and curl, it is the right field — not by the uniqueness theorem itself, which speaks only of bounded regions, but by running that theorem's energy argument on the ball r<R and letting R grow, the boundary term on the sphere being what the decay of the field kills.
Step 1 (reduce to the homogeneous case). Let Q=P−P′. By linearity of ∇⋅ and ∇× and of the normal component,
∇⋅Q=0 in V,∇×Q=0 in V,Q⋅n^=0 on ∂V.
It suffices to show Q≡0.
Step 2 (a potential for Q).Q is C1 and irrotational on the simply connected region V, so by part 1 of the first statement there is ϕ with Q=−∇ϕ (conservative fields). Since Q is C1 on V, so is ∇ϕ, and ϕ∈C2(V) — which is what Step 4 will need. Here, and only here, simple connectivity is used.
Step 3 (ϕ is harmonic, and its normal derivative vanishes). Taking the divergence, 0=∇⋅Q=−∇2ϕ, so ∇2ϕ=0 in V. On ∂V, ∂ϕ/∂n=n^⋅∇ϕ=−Q⋅n^=0.
Step 4 (Green's first identity).V is bounded with piecewise C1 boundary and ϕ∈C2(V), so Green's first identity is available (Green's identities) — this is where boundedness is used. Apply (G1) with u=v=ϕ:
∮∂Vϕ∂n∂ϕdS=∫V∣∇ϕ∣2dV+∫Vϕ∇2ϕdV.
The left side vanishes because ∂ϕ/∂n=0 on ∂V (Step 3) — this is where the boundary hypothesis is used — and the last term vanishes because ϕ is harmonic. Hence
∫V∣∇ϕ∣2dV=∫VQ⋅QdV=0.
Step 5 (conclude). The integrand ∣Q∣2 is continuous and non-negative with zero integral, so it vanishes identically: were it positive at a point it would exceed half that value on a ball around the point, making the integral positive. Thus Q≡0 and P=P′. □
The case proved. The statement above is Arfken's, with his hypothesis that the two densities vanish at infinity. What is proved here is the case his integral formulas are really written for, and it is declared in full before the argument starts rather than being assembled as it goes:
P is C2 on R3, so that s=∇⋅P is C1 and c=∇×P is C1 with ∇⋅c=0;
s and c vanish outside some ball r≤a (compact support);
P=O(r−2) as r→∞.
Compact support does three things. It makes the two integrals converge, since each is an integral of a bounded density against the locally integrable kernel 1/r12 over a bounded set. It makes the single differentiation of Step 3 legitimate under the integral sign, because ∣∇1(1/r12)∣=r12−2 is locally integrable too and the domain is a fixed compact set (differentiation under the integral sign); the second derivatives are never taken naively, the two Laplacians being read through the identity ∇2(1/r)=−4πδ(3) of the Dirac delta, which is itself a statement about integrals of exactly this shape. And it makes the surface term discarded in Step 3 vanish identically for large spheres rather than merely in a limit. The decay P=O(r−2) is the quantitative form of Arfken's "the vector involved vanishes at infinity", and Step 5 is where it is used. What each hypothesis can be weakened to is set out in the remark below.
Write P⋆=−∇φ+∇×A for the proposed field, with φ and A the two integrals of the statement. Subscripts on ∇ record which variable is being differentiated.
Step 1 (the divergence comes out right). Since ∇⋅(∇×A)=0,
using ∇2(1/r)=−4πδ(3) and then the sifting property. So P⋆ has the same divergence as P.
Step 2 (prepare the curl). Since ∇×∇φ=0, we need ∇×(∇×A)=c. Use the identity
∇×(∇×A)=∇(∇⋅A)−∇2A,
which in Cartesian components reads [∇×(∇×A)]j=[∇(∇⋅A)]j−∇2Aj. Riley, Hobson and Bence's Eq. (10.41) is the vector identity, and they attach to the componentwise step, their Eq. (10.42), the warning that it is available only when the basis vectors are constant in direction, as in Cartesian coordinates, and not in cylindrical or spherical polars (§10.8.2, p. 357). We work in Cartesian coordinates throughout.
Step 3 (the unwanted term vanishes). Differentiating under the integral sign and noting that s and c do not depend on r1,
the sign change because 1/r12 depends on r1−r2, so that differentiating with respect to r2 instead of r1 reverses the result. Now integrate by parts in r2. Fix r1 and take R>max(a,2r1), so that the ball VR={r2<R} contains the whole support of c in its interior. Write g=1/r12; away from r2=r1 the product rule gives ∇2⋅(gc)=c⋅∇2g+g∇2⋅c. Apply the divergence theorem on VR with the ball r12<ε removed, where gc is C1. The inner sphere contributes at most ε−1⋅4πε2⋅max∣c∣→0, while both volume integrands are absolutely integrable near r1 (g=r12−1 and ∣∇2g∣=r12−2, against dτ2∼r122dr12). Letting ε→0 therefore gives
∫VRc⋅∇2gdτ2=∮r2=Rgc⋅dS2−∫VRg(∇2⋅c)dτ2.
The surface term is exactly zero, not merely small: c vanishes on the sphere r2=R, because R>a and c is supported in r2≤a. This is where the compact support declared in the preamble is used, and it is the one place where Arfken's hypothesis that c merely vanishes at infinity would not suffice. For a c without compact support the term is bounded only by 4πR2⋅maxr2=R∣c∣/(R−r1), hence by 8πRmaxr2=R∣c∣ once R>2r1, because the sphere's area grows like R2 while the kernel decays only like R−1; so it dies as R→∞ only if c=o(1/r), and for ∣c∣∼1/r — a circulation density that does vanish at infinity — the bound does not tend to zero at all. Since c is supported in r2≤a, the remaining volume integral is already the integral over all of space, and no limit in R is needed:
∇1⋅A(r1)=4π1∫[∇2⋅c(r2)]r121dτ2=0,
because c=∇×P is a curl and ∇⋅(∇×P)=0 (here P∈C2 is used). Hence the term ∇(∇⋅A) in Step 2 is zero.
Step 4 (the curl comes out right). It remains to show −∇2A=c. The vector Laplacian acts componentwise in Cartesian coordinates, so for each j, exactly as in Step 1,
Step 5 (identify P⋆ with P). Put Q=P−P⋆. By Steps 1 and 4, ∇⋅Q=0 and ∇×Q=0 on the whole of R3. The uniqueness theorem cannot be applied with V=R3: that region is unbounded and has no boundary, so its boundary hypothesis would be empty, and the conclusion false, as any constant field shows. We run the argument of that theorem on the balls VR={r<R} instead and let R→∞.
Since R3 is simply connected and Q is C1 and irrotational, Q=−∇χ with χ∈C2(R3), and ∇2χ=−∇⋅Q=0. Each VR is bounded with a smooth boundary, so Green's first identity applies there with u=v=χ; the term in ∇2χ drops out, and ∂χ/∂n=r^⋅∇χ=−Q⋅r^ on r=R, so
∫VR∣Q∣2dV=−∮r=Rχ(Q⋅r^)dS.
The constant in χ may be used to sharpen this. Since ∇⋅Q=0 in VR, the divergence theorem gives ∮r=RQ⋅r^dS=0, so χ may be replaced by χ−k for any constant k. Choose k to be the value of χ at one point of the sphere r=R. Any two points of that sphere are joined by a great-circle arc of length at most πR, along which χ changes at a rate at most ∣∇χ∣=∣Q∣, so ∣χ−k∣≤πRM(R) on the sphere, where M(R)=maxr=R∣Q∣. With the sphere's area 4πR2,
∫VR∣Q∣2dV≤4πR2⋅πRM(R)⋅M(R)=4π2R3M(R)2.
The left side increases with R, so if the right side tends to 0 along some sequence R→∞ then ∫VR∣Q∣2dV=0 for every R; the integrand is continuous and non-negative, so Q≡0, exactly as in Step 5 of the first proof. The theorem therefore follows as soon as R3M(R)2→0 along a sequence — that is, as soon as ∣Q∣ decays faster than r−3/2.
It does so under the hypotheses declared in the preamble, which is where the compact support of s and c and the decay P=O(r−2) are used. Indeed for r1=∣r1∣≥2a every source point has r12≥r1−a≥r1/2, so
using ∣∇1(1/r12)∣=1/r122, and the same bounds hold for A and its derivatives with ∣c∣ in place of ∣s∣. Hence P⋆=−∇φ+∇×A is O(r−2), so M(R)=O(R−2) and R3M(R)2=O(R−1)→0. Therefore P⋆=P, that is,
P=−∇φ+∇×A,
with −∇φ irrotational and ∇×A solenoidal. □
RemarkOriginal
Where the hypotheses are used, and what the freedom is.
Simple connectivity, in Step 2 of the first proof only. Drop it, keeping every other hypothesis, and uniqueness fails. Take the capped cylindrical shell V={1≤ρ≤2,0≤z≤h}, which is bounded and has piecewise C1 boundary but is not simply connected, and on it the field Q=(−y,x,0)/(x2+y2), which is C1 on V because ρ≥1 there. Then ∇⋅Q=0, ∇×Q=0, and Q⋅n^=0 on the whole of ∂V: on the two cylindrical walls the normal is ±ρ^ while Q is azimuthal, and on the two annular caps z=0 and z=h the normal is ∓k^ while Q has no z-component. Yet Q=0, so P and P+Q share all three data. What fails is exactly Step 2: Q has no single-valued potential on V, its circulation round a circle ρ=const being 2π (see the second example of line integrals). The caps matter. The region between two infinite coaxial cylinders falls outside the theorem for a second and independent reason, that it is unbounded, and so isolates nothing; closing it off at z=0 and z=h costs nothing, since Q⋅n^ vanishes on the new faces too.
The normal component, not the tangential one. Specifying P⋅n^ is what makes the left side of Step 4 vanish. Prescribing instead the tangential components would not close the argument in this form.
Decay at infinity, in Steps 3 and 5 of the second proof — and how much of it each step needs. Neither step is served by Arfken's hypothesis that the densities merely vanish at infinity, and the two need different things, so the proof above declares compact support in its preamble and both steps then have what they require outright.
Step 3 discards the surface term ∮r2=R(1/r12)c⋅dS2. That term is bounded by 4πR2maxr2=R∣c∣/(R−r1), hence by 8πRmaxr2=R∣c∣ once R>2r1: the sphere's area grows like R2 while the kernel decays only like R−1. So it tends to zero if and only if c=o(1/r), and for ∣c∣∼1/r — a field that does vanish at infinity — it does not, leaving ∇⋅A=0, on which Steps 2 and 4 both rest, unestablished. The correct condition for Step 3 in general is therefore c=o(1/r), and it is logged with the convergence condition in verification/discrepancies.md. Under compact support the term is identically zero for every R>a and no limit is needed.
Step 5 needs more again. Its bound 4π2R3M(R)2 tends to zero only if ∣Q∣ decays faster than r−3/2, and that rate is got there from the compact support of s and c together with P=O(r−2). Arfken does not need it, because he applies his uniqueness theorem directly on all of space, which the statement above does not permit. Our Step 5 is the limiting argument that replaces that appeal, and the difference from the source is likewise recorded in verification/discrepancies.md.
Convergence of the two integrals is a third, separate condition: as the note above says, φ needs s to decay faster than 1/r2. Compact support gives all three conditions at once, which is why the proof is written for that case.
What is unique and what is not. The decomposition into irrotational plus solenoidal is pinned down by the theorem, because the two pieces are reconstructed from s and c. The potentials are not: φ may be shifted by a constant, and A by any ∇ψ plus a constant vector. Arfken's Example 3.9.2 exhibits three different vector potentials for a constant field B=Bze^z, namely Bzxe^y, −Bzye^x and 21(B×r), and reconciles them by adding ∇(Cxy). The particular A produced by the Helmholtz integral has ∇⋅A=0, as Step 3 shows; in electromagnetism that choice is the Coulomb gauge.
A field can be decomposed without the integral formulas applying. The second example below splits a field that grows linearly at infinity. The theorem's integral formulas say nothing about it, but the decomposition exists, found by inspection. Conversely, a field decaying at infinity whose source decays only like 1/r2 may defeat the formulas, as the note above says.
Arfken's delta caveat. The two theorems are stated to include points where ∇⋅P or ∇×P exists only as a delta. This matters: the field of a point charge is the main application, and it is covered only because the singular point is kept inside the region, with s read as qδ(3)/ε0.
Three dimensions, and what replaces this in general. The construction uses 1/r, the fundamental solution of the Laplacian in R3, and the curl, which exists only in three dimensions. The statement that survives in any dimension and on curved spaces is the Hodge decomposition of differential forms, of which this is the case of a 1-form in R3.
Example(A field with source but no circulation: a ball whose source grows with the radius)Original
Let a>0 and take the source density
s(r)={12r/a,0,r<a,r>a,c=0,
a source that vanishes at the centre, grows linearly out to the value 12 just inside r=a, and is switched off beyond. Both densities have bounded support, so the Helmholtz integrals converge, and A=0 because c=0. We compute φ and recover P=−∇φ. The decay condition of the proof above will hold too; its smoothness condition holds everywhere except on the single sphere r=a, where s jumps, and step 4 below comes back to that.
The spherical average of 1/r12. For ∣r1∣=r fixed, average 1/∣r1−r2∣ over the sphere ∣r2∣=t. With μ the cosine of the angle between the two vectors, r12=r2+t2−2rtμ and
The potential. Since s is radial, slice the ball into shells of radius t and area 4πt2 and use step 1 on each shell. The factor 4π cancels against the 1/4π in front of the Helmholtz integral, leaving
and for r≥a the whole ball has max(r,t)=r, so φ(r)=(12/a)⋅a4/(4r)=3a3/r. Hence
φ(r)=⎩⎨⎧4a2−ar3,r3a3,r≤a,r≥a.
Both expressions give φ=3a2 at r=a, so φ is continuous.
The field.P=−∇φ=−φ′(r)r^, so
P=a3r2r^(r≤a),P=r23a3r^(r≥a),
continuous at r=a with magnitude 3a on both sides: the field grows as r2 out to the surface and then falls as r−2.
Check the data, on each side of r=a separately. By the radial formula ∇⋅(f(r)r^)=r−2(r2f)′: inside, r−2(3r4/a)′=12r/a=s; outside, r−2(3a3)′=0=s. And ∇×(f(r)r^)=0 for any radial f, so c=0 as required. The field decays like r−2, so it vanishes at infinity at the rate the proof's Step 5 asks for.
The check has to be made piecewise, and it is worth saying why. The density s jumps from 12 to 0 across r=a, and since ∇2φ=−s, the second derivative of φ must jump by the same amount: φ′′=−6r/a→−6 from inside and φ′′=6a3/r3→+6 from outside. So φ is C1 but not C2 at r=a, and P=−∇φ is continuous there but not differentiable — ∣P∣ has a kink, with slope +6 approaching the sphere from inside and −6 from outside. The divergence ∇⋅P therefore does not exist on the sphere r=a at all, which is exactly why the verification above is carried out separately on r<a and on r>a.
That this costs nothing is a statement about measure, not about smoothness: r=a is a single surface, of zero volume, so it contributes nothing to either Helmholtz integral and nothing to any flux balance, and ∇⋅P=s holds at every point off it. The example is thus marginally outside the letter of the proof's hypothesis P∈C2(R3), on a zero-volume set; a density with a jump across a surface is the normal situation in electrostatics, and the honest reading is that the formulas are being checked wherever the derivatives they contain exist. The second example below, whose field is a polynomial, has no such surface anywhere.
A number. Take a=2, so s=6r inside the ball of radius 2. Then φ(0)=16 and φ(2)=12, while ∣P∣=1.5 at r=1, rises to 6 at r=2, and is back to 1.5 at r=4. The flux out of the sphere r=4 is 1.5×4π(16)=96π, and
∫sdτ=∫026t⋅4πt2dt=24π[4t4]02=96π:
the divergence theorem is satisfied, as it must be.
What it is. This is the electrostatic field of a ball whose charge density grows in proportion to the distance from the centre, with s=ρ/ε0. It is worth contrasting with the uniform ball, whose field rises linearly inside; here the enclosed charge grows like r4 rather than r3, so the field rises as r2 instead. Outside the ball, both look alike — only the total charge is visible, which is the content of the 3a3/r tail.
Example(A field with both parts, split by inspection)Original
Take
F=(x+y,y−x,2z)on all of R3.
Its data.∇⋅F=1+1+2=4 and
∇×F=(∂y(2z)−∂z(y−x),∂z(x+y)−∂x(2z),∂x(y−x)−∂y(x+y))=(0,0,−2).
Neither vanishes, so both parts of the decomposition are present.
Guess the pieces. Try
φ=−(2x2+y2+z2),A=(0,0,2x2+y2).
Then −∇φ=(x,y,2z) and ∇×A=(∂yA3,−∂xA3,0)=(y,−x,0).
Check. Their sum is (x+y,y−x,2z)=F. Moreover ∇⋅(−∇φ)=−∇2φ=4 and ∇×(∇×A)=∇×(y,−x,0)=(0,0,−2), so the irrotational piece carries all the divergence and the solenoidal piece all the curl, as Helmholtz's theorem says they must.
Gauge freedom, made explicit. Replace A by A′=A+∇(Kxy)=(Ky,Kx,21(x2+y2)) for any constant K. Then
∇×A′=(∂yA3′−∂zA2′,∂zA1′−∂xA3′,∂xA2′−∂yA1′)=(y,−x,K−K)=(y,−x,0),
unchanged. Note that ∇⋅A=0 while ∇⋅A′=0 too here, so this family stays in the Coulomb gauge; a ψ with ∇2ψ=0 would leave it.
Why the integral formulas do not apply.F grows linearly with ∣r∣, and s=4, c=(0,0,−2) are constants: they do not vanish at infinity, and the integrals ∫s/r12dτ2 and ∫c/r12dτ2 both diverge. The decomposition nevertheless exists. The theorem gives a sufficient condition and a formula, not a characterization of the fields that split.
ApplicationAdaptedAdapted from Arfken, Weber & Harris (2013), §3.9, Example 3.9.3 and Eqs. (3.108)–(3.111), pp. 174–175
Electromagnetism is built on this decomposition. Because ∇⋅B=0 always, B has a vector potential, B=∇×A; substituting into Faraday's law shows that E+∂A/∂t is irrotational, hence a gradient, which defines the scalar potential:
B=∇×A,E=−∇φ−∂t∂A.
Six field components have been replaced by four potential components, and the gauge freedom A↦A+∇ψ remains, which amounts to a free choice of ∇⋅A. Arfken's Example 3.9.3 makes the choice c−2∂tφ+∇⋅A=0, the Lorentz gauge, which decouples the equations into ∇2φ−c−2∂t2φ=−ρ/ε0 and c−2∂t2A−∇2A=μ0J: two wave equations, one with the charge density as source and one with the current density. The invariance of all predictions under gauge transformations is, as Arfken remarks, the precursor of gauge theory in modern physics.
In fluid mechanics the same split separates a flow into a potential part and a vortical part. Removing the irrotational part is what every incompressible Navier–Stokes solver does at each time step: given a provisional velocity field, project out its gradient part by solving a Poisson equation for the pressure, leaving a divergence-free field. That projection is the Helmholtz decomposition, and in the discrete setting its uniqueness is what makes the pressure well determined up to a constant. In magnetostatics the vector potential of a current loop is the Helmholtz integral A=(μ0/4π)∫J/r12dτ2, from which the Biot–Savart law follows by taking the curl; and in image processing and computer graphics the decomposition of a vector field into curl-free and divergence-free parts is a standard tool for smoothing and for detecting sources and vortices in measured flow fields.
Introduces the delta as the limit of a normalized family of peaked functions, proves that the Gaussian family sifts the value of any bounded function continuous at the point, collects the working rules (evenness, rescaling, δ(g(x)), the derivative, θ′=δ), defines the three-dimensional delta, and proves ∇2(1/r)=−4πδ(3)(r) from Green's second identity.
These are Arfken's Eqs. (1.149)–(1.151). No function has them: a function vanishing off a single point has integral zero. Stakgold and Holst make the same point for the concentrated unit source. So the symbol is given meaning in two steps.
A delta family (or delta sequence) is a family {δε}ε>0 of integrable functions with ∫−∞∞δε=1 for every ε, becoming taller and narrower as ε→0. The standard three are
δε(x)=επ1e−x2/ε(Gaussian),δε(x)={1/2ε,0∣x∣<εotherwise(rectangular),DT(x)=πxsinTx(T=1/ε→∞).
δ is defined by what it does inside an integral. For a given class of test functions f,
∫f(x)δ(x)dx:=ε→0lim∫f(x)δε(x)dx,
which is Arfken's Eq. (1.157). The limit limε→0δε(x) itself does not exist, and the integral on the left is not a Riemann integral; δ is a distribution, not a function. Every statement below is an abbreviation for a statement about such limits.
The identity ∫f(x)δ(x−x0)dx=f(x0) is called the sifting property; δ(x−x0) is the delta translated to x0. In three dimensions,
which is the form Riley, Hobson and Bence use for a point source and Hassani's Eq. (7.24) in n dimensions. The object δ(3) is localized at a point and carries unit integrated weight whatever coordinate system is in use; in spherical polars this reads ∫f(r,θ,ϕ)δ(3)(r−r1)r2sinθdrdθdϕ=f(r1), Arfken's Eq. (1.162).
Definition(The Gaussian family sifts)Original
Let δε(x)=(επ)−1/2e−x2/ε for ε>0, and let f:R→R be bounded and continuous at x=0. Then
∫−∞∞δε(x)dx=1for every ε>0,andε→0+lim∫−∞∞f(x)δε(x)dx=f(0).
Continuity at the one point x=0 is all that is needed; f may be discontinuous elsewhere. Arfken's Eq. (1.150) states the sifting property for "any well-behaved function", and Stakgold and Holst state their Eq. (1.2.6) for ϕ continuous at the point in question, which is the hypothesis used here.
Each identity below means that the two sides give the same value when integrated against a test function.
Evenness.δ(−x)=δ(x).
Rescaling.δ(ax)=δ(x)/∣a∣ for real a=0. (Arfken states Eq. (1.158) for a>0 and records the modulus for a<0 immediately after.)
Shift.∫f(x)δ(x−x0)dx=f(x0).
Composition with a function. If g is C1 with simple zeros ai on the real axis, so that g′(ai)=0, then
δ(g(x))=i∑∣g′(ai)∣δ(x−ai),hence∫f(x)δ(g(x))dx=i∑∣g′(ai)∣f(ai).
Derivative.∫f(x)δ′(x−x0)dx=−f′(x0), which may be taken as the definition of δ′; more generally the n-th derivative gives (−1)nf(n)(x0).
Step function. With θ(x−x0)=0 for x<x0 and 1 for x>x0, dxdθ(x−x0)=δ(x−x0) (Hassani's Eq. (7.23)).
Fourier representation.δ(x−x′)=2π1∫−∞∞ei(x−x′)tdt, meaningful only under a further integral sign (Hassani's Eq. (7.22), Arfken's Eq. (1.163)).
Definition(The Laplacian of 1/r)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.9, Eqs. (3.119)–(3.121), p. 177
Let r=∣r∣. Then ∇2(1/r)=0 at every point with r>0, while
∇2r1=−4πδ(3)(r),
meaning precisely that
∫R3r1∇2f(r)dV=−4πf(0)for every f∈C2(R3) of compact support.
In the two-point form, ∇12(1/r12)=−4πδ(3)(r1−r2) with r12=∣r1−r2∣, the subscript on ∇1 indicating that the derivatives act on r1. Arfken stresses that this identity sidesteps the non-existence of the derivatives of 1/r at the origin and is meaningful only inside an integral; it is what makes the point-charge potential q/4πε0r a solution of Poisson's equation ∇2φ=−qδ(3)(r)/ε0.
Idea of the proofOriginal
The sifting property is a statement that a narrowing bump cannot see anything but the value of f at its centre. Split the integral at a small radius ρ: inside, f differs from f(0) by as little as we like, by continuity, and the bump's total mass there is at most 1; outside, f is merely bounded, and the bump's mass out there tends to 0 because the mass is normalized and the bump is concentrating. Choosing ρ first and then ε makes both errors small.
For ∇2(1/r) the mechanism is geometric. Away from the origin 1/r is harmonic, so all the content sits at the one bad point; and the flux of ∇(1/r)=−r^/r2 through a sphere of radius a is −(1/a2)(4πa2)=−4π, the same for every a, because the field weakens exactly as fast as the sphere grows. So the divergence theorem assigns a total "divergence" of −4π to any region containing the origin and 0 to any region avoiding it: that is what −4πδ(3) records. The proof below converts this into a statement about integrals against test functions, by excising a small ball and using Green's second identity on the shell that remains.
Proof(The Gaussian family sifts)Original
Step 1 (normalization). Substituting x=εs and using ∫−∞∞e−s2ds=π (Gaussian integrals),
∫−∞∞δε(x)dx=επ1∫−∞∞e−x2/εdx=επ1⋅ε⋅π=1.
Step 2 (what has to be estimated). Since δε integrates to 1,
∫fδεdx−f(0)=∫−∞∞[f(x)−f(0)]δε(x)dx,
and the integral converges absolutely because f is bounded and δε is integrable. Let M=sup∣f∣ and fix η>0.
Step 3 (the near part, using continuity at 0). By continuity of f at 0 there is ρ>0 with ∣f(x)−f(0)∣<η/2 for ∣x∣≤ρ. Since δε≥0 and its total integral is 1,
∫∣x∣≤ρ[f−f(0)]δεdx≤2η∫∣x∣≤ρδεdx≤2η.
Step 4 (the far part, using boundedness and concentration). On ∣x∣>ρ we only know ∣f−f(0)∣≤2M. Substituting x=εs again,
using ∫T∞e−s2ds≤∫T∞(s/T)e−s2ds=e−T2/2T for T>0. The right-hand side tends to 0 as ε→0+ with ρ held fixed, so there is ε0>0 such that for 0<ε<ε0 the far part contributes less than η/2 in absolute value — here the hypothesis that f is bounded is used, and nothing more.
Step 5 (conclude). For 0<ε<ε0 the two estimates give ∫fδε−f(0)<η. As η>0 was arbitrary, the limit is f(0). □
Proof(The Laplacian of 1/r)Original
Step 1 (1/r is harmonic off the origin). For a function of r alone, ∇2F=F′′+(2/r)F′ (the radial Laplacian). With F=1/r we have F′=−1/r2 and F′′=2/r3, so
∇2r1=r32−r2⋅r21=0(r>0).
Step 2 (excise the singularity). Let f∈C2(R3) vanish outside the ball r<R, and for 0<ε<R let Aε={ε<r<R}, a spherical shell on which u=1/r is C∞. By Green's second identity applied to u=1/r and v=f on Aε, and using ∇2u=0 there (Step 1),
∫Aεr1∇2fdV=∮∂Aε(r1∂n∂f−f∂n∂r1)dS.
Step 3 (the outer sphere contributes nothing).∂Aε has two components. On r=R both f and ∇f vanish, because f≡0 on a neighbourhood of that sphere, so this component contributes 0.
Step 4 (the inner sphere). On r=ε the normal pointing out of Aε points towards the origin, so ∂/∂n=−∂/∂r there, and −∂(1/r)/∂n=+∂(1/r)/∂r=−1/ε2. The inner contribution is therefore
∮r=ε(−ε1∂r∂f−ε2f)dS.
The first piece is bounded in modulus by ε−1max∣∇f∣⋅4πε2=4πεmax∣∇f∣, which tends to 0; here f∈C1 with bounded gradient is used. The second piece is exactly −4π times the average of f over the sphere of radius ε, since the sphere has area 4πε2; as ε→0 that average tends to f(0) by continuity. So the inner contribution tends to −4πf(0).
Step 5 (the left side converges to the full integral). Near the origin ∣∇2f∣≤C, so
∫r<εr∇2fdV≤C∫0εr14πr2dr=2πCε2⟶0,
so (1/r)∇2f is absolutely integrable on r<R and ∫Aε→∫r<R=∫R3.
Step 6 (conclude). Letting ε→0 in Step 2 and using Steps 3–5,
∫R3r1∇2fdV=−4πf(0),
which is the assertion. Since the distributional Laplacian of u is defined by making ∫(∇2u)f mean ∫u∇2f — the two integrations by parts of Green's second identity, with no boundary terms for compactly supported f — this is the statement ∇2(1/r)=−4πδ(3)(r). Translating by r2 gives the two-point form. □
RemarkOriginal
What the symbols are allowed to mean.
δ is not a function, and δ(0) is not a number. Hassani's remark that "δ(0)=∞" is a description of the shape of the approximating family, not an equation. Products such as δ(x)2 and compositions such as δ(δ(x)) have no meaning at all; the rules of the working list are exactly the operations that survive the limit.
Which family is used does not matter, but the test class does. The Gaussian, rectangular and sinTx/πx families all sift. The last is not non-negative and not integrable in absolute value on R, so Steps 3 and 4 above do not apply to it verbatim and it requires more of f — which is why the Fourier representation of rule 7 is the most delicate of the list and is stated by both Arfken and Hassani as meaningful only under a further integral.
The simple-zero hypothesis in rule 4. If g′(a)=0 the rule fails: for g(x)=x2 the right-hand side is undefined, and indeed ∫f(x)δ(x2)dx has no finite value, since the rectangular family gives ∫−εεf/2ε∼f(0)/ε→∞. Arfken's derivation of rule 4 replaces g near each zero by the first term of its Taylor series, which is legitimate only when that term is nonzero.
Where the delta is forced on vector calculus. The field v=Qr^/4πr2 of a point source has ∇⋅v=0 wherever it is defined, yet flux Q out of every surface enclosing the origin: the divergence theorem appears to fail. Riley, Hobson and Bence resolve this by writing ∇⋅v=Qδ(3)(r), after which the theorem holds for every closed surface, enclosing the source or not. This is the same identity as ∇2(1/r)=−4πδ(3), since v=−(Q/4π)∇(1/r).
Dimensions.δ(x) has the dimensions of 1/x, and δ(3)(r) those of 1/volume — which is why a point charge q has charge density qδ(3)(r) and not qδ(r). Confusing δ(3)(r) with the radial δ(r) is the commonest error in spherical coordinates: for a radially symmetric test function, δ(3)(r) pairs with f(0) while δ(r−a) pairs with 4πa2f(a) when the volume element is included.
What is deferred. The systematic theory — which test functions, what topology, why the limits exist, how far the calculus extends — belongs to distributions and tempered distributions. Arfken's §1.11 and Stakgold and Holst's §1.2 both say explicitly that their treatment is provisional in exactly this sense, and this unit follows them: it is the practitioner's rulebook, with the two proofs that make the rules trustworthy.
Example(The Gaussian family sifting a cosine, exactly)Original
Take f(x)=cosx, which is bounded and continuous, so the theorem applies. Here the approximating integrals can be computed in closed form:
∫−∞∞επcosxe−x2/εdx=e−ε/4.
Derivation. Write cosx=21(eix+e−ix) and complete the square: −x2/ε±ix=−(x/ε∓iε/2)2−ε/4. Each of the two Gaussian integrals (Gaussian integrals) contributes 21επe−ε/4, and dividing by επ leaves e−ε/4.
The limit.e−ε/4→1=cos0 as ε→0, as the theorem promises.
Numbers.ε=0.05 gives 0.987578; ε=0.01 gives 0.997503. The error is ε/4 to leading order, so the approximation converges, but only linearly in the width parameter — one reason numerical work with narrow bumps is delicate.
A function that is bounded but not continuous at 0. For f=θ, the unit step, the same family gives ∫θδε=21 for every ε, by the evenness of δε. The limit exists but is the average of the two one-sided limits, not a value of f: with continuity at the point dropped, the conclusion changes.
Example(A delta composed with a quadratic)Original
Evaluate I=∫−∞∞(x4+1)δ(x2−4)dx.
Zeros and slopes.g(x)=x2−4 vanishes at a1,2=±2, and g′(x)=2x, so ∣g′(±2)∣=4=0: both zeros are simple and rule 4 applies.
Apply the rule.I=∣g′(2)∣f(2)+∣g′(−2)∣f(−2)=417+417=217=8.5.
Check it directly from a family. Using the rectangular family, δε(x2−4) is 1/2ε on the two intervals where ∣x2−4∣<ε, that is, ∣x∓2∣<ε/4+O(ε2). Each interval has length ε/2 to leading order, so each contributes f(±2)⋅(ε/2)/(2ε)=f(±2)/4, confirming the rule and the factor ∣g′∣−1.
Where it would break. For δ(x2) the same computation gives intervals of length 2ε and a contribution f(0)ε/ε→∞: the double zero makes the expression meaningless, as the remark above says.
Example(∇2(1/r)=−4πδ(3), tested on a Gaussian)Original
Take f(r)=e−r2. This is not of compact support, but it and all its derivatives decay faster than any power, so the proof's estimates apply with the outer sphere pushed to infinity, where the boundary terms vanish.
Its Laplacian. For a radial function ∇2f=f′′+(2/r)f′ with f′=−2re−r2 and f′′=(4r2−2)e−r2, so
∇2f=(4r2−2−4)e−r2=(4r2−6)e−r2.
The integral. With dV=4πr2dr for a radial integrand,
∫R3r∇2fdV=4π∫0∞(4r3−6r)e−r2dr.
Evaluate.∫0∞re−r2dr=21 and ∫0∞r3e−r2dr=21 (substitute s=r2 in each), so the bracket integrates to 4⋅21−6⋅21=−1 and
∫R3r1∇2fdV=−4π.
Comparison. The identity predicts −4πf(0)=−4π⋅1=−4π. They agree.
A scaled version. For f=e−λr2 the same computation gives 4π∫0∞(4λ2r3−6λr)e−λr2dr=4π(2−3)=−4π, independent of λ — as it must be, since f(0)=1 for every λ. The integral is insensitive to the width of the test function, which is the signature of a delta.
ApplicationOriginal
The delta is how a point-like source is written as a density, so that one formula covers both continuous and concentrated sources. A point charge q at r0 has ρ=qδ(3)(r−r0), and Poisson's equation ∇2φ=−ρ/ε0 then has the solution φ=q/4πε0∣r−r0∣because of the identity proved above; superposing gives the Coulomb integral for any charge distribution, and the same algebra with ρ read as mass density gives Newtonian gravity. A point mass in mechanics, a concentrated load on a beam, and an instantaneous injection of tracer into a flow are the same device.
That observation is the whole idea of a Green's function: solve the equation once with a delta on the right, and the solution for arbitrary data follows by superposition, since f(r)=∫f(r′)δ(3)(r−r′)dV′ expresses any source as a superposition of point sources. In signal processing the same function is the impulse response, and rule 7 — the Fourier representation — is what connects it to the transfer function (convolution). Rule 6, θ′=δ, is how a jump in a physical quantity becomes a singular term in its derivative: the surface charge on a conductor, the shock in a compressible flow, the bending moment at a point load.
In probability the delta is the density of a degenerate distribution, so that a mixture of discrete and continuous outcomes has a single density; in quantum mechanics it is the position eigenstate normalization ⟨r′∣r⟩=δ(3)(r−r′), which is what makes the continuous-index formalism of Hassani's §7.3 work; and rule 4 is used constantly to impose energy or momentum conservation inside a phase-space integral, as in δ(Ef−Ei) in Fermi's golden rule.