Hubbry Logo
DivergenceDivergenceMain
Open search
Divergence
Community hub
Divergence
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Divergence
Divergence
from Wikipedia
A vector field with diverging vectors, a vector field with converging vectors, and a vector field with parallel vectors that neither diverge nor converge
The divergence of different vector fields. The divergence of vectors from point (x,y) equals the sum of the partial derivative-with-respect-to-x of the x-component and the partial derivative-with-respect-to-y of the y-component at that point:

In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to area.) More precisely, the divergence at a point is the rate that the flow of the vector field modifies a volume about the point in the limit, as a small volume shrinks down to the point.

As an example, consider air as it is heated or cooled. The velocity of the air at each point defines a vector field. While air is heated in a region, it expands in all directions, and thus the velocity field points outward from that region. The divergence of the velocity field in that region would thus have a positive value. While the air is cooled and thus contracting, the divergence of the velocity has a negative value.

Physical interpretation of divergence

[edit]

In physical terms, the divergence of a vector field is the extent to which the vector field flux behaves like a source or a sink at a given point. It is a local measure of its "outgoingness" – the extent to which there are more of the field vectors exiting from an infinitesimal region of space than entering it. A point at which the flux is outgoing has positive divergence, and is often called a "source" of the field. A point at which the flux is directed inward has negative divergence, and is often called a "sink" of the field. The greater the flux of field through a small surface enclosing a given point, the greater the value of divergence at that point. A point at which there is zero flux through an enclosing surface has zero divergence.

The divergence of a vector field is often illustrated using the simple example of the velocity field of a fluid, a liquid or gas. A moving gas has a velocity, a speed and direction at each point, which can be represented by a vector, so the velocity of the gas forms a vector field. If a gas is heated, it will expand. This will cause a net motion of gas particles outward in all directions. Any closed surface in the gas will enclose gas which is expanding, so there will be an outward flux of gas through the surface. So the velocity field will have positive divergence everywhere. Similarly, if the gas is cooled, it will contract. There will be more room for gas particles in any volume, so the external pressure of the fluid will cause a net flow of gas volume inward through any closed surface. Therefore, the velocity field has negative divergence everywhere. In contrast, in a gas at a constant temperature and pressure, the net flux of gas out of any closed surface is zero. The gas may be moving, but the volume rate of gas flowing into any closed surface must equal the volume rate flowing out, so the net flux is zero. Thus the gas velocity has zero divergence everywhere. A field which has zero divergence everywhere is called solenoidal.

If the gas is heated only at one point or small region, or a small tube is introduced which supplies a source of additional gas at one point, the gas there will expand, pushing fluid particles around it outward in all directions. This will cause an outward velocity field throughout the gas, centered on the heated point. Any closed surface enclosing the heated point will have a flux of gas particles passing out of it, so there is positive divergence at that point. However any closed surface not enclosing the point will have a constant density of gas inside, so just as many fluid particles are entering as leaving the volume, thus the net flux out of the volume is zero. Therefore, the divergence at any other point is zero.

Definition

[edit]
The divergence at a point x is the limit of the ratio of the flux through the surface Si (red arrows) to the volume for any sequence of closed regions V1, V2, V3, … enclosing x that approaches zero volume:

The divergence of a vector field F(x) at a point x0 is defined as the limit of the ratio of the surface integral of F out of the closed surface of a volume V enclosing x0 to the volume of V, as V shrinks to zero

\oiint

where |V| is the volume of V, S(V) is the boundary of V, and is the outward unit normal to that surface. It can be shown that the above limit always converges to the same value for any sequence of volumes that contain x0 and approach zero volume. The result, div F, is a scalar function of x.

Since this definition is coordinate-free, it shows that the divergence is the same in any coordinate system. However the above definition is not often used practically to calculate divergence; when the vector field is given in a coordinate system the coordinate definitions below are much simpler to use.

A vector field with zero divergence everywhere is called solenoidal – in which case any closed surface has no net flux across it. This is the same as saying that the (flow of the) vector field preserves volume: The volume of any region does not change after it has been transported by the flow for any period of time.

Definition in coordinates

[edit]

Cartesian coordinates

[edit]

In three-dimensional Cartesian coordinates, the divergence of a continuously differentiable vector field is defined as the scalar-valued function:

Although expressed in terms of coordinates, the result is invariant under rotations, as the physical interpretation suggests. This is because the trace of the Jacobian matrix of an N-dimensional vector field F in N-dimensional space is invariant under any invertible linear transformation[clarification needed].

The common notation for the divergence ∇ · F is a convenient mnemonic, where the dot denotes an operation reminiscent of the dot product: take the components of the operator (see del), apply them to the corresponding components of F, and sum the results. Because applying an operator is different from multiplying the components, this is considered an abuse of notation.

Cylindrical coordinates

[edit]

For a vector expressed in local unit cylindrical coordinates as where ea is the unit vector in direction a, the divergence is[1]

The use of local coordinates is vital for the validity of the expression. If we consider x the position vector and the functions r(x), θ(x), and z(x), which assign the corresponding global cylindrical coordinate to a vector, in general , , and . In particular, if we consider the identity function F(x) = x, we find that:

Spherical coordinates

[edit]

In spherical coordinates, with θ the angle with the z axis and φ the rotation around the z axis, and F again written in local unit coordinates, the divergence is[2]

Tensor field

[edit]

Let A be continuously differentiable second-order tensor field defined as follows:

the divergence in cartesian coordinate system is a first-order tensor field[3] and can be defined in two ways:[4]

and[5][6][7]

We have

If tensor is symmetric Aij = Aji then . Because of this, often in the literature the two definitions (and symbols div and ) are used interchangeably (especially in mechanics equations where tensor symmetry is assumed).

Expressions of in cylindrical and spherical coordinates are given in the article del in cylindrical and spherical coordinates.

General coordinates

[edit]

Using Einstein notation we can consider the divergence in general coordinates, which we write as x1, …, xi, …, xn, where n is the number of dimensions of the domain. Here, the upper index refers to the number of the coordinate or component, so x2 refers to the second component, and not the quantity x squared. The index variable i is used to refer to an arbitrary component, such as xi. The Voss-Weyl formula,[8] which allows the divergence to be determined using simply partial coordinate derivatives, is as follows:

where is the local coefficient of the volume element and Fi are the components of with respect to the local unnormalized covariant basis (sometimes written as ). The Einstein notation implies summation over i, since it appears as both an upper and lower index.

The volume coefficient ρ is a function of position which depends on the coordinate system. In Cartesian, cylindrical and spherical coordinates, using the same conventions as before, we have ρ = 1, ρ = r and ρ = r2 sin θ, respectively. The volume can also be expressed as , where gab is the metric tensor. The determinant appears because it provides the appropriate invariant definition of the volume, given a set of vectors. Since the determinant is a scalar quantity which doesn't depend on the indices, these can be suppressed, writing . The absolute value is taken in order to handle the general case where the determinant might be negative, such as in pseudo-Riemannian spaces. The reason for the square-root is a bit subtle: it effectively avoids double-counting as one goes from curved to Cartesian coordinates, and back. The volume (the determinant) can also be understood as the Jacobian of the transformation from Cartesian to curvilinear coordinates, which for n = 3 gives .

Some conventions expect all local basis elements to be normalized to unit length, as was done in the previous sections. If we write for the normalized basis, and for the components of F with respect to it, we have that using one of the properties of the metric tensor. By dotting both sides of the last equality with the contravariant element , we can conclude that . After substituting, the formula becomes:

See § In curvilinear coordinates for further discussion.

Properties

[edit]

The following properties can all be derived from the ordinary differentiation rules of calculus. Most importantly, the divergence is a linear operator, i.e.,

for all vector fields F and G and all real numbers a and b.

There is a product rule of the following type: if φ is a scalar-valued function and F is a vector field, then

or in more suggestive notation

Another product rule for the cross product of two vector fields F and G in three dimensions involves the curl and reads as follows:

or

The Laplacian of a scalar field is the divergence of the field's gradient:

The divergence of the curl of any vector field (in three dimensions) is equal to zero:

If a vector field F with zero divergence is defined on a ball in R3, then there exists some vector field G on the ball with F = curl G. For regions in R3 more topologically complicated than this, the latter statement might be false (see Poincaré lemma). The degree of failure of the truth of the statement, measured by the homology of the chain complex

serves as a nice quantification of the complicatedness of the underlying region U. These are the beginnings and main motivations of de Rham cohomology.

Decomposition theorem

[edit]

It can be shown that any stationary flux v(r) that is twice continuously differentiable in R3 and vanishes sufficiently fast for |r| → ∞ can be decomposed uniquely into an irrotational part E(r) and a source-free part B(r). Moreover, these parts are explicitly determined by the respective source densities (see above) and circulation densities (see the article Curl):

For the irrotational part one has

with

The source-free part, B, can be similarly written: one only has to replace the scalar potential Φ(r) by a vector potential A(r) and the terms −∇Φ by +∇ × A, and the source density div v by the circulation density ∇ × v.

This "decomposition theorem" is a by-product of the stationary case of electrodynamics. It is a special case of the more general Helmholtz decomposition, which works in dimensions greater than three as well.

In arbitrary finite dimensions

[edit]

The divergence of a vector field can be defined in any finite number of dimensions. If

in a Euclidean coordinate system with coordinates x1, x2, ..., xn, define

In the 1D case, F reduces to a regular function, and the divergence reduces to the derivative.

For any n, the divergence is a linear operator, and it satisfies the "product rule"

for any scalar-valued function φ.

Relation to the exterior derivative

[edit]

One can express the divergence as a particular case of the exterior derivative, which takes a 2-form to a 3-form in R3. Define the current two-form as

It measures the amount of "stuff" flowing through a surface per unit time in a "stuff fluid" of density ρ = 1 dxdydz moving with local velocity F. Its exterior derivative dj is then given by

where is the wedge product.

Thus, the divergence of the vector field F can be expressed as:

Here the superscript is one of the two musical isomorphisms, and is the Hodge star operator. When the divergence is written in this way, the operator is referred to as the codifferential. Working with the current two-form and the exterior derivative is usually easier than working with the vector field and divergence, because unlike the divergence, the exterior derivative commutes with a change of (curvilinear) coordinate system.

In curvilinear coordinates

[edit]

The appropriate expression is more complicated in curvilinear coordinates. The divergence of a vector field extends naturally to any differentiable manifold of dimension n that has a volume form (or density) μ, e.g. a Riemannian or Lorentzian manifold. Generalising the construction of a two-form for a vector field on R3, on such a manifold a vector field X defines an (n − 1)-form j = iXμ obtained by contracting X with μ. The divergence is then the function defined by

The divergence can be defined in terms of the Lie derivative as

This means that the divergence measures the rate of expansion of a unit of volume (a volume element) as it flows with the vector field.

On a pseudo-Riemannian manifold, the divergence with respect to the volume can be expressed in terms of the Levi-Civita connection :

where the second expression is the contraction of the vector field valued 1-form X with itself and the last expression is the traditional coordinate expression from Ricci calculus.

An equivalent expression without using a connection is

where g is the metric and denotes the partial derivative with respect to coordinate xa. The square-root of the (absolute value of the determinant of the) metric appears because the divergence must be written with the correct conception of the volume. In curvilinear coordinates, the basis vectors are no longer orthonormal; the determinant encodes the correct idea of volume in this case. It appears twice, here, once, so that the can be transformed into "flat space" (where coordinates are actually orthonormal), and once again so that is also transformed into "flat space", so that finally, the "ordinary" divergence can be written with the "ordinary" concept of volume in flat space (i.e. unit volume, i.e. one, i.e. not written down). The square-root appears in the denominator, because the derivative transforms in the opposite way (contravariantly) to the vector (which is covariant). This idea of getting to a "flat coordinate system" where local computations can be done in a conventional way is called a vielbein. A different way to see this is to note that the divergence is the codifferential in disguise. That is, the divergence corresponds to the expression with the differential and the Hodge star. The Hodge star, by its construction, causes the volume form to appear in all of the right places.

The divergence of tensors

[edit]

Divergence can also be generalised to tensors. In Einstein notation, the divergence of a contravariant vector Fμ is given by

where μ denotes the covariant derivative. In this general setting, the correct formulation of the divergence is to recognize that it is a codifferential; the appropriate properties follow from there.

Equivalently, some authors define the divergence of a mixed tensor by using the musical isomorphism : if T is a (p, q)-tensor (p for the contravariant vector and q for the covariant one), then we define the divergence of T to be the (p, q − 1)-tensor

that is, we take the trace over the first two covariant indices of the covariant derivative.[a] The symbol refers to the musical isomorphism.

See also

[edit]

Notes

[edit]

Citations

[edit]
  1. ^ Cylindrical coordinates at Wolfram Mathworld
  2. ^ Spherical coordinates at Wolfram Mathworld
  3. ^ Gurtin 1981, p. 30.
  4. ^ "1.14 Tensor Calculus I: Tensor Fields" (PDF). Foundations of Continuum Mechanics. Archived (PDF) from the original on 2013-01-08.
  5. ^ William M. Deen (2016). Introduction to Chemical Engineering Fluid Mechanics. Cambridge University Press. p. 133. ISBN 978-1-107-12377-9.
  6. ^ Tasos C. Papanastasiou; Georgios C. Georgiou; Andreas N. Alexandrou (2000). Viscous Fluid Flow (PDF). CRC Press. p. 66,68. ISBN 0-8493-1606-5. Archived (PDF) from the original on 2020-02-20.
  7. ^ Adam Powell (12 April 2010). "The Navier-Stokes Equations" (PDF).
  8. ^ Grinfeld, Pavel (16 April 2014). "The Voss-Weyl Formula (Youtube link)". YouTube. Archived from the original on 2021-12-11. Retrieved 9 January 2018.

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In , divergence is a that acts on a to produce a , quantifying the net rate at which the field emanates from or converges toward a point in space. For a vector field F=(P,Q,R)\mathbf{F} = (P, Q, R) in three-dimensional Cartesian coordinates, the divergence is defined as F=Px+Qy+Rz\nabla \cdot \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}, where \nabla denotes the operator. This operation captures the local expansion (positive divergence) or contraction (negative divergence) of the field, analogous to sources or sinks in a fluid flow. Physically, divergence interprets vector fields as representing flows, such as in fluids or in , where a positive value indicates a net outflow and zero divergence implies an incompressible or source-free field. In applications, it underpins key principles like in , stating that the divergence of the equals the free (D=ρf\nabla \cdot \mathbf{D} = \rho_f), enabling calculations of field strengths from charge distributions. Similarly, in fluid dynamics, the (ρv)=ρt\nabla \cdot (\rho \mathbf{v}) = -\frac{\partial \rho}{\partial t} uses divergence to describe mass conservation, where ρ\rho is and v\mathbf{v} is . The concept is to the divergence theorem, also known as Gauss's theorem or Ostrogradsky's theorem, which relates the volume of the divergence over a region to the surface of the field flux through its boundary: V(F)dV=SFdS\iiint_V (\nabla \cdot \mathbf{F}) \, dV = \iint_S \mathbf{F} \cdot d\mathbf{S}. First articulated by in 1762 and rigorously proved by in 1813 and Mikhail Ostrogradsky in 1826, this theorem unifies local and global properties of fields and finds extensive use in deriving conservation laws across physics and . Beyond classical applications, divergence appears in modern contexts like and , where it helps model curvature effects on field propagation.

Overview and Physical Interpretation

Intuitive Concept

