Divergence theorem

From testwiki
Revision as of 09:37, 9 December 2024 by imported>Citation bot (Added volume. | Use this bot. Report bugs. | Suggested by Dominic3203 | Linked from User:Chetvorno/artwork | #UCB_webform_linked 8/35)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Redirect Template:Redirect {{#invoke:sidebar|collapsible | class = plainlist | titlestyle = padding-bottom:0.25em; | pretitle = Part of a series of articles about | title = Calculus | image = abf(t)dt=f(b)f(a) | listtitlestyle = text-align:center; | liststyle = border-top:1px solid #aaa;padding-top:0.15em;border-bottom:1px solid #aaa; | expanded = vector | abovestyle = padding:0.15em 0.25em 0.3em;font-weight:normal; | above =

Template:Startflatlist

Template:EndflatlistTemplate:Startflatlist

Template:Endflatlist

| list2name = differential | list2titlestyle = display:block;margin-top:0.65em; | list2title = Template:Bigger | list2 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Definitions
 | content1 =
 | heading2 = Concepts
 | content2 =
 | heading3 = Rules and identities
 | content3 =
}}

| list3name = integral | list3title = Template:Bigger | list3 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =

| heading2 = Definitions

 | content2 =
 | heading3 = Integration by
 | content3 =
}}

| list4name = series | list4title = Template:Bigger | list4 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Convergence tests
 | content2 =
}}

| list5name = vector | list5title = Template:Bigger | list5 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Theorems
 | content2 =
}}

| list6name = multivariable | list6title = Template:Bigger | list6 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Formalisms
 | content1 =
 | heading2 = Definitions
 | content2 =
}}

| list7name = advanced | list7title = Template:Bigger | list7 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
}}

| list8name = specialized | list8title = Template:Bigger | list8 =

| list9name = miscellanea | list9title = Template:Bigger | list9 =

}}

In vector calculus, the divergence theorem, also known as Gauss's theorem or Ostrogradsky's theorem,[1] is a theorem relating the flux of a vector field through a closed surface to the divergence of the field in the volume enclosed.

More precisely, the divergence theorem states that the surface integral of a vector field over a closed surface, which is called the "flux" through the surface, is equal to the volume integral of the divergence over the region enclosed by the surface. Intuitively, it states that "the sum of all sources of the field in a region (with sinks regarded as negative sources) gives the net flux out of the region".

The divergence theorem is an important result for the mathematics of physics and engineering, particularly in electrostatics and fluid dynamics. In these fields, it is usually applied in three dimensions. However, it generalizes to any number of dimensions. In one dimension, it is equivalent to the fundamental theorem of calculus. In two dimensions, it is equivalent to Green's theorem.

Explanation using liquid flow

Template:See also Vector fields are often illustrated using the example of the velocity field of a fluid, such as a gas or liquid. A moving liquid has a velocity—a speed and a direction—at each point, which can be represented by a vector, so that the velocity of the liquid at any moment forms a vector field. Consider an imaginary closed surface S inside a body of liquid, enclosing a volume of liquid. The flux of liquid out of the volume at any time is equal to the volume rate of fluid crossing this surface, i.e., the surface integral of the velocity over the surface.

Since liquids are incompressible, the amount of liquid inside a closed volume is constant; if there are no sources or sinks inside the volume then the flux of liquid out of S is zero. If the liquid is moving, it may flow into the volume at some points on the surface S and out of the volume at other points, but the amounts flowing in and out at any moment are equal, so the net flux of liquid out of the volume is zero.

However if a source of liquid is inside the closed surface, such as a pipe through which liquid is introduced, the additional liquid will exert pressure on the surrounding liquid, causing an outward flow in all directions. This will cause a net outward flow through the surface S. The flux outward through S equals the volume rate of flow of fluid into S from the pipe. Similarly if there is a sink or drain inside S, such as a pipe which drains the liquid off, the external pressure of the liquid will cause a velocity throughout the liquid directed inward toward the location of the drain. The volume rate of flow of liquid inward through the surface S equals the rate of liquid removed by the sink.

If there are multiple sources and sinks of liquid inside S, the flux through the surface can be calculated by adding up the volume rate of liquid added by the sources and subtracting the rate of liquid drained off by the sinks. The volume rate of flow of liquid through a source or sink (with the flow through a sink given a negative sign) is equal to the divergence of the velocity field at the pipe mouth, so adding up (integrating) the divergence of the liquid throughout the volume enclosed by S equals the volume rate of flux through S. This is the divergence theorem.[2]

