Laplacian in LaTeX (\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.
\documentclass{article}
\begin{document}
Laplacian: $\nabla^2$
\[ \nabla^2 \phi = \phi_{xx} + \phi_{yy} + \phi_{zz} = 0 \]
\end{document}Related symbols
- D'Alembertian
\Box - Nabla
\nabla - Calligraphic L (Lagrangian)
\mathcal{L} - Delta (Upper)
\Delta - Calligraphic H (Hamiltonian)
\mathcal{H} - Braket
\langle \phi | \psi \rangle
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.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI
- Hasilkan diagram TikZ yang indah menggunakan AI
- Unggah gambar dan konversi ke LaTeX dengan mulus
- Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian