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 Tensor Notation →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers