Laplacian in LaTeX (\nabla^2)

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

Where it is used

Laplace operator, the sum of second partial derivatives; it measures how a function differs from its local average.

Laplace's equation \nabla^2 \phi = 0, Poisson's equation \nabla^2 \phi = -\rho/\varepsilon_0, the heat equation and the wave equation all use it. Physicists prefer \nabla^2, a reminder that it is the divergence of the gradient; mathematicians often write \Delta, which can clash with \Delta as a finite difference or change. In Cartesian coordinates \nabla^2 f = f_{xx} + f_{yy} + f_{zz}, but in curvilinear coordinates extra terms appear. For the vector Laplacian of a field, bold the operand to signal the different meaning.

Minimal compilable example

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

∇2ϕ=ϕxx+ϕyy+ϕzz=0\nabla^2 \phi = \phi_{xx} + \phi_{yy} + \phi_{zz} = 0
\documentclass{article}
\begin{document}
Laplacian: $\nabla^2$

\[ \nabla^2 \phi = \phi_{xx} + \phi_{yy} + \phi_{zz} = 0 \]
\end{document}

Related symbols

All الفيزياء →

Frequently asked questions

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

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

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

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