The divergence theorem is employed in any conservation law which states that the total volume of all sinks and sources, that is the volume integral of the divergence, is equal to the net flow across the volume's boundary.[3]

Mathematical statement

File:Divergence theorem.svg
A region Template:Mvar bounded by the surface S=V with the surface normal Template:Mvar

Suppose Template:Mvar is a subset of n (in the case of Template:Math represents a volume in three-dimensional space) which is compact and has a piecewise smooth boundary Template:Mvar (also indicated with V=S). If Template:Math is a continuously differentiable vector field defined on a neighborhood of Template:Mvar, then:[4][5]

Template:Oiint

The left side is a volume integral over the volume Template:Mvar, and the right side is the surface integral over the boundary of the volume Template:Mvar. The closed, measurable set V is oriented by outward-pointing normals, and 𝐧^ is the outward pointing unit normal at almost each point on the boundary V. (d𝐒 may be used as a shorthand for 𝐧dS.) In terms of the intuitive description above, the left-hand side of the equation represents the total of the sources in the volume Template:Mvar, and the right-hand side represents the total flow across the boundary Template:Mvar. Template:Clear

Informal derivation

The divergence theorem follows from the fact that if a volume Template:Mvar is partitioned into separate parts, the flux out of the original volume is equal to the algebraic sum of the flux out of each component volume.[6][7] This is true despite the fact that the new subvolumes have surfaces that were not part of the original volume's surface, because these surfaces are just partitions between two of the subvolumes and the flux through them just passes from one volume to the other and so cancels out when the flux out of the subvolumes is summed.

A volume divided into two subvolumes. At right the two subvolumes are separated to show the flux out of the different surfaces.

See the diagram. A closed, bounded volume Template:Mvar is divided into two volumes Template:Math and Template:Math by a surface Template:Math (green). The flux Template:Math out of each component region Template:Math is equal to the sum of the flux through its two faces, so the sum of the flux out of the two parts is

Φ(V1)+Φ(V2)=Φ1+Φ31+Φ2+Φ32

where Template:Math and Template:Math are the flux out of surfaces Template:Math and Template:Math, Template:Math is the flux through Template:Math out of volume 1, and Template:Math is the flux through Template:Math out of volume 2. The point is that surface Template:Math is part of the surface of both volumes. The "outward" direction of the normal vector 𝐧^ is opposite for each volume, so the flux out of one through Template:Math is equal to the negative of the flux out of the other so these two fluxes cancel in the sum.

Φ31=S3𝐅𝐧^dS=S3𝐅(𝐧^)dS=Φ32

Therefore:

Φ(V1)+Φ(V2)=Φ1+Φ2

Since the union of surfaces Template:Math and Template:Math is Template:Mvar

Φ(V1)+Φ(V2)=Φ(V)

Template:Clear

Error creating thumbnail:
The volume can be divided into any number of subvolumes and the flux out of V is equal to the sum of the flux out of each subvolume, because the flux through the green surfaces cancels out in the sum. In (b) the volumes are shown separated slightly, illustrating that each green partition is part of the boundary of two adjacent volumes

This principle applies to a volume divided into any number of parts, as shown in the diagram.[7] Since the integral over each internal partition (green surfaces) appears with opposite signs in the flux of the two adjacent volumes they cancel out, and the only contribution to the flux is the integral over the external surfaces (grey). Since the external surfaces of all the component volumes equal the original surface.

Φ(V)=ViVΦ(Vi)

Template:Clear

File:Divergence theorem 3 - infinitesimals.png
As the volume is subdivided into smaller parts, the ratio of the flux Φ(Vi) out of each volume to the volume |Vi| approaches div𝐅

The flux Template:Math out of each volume is the surface integral of the vector field Template:Math over the surface

S(V)𝐅𝐧^dS=ViVS(Vi)𝐅𝐧^dS

The goal is to divide the original volume into infinitely many infinitesimal volumes. As the volume is divided into smaller and smaller parts, the surface integral on the right, the flux out of each subvolume, approaches zero because the surface area Template:Math approaches zero. However, from the definition of divergence, the ratio of flux to volume, Φ(Vi)|Vi|=1|Vi|S(Vi)𝐅𝐧^dS, the part in parentheses below, does not in general vanish but approaches the divergence Template:Math as the volume approaches zero.[7]

S(V)𝐅𝐧^dS=ViV(1|Vi|S(Vi)𝐅𝐧^dS)|Vi|

As long as the vector field Template:Math has continuous derivatives, the sum above holds even in the limit when the volume is divided into infinitely small increments

S(V)𝐅𝐧^dS=lim|Vi|0ViV(1|Vi|S(Vi)𝐅𝐧^dS)|Vi|

As |Vi| approaches zero volume, it becomes the infinitesimal Template:Math, the part in parentheses becomes the divergence, and the sum becomes a volume integral over Template:Mvar

S(V)𝐅𝐧^dS=Vdiv𝐅dV

Since this derivation is coordinate free, it shows that the divergence does not depend on the coordinates used.

Proofs

For bounded open subsets of Euclidean space

We are going to prove the following:Template:Citation needed Template:Math theorem

Proof of Theorem. [8] Template:Ordered list

For compact Riemannian manifolds with boundary

We are going to prove the following:Template:Citation needed Template:Math theorem

Proof of Theorem. [9] We use the Einstein summation convention. By using a partition of unity, we may assume that u and X have compact support in a coordinate patch OΩ. First consider the case where the patch is disjoint from Ω. Then O is identified with an open subset of n and integration by parts produces no boundary terms: (gradu,X)=Ogradu,Xgdx=OjuXjgdx=Ouj(gXj)dx=Ou1gj(gXj)gdx=(u,1gj(gXj))=(u,divX). In the last equality we used the Voss-Weyl coordinate formula for the divergence, although the preceding identity could be used to define div as the formal adjoint of grad. Now suppose O intersects Ω. Then O is identified with an open set in +n={xn:xn0}. We zero extend u and X to +n and perform integration by parts to obtain (gradu,X)=Ogradu,Xgdx=+njuXjgdx=(u,divX)n1u(x,0)Xn(x,0)g(x,0)dx, where dx=dx1dxn1. By a variant of the straightening theorem for vector fields, we may choose O so that xn is the inward unit normal N at Ω. In this case g(x,0)dx=gΩ(x)dx=dS is the volume element on Ω and the above formula reads (gradu,X)=(u,divX)+ΩuX,NdS. This completes the proof.

Corollaries

By replacing Template:Math in the divergence theorem with specific forms, other useful identities can be derived (cf. vector identities).[10]

Template:Oiint
A special case of this is 𝐅=f, in which case the theorem is the basis for Green's identities.
Template:Oiint
Template:Oiint
Template:Oiint
The last term on the right vanishes for constant 𝐜 or any divergence free (solenoidal) vector field, e.g. Incompressible flows without sources or sinks such as phase change or chemical reactions etc. In particular, taking 𝐜 to be constant:
Template:Oiint
Template:Oiint
By reordering the triple product on the right hand side and taking out the constant vector of the integral,
Template:Oiint
Hence,
Template:Oiint

Example

Error creating thumbnail:
The vector field corresponding to the example shown. Vectors may point into or out of the sphere.
File:SurfacesWithAndWithoutBoundary.svg
The divergence theorem can be used to calculate a flux through a closed surface that fully encloses a volume, like any of the surfaces on the left. It can not directly be used to calculate the flux through surfaces with boundaries, like those on the right. (Surfaces are blue, boundaries are red.)

Suppose we wish to evaluate

Template:Oiint

where Template:Mvar is the unit sphere defined by

S={(x,y,z)3 : x2+y2+z2=1},

and Template:Math is the vector field

𝐅=2x𝐢+y2𝐣+z2𝐤.

The direct computation of this integral is quite difficult, but we can simplify the derivation of the result using the divergence theorem, because the divergence theorem says that the integral is equal to:

W(𝐅)dV=2W(1+y+z)dV=2WdV+2WydV+2WzdV,

where Template:Mvar is the unit ball:

W={(x,y,z)3 : x2+y2+z21}.

Since the function Template:Mvar is positive in one hemisphere of Template:Mvar and negative in the other, in an equal and opposite way, its total integral over Template:Mvar is zero. The same is true for Template:Mvar:

WydV=WzdV=0.

Therefore,

Template:Oiint

because the unit ball Template:Mvar has volume Template:Math.

Applications

Differential and integral forms of physical laws

As a result of the divergence theorem, a host of physical laws can be written in both a differential form (where one quantity is the divergence of another) and an integral form (where the flux of one quantity through a closed surface is equal to another quantity). Three examples are Gauss's law (in electrostatics), Gauss's law for magnetism, and Gauss's law for gravity.

