4.4 Surface Integrals and the Divergence Theorem

In Section 4.1 we learned how to integrate along a curve. We will now learn how to perform integration over a surface in \(\Real{3}\), such as a sphere or a paraboloid. Recall from Section 1.8 how we identified points \((x,y,z)\) on a curve \(C\) in \(\Real{3}\), parametrized by \(x=x(t)\), \(y=y(t)\), \(z=z(t)\), \(a \le t \le b\), with the terminal points of the position vector

\[\textbf{r}(t) = x(t) \textbf{i} + y(t) \textbf{j} + z(t) \textbf{k} ~~\text{for $t$ in $\ival{a}{b}$.}\]

The idea behind a parametrization of a curve is that it “transforms” a subset of \(\Real{1}\) (normally an interval \(\ival{a}{b}\)) into a curve in \(\Real{2}\) or \(\Real{3}\) (see Figure 4.4.1).

tikzpicture arrows [black!60,line width=0.3pt,-latex,anchor=base] (-2,0) -- (3,0,0) node[black,shift=(0,-0.4)] at (-1.5,0) a node[black,shift=(0,-0.4)] at (0,0) t node[black,shift=(0,-0.4)] at (2,0) b; 2.90.250 [center,center] 1; [line width=1.2pt] (-1.5,0) -- (2,0); (-1.5,0) circle (2pt); (0,0) circle (2pt); (2,0) circle (2pt); [black!60,line width=0.3pt,-latex] (6,0) -- (12,0,0); [black!60,line width=0.3pt,-latex] (6,0) -- (6,2.8,0); [black!60,line width=0.3pt,-latex] (6,0) -- (6,0,2); 11.90.20 [center,center]y; 6.22.70 [center,center]z; 6.201.8 [center,center]x; 6.05-0.20 [center,center]0; [rounded corners,line width=1pt](6.75,2.1) .. controls (8.95,3) and (9.55,1.2) .. (10,0.75) .. controls (10.3,0.45) and (10.9,0.3) .. (11.35,0.6); [black,line width=1.2pt,-latex] (6,0) -- (8.9,2.05); [below] at (7.1,2.1) (x(a),y(a),z(a)); [above right] at (8.9,2.05) (x(t),y(t),z(t)); [above] at (11.35,0.6) (x(b),y(b),z(b)); [below right] at (7.5,1.2) r(t); [left] at (9.4,1.4) C; (6.75,2.1) circle (2pt); (8.9,2.05) circle (2pt); (11.35,0.6) circle (2pt); [line width=1.5pt,-latex] (3.5,1.7) to[out=30,in=150] (5.5,1.7); [below] at (4.5,1.7) x=x(t); [below] at (4.5,1.3) y=y(t); [below] at (4.5,0.9) z=z(t); tikzpicture

Figure 4.4.1Parametrization of a curve \(C\) in \(\Real{3}\)

Similar to how we used a parametrization of a curve to define the line integral along the curve, we will use a parametrization of a surface to define a surface integral. We will use two variables, \(u\) and \(v\), to parametrize a surface \(\Sigma\) in \(\Real{3}\): \(x=x(u,v)\), \(y=y(u,v)\), \(z=z(u,v)\), for \((u,v)\) in some region \(R\) in \(\Real{2}\) (see Figure 4.4.2).

tikzpicture arrows [black!60,line width=0.3pt,-latex] (0,0) -- (4.5,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,4.5); 4.40.20 [center,center]u 0.24.40 [center,center]v [black,line width=1.2pt,fill=black!10] (1,1) -- (1,4) -- (4,4) -- (4,1) -- (1,1); (1,2) -- (4,2); (1,3) -- (4,3); (2,1) -- (2,4); (3,1) -- (3,4); at (2.5,2.5) R; at (2.2,4.5) 2; [below] at (2,2) (u,v); (2,2) circle (2pt); [line width=1.2pt,opacity=0.1,ball color=red!40] (7.5,2.55) to[out=-20,in=110] (9.7,1.55) -- (10.7,2.55) to[out=110,in=-20] (8.5,3.55) -- (7.5,2.55); (7.8,2.85) to[out=-20,in=110] (10,1.85); (8.2,3.25) to[out=-20,in=110] (10.4,2.25); (9.3,3.35) -- (8.3,2.35); (10,3.2) -- (9,2.2); [black!60,line width=0.3pt,-latex] (8,1) -- (11.2,1,0); [black!60,line width=0.3pt,-latex] (8,1) -- (8,4,0); [black!60,line width=0.3pt,-latex] (8,1) -- (8,1,2.5); 11.11.20 [center,center]y; 8.23.90 [center,center]z; 8.212.3 [center,center]x; 8.050.80 [center,center]0; [below] at (10.3,3.6) ; (9,3.05) circle (2pt); [black,line width=1.2pt,-latex] (8,1) -- (8.975,3); [below right] at (8.43,1.95) r(u,v); [line width=1.5pt,-latex] (4.5,2.7) to[out=30,in=150] (6.5,2.7); [below] at (5.5,2.7) x=x(u,v); [below] at (5.5,2.3) y=y(u,v); [below] at (5.5,1.9) z=z(u,v); tikzpicture

Figure 4.4.2Parametrization of a surface \(\Sigma\) in \(\Real{3}\)

In this case, the position vector of a point on the surface \(\Sigma\) is given by the vector-valued function

\[\textbf{r}(u,v) ~=~ x(u,v) \textbf{i} ~+~ y(u,v) \textbf{j} ~+~ z(u,v) \textbf{k} ~~\text{for $(u,v)$ in $R$.}\]

Since \(\textbf{r}(u,v)\) is a function of two variables, define the partial derivatives \(\frac{\partial \textbf{r}}{\partial u}\) and \(\frac{\partial \textbf{r}}{\partial v}\) for \((u,v)\) in \(R\) by

\begin{align*} \frac{\partial \textbf{r}}{\partial u}(u,v) ~&=~ \frac{\partial x}{\partial u}(u,v) \textbf{i} ~+~ \frac{\partial y}{\partial u}(u,v) \textbf{j} ~+~ \frac{\partial z}{\partial u}(u,v) \textbf{k} ~,~~\text{and}\\ \frac{\partial \textbf{r}}{\partial v}(u,v) ~&=~ \frac{\partial x}{\partial v}(u,v) \textbf{i} ~+~ \frac{\partial y}{\partial v}(u,v) \textbf{j} ~+~ \frac{\partial z}{\partial v}(u,v) \textbf{k} ~. \end{align*}

The parametrization of \(\Sigma\) can be thought of as “transforming” a region in \(\Real{2}\) (in the \(uv\)-plane) into a 2-dimensional surface in \(\Real{3}\). This parametrization of the surface is sometimes called a patch, based on the idea of “patching” the region \(R\) onto \(\Sigma\) in the grid-like manner shown in Figure 4.4.2.

In fact, those gridlines in \(R\) lead us to how we will define a surface integral over \(\Sigma\). Along the vertical gridlines in \(R\), the variable \(u\) is constant. So those lines get mapped to curves on \(\Sigma\), and the variable \(u\) is constant along the position vector \(\textbf{r}(u,v)\). Thus, the tangent vector to those curves at a point \((u,v)\) is \(\frac{\partial \textbf{r}}{\partial v}\). Similarly, the horizontal gridlines in \(R\) get mapped to curves on \(\Sigma\) whose tangent vectors are \(\frac{\partial \textbf{r}}{\partial u}\).

Now take a point \((u,v)\) in \(R\) as, say, the lower left corner of one of the rectangular grid sections in \(R\), as shown in Figure 4.4.2. Suppose that this rectangle has a small width and height of \(\Delta u\) and \(\Delta v\), respectively. The corner points of that rectangle are \((u,v)\), \((u+\Delta u,v)\), \((u+\Delta u,v+\Delta v)\) and \((u,v+\Delta v)\). So the area of that rectangle is \(A = \Delta u\,\Delta v\). Then that rectangle gets mapped by the parametrization onto some section of the surface \(\Sigma\) which, for \(\Delta u\) and \(\Delta v\) small enough, will have a surface area (call it \(d\sigma\)) that is very close to the area of the parallelogram which has adjacent sides \(\textbf{r}(u+\Delta u,v) - \textbf{r}(u,v)\) (corresponding to the line segment from \((u,v)\) to \((u+\Delta u,v)\) in \(R\)) and \(\textbf{r}(u,v+\Delta v) - \textbf{r}(u,v)\) (corresponding to the line segment from \((u,v)\) to \((u,v+\Delta v)\) in \(R\)). But by combining our usual notion of a partial derivative (see Definition 2.3 in Section 2.2) with that of the derivative of a vector-valued function (see Definition 1.12 in Section 1.8) applied to a function of two variables, we have

\begin{align*} \frac{\partial \textbf{r}}{\partial u} ~&\approx~ \frac{\textbf{r}(u+\Delta u,v) - \textbf{r}(u,v)}{\Delta u} ~,~~\text{and}\\ \frac{\partial \textbf{r}}{\partial v} ~&\approx~ \frac{\textbf{r}(u,v+\Delta v) - \textbf{r}(u,v)}{\Delta v} ~, \end{align*}

and so the surface area element \(d\sigma\) is approximately

\[\Norm{\Crossprod{(\textbf{r}(u+\Delta u,v) - \textbf{r}(u,v))}{(\textbf{r}(u,v+\Delta v) - \textbf{r}(u,v))}} \approx \NORM{\Crossprod{(\Delta u \frac{\partial \textbf{r}}{\partial u})}{(\Delta v\frac{\partial \textbf{r}}{\partial v})}} = \NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}}\, \Delta u \, \Delta v\]

by Theorem 1.13 in Section 1.4. Thus, the total surface area \(S\) of \(\Sigma\) is approximately the sum of all the quantities \(\Norm{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}}\,\Delta u\,\Delta v\), summed over the rectangles in \(R\). Taking the limit of that sum as the diagonal of the largest rectangle goes to \(0\) gives

\begin{equation} S ~=~ \iint\limits_{R}\,\NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}} \,du\,dv ~. \tag{4.26}\end{equation}

We will write the double integral on the right using the special notation

\begin{equation} \iint\limits_{\Sigma} d\sigma ~=~ \iint\limits_{R}\,\NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}} \,du\,dv ~. \tag{4.27}\end{equation}

This is a special case of a surface integral over the surface \(\Sigma\), where the surface area element \(d\sigma\) can be thought of as \(1\,d\sigma\). Replacing \(1\) by a general real-valued function \(f(x,y,z)\) defined in \(\Real{3}\), we have the following:

Definition 4.3

Let \(\Sigma\) be a surface in \(\Real{3}\) parametrized by \(x=x(u,v)\), \(y=y(u,v)\),
\(z=z(u,v)\), for \((u,v)\) in some region \(R\) in \(\Real{2}\). Let \(\textbf{r}(u,v) = x(u,v) \textbf{i} + y(u,v) \textbf{j} + z(u,v) \textbf{k}\) be the position vector for any point on \(\Sigma\), and let \(f(x,y,z)\) be a real-valued function defined on some subset of \(\Real{3}\) that contains \(\Sigma\). The surface integral of \(f(x,y,z)\) over \(\Sigma\) is

\begin{equation} \iint\limits_{\Sigma} f(x,y,z)\,d\sigma ~=~ \iint\limits_{R} f(x(u,v),y(u,v),z(u,v))\, \NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}}\,du\,dv ~. \tag{4.28}\end{equation}

In particular, the surface area \(S\) of \(\Sigma\) is

\begin{equation} S ~=~ \iint\limits_{\Sigma} 1\,d\sigma ~. \tag{4.29}\end{equation}


width height 0.5pt

Example 4.9

A torus \(T\) is a surface obtained by revolving a circle of radius \(a\) in the \(yz\)-plane around the \(z\)-axis, where the circle’s center is at a distance \(b\) from the z-axis (\(0<a<b\)), as in Figure 4.4.3. Find the surface area of \(T\).

tikzpicture arrows [black!60,line width=0.3pt,-latex] (0,0) -- (4.5,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,2); 4.40.20 [center,center]y 0.21.90 [center,center]z -0.200 [center,center]0 [line width=1.2pt] (3,0) circle (1); (3,0) -- (3.707,0.707); [-latex] (3.7,0) arc (0:45:0.7); [above] at (3.3,0.3) a; [above] at (3,1) (y-b)^2 + z^2 = a^2; at (3.5,0.2) u; [dashed] (0,-0.1) -- (0,-1.5); [dashed] (3,-0.1) -- (3,-1.5); at (1.5,-1.3) b; [-latex] (1.7,-1.3) -- (3,-1.3); [-latex] (1.3,-1.3) -- (0,-1.3); tikzpicture

(a) Circle in the \(yz\)-plane

torus.0

(b) Torus \(T\)
Figure 4.4.3

Solution: For any point on the circle, the line segment from the center of the circle to that point makes an angle \(u\) with the \(y\)-axis in the positive \(y\) direction (see Figure 4.4.3(a)). And as the circle revolves around the \(z\)-axis, the line segment from the origin to the center of that circle sweeps out an angle \(v\) with the positive \(x\)-axis (see Figure 4.4.3(b)). Thus, the torus can be parametrized as:

\[x = (b+a\cos u)\cos v ~,\quad y = (b+a\cos u)\sin v ~,\quad z = a\sin u~,\quad 0\le u\le 2\pi~,\quad 0\le v\le 2\pi\]

So for the position vector

\begin{align*} \textbf{r}(u,v) ~&=~ x(u,v) \textbf{i} ~+~ y(u,v) \textbf{j} ~+~ z(u,v) \textbf{k}\\ &=~ (b+a\cos u)\cos v \,\textbf{i} ~+~ (b+a\cos u)\sin v \,\textbf{j} ~+~ a\sin u \,\textbf{k} \end{align*}

we see that

\begin{align*} \frac{\partial \textbf{r}}{\partial u} ~&=~ -a\sin u\,\cos v \,\textbf{i} ~-~ a\sin u\,\sin v \,\textbf{j} ~+~ a\cos u \,\textbf{k}\\[6pt] \frac{\partial \textbf{r}}{\partial v} ~&=~ -(b+a\cos u)\sin v \,\textbf{i} ~+~ (b+a\cos u)\cos v \,\textbf{j} ~+~ 0 \textbf{k} ~, \end{align*}

and so computing the cross product gives

\[\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}} ~=~ -a(b+a\cos u)\cos v\,\cos u \,\textbf{i} ~-~ a(b+a\cos u)\sin v\,\cos u\,\textbf{j} ~-~ a(b+a\cos u)\sin u \,\textbf{k} ~,\]

which has magnitude

\[\NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}} ~=~ a(b+a\cos u) ~.\]

Thus, the surface area of \(T\) is

\begin{align*} S ~&=~ \iint\limits_{\Sigma} 1\,d\sigma\\[6pt] &=~ \int_0^{2\pi} \int_0^{2\pi}\,\NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}}\,du\,dv\\[6pt] &=~ \int_0^{2\pi} \int_0^{2\pi} a(b+a\cos u)\,du\,dv\\[6pt] &=~ \int_0^{2\pi} \left( abu + a^2 \sin u \,\Big|_{u=0}^{u=2\pi}\,\right)\,dv\\[6pt] &=~ \int_0^{2\pi} 2\pi ab\,dv\\ &=~ 4\pi^2 ab \end{align*}


width height 0.5pt

Since \(\frac{\partial \textbf{r}}{\partial u}\) and \(\frac{\partial \textbf{r}}{\partial v}\) are tangent to the surface \(\Sigma\) (i.e. lie in the tangent plane to \(\Sigma\) at each point on \(\Sigma\)), then their cross product \(\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}\) is perpendicular to the tangent plane to the surface at each point of \(\Sigma\). Thus,