Divergence quantifies the extent to which a spreads out from or converges toward a particular point in space, serving as a scalar measure of the field's "outflowing-ness" at that location. Conceptually, it represents the net of the field through an infinitesimal volume surrounding the point, divided by that volume—essentially capturing how much more field lines are emanating outward than entering inward per unit volume. This provides a local indicator of expansion or contraction within the field. A helpful analogy arises when viewing the vector field as representing the velocity of fluid particles: positive divergence at a point signals a source, where fluid is emerging or spreading outward, tending to decrease local density; conversely, negative divergence indicates a sink, where fluid converges, tending to increase local density. For instance, in a simple two-dimensional radial field like v=(x,y)\mathbf{v} = (x, y), the vectors point away from the origin with increasing magnitude, illustrating outward spreading and positive divergence everywhere, akin to fluid emanating uniformly from every point. This intuitive notion emerged in the late as part of the foundational development of vector analysis, primarily through the independent work of and , who formalized operators like divergence to describe physical fields such as . Their contributions integrated earlier scalar theorems into a cohesive vector framework, emphasizing divergence's role in measuring local sources. This local perspective complements the , which extends it globally by linking the volume integral of divergence to the surface flux.

Physical Significance

In physical contexts, the divergence of a vector field measures the net flux emanating from or converging into a point, effectively quantifying the presence of sources or sinks within the field. This interpretive role makes divergence a fundamental tool for describing how quantities like charge, mass, or energy are created or destroyed locally in various physical systems. In electrostatics, Gauss's law establishes that the divergence of the electric field E\mathbf{E} is proportional to the local charge density ρ\rho, given by E=ρ/ϵ0\nabla \cdot \mathbf{E} = \rho / \epsilon_0, where ϵ0\epsilon_0 is the vacuum permittivity; this relation directly links the field's divergence to the distribution of electric charges as sources. Similarly, in magnetostatics, the divergence of the magnetic field B\mathbf{B} is zero, B=0\nabla \cdot \mathbf{B} = 0, implying the absence of magnetic monopoles and that magnetic field lines form closed loops without beginning or ending at isolated points. In , the expresses mass conservation as ρt+(ρv)=0\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{v}) = 0, where ρ\rho is and v\mathbf{v} is ; for incompressible flows with constant , this simplifies to v=0\nabla \cdot \mathbf{v} = 0, indicating no local sources or sinks of fluid volume. In heat conduction, the divergence of the vector q\mathbf{q} governs the rate of change via ρcTt=q\rho c \frac{\partial T}{\partial t} = -\nabla \cdot \mathbf{q}, where cc is and TT is ; since q=kT\mathbf{q} = -k \nabla T by Fourier's law, positive divergence of q\mathbf{q} corresponds to local cooling, while negative divergence indicates heating. Fields with zero divergence, known as solenoidal fields, exhibit no net sources or sinks and are prevalent in scenarios like incompressible flows or , contrasting with irrotational fields, which have zero curl (×F=0\nabla \times \mathbf{F} = 0) and can be derived from a , as seen in .

Mathematical Definition

Formal Definition