Continuity equations

Template:Main

Continuity equations offer more examples of laws with both differential and integral forms, related to each other by the divergence theorem. In fluid dynamics, electromagnetism, quantum mechanics, relativity theory, and a number of other fields, there are continuity equations that describe the conservation of mass, momentum, energy, probability, or other quantities. Generically, these equations state that the divergence of the flow of the conserved quantity is equal to the distribution of sources or sinks of that quantity. The divergence theorem states that any such continuity equation can be written in a differential form (in terms of a divergence) and an integral form (in terms of a flux).[12]

Inverse-square laws

Any inverse-square law can instead be written in a Gauss's law-type form (with a differential and integral form, as described above). Two examples are Gauss's law (in electrostatics), which follows from the inverse-square Coulomb's law, and Gauss's law for gravity, which follows from the inverse-square Newton's law of universal gravitation. The derivation of the Gauss's law-type equation from the inverse-square formulation or vice versa is exactly the same in both cases; see either of those articles for details.[12]

History

Joseph-Louis Lagrange introduced the notion of surface integrals in 1760 and again in more general terms in 1811, in the second edition of his Mécanique Analytique. Lagrange employed surface integrals in his work on fluid mechanics.[13] He discovered the divergence theorem in 1762.[14]

Carl Friedrich Gauss was also using surface integrals while working on the gravitational attraction of an elliptical spheroid in 1813, when he proved special cases of the divergence theorem.[15][13] He proved additional special cases in 1833 and 1839.[16] But it was Mikhail Ostrogradsky, who gave the first proof of the general theorem, in 1826, as part of his investigation of heat flow.[17] Special cases were proven by George Green in 1828 in An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism,[18][16] Siméon Denis Poisson in 1824 in a paper on elasticity, and Frédéric Sarrus in 1828 in his work on floating bodies.[19][16]

Worked examples

Example 1

To verify the planar variant of the divergence theorem for a region R:

R={(x,y)2 : x2+y21},

and the vector field:

𝐅(x,y)=2y𝐢+5x𝐣.

The boundary of R is the unit circle, C, that can be represented parametrically by:

x=cos(s),y=sin(s)

such that 0s2π where s units is the length arc from the point s=0 to the point P on C. Then a vector equation of C is

C(s)=cos(s)𝐢+sin(s)𝐣.

At a point P on C:

P=(cos(s),sin(s))𝐅=2sin(s)𝐢+5cos(s)𝐣.

Therefore,

C𝐅𝐧ds=02π(2sin(s)𝐢+5cos(s)𝐣)(cos(s)𝐢+sin(s)𝐣)ds=02π(2sin(s)cos(s)+5sin(s)cos(s))ds=702πsin(s)cos(s)ds=0.

Because M=𝔢(𝐅)=2y, we can evaluate Template:Nowrap and because Template:Nowrap Ny=0. Thus

R𝐅dA=R(Mx+Ny)dA=0.

Example 2

Let's say we wanted to evaluate the flux of the following vector field defined by 𝐅=2x2i+2y2j+2z2k bounded by the following inequalities:

{0x3},{2y2},{0z2π}

By the divergence theorem,

Template:Oiint

We now need to determine the divergence of F. If 𝐅 is a three-dimensional vector field, then the divergence of F is given by F=(xi+yj+zk)F.

Thus, we can set up the following flux integral Template:Oiint as follows:

I=V𝐅dV=V(𝐅𝐱x+𝐅𝐲y+𝐅𝐳z)dV=V(4x+4y+4z)dV=032202π(4x+4y+4z)dV

Now that we have set up the integral, we can evaluate it.

032202π(4x+4y+4z)dV=2202π(12y+12z+18)dydz=02π24(2z+3)dz=48π(2π+3)

Generalizations

Multiple dimensions

One can use the generalised Stokes' theorem to equate the Template:Mvar-dimensional volume integral of the divergence of a vector field Template:Math over a region Template:Mvar to the Template:Math-dimensional surface integral of Template:Math over the boundary of Template:Mvar:

Un𝐅dV=Un1𝐅𝐧dS

This equation is also known as the divergence theorem.

When Template:Math, this is equivalent to Green's theorem.

When Template:Math, it reduces to the fundamental theorem of calculus, part 2.

Tensor fields

Template:Main

Writing the theorem in Einstein notation:

Template:Oiint

suggestively, replacing the vector field Template:Math with a rank-Template:Mvar tensor field Template:Mvar, this can be generalized to:[20]

Template:Oiint

where on each side, tensor contraction occurs for at least one index. This form of the theorem is still in 3d, each index takes values 1, 2, and 3. It can be generalized further still to higher (or lower) dimensions (for example to 4d spacetime in general relativity[21]).

See also

References

Template:Reflist

Template:Sister project

Template:Calculus topics

  1. Template:Cite journal reprinted in Template:Cite book
  2. Template:Cite book
  3. Template:Citation
  4. Template:Cite book
  5. Template:Cite book
  6. Template:Cite web
  7. 7.0 7.1 7.2 Template:Cite book
  8. Template:Cite book
  9. Template:Cite book
  10. Template:Cite book
  11. 11.0 11.1 MathWorld
  12. 12.0 12.1 Template:Cite book
  13. 13.0 13.1 Template:Cite book
  14. In his 1762 paper on sound, Lagrange treats a special case of the divergence theorem: Lagrange (1762) "Nouvelles recherches sur la nature et la propagation du son" (New researches on the nature and propagation of sound), Miscellanea Taurinensia (also known as: Mélanges de Turin ), 2: 11 – 172. This article is reprinted as: "Nouvelles recherches sur la nature et la propagation du son" in: J.A. Serret, ed., Oeuvres de Lagrange, (Paris, France: Gauthier-Villars, 1867), vol. 1, pages 151–316; on pages 263–265, Lagrange transforms triple integrals into double integrals using integration by parts.
  15. C. F. Gauss (1813) "Theoria attractionis corporum sphaeroidicorum ellipticorum homogeneorum methodo nova tractata," Commentationes societatis regiae scientiarium Gottingensis recentiores, 2: 355–378; Gauss considered a special case of the theorem; see the 4th, 5th, and 6th pages of his article.
  16. 16.0 16.1 16.2 Template:Cite journal
  17. Mikhail Ostragradsky presented his proof of the divergence theorem to the Paris Academy in 1826; however, his work was not published by the Academy. He returned to St. Petersburg, Russia, where in 1828–1829 he read the work that he'd done in France, to the St. Petersburg Academy, which published his work in abbreviated form in 1831.
    • His proof of the divergence theorem – "Démonstration d'un théorème du calcul intégral" (Proof of a theorem in integral calculus) – which he had read to the Paris Academy on February 13, 1826, was translated, in 1965, into Russian together with another article by him. See: Юшкевич А.П. (Yushkevich A.P.) and Антропова В.И. (Antropov V.I.) (1965) "Неопубликованные работы М.В. Остроградского" (Unpublished works of MV Ostrogradskii), Историко-математические исследования (Istoriko-Matematicheskie Issledovaniya / Historical-Mathematical Studies), 16: 49–96; see the section titled: "Остроградский М.В. Доказательство одной теоремы интегрального исчисления" (Ostrogradskii M. V. Dokazatelstvo odnoy teoremy integralnogo ischislenia / Ostragradsky M.V. Proof of a theorem in integral calculus).
    • M. Ostrogradsky (presented: November 5, 1828; published: 1831) "Première note sur la théorie de la chaleur" (First note on the theory of heat) Mémoires de l'Académie impériale des sciences de St. Pétersbourg, series 6, 1: 129–133; for an abbreviated version of his proof of the divergence theorem, see pages 130–131.
    • Victor J. Katz (May1979) "The history of Stokes' theorem," Template:Webarchive Mathematics Magazine, 52(3): 146–156; for Ostragradsky's proof of the divergence theorem, see pages 147–148.
  18. George Green, An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism (Nottingham, England: T. Wheelhouse, 1838). A form of the "divergence theorem" appears on pages 10–12.
  19. Other early investigators who used some form of the divergence theorem include:
    • Poisson (presented: February 2, 1824; published: 1826) "Mémoire sur la théorie du magnétisme" (Memoir on the theory of magnetism), Mémoires de l'Académie des sciences de l'Institut de France, 5: 247–338; on pages 294–296, Poisson transforms a volume integral (which is used to evaluate a quantity Q) into a surface integral. To make this transformation, Poisson follows the same procedure that is used to prove the divergence theorem.
    • Frédéric Sarrus (1828) "Mémoire sur les oscillations des corps flottans" (Memoir on the oscillations of floating bodies), Annales de mathématiques pures et appliquées (Nismes), 19: 185–211.
  20. Template:Cite book
  21. see for example:
    Template:Cite book, and
    Template:Cite book