The LaTeX command for divergence is \nabla \cdot (divergence).
\nabla \cdotWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \nabla \cdot inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
The physics and siunitx packages offer shortcuts for many formulas, but \nabla \cdot works in plain LaTeX.
Open this example in the live preview: it renders as you type, with no compiler and no signup.
\text{\AA}^\circ\mathrm{C}\infty\dagger\hbar\nabla\nabla^2\nabla \times\partial\dot{x}\ddot{x}\langle \psi || \psi \rangle\langle \phi | \psi \ranglePhysics symbols in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \nabla \cdot in math mode; it needs no extra package. For example, $\nabla \cdot$.
None: \nabla \cdot is built into LaTeX, so no extra package is required.