Divergence in LaTeX (\nabla \cdot)

∇⋅\nabla \cdot
LaTeX command
\nabla \cdot
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Divergence operator, nabla dotted with a vector field, giving the net outward flux per unit volume.

Gauss's law \nabla \cdot \mathbf{E} = \rho/\varepsilon_0 and the no-monopole law \nabla \cdot \mathbf{B} = 0 are its best-known uses, and incompressible flow requires \nabla \cdot \mathbf{u} = 0. \cdot carries binary-operator spacing, which is the expected look. Use \cdot, not a period or \bullet. Some mathematical texts prefer \operatorname{div} \mathbf{F}, which avoids treating nabla as a vector. The divergence theorem links it to boundary flux: \int_V \nabla \cdot \mathbf{F}\, dV = \oint_{\partial V} \mathbf{F} \cdot d\mathbf{S}.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

∇⋅E=ρε0\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}
\documentclass{article}
\begin{document}
Divergence: $\nabla \cdot$

\[ \nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0} \]
\end{document}

Related symbols

All الفيزياء →

Frequently asked questions

How do I write Divergence in LaTeX?
Type \nabla \cdot in math mode, for example $\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$. It works in plain LaTeX without loading any package.
Which package do I need for \nabla \cdot?
None. \nabla \cdot is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \nabla \cdot in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\nabla \cdot$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث