Ricci Tensor in LaTeX (R_{ij})

RijR_{ij}
LaTeX command
R_{ij}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Ricci tensor: the trace of the Riemann tensor over one pair of indices, a symmetric two-index curvature quantity.

It is obtained by contraction, R_{ij} = R^k_{ikj} in a common convention, and it governs volume distortion along geodesics. Einstein's field equations read R_{\mu\nu} - \tfrac12 R g_{\mu\nu} = 8\pi G T_{\mu\nu}, and a manifold with R_{ij} = \lambda g_{ij} is called Einstein. Physicists usually index with Greek letters \mu\nu, mathematicians with Latin ij. Ricci-flat means R_{ij} = 0, the condition defining Calabi-Yau metrics. Some authors write \mathrm{Ric} for the coordinate-free tensor; \operatorname{Ric} gives the same upright text with operator spacing.

Minimal compilable example

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

Rμν−12R gμν=8πG TμνR_{\mu\nu} - \tfrac12 R\, g_{\mu\nu} = 8\pi G\, T_{\mu\nu}
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Ricci Tensor: $R_{ij}$

\[ R_{\mu\nu} - \tfrac12 R\, g_{\mu\nu} = 8\pi G\, T_{\mu\nu} \]
\end{document}

Related symbols

All Differentiaalgeometrie →

Frequently asked questions

How do I write Ricci Tensor in LaTeX?
Type R_{ij} in math mode, for example $R_{\mu\nu} - \tfrac12 R\, g_{\mu\nu} = 8\pi G\, T_{\mu\nu}$. It works in plain LaTeX without loading any package.
Which package do I need for R_{ij}?
None. R_{ij} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use R_{ij} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $R_{ij}$ in running text.
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen