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 ترميز التنسور →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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