\[\iint\limits_{\Sigma} f(x,y,z)\,d\sigma = \iint\limits_{R} f(x(u,v),y(u,v),z(u,v))\,\norm{\textbf{n}}\,d\sigma ~,\]

where \(\textbf{n} = \Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}\). We say that n is a normal vector to \(\Sigma\).

tikzpicture arrows spherecolorHTML80DCFF [ball color=spherecolor] (0,0) circle (1.5); [black!60,line width=0.3pt,-latex] (0,0) -- (2,0,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,2,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,0,4); 1.90.20 [center,center]y; 0.21.90 [center,center]z; 0.203.8 [center,center]x; 0.05-0.20 [center,center]0; [line width=0.2pt] (-1.5,0) arc (180:360:1.5 and 0.4); [dashed,line width=0.2pt] (1.5,0) arc (0:180:1.5 and 0.4); (0.98,0.98) circle (2pt); [line width=1.2pt,-latex] (0.98,0.98) -- (1.5,1.5); (0.98,-0.98) circle (2pt); [line width=1.2pt,-latex] (0.98,-0.98) -- (1.5,-1.5); (-1.5,0) circle (2pt); [line width=1.2pt,-latex] (-1.5,0) -- (-2.2,0); tikzpicture

Recall that normal vectors to a plane can point in two opposite directions. By an outward unit normal vector to a surface \(\Sigma\), we will mean the unit vector that is normal to \(\Sigma\) and points away from the “top” (or “outer” part) of the surface. This is a hazy definition, but the picture in Figure 4.4.4 gives a better idea of what outward normal vectors look like, in the case of a sphere. With this idea in mind, we make the following definition of a surface integral of a 3-dimensional vector field over a surface:

Definition 4.4

Let \(\Sigma\) be a surface in \(\Real{3}\) and let \(\textbf{f}(x,y,z) = \ssub{f}{1}(x,y,z) \textbf{i} + \ssub{f}{2}(x,y,z) \textbf{j} + \ssub{f}{3}(x,y,z) \textbf{k}\) be a vector field defined on some subset of \(\Real{3}\) that contains \(\Sigma\). The surface integral of f over \(\Sigma\) is

\begin{equation} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~=~ \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{\textbf{n}}\,d\sigma ~, \tag{4.30}\end{equation}

where, at any point on \(\Sigma\), n is the outward unit normal vector to \(\Sigma\).

Note in the above definition that the dot product inside the integral on the right is a real-valued function, and hence we can use Definition 4.3 to evaluate the integral.


width height 0.5pt

Example 4.10

Evaluate the surface integral \(\iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\), where \(\textbf{f}(x,y,z) = yz\textbf{i} + xz\textbf{j} + xy\textbf{k}\) and \(\Sigma\) is the part of the plane \(x+y+z=1\) with \(x \ge 0\), \(y \ge 0\), and \(z \ge 0\), with the outward unit normal \(\textbf{n}\) pointing in the positive \(z\) direction (see Figure 4.4.5).

tikzpicture arrows [black,fill=black!10] (1.5,0,0) -- (0,1.5,0) -- (0,0,1.5) -- (1.5,0,0); [black!60,line width=0.3pt,-latex] (0,0) -- (2,0,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,2,0); [black!60,line width=0.3pt,-latex] (0,0) -- (0,0,2.5); 1.90.20 [center,center]y; 0.21.90 [center,center]z; 0.202.3 [center,center]x; -0.10.10 [center,center]0; [below] at (1.5,0,0) 1; [left] at (0,1.5,0) 1; [left] at (0,0,1.4) 1; [left] at (0,0.8,0.5) ; [below] at (1.2,0,0.8) x+y+z=1; [dashed] (0,0,0.7) -- (0.7,0,0.7); (0.48,0.48) circle (2pt); [line width=1.2pt,-latex] (0.48,0.48) -- (1.1,1.1); [above right] at (1.02,1.02) n; tikzpicture

