# Divergence

**Divergence** is an operator in vector calculus that measures, at each point of a vector field, the net outflow of the field per unit volume: written \( \nabla \cdot \mathbf{F} \), it is positive where the field acts as a source, negative where it acts as a sink, and zero where flow is locally volume preserving. Together with the gradient and the curl, it is one of the standard differential operators of three-dimensional vector calculus, and it is the quantity integrated in the divergence theorem.

| Key fact | Detail |
|---|---|
| Definition | The divergence of \( \mathbf{F} \) at a point \( P \) is the flux of \( \mathbf{F} \) per unit volume leaving a small box around \( P \)<sup>[1](https://books.physics.oregonstate.edu/GSF/divergence.html)</sup> |
| Zero divergence | A field with zero divergence is locally volume preserving; in fluid mechanics this is the incompressibility condition<sup>[2](https://knowledge.uchicago.edu/record/10146/files/Itani_uchicago_0330D_17264.pdf)</sup> |
| Historical origin | Cartesian coordinate form developed 1813–1875 by George Green, Carl F. Gauss, and M. V. Ostrogradskii; vector form 1880–1901 by Oliver Heaviside and Josiah W. Gibbs<sup>[3](https://www.sciencedirect.com/science/article/pii/0315086078902124)</sup> |
| Naming | Maxwell called the quantity the "convergence", with the opposite sign to the modern divergence<sup>[4](https://www.siam.org/publications/siam-news/articles/the-curious-history-of-vectors-and-tensors/)</sup> |
| Central application | Conservation laws: the continuity equation \( \nabla \cdot \mathbf{J} + d\rho/dt = 0 \) is derived with the divergence theorem<sup>[5](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Physics_9C__Electricity_and_Magnetism/3%3A_Direct_Current_Circuits/3.1%3A_Moving_Charge)</sup> |

## Definition and geometric meaning

The divergence is defined through flux, the amount of a vector field passing outward through a surface. At any point \( P \), the divergence of a vector field \( \mathbf{F} \), written \( \nabla \cdot \mathbf{F} \), is the flux of \( \mathbf{F} \) per unit volume leaving a small box around \( P \)<sup>[1](https://books.physics.oregonstate.edu/GSF/divergence.html)</sup>. Equivalently, it is the flux density of the field<sup>[6](https://www.math.toronto.edu/~ila/Calculus_Single_And_Multivariable.pdf)</sup>.

In Cartesian coordinates this limit becomes the sum of the three partial derivatives:

\[ \nabla \cdot \mathbf{F} = \frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z}. \]

The operator generalizes to curvilinear coordinates such as cylindrical and spherical systems, where the formulas acquire extra geometric factors from the coordinate scale; the value of the divergence at a point is the same in any coordinate system<sup>[7](https://www.physics.uoguelph.ca/chapter-1-curvilinear-coordinates)</sup>.

## The divergence theorem

\[ \int_V \left( \nabla \cdot \mathbf{F} \right) dV = \oint_S \mathbf{F} \cdot \hat{\mathbf{n}} \, dS, \]

The theorem is a workhorse of physics. It converts [Gauss's law](https://www.edgepedia.org/gausss-law) between integral and differential form, underlies [Green's identities](https://www.edgepedia.org/greens-identities), and is used to derive [Laplace's equation](https://www.edgepedia.org/laplaces-equation)<sup>[9](https://data.cardiff.ac.uk/legacy/grails/module/PX2131/13A.html)</sup>. It also permits rewriting continuum equations in conservative, or flux, form, which permits integration over a control volume and identifies exactly what crosses the boundary; this form is the natural language for shocks, jump conditions, and global conservation laws<sup>[10](https://magnetohydrodynamics.physics.wisc.edu/lecture1.html)</sup>.

## Conservation laws and the continuity equation

The most widespread application is the continuity equation, the differential statement of a conservation law. For electric charge, the rate at which charge flows out of a closed volume equals the flux of current density \( \mathbf{J} \) through its surface. Setting this flux equal to the rate of decrease of the enclosed charge \( \rho \) and applying the divergence theorem gives<sup>[5](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Physics_9C__Electricity_and_Magnetism/3%3A_Direct_Current_Circuits/3.1%3A_Moving_Charge)</sup>:

\[ \nabla \cdot \mathbf{J} + \frac{d\rho}{dt} = 0. \]

This equation declares that charge is neither created nor destroyed, and the same relation appears wherever a conservation principle applies, including fluid mechanics, where the current is a different kind of flow<sup>[5](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Physics_9C__Electricity_and_Magnetism/3%3A_Direct_Current_Circuits/3.1%3A_Moving_Charge)</sup>. For a fluid of density \( \rho \) moving with velocity \( \mathbf{u} \), mass conservation takes the form \( \partial \rho / \partial t + \nabla \cdot (\rho \mathbf{u}) = 0 \)<sup>[10](https://magnetohydrodynamics.physics.wisc.edu/lecture1.html)</sup>. When the divergence of the velocity field is zero, the flow is incompressible<sup>[2](https://knowledge.uchicago.edu/record/10146/files/Itani_uchicago_0330D_17264.pdf)</sup>.

## History

The theorem and the operator it contains took nearly a century to reach modern form. A history of the divergence theorem traces its three-dimensional development from 1813 to 1901 in two stages: a Cartesian coordinate form (1813–1875) due to George Green, Carl F. Gauss, and M. V. Ostrogradskii, followed by a vector form (1880–1901) due to [Oliver Heaviside](https://www.edgepedia.org/oliver-heaviside) and Josiah W. Gibbs<sup>[3](https://www.sciencedirect.com/science/article/pii/0315086078902124)</sup>.

The vector form emerged from the quarrel over quaternions. [William Rowan Hamilton](https://www.edgepedia.org/william-rowan-hamilton)'s quaternion product contained, in its scalar and vector parts, the negative of what are now the dot product and cross product<sup>[4](https://www.siam.org/publications/siam-news/articles/the-curious-history-of-vectors-and-tensors/)</sup>. [James Clerk Maxwell](https://www.edgepedia.org/james-clerk-maxwell), in collaboration with [Peter Guthrie Tait](https://www.edgepedia.org/peter-guthrie-tait), and later Oliver Heaviside, formulated the algebra and calculus of vectors, including vector fields, the operator \( \vec{\nabla} \), the divergence, the gradient, the curl, and the Laplacian, much as they are taught today<sup>[4](https://www.siam.org/publications/siam-news/articles/the-curious-history-of-vectors-and-tensors/)</sup>.

Maxwell's own name for the quantity was different and opposite in sign. Both Stokes's theorem and the divergence theorem appeared in the opening chapter of his *Treatise on Electricity and Magnetism* and were used throughout the work. Writing in quaternion notation, Maxwell applied \( \nabla \) to a vector \( \sigma = X\mathbf{i} + Y\mathbf{j} + Z\mathbf{k} \) and named the scalar part of the result the convergence of \( \sigma \) and the vector part the curl; his convergence is the negative of the modern divergence<sup>[11](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup>. The pure vector form of these theorems finally appeared in Gibbs's work near the end of the century<sup>[11](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup>.

Heaviside, born in London in 1850, was a former telegraph operator who taught himself advanced mathematics and physics. His two core contributions were a fully worked-out theory of vector analysis, treating vectors as objects in three-dimensional space representable by a single letter and independent of any coordinate system, and a radical simplification of [Maxwell's equations](https://www.edgepedia.org/maxwells-equations)<sup>[12](https://buzzrag.com/article/history-of-divergence-and-curl-vector-analysis)</sup>.

## Place in vector calculus

Divergence belongs to a trio of operators defined on vector fields. The gradient maps a scalar field to its direction of steepest increase, the curl measures rotation, and the divergence measures outflow; the Laplacian is the divergence of the gradient<sup>[4](https://www.siam.org/publications/siam-news/articles/the-curious-history-of-vectors-and-tensors/)</sup><sup> • </sup><sup>[9](https://data.cardiff.ac.uk/legacy/grails/module/PX2131/13A.html)</sup>. The divergence theorem and Stokes's theorem are the two integral theorems of the standard multivariable calculus course, and both are presented alongside Gauss's law and [Green's theorem](https://www.edgepedia.org/greens-theorem) in physics curricula on fields and flows<sup>[9](https://data.cardiff.ac.uk/legacy/grails/module/PX2131/13A.html)</sup>. In electromagnetism, electrostatics, magnetostatics, and fluid mechanics, the divergence of the relevant field carries the physics: Gauss's law in differential form, the solenoidal character of the magnetic field, and incompressibility are all statements that a particular divergence vanishes or equals a source density<sup>[9](https://data.cardiff.ac.uk/legacy/grails/module/PX2131/13A.html)</sup>.

## References

1. [The Definition of Divergence, Oregon State University physics text](https://books.physics.oregonstate.edu/GSF/divergence.html)
2. [Continuity equation in fluid mechanics, University of Chicago dissertation](https://knowledge.uchicago.edu/record/10146/files/Itani_uchicago_0330D_17264.pdf)
3. [Charles H. Stolze, "A history of the divergence theorem", Historia Mathematica 5(4), 437–442 (1978)](https://www.sciencedirect.com/science/article/pii/0315086078902124)
4. [The Curious History of Vectors and Tensors, SIAM News](https://www.siam.org/publications/siam-news/articles/the-curious-history-of-vectors-and-tensors/)
5. [Moving Charge, Physics LibreTexts, University of California Davis](https://phys.libretexts.org/Courses/University_of_California_Davis/UCD%3A_Physics_9C__Electricity_and_Magnetism/3%3A_Direct_Current_Circuits/3.1%3A_Moving_Charge)
6. [19.3 The Divergence of a Vector Field, University of Toronto calculus text](https://www.math.toronto.edu/~ila/Calculus_Single_And_Multivariable.pdf)
7. [Chapter 1: Curvilinear Coordinates, University of Guelph Physics](https://www.physics.uoguelph.ca/chapter-1-curvilinear-coordinates)
8. [A research-informed graphical tool to visually approach Gauss' and Stokes' theorems, arXiv:2401.10599](https://arxiv.org/abs/2401.10599)
9. [PX2131: The Physics of Fields and Flows, Cardiff University module syllabus](https://data.cardiff.ac.uk/legacy/grails/module/PX2131/13A.html)
10. [Foundations of MHD, University of Wisconsin–Madison](https://magnetohydrodynamics.physics.wisc.edu/lecture1.html)
11. [A history of mathematics, Chapter 22: Analysis in the Nineteenth Century, McGill University](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)
12. [The Messy, Brilliant History of Divergence and Curl, BuzzRAG](https://buzzrag.com/article/history-of-divergence-and-curl-vector-analysis)

---
*Topic: Encyclopedia › Physical world and mathematics › Mathematics and statistics › Analysis and mathematical models › Multivariable and vector calculus*

*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

*Copyright 2026 EdgeChat AI, a subsidiary of Biostate AI.*

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license
