Skip to content
Home

Divergence (vector calculus)

Divergence is a differential operator that assigns a scalar to each point of a vector field, quantifying net outflow or inflow. It is fundamental in fluid mechanics, electromagnetism and the divergence theorem.

Overview

In mathematics the divergence is a local operator that converts a vector field into a scalar field. Informally, divergence measures how much a small volume around a point acts as a net source (positive divergence) or sink (negative divergence) of the vector flow through it. The idea is used across many areas of applied mathematics and physics, including fluid dynamics and electromagnetism (Maxwell's equations).

Definition and notation

Given a vector field F = (F_x, F_y, F_z) defined on a region of space, the divergence is commonly written as div F or ∇·F. The symbol ∇ (nabla) denotes a differential operator related to the gradient, and the central dot indicates the dot product between that operator and the vector field. The divergence is therefore a specific composition of partial derivatives that produces a scalar value at each point.

Coordinate expressions

In Cartesian coordinates for a three-dimensional field F(x,y,z) = (F_x, F_y, F_z), the divergence has the simple form

  • div F = ∂F_x/∂x + ∂F_y/∂y + ∂F_z/∂z.

In other coordinate systems (cylindrical, spherical, or more general curvilinear coordinates) the formula includes metric factors and derivatives adapted to those coordinates; the same local meaning holds but the explicit expression changes to reflect area and volume elements.

Physical interpretation and examples

Physically, divergence describes the rate at which density flows out of or into an infinitesimal volume. For an incompressible fluid the divergence of the velocity field is zero everywhere, indicating that fluid neither accumulates nor is lost locally. In electrostatics Gauss's law relates the divergence of the electric field to the local charge density: regions of positive charge act as sources of the electric field, and regions of negative charge act as sinks.

The divergence theorem and historical notes

A central result connecting divergence to integrals is the divergence theorem (also called Gauss's theorem or the Gauss–Ostrogradsky theorem). It states that the integral of div F over a volume equals the flux of F through the volume's boundary surface. This theorem converts volume integrals to surface integrals and underpins many conservation laws and methods in partial differential equations. The theorem and the operator itself emerged from developments in classical analysis and vector calculus in the 18th and 19th centuries.

Uses, computation and distinctions

Divergence appears in conservation laws such as the continuity equation, which expresses conservation of mass or charge by relating time change of density to the divergence of a current. It is also used computationally in finite-volume and finite-element methods to discretize fluxes. Distinct from curl, which measures local rotation of a field, divergence captures expansion or contraction. When analyzing a problem it is common to compute both div and curl to characterize different aspects of a vector field's local behavior. For definitions of basic terms see mathematics, differential operator, vector and scalar.

Practical remarks

When computing divergence numerically one must respect the coordinate system and the discretization of derivatives. Singularities and discontinuities (for example point charges or shock fronts) require interpreting divergence in a distributional sense or working with weak formulations. For additional technical background and worked examples consult standard texts or online references: gradient and dot product material provide useful preliminaries as does a discussion of Maxwell's equations.

Example from physics

For example, consider a still water surface that is struck by a thin stream of oil. The motion of the oil on the surface can be described by a two-dimensional (time-dependent) vector field: At any point in time, the flow velocity of the oil is given in the form of a vector. The point where the jet meets the water surface is a "source of oil", since oil flows away from there without any inflow on the surface. The divergence at this point is positive. In contrast, a place where the oil flows away from the water basin at the edge, for example, is called a sink. The divergence at this point is negative.

Definition

Let {\displaystyle {\vec {F}}\colon \mathbb {R} ^{n}\to \mathbb {R} ^{n},(x_{1},\dots ,x_{n})\mapsto (F^{1},\dots ,F^{n})}a differentiable vector field. Then the divergence of {\vec {F}}is defined as.

{\displaystyle \operatorname {div} {\vec {F}}:=\nabla \cdot {\vec {F}}=({\tfrac {\partial }{\partial x_{1}}},\dotsc ,{\tfrac {\partial }{\partial x_{n}}})\cdot \left(F^{1},\dotsc ,F^{n}\right)={\tfrac {\partial }{\partial x_{1}}}F^{1}+\dotsb +{\tfrac {\partial }{\partial x_{n}}}F^{n}}

The divergence is the scalar product of the Nabla operator \nabla with the vector field {\vec {F}}.

Divergence is an operator on a vector field that results in a scalar field:

{\displaystyle \operatorname {div} [\cdot ]\ \colon C^{1}\left(\mathbb {R} ^{n},\mathbb {R} ^{n}\right)\to C^{0}\left(\mathbb {R} ^{n},\mathbb {R} \right)}

For the case of a three-dimensional vector field , the divergence in Cartesian coordinates is defined as\vec F(x_1,x_2,x_3).

{\displaystyle {\begin{matrix}\operatorname {div} \colon &C^{1}\left(\mathbb {R} ^{3},\mathbb {R} ^{3}\right)&\to &C^{0}\left(\mathbb {R} ^{3},\mathbb {R} \right)\\&{\vec {F}}=\left(F^{1},F^{2},F^{3}\right)&\mapsto &{\frac {\partial }{\partial x_{1}}}F^{1}+{\frac {\partial }{\partial x_{2}}}F^{2}+{\frac {\partial }{\partial x_{3}}}F^{3}\end{matrix}}}.

When writing {\displaystyle \nabla \cdot {\vec {F}}} it is important to write the multiplication point between \nabla and the vector field , {\vec {F}}since the \nabla operator would otherwise be understood as a gradient of the vector components (written {\displaystyle \nabla {\vec {F}}}).

Related articles

Author

AlegsaOnline.com Divergence (vector calculus)

URL: https://en.alegsaonline.com/art/27794

Share