Section 6.3 Divergence theorem in \(\mathbb{R}^n\)
We show that the divergence theorem holds in \(\mathbb{R}^n\text{,}\) not just in \(\mathbb{R}^3\text{.}\) It follows again from the generalized Stokes' theorem, but we need to rewrite it a little bit to see this.
Objectives
You should be able to:
Use the Hodge star operator to rewrite the generalized Stokes' theorem in \(\mathbb{R}^n\text{,}\) which can be rewritten as the divergence theorem in \(\mathbb{R}^n\text{.}\)
Formulate and use the divergence theorem in \(\mathbb{R}^n\) to calculate integrals.
Subsection 6.3.1 A divergence theorem in \(\mathbb{R}^n\text{?}\)
In the previous section, we showed that the generalized Stokes' theorem, in the particular case where \(\omega\) is a two-form on \(\mathbb{R}^3\) and \(M\) is a solid region \(E \subset \mathbb{R}^3\text{,}\) reduces to the divergence theorem in \(\mathbb{R}^3\text{,}\) which reads
Contrary to Green's and Stokes' theorem, the divergence theorem involves the divergence of the vector field, not the curl. While the notion of curl of a vector field is not so easy to generalize to \(\mathbb{R}^n\text{,}\) the divergence can be generalized easily.
More precisely, let \(\mathbf{F}(x_1, \ldots, x_n) = (f_1, \ldots, f_n)\) be a smooth vector field on \(U \subseteq \mathbb{R}^n\text{,}\) with \(f_1, \ldots, f_n: U \to \mathbb{R}\) smooth functions. We can define the divergence of \(\mathbf{F}\) naturally as
Now suppose that \(E \subset \mathbb{R}^n\) is a closed bounded region that consists of a closed \((n-1)\)-dimensional space \(\partial E\) and its interior. The integral of \(\boldsymbol{\nabla} \cdot \mathbf{F}\) over \(E\) is defined naturally in calculus as a multiple (“\(n\)-tuple”) integral, which can be rewritten as an iterated integral if \(E\) is recursively supported. The “surface” integral over \(\partial E\) can also be generalized; since \(\partial E\) is a \((n-1)\)-dimensional subspace in \(\mathbb{R}^n\text{,}\) it has a well defined normal vector. If \(E\) is canonically oriented (choose the canonical ordered basis on \(\mathbb{R}^n\)), we say that the induced orientation on \(\partial E\) corresponds to an outward pointing normal vector, as for \(\mathbb{R}^3\text{.}\) A natural question then arise: does the divergence theorem generalize to any dimension? That is, is it true that
where the integral on the left-hand-side is an \(n\)-tuple integral over the region \(E \subset \mathbb{R}^n\text{,}\) and the right-hand-side is an integral of the vector field \(\mathbf{F}\) over the parametrized surface \(\partial E\) with normal vector pointing outward?
The answer is yes, and it again follows from the generalized Stokes' theorem. But we need to rewrite the generalized Stokes' theorem a little bit to see this.
Subsection 6.3.2 Rewriting the generalized Stokes' theorem
Let us recall the generalized Stokes' theorem from Theorem 6.1.1:
where \(M\) is an oriented \(n\)-dimensional manifold, \(\partial M\) its boundary, and \(\omega\) a \((n-1)\)-form.
Let us focus on a case similar to the previous section, where we take \(\partial E\) to be a closed \((n-1)\)-dimensional space in \(\mathbb{R}^n\) (such as a closed surface in \(\mathbb{R}^3\) in the previous section), and \(E\) to be the \(n\)-dimensional region of \(\mathbb{R}^n\) consisting of \(\partial E\) and its interior. We assign to \(E\) the canonical orientation, and to \(\partial E\) the induced orientation corresponding to a normal vector pointing outwards.
There is then a natural way of constructing a \((n-1)\)-form, using the Hodge star operator from Section 4.8. Let \(\eta\) be a one-form on \(U \subseteq \mathbb{R}^n\text{.}\) Then \(\star \omega\) is a \((n-1)\)-form on \(U \subseteq \mathbb{R}^n\text{,}\) by definition of the Hodge star. So we can rewrite the generalized Stokes' theorem for the one-form \(\eta\) as follows:
This is really the same generalized Stokes' theorem, but instead of writing it in terms of a \((n-1)\)-form \(\omega\text{,}\) we write it in terms of a one-form \(\eta\text{.}\)
Why would that be of any use? The advantage is that we can easily translate to vector field concepts for all \(\mathbb{R}^n\text{,}\) since we can establish a direct translation between one-forms and vector fields regardless of the dimension.
Subsection 6.3.3 The divergence theorem in \(\mathbb{R}^n\)
There is a natural dictionary between one-forms and vector fields in \(\mathbb{R}^n\text{.}\) Let \(\eta\) be a one-form on \(U \subseteq \mathbb{R}^n\text{.}\) We can write:
where the \(f_i: U \to \mathbb{R}\text{,}\) for \(i=1,\ldots,n\text{,}\) are smooth functions. We can associate to this one-form the smooth vector field
on \(U \subseteq \mathbb{R}^n\text{.}\)
We would like to rewrite our variant of the generalized Stokes' theorem as an integral theorem for the vector field \(\mathbf{F}\text{.}\) Let us first prove a lemma that will enable us to rewrite the left-hand-side of the generalized Stokes' theorem.
Lemma 6.3.1. Rewriting the left-hand-side.
Let \(\eta = \sum_{i=1}^n f_i dx_i\) be a one-form on \(\mathbb{R}^n\) with associated vector field \(\mathbf{F} = (f_1, \ldots, f_n) \text{.}\) Then
and hence we can write
which is a multiple (“\(n\)-tuple”) integral over the closed bounded region \(E \subset \mathbb{R}^n\text{.}\)
Proof.
By definition of the Hodge star, we have:
where the hat notation means that we take the wedge product of all \(dx_j\)'s except the \(dx_i\text{.}\) Calculating the exterior derivative, we get:
As for the right-hand-side of the generalized Stokes' theorem, we need to rewrite the integral \(\int_{\partial E} \star \eta\) in terms of vector calculus objects. \(\partial E\) is a closed \((n-1)\)-dimensional space in \(\mathbb{R}^n\text{.}\) We can think of it as a parametric space \(\alpha: D \to \mathbb{R}^n\) for some closed bounded region \(D \subset \mathbb{R}^{n-1}\text{,}\) like we did for parametric curves in \(\mathbb{R}^2\) and parametric surfaces in \(\mathbb{R}^3\text{.}\) In this we case, we can define the integral by pulling back using the parametrization. We claim that the following lemma holds:
Lemma 6.3.2. Rewriting the right-hand-side.
If the boundary space \(\partial E\) is realized as a parametric space \(\alpha:D \to \mathbb{R}^n\text{,}\)
which is a multiple (“\((n-1)\)-tuple”) integral over the closed bounded region \(D \subset \mathbb{R}^{n-1}\text{.}\) Here, \(\mathbf{n}\) is the normal vector to \(\partial E\) pointing outward. 1
Proof.
We will not prove this statement in general; we will only prove it for parametric curves and surfaces. In fact, for parametric surfaces, this is basically the statement that was already proven in Corollary 5.6.5; indeed, what we have in this case is a surface integral in \(\mathbb{R}^3\text{,}\) and because by Table 4.1.11 we know that the vector field associated to the two-form \(\star \eta\) is the same as the vector field associated to the one-form \(\eta\text{,}\) the result of Corollary 5.6.5 still holds here.
Let us then show that it holds for parametric curves in \(\mathbb{R}^2\text{.}\) In this case, \(\eta = f\ dx + g\ dy\text{,}\) with associated vector field \(\mathbf{F}=(f,g)\text{,}\) and \(\star \eta = f\ dy - g\ dx\text{.}\) Let \(\alpha: [a,b] \to \mathbb{R}^2\) be a parametric curve representing the boundary curve \(\partial E\text{.}\) Thus we have:
If we write \(\alpha(t) = (x(t), y(t))\text{,}\) the pullback is
Now, the tangent vector to the parametric curve is
The outward pointing normal vector is then
as the two vectors must be orthogonal, and the overall sign of the normal vector is fixed by requiring the it points outwards. We thus see that we can write
and
Putting this together, we see that our variant of the generalized Stokes' theorem gives rise to a generalization of the divergence theorem of the previous section that now holds in any dimension.
Theorem 6.3.3. Divergence theorem in \(\mathbb{R}^n\).
Let \(\mathbf{F}\) be a vector field on \(U \subseteq \mathbb{R}^n\text{.}\) Let \(\alpha: D \to \mathbb{R}^n\) be a parametric \((n-1)\)-dimensional space, whose image \(\partial E = \alpha(D) \subset U\) is closed. Let \(E \subset \mathbb{R}^n\) be the region consisting of the closed surface \(\partial E\) and its interior. Let \(\mathbf{n}\) be the normal vector to \(\partial E\) pointing outwards. Then
where both sides should be understood as multiple integrals over the corresponding regions.
To be precise, we need to specify what normal vector \(\mathbf{n}\) we are using here. In \(\mathbb{R}^3\text{,}\) we take the normal vector \(\mathbf{n}= \mathbf{T}_u \times \mathbf{T}_v\) induced by a parametrization of the surface \(\partial E\) (with the right orientation); in \(\mathbb{R}^2\text{,}\) we take the normal vector \(\mathbf{n} = (y'(t),-x'(t) )\) in terms of a parmaetrization \(\alpha(t) = (x(t),y(t))\) of the curve (with the right orientation), which has the same norm as the tangent vector to the parametric curve, that is, \(|\mathbf{n}| = |\mathbf{T}| = \sqrt{(x'(t))^2 + (y'(t))^2}\text{.}\)
Remark 6.3.4.
In some textbooks, the divergence theorem in \(\mathbb{R}^2\) is simply called “another form of Green's theorem”. The reason is that it actually follows directly from Green's theorem. Recall that, given a vector field \(\mathbf{F} = (f,g)\) in \(\mathbb{R}^2\text{,}\) Green's theorem states that
The left-hand-side can be rewritten explicitly as
while the right-hand-side can be rewriten as
where \(\alpha(t) = (x(t), y(t))\) is a parametrization of the curve \(\partial D\text{.}\)
Now if we consider a new vector field \(\mathbf{G} = (-g,f)\text{,}\) Green's theorem applied to \(\mathbf{G}\) is the statement that
which becomes, once written out explicitly,
But if we rewrite this expression in terms of the original vector field \(\mathbf{F} = (f,g)\text{,}\) we get
which is the divergence theorem in \(\mathbb{R}^2\) for \(\mathbf{F}\text{!}\)
So Green's theorem and the divergence theorem in \(\mathbb{R}^2\) are really equivalent. But we prefer to call the later the divergence theorem in \(\mathbb{R}^2\) as it is the special case of the general divergence theorem in \(\mathbb{R}^n\text{.}\)
Remark 6.3.5.
Comparing Green's theorem and the divergence theorem in \(\mathbb{R}^2\text{,}\) it is interesting to note that the curl is related the tangential component of the vector field, while the divergence is related to the normal component. This is not a coincidence; if you recall from Section 4.5, the curl and divergence of vector fields are given a physical interpretation in terms of a moving fluid. The curl concerns whether a small sphere immersed in the fluid will rotate due to the fluid motion -- the rotation will be induced by the tangential component of the velocity field of the fluid on the surface of the sphere. The divergence concerns whether there is more fluid exiting than entering a small sphere immersed in the fluid -- this is mostly influenced by the normal component of the velocity field on the surface of the sphere. In fact, we can make this physical interpretation of the curl and div precise by applying the Stokes' and divergence theorem (respectively) to the small sphere, and take a limit where the volume of the sphere goes to zero. See for instance Section 4.4.1 in CLP 4 for this detailed calculation.