Partial Derivative in LaTeX (\partial_i)

∂i\partial_i
LaTeX command
\partial_i
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Shorthand for the partial derivative with respect to the coordinate x^i, also used for the coordinate basis vectors.

Writing \partial_i f instead of \frac{\partial f}{\partial x^i} keeps index-heavy formulas compact, and in geometry \partial_i also denotes the basis vector field \partial/\partial x^i. Relativity uses \partial_\mu over spacetime, with the d'Alembertian \partial_\mu\partial^\mu. Partial derivatives of tensor components are not tensors in curved coordinates; replace \partial_i with \nabla_i to fix that. A comma subscript, f_{,i}, is the traditional equivalent. Use \partial, not d or \delta, for partial derivatives. Partial derivatives commute, \partial_i\partial_j = \partial_j\partial_i, which is why coordinate fields have zero Lie bracket.

Minimal compilable example

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

∂μ∂μϕ+m2ϕ=0\partial_\mu \partial^\mu \phi + m^2 \phi = 0
\documentclass{article}
\begin{document}
Partial Derivative: $\partial_i$

\[ \partial_\mu \partial^\mu \phi + m^2 \phi = 0 \]
\end{document}

Related symbols

All Notasi Tensor →

Frequently asked questions

How do I write Partial Derivative in LaTeX?
Type \partial_i in math mode, for example $\partial_\mu \partial^\mu \phi + m^2 \phi = 0$. It works in plain LaTeX without loading any package.
Which package do I need for \partial_i?
None. \partial_i is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \partial_i in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\partial_i$ in running text.
Math poweredTulis LaTeX menggunakan AI

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