In , the divergence of a F:R3R3\mathbf{F}: \mathbb{R}^3 \to \mathbb{R}^3 at a point p\mathbf{p} is rigorously defined as the limiting value of the net flux of F\mathbf{F} across the closed boundary surface of a small enclosing p\mathbf{p}, normalized by the volume of that region, as the region contracts to the single point p\mathbf{p}. This flux-based definition captures the local "source strength" or net outflow of the field at p\mathbf{p}, assuming F\mathbf{F} is continuously differentiable in a neighborhood of p\mathbf{p}. The construction presupposes familiarity with the computation of surface integrals over oriented closed surfaces. Mathematically, for a small VV containing p\mathbf{p} with boundary surface V\partial V oriented by the unit normal n\mathbf{n}, divF(p)=limV{p}1VVFndS,\operatorname{div} \mathbf{F}(\mathbf{p}) = \lim_{V \to \{\mathbf{p}\}} \frac{1}{|V|} \oint_{\partial V} \mathbf{F} \cdot \mathbf{n} \, dS, where V|V| denotes the of VV and the represents the total out of VV. This yields a scalar value at each point p\mathbf{p}, so the divergence divF\operatorname{div} \mathbf{F} is itself a on the domain of F\mathbf{F}. By the divergence theorem, the surface integral equals the volume integral of the divergence itself over VV, so the definition is equivalently divF(p)=limV{p}1VVdivFdV.\operatorname{div} \mathbf{F}(\mathbf{p}) = \lim_{V \to \{\mathbf{p}\}} \frac{1}{|V|} \int_V \operatorname{div} \mathbf{F} \, dV. This equivalence underscores the coordinate-free nature of the concept, though the flux form provides the primary motivation. The divergence is invariant under coordinate transformations because its primary definition is coordinate-free: the limit as volume approaches zero of the net flux through the bounding surface divided by the volume. This geometric definition depends only on the physical space and the vector field, not on the choice of coordinates. The expressions in specific coordinate systems (Cartesian, curvilinear, etc.) are derived to yield the same scalar value at each point, ensuring consistency. For linear transformations (including rotations), this follows from the invariance of the trace of the Jacobian matrix under similarity transformations. The flux-based geometric interpretation further reinforces this invariance. The limit holds for suitably shrinking regions such as cubes with faces parallel to the coordinate planes or spheres centered at p\mathbf{p}; for a sphere SS of radius r0r \to 0 bounding the ball of volume VV, divF(p)=limr01VSFdS.\operatorname{div} \mathbf{F}(\mathbf{p}) = \lim_{r \to 0} \frac{1}{|V|} \oint_S \mathbf{F} \cdot d\mathbf{S}. A similar expression applies when using a cube, where the flux is summed over opposite face pairs.

Geometric Interpretation

The geometric interpretation of divergence provides an intuitive understanding of how a vector field F\mathbf{F} behaves locally at a point, by considering the net flux through the boundary of a small volume element surrounding that point. For a tiny parallelepiped with volume ΔV\Delta V, the divergence F\nabla \cdot \mathbf{F} at the center is approximated by the net flux out of the parallelepiped divided by its volume: F1ΔVVFdA,\nabla \cdot \mathbf{F} \approx \frac{1}{\Delta V} \oint_{\partial V} \mathbf{F} \cdot d\mathbf{A}, where the surface integral represents the total outward flux, which can be decomposed into contributions from opposite faces. On each pair of opposite faces, the difference in the normal components of F\mathbf{F} (outward minus inward) scaled by the face area yields terms that, when summed and divided by ΔV\Delta V, lead to the sum of the partial derivatives of the components of F\mathbf{F} in the respective directions. This approximation forms the basis for the formal definition of divergence as the limit of this ratio as the volume shrinks to zero. This definition is inherently invariant under changes of coordinate system, as it relies on the intrinsic geometric quantities of flux through a closed surface and the enclosed volume, which are independent of the choice of coordinate system. This flux-based view illustrates divergence as a measure of the expansion or contraction of volume elements within the field. If F>0\nabla \cdot \mathbf{F} > 0 at a point, field lines are spreading outward, causing a small volume element to expand as if fluid is being sourced there; conversely, F<0\nabla \cdot \mathbf{F} < 0 indicates contraction, as field lines converge, compressing the element; and F=0\nabla \cdot \mathbf{F} = 0 implies no net change in volume, with inflow balancing outflow. For visualization, consider a small sphere in a radially outward field like F=(x,y,z)\mathbf{F} = (x, y, z): the longer field vectors on the outer surface result in greater outward flux than inward flux on the inner parts, signaling expansion. In the context of coordinate transformations, divergence connects to the Jacobian determinant of the transformation, as it quantifies the local scaling of volumes under the field's flow map. Specifically, F\nabla \cdot \mathbf{F} equals the trace of the Jacobian matrix of F\mathbf{F}, which approximates the relative change in volume for infinitesimal displacements along the field, independent of the coordinate system used. Representative examples highlight this behavior: a uniform field, such as F=(1,0,0)\mathbf{F} = (1, 0, 0), exhibits zero divergence everywhere, as there is no expansion or contraction of volume elements, with parallel field lines maintaining constant spacing. In contrast, a linear field like F=(x,y,z)\mathbf{F} = (x, y, z) has constant positive divergence of 3, reflecting uniform expansion of volume elements as field lines radiate outward from the origin.

