Ricci Tensor in LaTeX (R_{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.
\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
- Scalar Curvature
R - Riemann Curvature
R^l_{ijk} - Metric Tensor
g_{ij} - Christoffel Symbol
\Gamma^k_{ij} - Inverse Metric
g^{ij} - Covariant Derivative
\nabla_X Y
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.
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