Solution: Since the vector \(\textbf{v} = (1,1,1)\) is normal to the plane \(x+y+z=1\) (why?), then dividing v by its length yields the outward unit normal vector \(\textbf{n} = \left( \frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}} \right)\). We now need to parametrize \(\Sigma\). As we can see from Figure 4.4.5, projecting \(\Sigma\) onto the \(xy\)-plane yields a triangular region \(R= \lbrace\,(x,y): 0 \le x \le 1,~ 0 \le y \le 1-x\,\rbrace\). Thus, using \((u,v)\) instead of \((x,y)\), we see that

\[x=u,~ y=v,~ z=1-(u+v),~~\text{for~} 0 \le u \le 1, 0 \le v \le 1-u\]

is a parametrization of \(\Sigma\) over \(R\) (since \(z=1-(x+y)\) on \(\Sigma\)). So on \(\Sigma\),

\begin{align*} \Dotprod{\textbf{f}}{\textbf{n}} ~&=~ \Dotprod{(yz,xz,xy)}{\left( \frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}} \right)} ~=~ \frac{1}{\sqrt{3}}(yz+xz+xy)\\[8pt] &=~ \frac{1}{\sqrt{3}}((x+y)z+xy) ~=~ \frac{1}{\sqrt{3}}((u+v)(1-(u+v))+uv)\\[8pt] &=~ \frac{1}{\sqrt{3}}((u+v)- (u+v)^2 + uv) \end{align*}

for \((u,v)\) in \(R\), and for \(\textbf{r}(u,v)=x(u,v)\textbf{i} + y(u,v)\textbf{j} + z(u,v)\textbf{k} = u\textbf{i} + v\textbf{j} + (1-(u+v))\textbf{k}\) we have

\[\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}} ~=~ \Crossprod{(1,0,-1)}{(0,1,-1)} ~=~ (1,1,1) \quad\Rightarrow\quad \NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}} = \sqrt{3}~.\]

Thus, integrating over \(R\) using vertical slices (e.g. as indicated by the dashed line in Figure 4.4.5) gives

\begin{align*} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~&=~ \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{\textbf{n}}\,d\sigma\\[6pt] &=~ \iint\limits_{R} (\Dotprod{\textbf{f}(x(u,v),y(u,v),z(u,v))}{\textbf{n}})\, \NORM{\Crossprod{\frac{\partial \textbf{r}}{\partial u}}{\frac{\partial \textbf{r}}{\partial v}}}\,dv\,du\\[6pt] &=~ \int_0^1 \int_0^{1-u} \frac{1}{\sqrt{3}}((u+v)- (u+v)^2 + uv) \sqrt{3}\,dv\,du\\[8pt] &=~ \int_0^1 \left( \frac{(u+v)^2}{2} - \frac{(u+v)^3}{3} + \frac{uv^2}{2}\,\Bigg|_{v=0}^{v=1-u} \right)\,du\\[8pt] &=~ \int_0^1 \left( \frac{1}{6} + \frac{u}{2} - \frac{3u^2}{2} + \frac{5u^3}{6} \right)\,du\\[8pt] &=~ \frac{u}{6} + \frac{u^2}{4} - \frac{u^3}{2} + \frac{5u^4}{24}\,\Bigg|_0^1 ~=~ \frac{1}{8}~. \end{align*}


width height 0.5pt

Computing surface integrals can often be tedious, especially when the formula for the outward unit normal vector at each point of \(\Sigma\) changes. The following theorem provides an easier way in the case when \(\Sigma\) is a closed surface, that is, when \(\Sigma\) encloses a bounded solid in \(\Real{3}\). For example, spheres, cubes, and ellipsoids are closed surfaces, but planes and paraboloids are not.

Theorem 4.8

(Divergence Theorem) Let \(\Sigma\) be a closed surface in \(\Real{3}\) which bounds a solid \(S\), and let \(\textbf{f}(x,y,z) = \ssub{f}{1}(x,y,z) \textbf{i} + \ssub{f}{2}(x,y,z) \textbf{j} + \ssub{f}{3}(x,y,z) \textbf{k}\) be a vector field defined on some subset of \(\Real{3}\) that contains \(\Sigma\). Then

\begin{equation} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~=~ \iiint\limits_{S} \text{div}~\textbf{f} ~dV ~, \tag{4.31}\end{equation}

where

\begin{equation} \text{div}~\textbf{f} ~=~ \frac{\partial \ssub{f}{1}}{\partial x} + \frac{\partial \ssub{f}{2}}{\partial y} + \frac{\partial \ssub{f}{3}}{\partial z} \tag{4.32}\end{equation}

is called the divergence of f.

The proof of the Divergence Theorem is very similar to the proof of Green’s Theorem, i.e. it is first proved for the simple case when the solid \(S\) is bounded above by one surface, bounded below by another surface, and bounded laterally by one or more surfaces. The proof can then be extended to more general solids.[1]


width height 0.5pt

Example 4.11

Evaluate \(\iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\), where \(\textbf{f}(x,y,z) = x\textbf{i} + y\textbf{j} + z\textbf{k}\) and \(\Sigma\) is the unit sphere \(x^2 + y^2 + z^2 = 1\).

Solution: We see that \(\text{div}~\textbf{f} = 1+1+1=3\), so

\begin{align*} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~&=~ \iiint\limits_{S} \text{div}~\textbf{f} ~dV ~=~ \iiint\limits_{S} 3 ~dV\\ &=~ 3 \iiint\limits_{S} 1 ~dV ~=~ 3\,\text{vol}(S) ~=~ 3\cdot \frac{4\pi (1)^3}{3} ~=~ 4\pi ~. \end{align*}


width height 0.5pt

In physical applications, the surface integral \(\iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\) is often referred to as the flux of f through the surface \(\Sigma\). For example, if f represents the velocity field of a fluid, then the flux is the net quantity of fluid to flow through the surface \(\Sigma\) per unit time. A positive flux means there is a net flow out of the surface (i.e. in the direction of the outward unit normal vector n), while a negative flux indicates a net flow inward (in the direction of \(-\textbf{n}\)).

The term divergence comes from interpreting div f as a measure of how much a vector field “diverges” from a point. This is best seen by using another definition of div f which is equivalent[2] to the definition given by formula (4.32). Namely, for a point \((x,y,z)\) in \(\Real{3}\),

\begin{equation} \text{div}~\textbf{f}(x,y,z) ~=~ \lim_{V \to 0} \frac{1}{V} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~, \tag{4.33}\end{equation}

where \(V\) is the volume enclosed by a closed surface \(\Sigma\) around the point \((x,y,z)\). In the limit, \(V \to 0\) means that we take smaller and smaller closed surfaces around \((x,y,z)\), which means that the volumes they enclose are going to zero. It can be shown that this limit is independent of the shapes of those surfaces. Notice that the limit being taken is of the ratio of the flux through a surface to the volume enclosed by that surface, which gives a rough measure of the flow “leaving” a point, as we mentioned. Vector fields which have zero divergence are often called solenoidal fields.

The following theorem is a simple consequence of formula (4.33).

Theorem 4.9

If the flux of a vector field f is zero through every closed surface containing a given point, then \(\text{div}~\textbf{f} = 0\) at that point.

proof[Proof:] By formula (4.33), at the given point \((x,y,z)\) we have

\begin{align*} \text{div}~\textbf{f}(x,y,z) ~&=~ \lim_{V \to 0} \frac{1}{V} \iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}} ~~~\text{for closed surfaces $\Sigma$ containing $(x,y,z)$, so}\\ &=~ \lim_{V \to 0} \frac{1}{V} \,\, (0) ~~~\text{by our assumption that the flux through each $\Sigma$ is zero, so}\\[6pt] &=~ \lim_{V \to 0} \, 0\\ &=~ 0 ~.\textsf{qed} \end{align*}

Lastly, we note that sometimes the notation

\[\oiint\limits_{\Sigma} f(x,y,z)\,d\sigma \quad\text{and}\quad \oiint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\]

is used to denote surface integrals of scalar and vector fields, respectively, over closed surfaces. Especially in physics texts, it is common to see simply \(\oint\limits_{\Sigma}\) instead of \(\oiint\limits_{\Sigma}\).

