# Divergence Theorem

(Difference between revisions)
 Revision as of 14:44, 30 June 2009 (edit)← Previous diff Revision as of 14:57, 30 June 2009 (edit) (undo)Next diff → Line 2: Line 2: |ImageName=Fountain Flux |ImageName=Fountain Flux |Image=Fountainflux.gif |Image=Fountainflux.gif - |ImageIntro=The water flowing out of a fountain demonstrates an important property of vector fields, the Divergence Theorem. + |ImageIntro=The water flowing out of a fountain demonstrates an important theorem for vector fields, the Divergence Theorem. |ImageDescElem=Consider a fountain like the one pictured, particularly its top layer. The rate that water flows out of the fountain's spout is directly related to the amount of water that flows off the top layer. Because something like water isn't easily compressed like air, if more water is pumped out of the spout, then more water will have to flow over the boundaries of the top layer. This is essentially what The Divergence Theorem states: the total the fluid being introduced into a volume is equal to the total fluid flowing out of the boundary of the volume. |ImageDescElem=Consider a fountain like the one pictured, particularly its top layer. The rate that water flows out of the fountain's spout is directly related to the amount of water that flows off the top layer. Because something like water isn't easily compressed like air, if more water is pumped out of the spout, then more water will have to flow over the boundaries of the top layer. This is essentially what The Divergence Theorem states: the total the fluid being introduced into a volume is equal to the total fluid flowing out of the boundary of the volume. |Pre-K=No |Pre-K=No Line 29: Line 29: We begin by calculating the left side of the Divergence Theorem. We begin by calculating the left side of the Divergence Theorem. - :'''Step 1''': Calculate the divergence of the field: + :'''Step 1:''' Calculate the divergence of the field: :{{hide|1= :$\nabla\cdot F = 2x$ }} :{{hide|1= :$\nabla\cdot F = 2x$ }} - :'''Step 2''': Integrate the divergence of the field over the entire volume. + :'''Step 2:''' Integrate the divergence of the field over the entire volume. :{{hide|1= :$\iiint\nabla\cdot F\,dV =\int_0^2\int_0^2\int_0^2 2x \, dxdydz$ :{{hide|1= :$\iiint\nabla\cdot F\,dV =\int_0^2\int_0^2\int_0^2 2x \, dxdydz$ :$=\int_0^2\int_0^2 4\, dydx$ :$=\int_0^2\int_0^2 4\, dydx$ :$=16$}} :$=16$}} + + We now turn to the right side of the equation, the integral of flux. + :'''Step 3:''' We first parametrize the parts of the surface which have non-zero flux. + :{{hide|1= :Notice that the given vector field has vectors which only extend in the x-direction, since each vector has zero y and z components. Therefore, only two sides of our cube can have vectors normal to them, those sides which are perpendicular to the x-axis.$test$ }}

## Revision as of 14:57, 30 June 2009

Fountain Flux
The water flowing out of a fountain demonstrates an important theorem for vector fields, the Divergence Theorem.

# Basic Description

Consider a fountain like the one pictured, particularly its top layer. The rate that water flows out of the fountain's spout is directly related to the amount of water that flows off the top layer. Because something like water isn't easily compressed like air, if more water is pumped out of the spout, then more water will have to flow over the boundaries of the top layer. This is essentially what The Divergence Theorem states: the total the fluid being introduced into a volume is equal to the total fluid flowing out of the boundary of the volume.

# A More Mathematical Explanation

Note: understanding of this explanation requires: *Some multivariable calculus

The Divergence Theorem in its pure form applies to Vector Fields. Flowing water can be considere [...]

The Divergence Theorem in its pure form applies to Vector Fields. Flowing water can be considered a vector field because at each point the water has a position and a velocity vector. Faster moving water is represented by a larger vector in our field. The divergence of a vector field is a measurement of the expansion or contraction of the field; if more water is being introduced then the divergence is positive. Analytically divergence of a field $F$ is

$\nabla\cdot\mathbf{F} =\partial{F_x}/\partial{x} + \partial{F_y}/\partial{y} + \partial{F_z}/\partial{z}$,

where $F _i$ is the component of $F$ in the $i$ direction. Intuitively, if F has a large positive rate of change in the x direction, the partial derivative with respect to x in this direction will be large, increasing total divergence. The divergence theorem requires that we sum divergence over an entire volume. If this sum is positive, then the field must indicate some movement out of the volume through its boundary, while if this sum is negative, the field must indicate some movement into the volume through its boundary. We use the notion of flux, the flow through a surface, to quantify this movement through the boundary, which itself is a surface.

The divergence theorem is formally stated as:

$\iiint\limits_V\left(\nabla\cdot\mathbf{F}\right)dV=\iint\limits_{\partial V}\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\!\;\;\;\subset\!\supset \mathbf F\;\cdot\mathbf n\,{d}S .$

The left side of this equation is the sum of the divergence over the entire volume, and the right side of this equation is the sum of the field perpendicular to the volume's boundary at the boundary, which is the flux through the boundary.

### Example of Divergence Theorem Verification

The following example verifies that given a volume and a vector field, the Divergence Theorem is valid.

Consider the vector field $F = \begin{bmatrix} x^2 \\ 0\\ 0\\ \end{bmatrix}$.

For a volume, we will use a cube of edge length two, and vertices at (0,0,0), (2,0,0), (0,2,0), (0,0,2), (2,2,0), (2,0,2), (0,2,2), (2,2,2). This cube has a corner at the origin and all the points it contains are in positive regions.

We begin by calculating the left side of the Divergence Theorem.

Step 1: Calculate the divergence of the field:
$\nabla\cdot F = 2x$
Step 2: Integrate the divergence of the field over the entire volume.
$\iiint\nabla\cdot F\,dV =\int_0^2\int_0^2\int_0^2 2x \, dxdydz$
$=\int_0^2\int_0^2 4\, dydx$
$=16$

We now turn to the right side of the equation, the integral of flux.

Step 3: We first parametrize the parts of the surface which have non-zero flux.
Notice that the given vector field has vectors which only extend in the x-direction, since each vector has zero y and z components. Therefore, only two sides of our cube can have vectors normal to them, those sides which are perpendicular to the x-axis.$test$