Let D be a set in R2 (a plane region). A vector field on R2 is a function F that assigns to each point (x,y) in D a two-dimensional vector F(x,y).
We can also write F as
F(x,y)F=P(x,y)i+Q(x,y)j=Pi+Qj
Where P,Q are scalar functions of two variables and are sometimes called scalar fields.
We can similarly define a vector field on R3,R4,…
16.2 Line Integrals
Consider a curve C given by
x=x(t)y=y(t)a≤t≤b
Or, equivalently,
r(t)=x(t)i+y(t)j
Assume C is a smooth curve, i.e. r′ is continuous and r′(t)=0. Then, the line integral of a function f(x,y) along C can be written as the limit of a Riemann sum across the interval [a,b].
C∫f(x,y)ds=n→∞limi=1∑nf(xi,yi)Δsi
Previously, we found that the arc length of a curve C is
L=∫ab(dtdx)2+(dtdy)2dt
In other words (by deriving both sides with respect to t),
ds=(dtdx)2+(dtdy)2dt
And thus,
Line Integral
C∫f(x,y)ds=∫abf(x(t),y(t))(dtdx)2+(dtdy)2dt
Of course, the line integral does not depend on the choice of parametrization of the curve, as long as the curve is traversed exactly once.
Consider now a piecewise-smooth curve, i.e. C is essentially several smooth curves continuously and smoothly connected together. Then the line integral on C is simply the sum of the line integrals of each individual smooth sub-curve.
We may also take line integrals of a function f(x,y) along C with respect to either x or y.
Frequently, line integrals with respect to x and y are summed. This is abbreviated as follows:
C∫f(x,y)dx+C∫g(x,y)dy=C∫f(x,y)dx+g(x,y)dy
Vector Equation of a Line Segment
As a reminder, the vector equation for a line segment that starts at r0 and ends at r1 is given by
r(t)=(1−t)r0+tr1,0≤t≤1
Note also that a given parametrization determines the orientation of a curve C (basically, direction). Thus, −C denotes the curve that is identical to C but has opposite orientation. Then,
But, if one takes the line integral with respect to arc length, the value of the line integral does not change, i.e.
−C∫f(x,y)ds=C∫f(x,y)ds
Because, of course, distance is positive.
We may similarly extend 2 dimensional line integrals into 3 dimensional space. In general, we can write the line integral with respect to arc length in n-dimensional space as follows:
C∫f(r(t))ds=∫abf(r(t))∣r′(t)∣dt
And for each variable xi for 1≤i≤n,
C∫f(r(t))dxi=∫abf(r(t))xi′(t)dt
Now, consider a continuous vector field F defined on a smooth curve C. Let F be given by a vector function r(t),a≤t≤b. Then the line integral of F along C is
C∫F⋅dr=∫abF(r(t))⋅r′(t)dt=C∫F⋅Tds
Where T(t)=∣r′(t)∣r′(t), which you may recall from [[#Curvature|the curvature section of 13.3]]. This integral is commonly used to calculate the work W done by a force vector field F, i.e.
W=C∫F⋅Tds
In general, we can say
info
C∫F⋅dr=C∫Pdx+Qdy+Rdz
Where F=Pi+Qj+Rk
16.3 The Fundamental Theorem for Line Integrals
Recall the Fundamental Theorem of Calculus:
∫abF′(x)dx=F(b)−F(a)
Where F′ is continuous on the interval [a,b]. We can similarly define the Fundamental Theorem for Line Integrals:
Fundamental Theorem for Line Integrals
Let C be a smooth curve given by the vector function r(t), a≤t≤b. Let f be a differentiable function of two or three variables whose gradient vector ∇f is continuous on C. Then
C∫∇f⋅dr=f(r(b))−f(r(a))
Now, consider two piecewise-smooth curves (commonly denoted paths) C1,C2 with the same initial point A and terminal point B. Then, by the fundamental theorem
C1∫∇f⋅dr=C2∫∇f⋅dr
Whenever ∇f is continuous. That is, the line integral of a conservative vector field depends only on the initial point and terminal point of a curve.
If F is a continuous vector field with domain D, the line integral C∫F⋅dr is independent of path if the above is satisfied for any two paths C1 and C2.
Closed Curve
A closed curve is a curve whose terminal point coincides with its initial point. Let A,B be points on a closed curve C. Let C1 be the curve from A→B and C2 be the curve B→A. Then
C∫F⋅dr is independent of path in D if and only if C∫F⋅dr=0 for every closed path C in D.
Let an open domainD be a domain such for every point P∈D, there is a disk with center P that lies entirely in D. Additionally, let a connected domain D be a domain such that any two points in D can be connected via a path that lies entirely in D.
info
Suppose F is a vector field that is continuous on an open connected region D. If C∫F⋅dr is independent of path in D, then F is a conservative vector field on D, i.e. there exists a function f such that ∇f=F.
See the textbook for a proof of this theorem.
We do, however, still need to determine if a vector field F is conservative. Suppose F=Pi+Qj is conservative, where P,Q have continuous first-order partial derivatives. Then there exists a function f such that F=∇f such that
P=∂x∂fQ=∂y∂f
By Clairaut's Theorem
∂y∂P=∂y∂x∂2f=∂x∂y∂2f=∂x∂Q
Thus,
info
If F(x,y)=P(x,y)i+Q(x,y)j is a conservative vector field, where P,Q have continuous first-order partial derivatives on a domain D, then throughout D it must be true that ∂y∂P=∂x∂Q.
The converse of this is only true for certain regions. Let a simple curve denote a curve that doesn't intersect itself anywhere between its endpoints. Then, let a simply-connected regionD be a region such that every simple closed curve in D encloses only points that are in D. Intuitively, this means D contains no holes and is one contiguous region. Then,
info
Let F=Pi+Qj be a vector field on an open simply-connected region D. Suppose P,Q have continuous first-order partial derivatives and ∂y∂P=∂x∂Q throughout D. Then F is conservative.
The ideas derived in this chapter can be applied to a continuous force field F (i.e. physics).
Using the fact that F(r(t))=mr′′(t), where r(t) is the position function (this is the familiar equation F=ma), we can derive, from endpoints a→b.
W=21m∣r′(b)∣2−21m∣r′(a)∣2=K(B)−K(A)
Or, in other words, the change in kinetic energy of the object.
Meanwhile, if we assume F is a conservative force field, i.e. we can write F=∇f for some function f, we can use the equation P(x,y,z)=−f(x,y,z), where P is the potential energy function. This naturally leads to F=−∇P, from which we easily derive, from endpoints a→b.
W=P(r(a))−P(r(b))=P(A)−P(B)
Thus,
K(B)−K(A)P(A)+K(A)=P(A)−P(B)=P(B)+K(B)
In other words, we just derived the Law of Conservation of Energy!
16.4 Green's Theorem
Green's Theorem helps relate a line integral around a simple closed curve C and a double integral over the plane region D bounded by C (the interior of C, essentially).
warning
For these notes, we will follow the convention of the textbook, i.e. the positive orientation of C refers to a single counterclockwise traversal of C.
Green's Theorem
Let C be a positively oriented, piecewise-smooth, simple closed curve in the plane and let D be the region bounded by C. If P,Q have continuous partial derivatives on an open on an open region that contains D, then
C∫Pdx+Qdy=D∬∂x∂Q−∂y∂PdA=∂D∫Pdx+Qdy
Positive Orientation Line Integrals
The expression
C∮Pdx+Qdy
also denotes a line integral on curve C calculated using the positive orientation.
Green's theorem is essentially the analogue of the Fundamental Theorem of Calculus for double integrals.
The proof is left out for brevity. As food for thought, consider that, to prove Green's Theorem when D is a simple region, it's only necessary to show
C∫Pdx=−D∬∂y∂PdAC∫Qdy=D∬∂x∂QdA
Then, consider that proving Green's Theorem for a nonsimple region D that is a finite union of simple regions is equivalent to dividing D into simple regions and consider each simple region separately. (Hint: you will get some cancellation integrating along the boundary of the two simple curves).
tip
Green's Theorem can be used in both ways. Sometimes, you convert from a single integral to a double integral. And other times, you convert from a double integral to a single integral. The book has many examples to consider.
For instance, consider trying to compute the area of a region D. We have that A(D)=D∬1dA⟹∂x∂Q−∂y∂P=1. There are many different possibilities for P(x,y) and Q(x,y) for this to be true. In general, we can write, by Green's Theorem,
A=C∮xdy=−C∮ydx=21C∮xdy−ydx
Figuring out the values of P(x,y) and Q(x,y) that produce this formula is left as an exercise to the reader.
Consider the ellipse a2x2+b2y2=1. Find the area enclosed by the ellipse.
Parametrically, x=acost and y=bsint, with 0≤t≤2π. We can then write
Recall the ideas given for the proof of Green's Theorem for nonsimple regions that are the finite union of simple regions. This idea frequently be applied to solve problems for such regions using Green's Theorem (i.e., dividing the nonsimple region into it simple regions and applying Green's Theorem individually).
example
Consider two curves C and C′. Let D(C) denote the region enclosed by C, and analogously for C′. Let D(C)⊂D(C′). Then, D(C−C′) is a nonsimple region with a hole.
The positively oriented boundary of this region is C∩(−C′). (This follows from C−C′). Then, by Green's Theorem, we can write
C∫Pdx+Qdy+−C′∫Pdx+Qdy=D∬∂x∂Q−∂y∂PdA
16.5 Curl and Divergence
Curl
We begin with a discussion of the property of a vector field known as the curl. The curl vector is named as such because it describes the rotational motion of particles. Particles at (x,y,z) in this vector field will tend to rotate around the axis aligned with the direction of the curl, and at a rate proportional to the curl vector's magnitude.
If F=Pi+Qj+Rk is a vector field on R3 and the partial derivatives of P,Q,R all exist, then the curl of F is the vector field on R3 defined by
It is easier to remember this using operator notation. We define the following as the vector differential operator ∇:
∇=i∂x∂+j∂y∂+k∂z∂
We have seen this before in the notation of the gradient of some vector function f:
∇f=i∂x∂f+j∂y∂f+k∂z∂f
Knowing this, we may now write
curlF=∇×F=i∂x∂Pj∂y∂Qk∂z∂R
There are a few nice facts about the curl of a vector field.
Curl Properties
If f(x,y,z) has continuous second-order partial derivatives, then curl(∇f)=0.
If F is a conservative vector field, by definition, F=∇f. Thus, a conservative vector field F has curlF=0.
If F is a vector field defined on all of R3 whose component functions have continuous partial derivatives and curlF=0, then F is a conservative vector field.
The proof of property 1 is easy, and is left as an exercise to the reader. The proof of property 3 require topics we have yet to discuss—in particular, Stokes' Theorem—and so will not be shown.
Note also the following ideas:
tip
If curlF=0 at a point P, then the fluid is free from rotations at P and F is called irrotational at P. Note that particles still move with this fluid, but do not rotate around its axis.
If curlF=0, then particles do in fact rotate about its axis.
Divergence
The divergence of a vector field is again related to fluid dynamics. In particular, if F(x,y,z) is the velocity of a fluid, then its divergence is the net rate of change with respect to time of the mass of fluid flowing from point (x,y,z) per unit volume. That is, it measures the fluid's tendency to diverge from the point.
If F=Pi+Qj+Rk is a vector field on R3 and ∂x∂P,∂y∂Q,∂z∂R all exist, then the divergence of F is described by
divF=∂x∂P+∂y∂Q+∂z∂R
Note that the divergence of F is in fact a scalar field, and not a vector field like curlF.
We can also represent the divergence of F in operator notation.
divF=∇⋅F
Since the curl of F is also a vector field on R3 if F is a vector field on R3, we can compute the divergence of curlF as well. In fact,
info
If F=Pi+Qj+Rk is a vector field on R3 and P,Q,R have continuous second-order partial derivatives, then divcurlF=0.
The proof of this is fairly straightforward, and is left as an exercise to the reader.
Note also the following ideas:
tip
If divF=0, F is said to be incompressible.
We may also compute the divergence of a gradient vector field.
div(∇f)=∂x2∂2f+∂y2∂2f+∂z2∂2f
This expression occurs frequently, and is thus abbreviated as ∇2f. It is also denoted as the Laplace operator because of its relation to Laplace's Equation:
∇2f=∂x2∂2f+∂y2∂2f+∂z2∂2f=0
Vector Forms of Green's Theorem
Using the curl and divergence operators, we can rewrite Green's Theorem in vector form.
Curl
Consider the plane region D, its boundary curve C, and the functions P,Q that satisfy the previously stated hypotheses of Green's Theorem. Consider also the vector field F=Pi+Qj. Then, its line integral is
C∮F⋅dr=C∮Pdx+Qdy
Considering F as a vector field on R3 with third component 0, we derive
Which allows us to express Green's Theorem in vector form:
info
C∮Fdr=D∬(curlF)⋅kdA
That is, the line integral of the tangential component of F along C is equivalent to the double integral of the vertical component of curlF over the region D enclosed by C.
Divergence
We can derive a similar formula involving the normal component of F.
Let C be given by
r(t)=x(t)i+y(t)j,a≤t≤b
Then, we can write expressions for the unit tangent vector
That is, the line integral of the normal component of F along C is equal to the double integral of the divergence of F over the region D enclosed by C.
16.6 Parametric Surfaces and Their Areas
Parametric surfaces are the analogues of parametric functions in 3 dimensions. They can be described by a vector function r(u,v):
r(u,v)=x(u,v)i+y(u,v)j+z(u,v)k
This is a vector-valued function defined on a region D in the uv-plane, and the parametric surfaceS is created by (u,v) varying throughout D. The equations
x=x(u,v)y=y(u,v)z=z(u,v)
Are known as the parametric equations of S.
For a parametric surface S, there are two useful families of curves that lie on S: constant u and constant v, i.e. the curves that correspond to the vertical and horizontal lines in the uv-plane. These curves are known as grid curves, which naturally follows from the curves' display in the uv-plane.
Surfaces of revolution can be expressed parametrically, e.g. the surface generated by rotating a curve y=f(x) around the x-axis. Let θ be the angle of rotation of some point on the surface. Then, we can describe a point (x,y,z) on S as
x=xy=f(x)cosθz=f(x)sinθ
It may help to verify this for yourself with an example function f(x).
We can also describe the tangent planes to a parametric surface S. Let S be traced out by the vector function
r(u,v)=x(u,v)i+y(u,v)j+z(u,v)k
at a point P0 with position vector r(u0,v0). Now, consider the grid curve C1 lying on S that occurs when u is constant, i.e. u=u0. Then, the tangent vector to C1 at P0 is obtained by taking the partial derivative of r with respect to v:
For a smooth surface, the tangent plane is the plane that contains these two tangent vectors, and ru×rv is a normal vector to the tangent plane.
Finally, we can consider calculating the surface area of a general parametric surface. The derivation is essentially a Riemann sum over the surface areas of sections of the tangent plane approximations of the surface, and thus will be skipped. The following theorem describes the formula succinctly:
info
Let a smooth parametric surface S be given by
r(u,v)=x(u,v)i+y(u,v)j+z(u,v)k,(u,v)∈D
Let S be covered only once as (u,v) range throughout D (no overcounting/overlapping!). Then, the surface area of S is simply
A(S)=D∬∣ru×rv∣dA
where
ru=∂u∂xi+∂u∂yj+∂u∂zkrv=∂v∂xi+∂v∂yj+∂v∂zk
Note that when we have z=f(x,y), we can easily derive the surface area formula found in [[#15.5 Surface Area]] by considering the parametrization x=x,y=y,z=f(x,y). That is,
A(S)=D∬1+(∂x∂z)2+(∂y∂z)2dA
16.7 Surface Integrals
Surface integrals are the the line integral equivalent in 3 dimensions. That is, surface integrals are to surface area as line integrals are to arc length.
We will soon define the surface integral of the function f(x,y,z) over the surface S. Note that when f(x,y,z)=1, this is equivalent to the surface area of S. (Much like how the line integral of f(x,y)=1 is simply the arc length). We begin with parametric surfaces.
Parametric Surfaces
Suppose S is described by
r(u,v)=x(u,v)i+y(u,v)j+z(u,v)k,(u,v)∈D
Again, we derive the formula for the surface integral via a Riemann sum. In this case, over infinitesimal subrectangles of the surface (specifically, taken from the tangent plane at each point in the surface), i.e.
S∬f(x,y,z)dS=m,n→∞limi=1∑mj=1∑nf(Pij)ΔSij
Where Pij is the evaluation of f at some point within the subrectangle and ΔSij is the area of the the subrectangle with indices (i,j). Then, since ΔSij may be approximated by the area of a parallelogram in the tangent plane, i.e. ΔSij≈∣ru×rv∣ΔuΔv, where the tangent vectors at the point Pij are described by ru=∂u∂xi+∂u∂yj+∂u∂zk and rv=∂v∂xi+∂v∂yj+∂v∂zk. Thus,
Parametric Surface Integral
S∬f(x,y,z)dS=D∬f(r(u,v))∣ru×rv∣dA
Note the similarity to the line integral formula: C∫f(x,y,z)ds=∫abf(r(t))∣r′(t)∣dt.
Also note that if S is a piecewise-smooth surface that intersect only on their boundaries, then it naturally follows that
S∬f(x,y,z)dS=i=1∑nS1∬f(x,y,z)dS
Surface integrals may be applied to the same real-world ideas we have previously discussed. For instance, the total mass of a surface S whose density is described by ρ(x,y,z) is
Like oriented line integrals, we have oriented surfaces. The purpose is to define surface integrals of vector fields.
warning
A slight caveat with oriented surfaces, though, is that there do actual exist nonorientable surfaces! Consider, for example, the Möbius strip. Pick any point P, and choose a side of the Möbius strip. Now, walk around the Möbius strip until you reach P again for the first time. If you do it right, you shouldn't end up back on the same side! This is because the Möbius strip really only has one side.
Thus, we will consider only orientable (two-sided) surfaces.
Consider a surface S that has a tangent plane at every point (x,y,z) on S, disregarding boundary points. There exist two unit normal vectors n1,n2 with n2=−n1 at (x,y,z).
Choose one of the two unit normal vectors. Let n denote this chosen unit vector. Then, if n varies continuously over the entirety of S, then S is an oriented surface and the given choice of n provides S with an orientation. (Also, note that if your initial choice of n doesn't vary continuously over, the other choice of n wouldn't work either, since n2=−n1).
For a surface S described by z=g(x,y), we can describe n using the cross product of the tangent vectors described previously and repeated below for the reader's convenience.
rx×ry=−∂x∂gi−∂y∂gj+k
This is a vector function that describes the normal vector at every point in the surface. So, it suffices to normalize this expression to find n.
n=1+(∂x∂g)2+(∂y∂g)2−∂x∂gi−∂y∂gj+k
Note that the upward orientation of the surface is given by this expression since the k-component is positive, and the downward orientation is given by −n.
And if S is a smooth orientable surface given parametrically by the vector function r(u,v), then it is simply
n=∣ru×rv∣ru×rv
Surface Integrals of Vector Fields
Consider an oriented surface S with unit normal vector n. Now, let there exist a fluid with density ρ(x,y,z) and velocity field v(x,y,z) that is flowing through S. The rate of flow per unit area may be described by ρv.
If we consider infinitesimal subsections of S denoted Sij, then Sij is approximately planar. Thus, the mass of fluid per unit time crossing Sij in the direction of the unit normal vector n is
(ρv⋅n)(A(Sij))
Where A(Sij) denotes the area of Sij and ρ,v,n are all evaluated at some point on Sij. (For clarity, consider that ρv⋅n is the magnitude of the component of the vector ρv in the direction of the unit vector n). By performing a Riemann sum over these infinitesimal Sij's, we get
S∬ρv⋅ndS=S∬ρ(x,y,z)v(x,y,z)⋅n(x,y,z)dS
And if we write F=ρv, then F is a vector field on R3 and the integral becomes
S∬F⋅ndS
This is a very common integral, particularly in physics, even when F is not ρv, and thus is denoted as the surface integral or flux integral of F over S. It's also called the flux of F across S.
Flux
If F is a continuous vector field defined on an oriented surface S with unit normal vector n, then the surface integral of F over S is
S∬F⋅dS=S∬F⋅ndS
When S is parametrized by a vector function r(u,v), then
This formula assumes upward orientation of s. For downward orientation, simply multiply by −1.
Finally, let's consider some applications of the surface integral of a vector field to physics.
Consider an electric field E. Then the surface integral S∬E⋅dS is called the electric flux of E through the surface S. One important law of electrostatics is Gauss's Law, which states that the net charge enclosed by a closed surface S is Q=ϵ0S∬E⋅dS, for some constant ϵ0 known as the permittivity of free space.
Consider now the scalar field u(x,y,z) that describes the temperature at a point (x,y,z) within a substance. Then the heat flow is defined by the vector field F=−K∇u, where K is the conductivity of the substance (and is typically experimentally determined). Then, the rate of heat flow across a surface S in the substance is S∬F⋅dS=−KS∬∇u⋅dS.
16.8 Stokes' Theorem
It's helpful to think of Stokes' Theorem as a higher-dimensional version of Green's Theorem. Green's Theorem relates a double integral over a plane region D to a line integral around its plane boundary curve. Similarly, Stokes' Theorem relates a surface integral over a surface S to a line integral around the boundary curve of S, a space curve.
In other words, Stokes' Theorem is a more generalized analogue of Green's Theorem.
Like Green's Theorem, Stokes' Theorem also includes the notion of orientation. In particular, as described in the last section, an oriented surface S possesses a unit normal vector n at every point. (Either upwards or downwards). Then, we define the positive orientation of the boundary curve C for a chosen orientation of S. Essentially, if you walk in the positive direction around the C with your head pointing in the direction of n, then the surface S will always be on your left.
Stokes' Theorem
Let S be an oriented piecewise-smooth surface that is bounded by a simple, closed, piecewise-smooth boundary curve C with positive orientation. Let F be a vector field whose components have continuous partial derivatives on an open region in R3 that contains S. Then
C∫F⋅dr=S∬curlF⋅dS
The positively oriented boundary curve of the oriented surface S is denoted ∂S, so Stokes' Theorem can also be written as
∂S∫F⋅dr=S∬curlF⋅dS
There are some equivalencies here that should be noted. In particular,
C∫F⋅dr=C∫F⋅TdsandS∬curlF⋅dS=S∬curlF⋅ndS
Substituting these into Stokes' Theorem reveals that the line integral around the boundary curve of S of the tangential component of F is equal to the surface integral over S of the normal component of the curl of F.
The existence of Stokes' Theorem as a "generalized Green's Theorem" now becomes clear when S lies entirely in the xy-plane with upward orientation. In this case, the unit normal is k and the surface integral becomes a double integral of the area in the xy-plane, i.e.
C∫F⋅dr=S∬curlF⋅dS=S∬(curlF)⋅kdA
This should look familiar, since it's just the formula from [[#Vector Forms of Green's Theorem]].
Also, note the following key fact about Stokes' Theorem.
tip
If S1,S2 are oriented surfaces with the same oriented boundary curve C and both satisfy the hypotheses of Stokes' Theorem, then
S1∬curlF⋅dS=C∫F⋅dr=S2∬curlF⋅dS
This is helpful whenever it's easier to integrate over another surface with the same boundary curve.
Stokes' Theorem is challenging to prove for all pairs of a surface S and a boundary curve C satisfying its requirements, and thus there will be no proof provided. The textbook does include a proof of a special case of Stokes' Theorem; give it a read if you're interested!
Stokes' Theorem enables us to interpret the physical meaning of the curl vector. Let C be an oriented closed curve and v represent the velocity field in fluid flow. Consider the line integral C∫v⋅dr=C∫v⋅Tds. Note that v⋅T is the component of v in the direction of the unit tangent vector T. That is, the closer the directions of v and T, the larger the value of v⋅T. In other words, C∫v⋅dr is a measure of the tendency of the fluid to move around C in the positive orientation, a quantity known as the circulation of v around C. (When C∫v⋅dr is negative, that means the fluid tends to circulate around C in the other direction).
We can in fact approximate the circulation at a point with the following equation:
curlv(P0)⋅n(P0)=a→0limπa21Ca∫v⋅dr
Where Ca is the boundary circle of a small disk Sa with radius a and center P0. That is, curlv⋅n measures the rotating effect of the fluid about the axis n. And thus the curling effect is greatest about the axis parallel to curlv.
Finally, armed with Stokes' Theorem, we can now (mostly) prove one of the statements we made in [[#16.5 Curl and Divergence#Curl|16.5 Curl and Divergence]]: If F is a vector field defined on all of R3 whose component functions have continuous partial derivatives and curlF=0, then F is a conservative vector field.
We know that F is conservative if C∫F⋅dr=0 for every closed path C. Note that we can guarantee that C bounds an orientable surface S. (However, proving this statement requires more advanced techniques, hence why this is only a mostly complete proof). Assuming we know this is true, though, Stokes' Theorem states
C∫F⋅dr=S∬curlF⋅dS=S∬0⋅dS=0
And if C is not simple, it can be divided into multiple simple curves, and the integrals around these simple curves are all 0. Hence, the equality holds for nonsimple curves too.
16.9 The Divergence Theorem
Recall that, in [[#Vector Forms of Green's Theorem|this section of 16.5]], we rewrote Green's Theorem in vector form using curl and divergence. In particular, the divergence formula was
C∮F⋅nds=D∬divF(x,y)dA
Just like how Stokes' Theorem was essentially an extension to R3 of the vector form of Green's Theorem using curl, the Divergence Theorem is an extension to R3 of the other vector form of Green's Theorem displayed above.
In particular, we shall consider regions E that are simultaneously type 1, 2, and 3. Such regions are called simple solid regions. The boundary of E is a closed surface, and we shall denote the positive orientation of the surface as outward (away from E), i.e. the unit normal vector n is directed outward.
The Divergence Theorem
Let E be a simple solid region and let S be the boundary surface of E, given with positive (outward) orientation. Let F be a vector field whose component functions have continuous partial derivatives on an open region that contains E. Then
S∬F⋅dS=E∭divF⋅dV
In other words, the flux of F across the boundary surface of E is equal to the triple integral of the divergence of F over E.
Too lazy to write a proof... so you'll have to imagine it (i.e., read the textbook for the proof).
Example of using the Divergence Theorem
Evaluate S∬F⋅dS, where
F(x,y,z)=xyi+(y2+exz2)j+sin(xy)k
and S is the surface of the region E bounded by the parabolic cylinder z=1−x2 and the planes z=0, y=0, and y+z=2.
By the Divergence Theorem, S∬F⋅dS=E∭divF⋅dV. Note that divF=3y. And thus, considering the bounds, we have
S∬F⋅dS=∫−11∫01−x2∫02−z3ydydzdx=35184
tip
The Divergence Theorem can be extended to regions that are finite unions of simple solid regions.
Regarding the above tip, consider, for example, a region E lying between closed surfaces S1 and S2 where S1 is enclosed entirely by S1. Let n1 and n2 be the positive (outward) normal vectors of S1 and S2, respectively. Then, the boundary surface of E is S1∩S2 and its normal n is given by n=−n1 on S1 and n=n2 on S2. Applying the Divergence Theorem gives us
E∭divFdv=−S1∬FdS+S2∬F⋅dS
We can also apply he Divergence Theorem to fluid flow. Let v(x,y,z) be the velocity field with constant density ρ. Then F=pv is the rate of flow per unit area, as defined previously. Let P0(x0,y0,z0) be a point in the fluid and Ba be a ball with center P0 and small radius a. Then divF(P)=divF(P0) for all other points P in Ba since divF is continuous. Thus, the flux over the boundary sphere Sa can be approximated:
That is, divF(P0) is the net rate of outward flux per unit volume at P0. In fact, this is the true motivation for the name divergence. If divF(P)>0, the net flow near P is directed outward, and P is called a source. Conversely, if divF(P)<0, the net flow near P is directly inward, and P is called a sink.
When reading a vector field, it's possible to estimate the divergence of F at a point P by observing the magnitude of the incoming and outgoing arrows. If the incoming arrows are longer than the outgoing arrows, P is a sink. Vice versa, and P is a source.