Exercises

A

For Exercises 1-4, use the Divergence Theorem to evaluate the surface integral \(\iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\) of the given vector field \(\textbf{f}(x,y,z)\) over the surface \(\Sigma\).

  1. \(\textbf{f}(x,y,z) = x\textbf{i} + 2y\textbf{j} + 3z\textbf{k}\), \(\Sigma: x^2 + y^2 + z^2 = 9\)

  2. \(\textbf{f}(x,y,z) = x\textbf{i} + y\textbf{j} + z\textbf{k}\), \(\Sigma:\) boundary of the solid cube \(S = \lbrace\, (x,y,z): 0 \le x,y,z \le 1 \,\rbrace\)

  3. \(\textbf{f}(x,y,z) = x^3\textbf{i} + y^3\textbf{j} + z^3\textbf{k}\), \(\Sigma: x^2 + y^2 + z^2 = 1\)

  4. \(\textbf{f}(x,y,z) = 2\textbf{i} + 3\textbf{j} + 5\textbf{k}\), \(\Sigma: x^2 + y^2 + z^2 = 1\)

B

  1. Show that the flux of any constant vector field through any closed surface is zero.

  2. Evaluate the surface integral from Exercise 2 without using the Divergence Theorem, i.e. using only Definition 4.3, as in Example 4.10. Note that there will be a different outward unit normal vector to each of the six faces of the cube.

  3. Evaluate the surface integral \(\iint\limits_{\Sigma} \Dotprod{\textbf{f}}{d\bm{\sigma}}\), where \(\textbf{f}(x,y,z) = x^2 \textbf{i} + xy\textbf{j} + z\textbf{k}\) and \(\Sigma\) is the part of the plane \(6x+3y+2z=6\) with \(x \ge 0\), \(y \ge 0\), and \(z \ge 0\), with the outward unit normal \(\textbf{n}\) pointing in the positive \(z\) direction.

  4. Use a surface integral to show that the surface area of a sphere of radius \(r\) is \(4\pi r^2\). (Hint: Use spherical coordinates to parametrize the sphere.)

  5. Use a surface integral to show that the surface area of a right circular cone of radius \(R\) and height \(h\) is \(\pi R \sqrt{h^2 + R^2}\). (Hint: Use the parametrization \(x=r\cos\theta\), \(y=r\sin\theta\), \(z=\frac{h}{R}r\), for \(0 \le r \le R\) and \(0 \le \theta \le 2\pi\).)

  6. The ellipsoid \(\frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1\) can be parametrized using ellipsoidal coordinates

    \[x=a\sin\phi\,\cos\theta ~, ~y=b\sin\phi\,\sin\theta ~, ~z=c\cos\phi~, ~~\text{for $0 \le \theta \le 2\pi$ and $0 \le \phi \le \pi$.}\]

    Show that the surface area \(S\) of the ellipsoid is

    \[S ~=~ \int_0^{\pi} \int_0^{2\pi} \sin\phi \sqrt{a^2 b^2 \cos^2 \phi + c^2 (a^2 \sin^2 \theta + b^2 \cos^2 \theta ) \sin^2 \phi} \,\,d\theta\,d\phi~.\]

    (Note: The above double integral can not be evaluated by elementary means. For specific values of \(a\), \(b\) and \(c\) it can be evaluated using numerical methods. An alternative is to express the surface area in terms of elliptic integrals.[§ III.7]bow)

C

  1. Use Definition 4.3 to prove that the surface area \(S\) over a region \(R\) in \(\Real{2}\) of a surface \(z=f(x,y)\) is given by the formula

    \[S ~=~ \iint\limits_R \sqrt{1 + \left( \tfrac{\partial f}{\partial x} \right)^2 + \left( \tfrac{\partial f}{\partial y} \right)^2} \,\,dA ~.\]

    (Hint: Think of the parametrization of the surface.)


  1. See [§ 15.6]tm for the details.
  2. See sch, p. 36-39, for an intuitive discussion of this.