Coordinate Expressions

Cartesian Coordinates

In rectangular Cartesian coordinates, the divergence of a vector field F=P(x,y,z)i+Q(x,y,z)j+R(x,y,z)k\mathbf{F} = P(x, y, z) \mathbf{i} + Q(x, y, z) \mathbf{j} + R(x, y, z) \mathbf{k} is given by divF=Px+Qy+Rz,\operatorname{div} \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}, assuming F\mathbf{F} is continuously differentiable. This expression represents the simplest form of divergence, applicable in three-dimensional Euclidean space R3\mathbb{R}^3 where the coordinates are orthogonal with constant scale factors of unity. The formula arises from the physical interpretation of divergence as the net flux of F\mathbf{F} per unit volume through an infinitesimal region. To derive it, consider a small rectangular box centered at a point (x,y,z)(x, y, z) with edge lengths Δx\Delta x, Δy\Delta y, and Δz\Delta z, aligned with the coordinate axes. The total outward flux through the six faces of this box is approximated by summing the contributions from opposite pairs of faces. For the faces perpendicular to the xx-axis (parallel to the yzyz-plane), the flux is [P(x+Δx2,y,z)P(xΔx2,y,z)]ΔyΔz[P(x + \frac{\Delta x}{2}, y, z) - P(x - \frac{\Delta x}{2}, y, z)] \Delta y \Delta z; similar expressions hold for the yy- and zz-directions, yielding a total flux of [P(x+Δx2,y,z)P(xΔx2,y,z)]ΔyΔz+[Q(x,y+Δy2,z)Q(x,yΔy2,z)]ΔxΔz+[R(x,y,z+Δz2)R(x,y,zΔz2)]ΔxΔy.[P(x + \frac{\Delta x}{2}, y, z) - P(x - \frac{\Delta x}{2}, y, z)] \Delta y \Delta z + [Q(x, y + \frac{\Delta y}{2}, z) - Q(x, y - \frac{\Delta y}{2}, z)] \Delta x \Delta z + [R(x, y, z + \frac{\Delta z}{2}) - R(x, y, z - \frac{\Delta z}{2})] \Delta x \Delta y. Dividing by the volume ΔV=ΔxΔyΔz\Delta V = \Delta x \Delta y \Delta z and taking the limit as Δx,Δy,Δz0\Delta x, \Delta y, \Delta z \to 0 produces the partial derivatives sum, as the differences become the definitions of the partial derivatives. This derivation assumes the box shrinks to a point while maintaining alignment with the Cartesian axes, ensuring the limit captures the local behavior of F\mathbf{F}. As an illustrative example, for the vector field F=xi+yj+zk\mathbf{F} = x \mathbf{i} + y \mathbf{j} + z \mathbf{k}, the divergence is divF=xx+yy+zz=1+1+1=3\operatorname{div} \mathbf{F} = \frac{\partial x}{\partial x} + \frac{\partial y}{\partial y} + \frac{\partial z}{\partial z} = 1 + 1 + 1 = 3, indicating uniform expansion at every point. This case geometrically corresponds to the limit of flux through a shrinking parallelepiped in the box derivation.

Cylindrical and Spherical Coordinates

In cylindrical coordinates (ρ,ϕ,z)(\rho, \phi, z), the divergence of a vector field F=Fρρ^+Fϕϕ^+Fzz^\mathbf{F} = F_\rho \hat{\rho} + F_\phi \hat{\phi} + F_z \hat{z} is given by F=1ρ(ρFρ)ρ+1ρFϕϕ+Fzz.(1)\nabla \cdot \mathbf{F} = \frac{1}{\rho} \frac{\partial (\rho F_\rho)}{\partial \rho} + \frac{1}{\rho} \frac{\partial F_\phi}{\partial \phi} + \frac{\partial F_z}{\partial z}. \tag{1} This expression accounts for the scale factors in the coordinate system, where the radial distance ρ\rho affects the area elements in the ρ\rho-ϕ\phi plane. The derivation follows from the definition of divergence as the limit of flux through a small volume element divided by its volume. For a cylindrical pillbox with dimensions dρd\rho, ρdϕ\rho d\phi, and dzdz, the net flux includes contributions from the curved side where the area scales with ρdϕdz\rho d\phi dz, leading to the 1ρ(ρFρ)ρ\frac{1}{\rho} \frac{\partial (\rho F_\rho)}{\partial \rho} term after accounting for the varying circumference; the azimuthal face contributes 1ρFϕϕ\frac{1}{\rho} \frac{\partial F_\phi}{\partial \phi} due to the arc length ρdϕ\rho d\phi; and the end caps yield Fzz\frac{\partial F_z}{\partial z}. Dividing by the volume ρdρdϕdz\rho d\rho d\phi dz and taking the limit yields equation (1). In spherical coordinates (r,θ,ϕ)(r, \theta, \phi), the divergence of F=Frr^+Fθθ^+Fϕϕ^\mathbf{F} = F_r \hat{r} + F_\theta \hat{\theta} + F_\phi \hat{\phi} is F=1r2(r2Fr)r+1rsinθ(sinθFθ)θ+1rsinθFϕϕ.(2)\nabla \cdot \mathbf{F} = \frac{1}{r^2} \frac{\partial (r^2 F_r)}{\partial r} + \frac{1}{r \sin \theta} \frac{\partial (\sin \theta F_\theta)}{\partial \theta} + \frac{1}{r \sin \theta} \frac{\partial F_\phi}{\partial \phi}. \tag{2} The scale factors here incorporate the radial expansion r2r^2 for spherical surfaces and the sinθ\sin \theta for latitudinal variations. This formula derives from flux considerations over a small spherical volume element with sides drdr, rdθr d\theta, and rsinθdϕr \sin \theta d\phi. The radial flux through concentric shells scales with area r2sinθdθdϕr^2 \sin \theta d\theta d\phi, resulting in 1r2(r2Fr)r\frac{1}{r^2} \frac{\partial (r^2 F_r)}{\partial r} after normalization by volume r2sinθdrdθdϕr^2 \sin \theta dr d\theta d\phi; the polar face contributes 1rsinθ(sinθFθ)θ\frac{1}{r \sin \theta} \frac{\partial (\sin \theta F_\theta)}{\partial \theta} due to the varying sinθ\sin \theta in the azimuthal circumference; and the azimuthal term arises similarly from rsinθdϕr \sin \theta d\phi. The limit as the element shrinks confirms equation (2). A representative example is the gravitational field of a point mass MM at the origin, g=GMr2r^\mathbf{g} = -\frac{GM}{r^2} \hat{r}, where GG is the gravitational constant. In spherical coordinates, only the radial component is nonzero, so g=1r2r(r2(GMr2))=1r2(GM)r=0\nabla \cdot \mathbf{g} = \frac{1}{r^2} \frac{\partial}{\partial r} \left( r^2 \left( -\frac{GM}{r^2} \right) \right) = \frac{1}{r^2} \frac{\partial (-GM)}{\partial r} = 0 for r>0r > 0, consistent with , g=4πGρ\nabla \cdot \mathbf{g} = -4\pi G \rho, where ρ=0\rho = 0 away from the mass (the singularity at r=0r=0 integrates to the delta function source)./02%3A_Review_of_Newtonian_Mechanics/2.14%3A_Newtons_Law_of_Gravitation)

General Curvilinear Coordinates

In orthogonal (u1,u2,u3)(u_1, u_2, u_3), the divergence of a F=F1e^1+F2e^2+F3e^3\mathbf{F} = F_1 \hat{\mathbf{e}}_1 + F_2 \hat{\mathbf{e}}_2 + F_3 \hat{\mathbf{e}}_3 accounts for the non-uniform spacing of coordinate surfaces through scale factors hih_i, which measure the along each coordinate direction. These scale factors are defined as hi=ruih_i = \left| \frac{\partial \mathbf{r}}{\partial u_i} \right|
Add your contribution
Related Hubs
User Avatar
No comments yet.