Tensor Densities and Weights

A smooth manifold, on its own, has no notion of volume. Coordinates are labels, not rulers, and a bare multiple integral ∫f dnx\int f\,\mathrm{d}^nx answers to the labels: change chart and it changes by the Jacobian of the transformation. Yet physics is full of integrals that must not depend on the chart — the total charge in a region, the action whose stationary points are Einstein's equations, the number of particles in a box. The resolution is a class of geometric objects that are almost tensors but carry, in addition to the usual index machinery, definite powers of the coordinate Jacobian determinant. These are the tensor densities, and the exponent ww they carry is the weight. Far from being curiosities, the three most load-bearing objects in the integral calculus of a manifold are densities: the Levi-Civita alternating symbol, the determinant gg of the metric, and the volume factor −g\sqrt{-g} that turns coordinate cells into proper volume. The story begins with the tensor transformation law — one factor of ∂x/∂x′\partial x/\partial x' per lower index, one factor of ∂x′/∂x\partial x'/\partial x per upper index — established for general tensors, atlases, and the metric line element in the articles this one builds on. A density simply appends one more factor, a power of the Jacobian determinant, to that law. Setting the weight to zero recovers an ordinary tensor, so tensors are the weight-zero members of a far larger family. The whole subject is then bookkeeping in a single integer: weights add under multiplication, survive contraction untouched, and shift by one every time you multiply or divide by −g\sqrt{-g}. Master that ledger and the invariant volume element, the covariant divergence, Gauss's theorem, and the Einstein–Hilbert action all fall out as special cases.

Key takeaways
  • A tensor density of weight ww transforms like a tensor except for one extra factor J−w\mathcal{J}^{-w}, where J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x) is the Jacobian of the coordinate change; weight w=0w=0 is an ordinary tensor.
  • The volume factor −g\sqrt{-g} is a scalar density of weight +1+1: it is exactly the object whose integral ∫f dnx\int\mathfrak{f}\,\mathrm{d}^nx is chart-independent, and the metric determinant g=det⁡gμνg=\det g_{\mu\nu} has weight +2+2.
  • The Levi-Civita symbol ϵμνρσ\epsilon_{\mu\nu\rho\sigma} (fixed components ±1,0\pm1,0 in every chart) is a density of weight −1-1; multiplying by −g\sqrt{-g} cancels the weight and produces the genuine Levi-Civita tensor εμνρσ\varepsilon_{\mu\nu\rho\sigma}.
  • Within one convention the ledger is rigid: −g\sqrt{-g} and gg share the sign of their weight, the covariant symbol carries the opposite sign, and −g\sqrt{-g} is the universal weight-shifting unit.
  • Covariant differentiation of a weight-ww density gains one term − w Γλλμ-\,w\,\Gamma^{\lambda}{}_{\lambda\mu}, and the contracted connection obeys Γλλμ=∂μln⁡−g\Gamma^{\lambda}{}_{\lambda\mu}=\partial_\mu\ln\sqrt{-g}, which collapses ∇μVμ\nabla_\mu V^{\mu} into an ordinary divergence.
  • Key idea: append one factor of J−w=(det⁡∂x′/∂x)−w\mathcal{J}^{-w}=(\det\partial x'/\partial x)^{-w} to the tensor law — the weight ww counts how the object scales with coordinate volume, and −g\sqrt{-g} (weight +1+1) is the converter that moves any object to weight zero, a true tensor.
The core insight

Append one factor of J−w=(det⁡∂x′/∂x)−w\mathcal{J}^{-w}=(\det\partial x'/\partial x)^{-w} to the ordinary tensor transformation law: the weight ww records how an object scales with coordinate volume, and −g\sqrt{-g} — a density of weight +1+1 — is the universal converter between densities and honest tensors.

Where this lives today

Density weights are not a historical footnote — they are compiled into the software that does modern gravitational physics. Every numerical-relativity code that evolves a binary black-hole merger for LIGO–Virgo templates works with the metric determinant and the densitized lapse and shift of the BSSN or Z4c formulations, where a conformal factor built from ln⁡g\ln g is evolved precisely because the determinant is a weight-22 density with especially clean equations. The stress-energy conservation law ∇μTμν=0\nabla_\mu T^{\mu\nu}=0 is implemented in its density form ∂μ(−g Tμν)=…\partial_\mu(\sqrt{-g}\,T^{\mu\nu})=\ldots, and the ADM mass and total charge of a spacetime are surface integrals of weight +1+1 densities, well-defined only because the Jacobian factors cancel. The same structure runs through lattice field theory, where the path-integral measure must be a density, and through the anomaly calculations of quantum field theory in curved space, where the failure of a classically weight-zero current to stay weight-zero under regularization is the trace anomaly. Wherever an integral has to mean the same thing to two observers using different coordinates — from a cosmological simulation's comoving volume to the phase-space measure of statistical mechanics — the weight-+1+1 density −g\sqrt{-g} is doing the silent work.

The physical picture

Picture a coordinate chart as graph paper laid over the manifold. Each little cell dnx\mathrm{d}^nx is one unit of coordinate volume — but coordinate volume is a fiction of the labelling, not a geometric fact. Re-label the manifold and the same physical patch is covered by cells of a different size; the Jacobian determinant J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x) is precisely the factor by which each cell shrinks or stretches under the re-labelling. An ordinary tensor is blind to this stretching: its components rotate and mix but do not scale with cell size. A density of weight ww is not blind — it responds to the stretching with a factor J−w\mathcal{J}^{-w}. The weight is a counter of how many powers of coordinate volume the object secretly carries.

Figure
A coordinate cell of area Δr Δθ in the r–θ plane maps to a proper area √g Δr Δθ = r Δr Δθ; at r = 2 the metric determinant is g = r² = 4, so √g = 2 and one coordinate cell covers twice the proper area
√g converts coordinate volume into proper volume — here √g = r, weight +1 coordinate space (r, θ) Δr Δθ uniform cells — pure labels × √g = × r proper (physical) space area = r Δr Δθ (r = 2 → ×2) √g d²x is the same in every chart

The metric is what supplies the true, geometric size of a coordinate cell. Written out, the invariant proper volume is −g dnx\sqrt{-g}\,\mathrm{d}^nx: the factor −g\sqrt{-g} carries exactly one power of coordinate volume, cancels the one power the cell dnx\mathrm{d}^nx picks up under a chart change, and leaves an invariant. That single power is its weight, +1+1. The Levi-Civita symbol is the cleanest illustration of the opposite bookkeeping. We insist that its components stay ±1\pm1 and 00 in every chart, because that is what makes it a useful counting device for antisymmetrization. No nonzero genuine tensor can have chart-independent components — but a weight −1-1 density can, because its non-trivial transformation is entirely spent absorbing the Jacobian, leaving the numbers fixed. Constancy of components is bought with a nonzero weight. Finally, weight behaves like a conserved charge under the algebra of tensor operations. Contracting a pair of indices touches the index structure but never the weight. Forming a tensor product adds the weights. And −g\sqrt{-g}, with its clean weight +1+1, acts as a unit of weight you can slide in or out at will: multiply a weight −1-1 object by it to reach weight zero, divide any density by an appropriate power of it to strip the weight entirely. Every density is, up to a power of −g\sqrt{-g}, a tensor in disguise.

Figure
The weight ledger: objects sit on a single integer axis. Multiplying by √g slides one step right (+1), dividing slides left. √g sits at +1, g = det g at +2, ordinary tensors and the Levi-Civita tensor ε at 0, and the fixed-component symbol ε at −1
The weight ledger — one factor of √g (weight +1) slides you one step w = −2 w = −1 w = 0 w = +1 w = +2 ε (symbol, lower) fixed ±1, 0 tensors, scalars ε (L-C tensor) √g, √g V^μ invariant-integral integrand g = det g × √g : shift +1 ÷ √g : shift −1

The core equations

Everything starts from one definition: a density carries the ordinary tensor factors and a power of the Jacobian determinant. We fix the convention once — the Jacobian is J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x), all chart transitions here are taken to be orientation-preserving (J>0\mathcal{J}>0, so J\mathcal{J} and ∣J∣|\mathcal{J}| agree throughout), and the extra factor is J−w\mathcal{J}^{-w} — and never change it, because the signs of every weight below are tied to that single choice.

T′μ1⋯μpν1⋯νq=J−w ∂x′μ1∂xα1⋯∂xβ1∂x′ν1⋯ Tα1⋯β1⋯,J≡det⁡ ⁣∂x′∂x(1)\mathfrak{T}'^{\mu_1\cdots\mu_p}{}_{\nu_1\cdots\nu_q}=\mathcal{J}^{-w}\,\frac{\partial x'^{\mu_1}}{\partial x^{\alpha_1}}\cdots\frac{\partial x^{\beta_1}}{\partial x'^{\nu_1}}\cdots\,\mathfrak{T}^{\alpha_1\cdots}{}_{\beta_1\cdots},\qquad \mathcal{J}\equiv\det\!\frac{\partial x'}{\partial x} \qquad (1)

where: ww — the weight, an integer (or real number); w=0w=0 recovers an ordinary tensor. J\mathcal{J} — Jacobian determinant of the change x→x′x\to x'; the volume element scales as dnx′=∣J∣ dnx\mathrm{d}^nx'=|\mathcal{J}|\,\mathrm{d}^nx. (p,q)(p,q) — tensorial type: pp upper, qq lower indices. T\mathfrak{T} — the density components in the old chart. Physical reading: the ordinary index factors handle rotation and mixing; the lone J−w\mathcal{J}^{-w} handles scaling with coordinate volume. A weight +1+1 density transforms as J−1\mathcal{J}^{-1} — inversely to the cell dnx\mathrm{d}^nx — which is exactly what makes its integral survive a chart change. The metric determinant is the doorway to the whole subject: because gμνg_{\mu\nu} is an ordinary (0,2)(0,2) tensor, taking its determinant pulls out two factors of the Jacobian, so gg is a scalar density of weight +2+2 and its square root has weight +1+1.

g′=J−2 g,−g′=∣J∣−1−g(2)g'=\mathcal{J}^{-2}\,g,\qquad \sqrt{-g'}=|\mathcal{J}|^{-1}\sqrt{-g} \qquad (2)

where: g=det⁡(gμν)g=\det(g_{\mu\nu}) — the metric determinant (negative for Lorentzian signature, so −g>0-g>0); weight +2+2. −g\sqrt{-g} — the canonical scalar density of weight +1+1, the volume factor. Physical reading: −g\sqrt{-g} scales as J−1\mathcal{J}^{-1}, so it shrinks precisely when coordinate cells grow; it is the metric's answer to "how much proper volume is one coordinate cell worth here?" The Levi-Civita symbol is defined by fixed components, and that very rigidity forces it to be a density. Its components are the totally antisymmetric array; keeping them constant in all charts costs it a weight of −1-1 (lower indices).

ϵμ1⋯μn={+1even permutation of 0⋯n−1−1odd permutation0repeated index(3)\epsilon_{\mu_1\cdots\mu_n}=\begin{cases}+1&\text{even permutation of }0\cdots n{-}1\\[2pt]-1&\text{odd permutation}\\[2pt]0&\text{repeated index}\end{cases} \qquad (3)

where: ϵμ1⋯μn\epsilon_{\mu_1\cdots\mu_n} — the alternating symbol, identical in every chart; a density of weight −1-1. nn — manifold dimension (44 in spacetime). Physical reading: because its numbers are frozen, all of its transformation is spent cancelling a Jacobian; the genuine antisymmetric tensor is recovered only after restoring the missing weight with −g\sqrt{-g}. Restoring that weight is a one-line operation, and it is how one builds the object that actually integrates invariantly — the Levi-Civita tensor.

εμ1⋯μn=−g  ϵμ1⋯μn,εμ1⋯μn=sgn(g)−g  ϵμ1⋯μn(4)\varepsilon_{\mu_1\cdots\mu_n}=\sqrt{-g}\;\epsilon_{\mu_1\cdots\mu_n},\qquad \varepsilon^{\mu_1\cdots\mu_n}=\frac{\mathrm{sgn}(g)}{\sqrt{-g}}\;\epsilon^{\mu_1\cdots\mu_n} \qquad (4)

where: ε\varepsilon — the true antisymmetric tensor (weight 00); −g\sqrt{-g} (weight +1+1) absorbs the symbol's weight −1-1. Upper indices flip the sign: ϵμ1⋯μn\epsilon^{\mu_1\cdots\mu_n} has weight +1+1, so it is divided by −g\sqrt{-g} (weight +1+1) with sgn(g)=−1\mathrm{sgn}(g)=-1 for Lorentzian signature. Physical reading: the tensor ε\varepsilon is the geometric volume form; the symbol ϵ\epsilon is its numerical skeleton. The trace of the Christoffel connection is not an independent quantity — it is the logarithmic derivative of the volume density. This single identity is the hinge on which the calculus of densities turns.

Γλλμ=1−g ∂μ−g=∂μln⁡−g=12 gαβ∂μgαβ(5)\Gamma^{\lambda}{}_{\lambda\mu}=\frac{1}{\sqrt{-g}}\,\partial_\mu\sqrt{-g}=\partial_\mu\ln\sqrt{-g}=\tfrac12\,g^{\alpha\beta}\partial_\mu g_{\alpha\beta} \qquad (5)

where: Γλλμ\Gamma^{\lambda}{}_{\lambda\mu} — contraction of the Levi-Civita connection over its upper and first lower index. gαβg^{\alpha\beta} — inverse metric. Physical reading: the connection trace measures the fractional rate at which proper volume changes as you step in the μ\mu direction — literally the divergence of the coordinate basis. That identity means the covariant derivative of a density needs exactly one correction term beyond the usual Γ\Gamma terms, proportional to the weight.

∇μT=∂μT+(usual Γ index terms)−w Γλλμ T(6)\nabla_\mu \mathfrak{T}=\partial_\mu \mathfrak{T}+(\text{usual }\Gamma\text{ index terms})-w\,\Gamma^{\lambda}{}_{\lambda\mu}\,\mathfrak{T} \qquad (6)

where: ww — weight of T\mathfrak{T}; the final term is the density correction. Physical reading: the correction is fixed by demanding ∇μ−g=0\nabla_\mu\sqrt{-g}=0 — with w=+1w=+1 it gives ∂μ−g−∂μln⁡−g⋅−g=0\partial_\mu\sqrt{-g}-\partial_\mu\ln\sqrt{-g}\cdot\sqrt{-g}=0 exactly, the consistency check that pins the sign. The payoff is that the covariant divergence of a vector collapses into an ordinary partial derivative — the practical engine behind every conservation law in curved spacetime.

∇μVμ=1−g ∂μ ⁣(−g Vμ)(7)\nabla_\mu V^{\mu}=\frac{1}{\sqrt{-g}}\,\partial_\mu\!\left(\sqrt{-g}\,V^{\mu}\right) \qquad (7)

where: VμV^{\mu} — a contravariant vector (weight 00); −g Vμ\sqrt{-g}\,V^{\mu} — a vector density of weight +1+1, whose plain divergence is automatically a scalar density. Physical reading: no Christoffel symbols survive; the connection has been fully absorbed into the volume factor, which is why this formula, not the raw ∇μVμ=∂μVμ+ΓμμλVλ\nabla_\mu V^\mu=\partial_\mu V^\mu+\Gamma^\mu{}_{\mu\lambda}V^\lambda, is what you compute with.

Derivation AWhy the Levi-Civita symbol is a density of weight minus one

The claim to establish is that an array with frozen components ±1,0\pm1,0 cannot be a tensor, yet is a perfectly good density of weight −1-1. The whole argument rests on one algebraic fact — that the totally antisymmetric symbol is the determinant, in the sense that contracting it with nn copies of a matrix reproduces the determinant of that matrix. Feeding the Jacobian matrix into that identity turns the constancy of the components into a statement about a single extra power of J\mathcal{J}, and reading off the exponent gives the weight. We do this for the covariant (lower-index) symbol and note the sign flip for the contravariant one.

Step 1. Write down the Leibniz/cofactor identity valid for any n×nn\times n matrix MM: det⁡(M) ϵμ1⋯μn=Mα1μ1⋯Mαnμn ϵα1⋯αn\det(M)\,\epsilon_{\mu_1\cdots\mu_n}=M^{\alpha_1}{}_{\mu_1}\cdots M^{\alpha_n}{}_{\mu_n}\,\epsilon_{\alpha_1\cdots\alpha_n}. Why this is the key: the right-hand side is precisely the shape of a covariant tensor transformation acting on ϵ\epsilon, so the identity already tells us that transforming the symbol as if it were a tensor returns det⁡(M)\det(M) times itself, not itself — the tell-tale of a density.

Step 2. Choose Mαμ=∂xα/∂x′μM^{\alpha}{}_{\mu}=\partial x^{\alpha}/\partial x'^{\mu}, the matrix of the covariant tensor law, so that det⁡M=det⁡(∂x/∂x′)=J−1\det M=\det(\partial x/\partial x')=\mathcal{J}^{-1}. Substituting gives J−1 ϵμ1⋯μn=∂xα1∂x′μ1⋯∂xαn∂x′μn ϵα1⋯αn\mathcal{J}^{-1}\,\epsilon_{\mu_1\cdots\mu_n}=\dfrac{\partial x^{\alpha_1}}{\partial x'^{\mu_1}}\cdots\dfrac{\partial x^{\alpha_n}}{\partial x'^{\mu_n}}\,\epsilon_{\alpha_1\cdots\alpha_n}. Why: this is the honest tensor transform of the array ϵ\epsilon; the factor J−1\mathcal{J}^{-1} sitting on the left is the surplus a genuine tensor would not have.

Step 3. Rearrange to isolate the primed components, remembering they are the same frozen numbers: ϵμ1⋯μn=J+1 ∂xα1∂x′μ1⋯ ϵα1⋯αn\epsilon_{\mu_1\cdots\mu_n}=\mathcal{J}^{+1}\,\dfrac{\partial x^{\alpha_1}}{\partial x'^{\mu_1}}\cdots\,\epsilon_{\alpha_1\cdots\alpha_n}. Comparing with the definition (1)(1), whose density factor is J−w\mathcal{J}^{-w}, we need J−w=J+1\mathcal{J}^{-w}=\mathcal{J}^{+1}, hence w=−1w=-1. Why: this is the punchline — the extra power is J+1=J−(−1)\mathcal{J}^{+1}=\mathcal{J}^{-(-1)}, so the covariant symbol has weight exactly −1-1; the contravariant symbol ϵμ1⋯μn\epsilon^{\mu_1\cdots\mu_n}, transforming with the inverse Jacobian, has weight +1+1.

Step 4. Check the composite: εμ1⋯μn=−g ϵμ1⋯μn\varepsilon_{\mu_1\cdots\mu_n}=\sqrt{-g}\,\epsilon_{\mu_1\cdots\mu_n} has weight (+1)+(−1)=0(+1)+(-1)=0, a true tensor, as it must be to serve as the volume form. Why: the sole purpose of dressing the symbol with −g\sqrt{-g} is to zero the weight; the arithmetic +1−1=0+1-1=0 is the entire content of "the volume form is a tensor". *The determinant identity is exact for all MM; setting M=∂x/∂x′M=\partial x/\partial x' gives the surplus J+1\mathcal{J}^{+1}, so w=−1w=-1 (covariant), +1+1 (contravariant), and −g ϵ\sqrt{-g}\,\epsilon is weight 00.*

Go deeper · Derivation B · 1 minThe volume factor has weight one and makes the integral invariant
Derivation BThe volume factor has weight one and makes the integral invariant

Here the goal is to show, directly from the tensor character of the metric, that −g\sqrt{-g} is a scalar density of weight +1+1, and then to see that this exact weight is what rescues the integral ∫f dnx\int f\,\mathrm{d}^nx from its dependence on the chart. The two facts are the same fact viewed twice: the density weight of −g\sqrt{-g} is defined by how it scales under a chart change, and invariance of the integral is the demand that this scaling cancel the scaling of the measure. We take determinants of the metric law, take a square root, and then watch the Jacobian factors annihilate against dnx′=∣J∣ dnx\mathrm{d}^nx'=|\mathcal{J}|\,\mathrm{d}^nx.

Step 1. Start from the metric as a (0,2)(0,2) tensor, gμν′=AαμAβνgαβg'_{\mu\nu}=A^{\alpha}{}_{\mu}A^{\beta}{}_{\nu}g_{\alpha\beta} with Aαμ=∂xα/∂x′μA^{\alpha}{}_{\mu}=\partial x^{\alpha}/\partial x'^{\mu}, i.e. g′=ATg Ag'=A^{\mathsf T} g\,A in matrix form. Taking determinants, g′=(det⁡A)2 gg'=(\det A)^2\,g. Why: the determinant of a matrix triple product multiplies the determinants, and the two identical factors det⁡A\det A are the two covariant indices of the metric announcing themselves.

Step 2. Since det⁡A=det⁡(∂x/∂x′)=J−1\det A=\det(\partial x/\partial x')=\mathcal{J}^{-1}, we get g′=J−2gg'=\mathcal{J}^{-2}g, so gg is a scalar density of weight +2+2; taking the (real, since −g>0-g>0) square root gives −g′=∣J∣−1−g\sqrt{-g'}=|\mathcal{J}|^{-1}\sqrt{-g}, weight +1+1. Why: the weight is read straight off the exponent of J\mathcal{J} in the definition (1)(1); a factor J−1\mathcal{J}^{-1} means w=+1w=+1, the smallest nonzero weight and the one every invariant measure is built from.

Step 3. Now transform the measure: the change-of-variables theorem gives dnx′=∣J∣ dnx\mathrm{d}^nx'=|\mathcal{J}|\,\mathrm{d}^nx, one power of J\mathcal{J} upward. Multiply the two: −g′ dnx′=∣J∣−1−g⋅∣J∣ dnx=−g dnx\sqrt{-g'}\,\mathrm{d}^nx'=|\mathcal{J}|^{-1}\sqrt{-g}\cdot|\mathcal{J}|\,\mathrm{d}^nx=\sqrt{-g}\,\mathrm{d}^nx. Why: the density's ∣J∣−1|\mathcal{J}|^{-1} and the measure's ∣J∣|\mathcal{J}| are inverse by construction — this cancellation is the reason weight +1+1 is the "integrable" weight and nothing else is.

Step 4. For a scalar field f′(x′)=f(x)f'(x')=f(x), the full integrand f−g dnxf\sqrt{-g}\,\mathrm{d}^nx is chart-independent, so ∫Ωf−g dnx\int_\Omega f\sqrt{-g}\,\mathrm{d}^nx is a genuine invariant. Why: this is the working definition of integration on a manifold, and it is why the Einstein–Hilbert action S=116πG∫R−g d4xS=\frac{1}{16\pi G}\int R\sqrt{-g}\,\mathrm{d}^4x is a scalar — RR is scalar and −g d4x\sqrt{-g}\,\mathrm{d}^4x is the invariant volume. *The result g′=J−2gg'=\mathcal{J}^{-2}g gives −g\sqrt{-g} weight +1+1; cancellation against dnx′=∣J∣ dnx\mathrm{d}^nx'=|\mathcal{J}|\,\mathrm{d}^nx leaves −g dnx\sqrt{-g}\,\mathrm{d}^nx invariant.*

Go deeper · Derivation C · 1 minThe covariant divergence collapses into an ordinary divergence
Derivation CThe covariant divergence collapses into an ordinary divergence

The target is the single most-used formula in the subject: ∇μVμ=1−g∂μ(−g Vμ)\nabla_\mu V^{\mu}=\tfrac{1}{\sqrt{-g}}\partial_\mu(\sqrt{-g}\,V^{\mu}), in which every Christoffel symbol has vanished and only a partial derivative of a weight +1+1 vector density remains. Getting there requires the one non-obvious identity of the whole topic — that the contracted connection is the logarithmic derivative of −g\sqrt{-g} — which itself follows from Jacobi's formula for the derivative of a determinant. We prove that identity, insert it into the expanded divergence, and recognize a product rule running in reverse.

Step 1. Expand the covariant divergence of a vector: ∇μVμ=∂μVμ+ΓμμλVλ\nabla_\mu V^{\mu}=\partial_\mu V^{\mu}+\Gamma^{\mu}{}_{\mu\lambda}V^{\lambda}, where only the trace Γμμλ\Gamma^{\mu}{}_{\mu\lambda} survives because the derivative index is contracted with the upper vector index. Why: of all the connection terms in a general covariant derivative, the divergence keeps exactly the contracted one, and that is the object the density identity was made to simplify.

Step 2. Compute the trace using Jacobi's formula ∂μln⁡∣det⁡g∣=gαβ∂μgαβ\partial_\mu\ln|\det g|=g^{\alpha\beta}\partial_\mu g_{\alpha\beta}. From Γλλμ=12gλσ(∂λgσμ+∂μgσλ−∂σgλμ)\Gamma^{\lambda}{}_{\lambda\mu}=\tfrac12 g^{\lambda\sigma}(\partial_\lambda g_{\sigma\mu}+\partial_\mu g_{\sigma\lambda}-\partial_\sigma g_{\lambda\mu}), the first and third terms cancel by the symmetry of gλσg^{\lambda\sigma}, leaving Γλλμ=12gλσ∂μgσλ=12∂μln⁡∣g∣=∂μln⁡−g\Gamma^{\lambda}{}_{\lambda\mu}=\tfrac12 g^{\lambda\sigma}\partial_\mu g_{\sigma\lambda}=\tfrac12\partial_\mu\ln|g|=\partial_\mu\ln\sqrt{-g}. Why: this converts a connection — a coordinate-dependent, non-tensorial object — into a clean gradient of the scalar density −g\sqrt{-g}, which is what lets it merge with a partial derivative.

Step 3. Insert the identity: ∇μVμ=∂μVμ+Vμ ∂μln⁡−g=∂μVμ+Vμ−g∂μ−g\nabla_\mu V^{\mu}=\partial_\mu V^{\mu}+V^{\mu}\,\partial_\mu\ln\sqrt{-g}=\partial_\mu V^{\mu}+\dfrac{V^{\mu}}{\sqrt{-g}}\partial_\mu\sqrt{-g}. Recognize the reverse product rule and package: ∇μVμ=1−g ∂μ(−g Vμ)\nabla_\mu V^{\mu}=\dfrac{1}{\sqrt{-g}}\,\partial_\mu(\sqrt{-g}\,V^{\mu}). Why: the two terms are precisely 1−g\tfrac{1}{\sqrt{-g}} times the derivative of the product −g Vμ\sqrt{-g}\,V^{\mu} — the weight +1+1 vector density whose ordinary divergence is guaranteed to be a scalar density, hence integrable.

Step 4. Note the immediate corollary for an antisymmetric tensor: because the extra Christoffel terms cancel by antisymmetry, ∇μFμν=1−g∂μ(−g Fμν)\nabla_\mu F^{\mu\nu}=\tfrac{1}{\sqrt{-g}}\partial_\mu(\sqrt{-g}\,F^{\mu\nu}), the curved-space Maxwell source equation. Why: the same density packaging works whenever the surviving connection term is the trace, which is why conservation laws and electromagnetism reduce to flat-space-looking divergences. *The identity Γλλμ=∂μln⁡−g\Gamma^{\lambda}{}_{\lambda\mu}=\partial_\mu\ln\sqrt{-g} follows from Jacobi's formula, and the reverse product rule then yields the divergence formula. The spherical-coordinate check below — divergence of the radial field Vr=rV^r=r equals 33 — confirms the result numerically.*

Limiting cases

The whole family is organized by the single integer ww; the physically important members are just a handful of special values.

CaseResultMeaning
w=0w=0T′μν=∂x′μ∂xα∂xβ∂x′ν Tαβ\mathfrak{T}'^{\mu}{}_{\nu}=\dfrac{\partial x'^{\mu}}{\partial x^{\alpha}}\dfrac{\partial x^{\beta}}{\partial x'^{\nu}}\,\mathfrak{T}^{\alpha}{}_{\beta}Ordinary tensor — no Jacobian factor. The general tensor law is the zero-weight member of the family.
w=+1w=+1f′=J−1f\mathfrak{f}'=\mathcal{J}^{-1}\mathfrak{f}; −g\sqrt{-g}, −g Vμ\sqrt{-g}\,V^{\mu}The integrable weight. ∫f dnx\int\mathfrak{f}\,\mathrm{d}^nx is chart-independent; −g\sqrt{-g} and every vector density share this weight.
w=+2w=+2g′=J−2g,g=det⁡(gμν)g'=\mathcal{J}^{-2}g,\quad g=\det(g_{\mu\nu})The metric determinant — two Jacobian factors, one per covariant metric index. Its square root is the volume factor.
w=−1w=-1ϵμ1⋯μn′=ϵμ1⋯μn\epsilon'_{\mu_1\cdots\mu_n}=\epsilon_{\mu_1\cdots\mu_n} (frozen)The covariant Levi-Civita symbol. Its components stay fixed precisely because weight −1-1 absorbs the chart change.
J=1\mathcal{J}=1all factors =1=1Volume-preserving (unimodular) charts: densities and tensors of every weight transform identically, and weight becomes invisible.

Worked examples

1 · The volume factor and Levi-Civita tensor in spherical coordinates (numeric)

Flat three-dimensional space in spherical coordinates has line element ds2=dr2+r2 dθ2+r2sin⁡2θ dϕ2\mathrm{d}s^2=\mathrm{d}r^2+r^2\,\mathrm{d}\theta^2+r^2\sin^2\theta\,\mathrm{d}\phi^2. Find g\sqrt{g}, verify it equals the Cartesian-to-spherical Jacobian (confirming weight +1+1), and use it to compute the volume of a ball of radius R=2R=2.

Step 1. The metric is diagonal, gμν=diag(1, r2, r2sin⁡2θ)g_{\mu\nu}=\mathrm{diag}(1,\,r^2,\,r^2\sin^2\theta), so g=det⁡gμν=1⋅r2⋅r2sin⁡2θ=r4sin⁡2θg=\det g_{\mu\nu}=1\cdot r^2\cdot r^2\sin^2\theta=r^4\sin^2\theta, giving g=r2sin⁡θ\sqrt{g}=r^2\sin\theta. So the proper volume element is dV=g dr dθ dϕ=r2sin⁡θ dr dθ dϕ\mathrm{d}V=\sqrt{g}\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi=r^2\sin\theta\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi.

Step 2. Check the weight directly. The Cartesian metric is δij\delta_{ij} with gcart=1\sqrt{g_{\text{cart}}}=1, and the Jacobian of (x,y,z)→(r,θ,ϕ)(x,y,z)\to(r,\theta,\phi) is the familiar J=det⁡(∂(x,y,z)/∂(r,θ,ϕ))=r2sin⁡θ\mathcal{J}=\det\big(\partial(x,y,z)/\partial(r,\theta,\phi)\big)=r^2\sin\theta. A weight +1+1 density satisfies gsph=J⋅gcart=r2sin⁡θ⋅1\sqrt{g_{\text{sph}}}=\mathcal{J}\cdot\sqrt{g_{\text{cart}}}=r^2\sin\theta\cdot1. The volume factor picks up exactly one power of the Jacobian — weight +1+1 confirmed.

Step 3. Integrate over the ball: V=∫02π ⁣ ⁣∫0π ⁣ ⁣∫0Rr2sin⁡θ dr dθ dϕ=2π⋅2⋅R33=43πR3V=\displaystyle\int_0^{2\pi}\!\!\int_0^{\pi}\!\!\int_0^R r^2\sin\theta\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi=2\pi\cdot 2\cdot\frac{R^3}{3}=\frac{4}{3}\pi R^3. For R=2R=2, V=32π3=33.51V=\frac{32\pi}{3}=33.51 — the correct Euclidean volume, obtained entirely from the density g\sqrt{g} with no appeal to Cartesian geometry. The Levi-Civita tensor here is εrθϕ=g ϵrθϕ=r2sin⁡θ\varepsilon_{r\theta\phi}=\sqrt{g}\,\epsilon_{r\theta\phi}=r^2\sin\theta, the oriented volume 3-form.

2 · The volume element of the Schwarzschild spacetime

The Schwarzschild metric is gμν=diag ⁣(−(1−2M/r), (1−2M/r)−1, r2, r2sin⁡2θ)g_{\mu\nu}=\mathrm{diag}\!\big(-(1-2M/r),\,(1-2M/r)^{-1},\,r^2,\,r^2\sin^2\theta\big) in coordinates (t,r,θ,ϕ)(t,r,\theta,\phi). Find −g\sqrt{-g}.

Step 1. Multiply the diagonal entries: g=−(1−2M/r)⋅(1−2M/r)−1⋅r2⋅r2sin⁡2θg=-(1-2M/r)\cdot(1-2M/r)^{-1}\cdot r^2\cdot r^2\sin^2\theta. The first two factors are reciprocals, so their product is −1-1. The gravitational potential cancels out entirely: g=−r4sin⁡2θg=-r^4\sin^2\theta.

Step 2. Therefore −g=r2sin⁡θ\sqrt{-g}=r^2\sin\theta — identical to flat space in spherical coordinates. The invariant 4-volume element of Schwarzschild is −g d4x=r2sin⁡θ dt dr dθ dϕ\sqrt{-g}\,\mathrm{d}^4x=r^2\sin\theta\,\mathrm{d}t\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi.

Step 3. The physical lesson: curvature is hidden in the individual metric components, but the coordinate volume measured by −g\sqrt{-g} is unchanged from flat space because the gttg_{tt} time-dilation and grrg_{rr} radial-stretch factors are exact reciprocals in these coordinates. This is special to Schwarzschild coordinates; in isotropic or Kruskal coordinates −g\sqrt{-g} looks entirely different, yet −g d4x\sqrt{-g}\,\mathrm{d}^4x integrates to the same invariant, exactly as the weight +1+1 bookkeeping guarantees.

3 · The covariant divergence reproduces the vector-calculus divergence

Use ∇μVμ=1g∂μ(g Vμ)\nabla_\mu V^{\mu}=\tfrac{1}{\sqrt{g}}\partial_\mu(\sqrt{g}\,V^{\mu}) with g=r2sin⁡θ\sqrt{g}=r^2\sin\theta to recover the divergence in spherical coordinates, then evaluate it for the radial field Vr=rV^r=r, Vθ=Vϕ=0V^\theta=V^\phi=0.

Step 1. Insert g=r2sin⁡θ\sqrt{g}=r^2\sin\theta and expand the sum over μ∈{r,θ,ϕ}\mu\in\{r,\theta,\phi\}: ∇μVμ=1r2sin⁡θ[∂r(r2sin⁡θ Vr)+∂θ(r2sin⁡θ Vθ)+∂ϕ(r2sin⁡θ Vϕ)]\nabla_\mu V^{\mu}=\dfrac{1}{r^2\sin\theta}\Big[\partial_r(r^2\sin\theta\,V^{r})+\partial_\theta(r^2\sin\theta\,V^{\theta})+\partial_\phi(r^2\sin\theta\,V^{\phi})\Big].

Step 2. Pull the rr-independent and θ\theta-independent pieces out of each derivative: ∇μVμ=1r2∂r(r2Vr)+1sin⁡θ∂θ(sin⁡θ Vθ)+∂ϕVϕ\nabla_\mu V^{\mu}=\dfrac{1}{r^2}\partial_r(r^2V^{r})+\dfrac{1}{\sin\theta}\partial_\theta(\sin\theta\,V^{\theta})+\partial_\phi V^{\phi} — precisely the standard spherical-coordinate divergence, delivered by the density formula with no Christoffel symbols computed by hand.

Step 3. For Vr=rV^{r}=r (a radial field with Vθ=Vϕ=0V^\theta=V^\phi=0): ∇μVμ=1r2∂r(r2⋅r)=1r2∂r(r3)=3r2r2=3\nabla_\mu V^{\mu}=\dfrac{1}{r^2}\partial_r(r^2\cdot r)=\dfrac{1}{r^2}\partial_r(r^3)=\dfrac{3r^2}{r^2}=\mathbf{3}. This matches the elementary result ∇ ⁣⋅r⃗=3\nabla\!\cdot\vec{r}=3 in three dimensions — a clean numeric confirmation that the density machinery reproduces ordinary vector calculus.

Physics of the portrait

Tensor densities are inseparable from the two objects that carry a nineteenth-century name into every modern calculation: the alternating symbol and the absolute differential calculus that made index gymnastics into a coherent theory.

Origins · 1 minTullio Levi-Civita and how this was discovered
TL
Tullio Levi-Civita
1873–1941 · Italian mathematician, co-founder of the absolute differential calculus; the alternating symbol and parallel transport carry his name

Tullio Levi-Civita, working at Padua and later Rome, took the tentative "absolute differential calculus" of his teacher Gregorio Ricci-Curbastro and turned it into the working language of tensor analysis. Their joint 1900 memoir in Mathematische Annalen, Méthodes de calcul différentiel absolu et leurs applications, laid out the transformation rules for tensors — and, crucially, for the objects that transform with extra Jacobian factors, the densities. The totally antisymmetric symbol that bears his name is the prototype: its fixed components make it the natural engine of determinants, cross products, and volume forms, and its non-tensorial transformation is exactly the weight −1-1 density behaviour at the heart of this article. When Einstein needed a mathematics in which the laws of physics could be written the same way in every coordinate system, it was this calculus he reached for, guided in 1912–1913 by Marcel Grossmann; Einstein and Levi-Civita later corresponded intensely over the details of the field equations. Levi-Civita's own 1917 discovery of parallel transport gave a geometric meaning to the Christoffel connection whose trace, Γλλμ=∂μln⁡−g\Gamma^{\lambda}{}_{\lambda\mu}=\partial_\mu\ln\sqrt{-g}, ties the whole density formalism back to the metric volume. That one identity — connection trace equals the logarithmic derivative of the volume density — is the quiet hinge on which conservation laws, Gauss's theorem, and the invariant action all turn, and it is pure Ricci–Levi-Civita bookkeeping.

History
1869
— Christoffel introduces the symbols Γ and the rule for covariant differentiation
1900
— Ricci-Curbastro and Levi-Civita publish the absolute differential calculus, the algebra of tensors and densities
1913
— Einstein and Grossmann adopt the calculus for gravitation, and the invariant measure √−g d⁴x enters physics
1916
— Einstein derives the field equations from an action built on the scalar density √−g
1917
— Levi-Civita introduces parallel transport, giving the connection and its trace a geometric meaning
1918
— Weyl names and systematizes the Tensordichte (tensor density) and its weight in Raum-Zeit-Materie

Going further

Texts. Misner, Thorne & Wheeler, Gravitation (1973), §3.4 and §8.3, exercise 8.3 · Wald, General Relativity (1984), Appendix B and §4.1 · Carroll, Spacetime and Geometry (2004), §2.8–2.9 · Schutz, A First Course in General Relativity (2009), §6.8 · Weinberg, Gravitation and Cosmology (1972), §4.4. The single convention used throughout is J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x) with density factor J−w\mathcal{J}^{-w}. In this convention the integrand of an invariant integral has weight +1+1, so −g\sqrt{-g} has weight +1+1, g=det⁡gμνg=\det g_{\mu\nu} has weight +2+2, and the covariant Levi-Civita symbol has weight −1-1 — the internally consistent assignment in which ε=−g ϵ\varepsilon=\sqrt{-g}\,\epsilon is a weight-zero tensor. Texts that define the Jacobian as det⁡(∂x/∂x′)\det(\partial x/\partial x') or attach J+w\mathcal{J}^{+w} flip every sign (for instance calling −g\sqrt{-g} "weight −1-1"); the ratios among the weights are convention-independent. The key results are: (1) the Leibniz determinant identity establishing the symbol's weight −1-1; (2) g′=J−2g⇒−g′=∣J∣−1−gg'=\mathcal{J}^{-2}g\Rightarrow\sqrt{-g'}=|\mathcal{J}|^{-1}\sqrt{-g} and the cancellation against dnx′=∣J∣ dnx\mathrm{d}^nx'=|\mathcal{J}|\,\mathrm{d}^nx; (3) Jacobi's formula giving Γλλμ=∂μln⁡−g\Gamma^{\lambda}{}_{\lambda\mu}=\partial_\mu\ln\sqrt{-g} and the divergence formula; (4) the spherical checks g=r2sin⁡θ\sqrt{g}=r^2\sin\theta, ball volume 43πR3\tfrac{4}{3}\pi R^3, Schwarzschild −g=r2sin⁡θ\sqrt{-g}=r^2\sin\theta, and ∇ ⁣⋅r⃗=3\nabla\!\cdot\vec{r}=3. No numerical constants beyond ±1,0\pm1,0 (Levi-Civita) and the standard 1/16πG1/16\pi G Einstein–Hilbert prefactor appear.

Builds on. The Tensor Transformation Law · General Tensors and the Tensor Product · Atlases, Transition Functions and Differentiable Structure · The Metric Tensor and the Line Element. Leads to. The Invariant Volume Element · Tensor Algebra: Contraction, Symmetrization and Antisymmetrization · Raising and Lowering Indices.

Ask the tutor: Ask me to work through why the metric determinant has weight +2+2, or to show how the −w Γλλμ-w\,\Gamma^{\lambda}{}_{\lambda\mu} term makes ∇μ−g=0\nabla_\mu\sqrt{-g}=0 exactly.

What exactly is the "weight" of a tensor density?

The weight ww is the power of the Jacobian determinant an object picks up, over and above the ordinary index factors, under a coordinate change. In the convention used here a density carries a factor J−w\mathcal{J}^{-w} with J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x), so w=0w=0 is an ordinary tensor, w=+1w=+1 is the "integrable" weight of −g\sqrt{-g}, and w=−1w=-1 is the weight of the Levi-Civita symbol. Intuitively the weight counts how many powers of coordinate volume the object secretly carries: a weight +1+1 object scales inversely to a coordinate cell, which is exactly why its integral is chart-independent. Weights add under multiplication and are untouched by contraction, so the whole calculus is bookkeeping in a single integer.

Why is √−g weight +1 here when my textbook says weight −1?

Because "weight" is a convention, and only its sign is ambiguous. Two choices differ between texts: whether the Jacobian is J=det⁡(∂x′/∂x)\mathcal{J}=\det(\partial x'/\partial x) or its inverse det⁡(∂x/∂x′)\det(\partial x/\partial x'), and whether the extra factor is written J−w\mathcal{J}^{-w} or J+w\mathcal{J}^{+w}. Either flip reverses the sign of every weight in the theory at once, so a book can perfectly correctly call −g\sqrt{-g} "weight −1-1". What is not convention-dependent is the physics and the ratios: −g\sqrt{-g} and gg always share their sign, the covariant Levi-Civita symbol always takes the opposite sign, and ε=−g ϵ\varepsilon=\sqrt{-g}\,\epsilon is always a genuine tensor. Fix one convention, state it, and never mix — mixing is the origin of nearly every sign error in the subject.

Is the Levi-Civita symbol a tensor or not?

Not a tensor. Its components are frozen at ±1\pm1 and 00 in every coordinate system, and no nonzero (0,n)(0,n) tensor can have chart-independent components, because the tensor transformation law scrambles them through the Jacobian. The symbol gets away with constancy by being a density of weight −1-1: its entire transformation is spent cancelling one factor of J\mathcal{J}, leaving the numbers fixed. To build a genuine tensor you restore the missing weight with the metric: εμνρσ=−g ϵμνρσ\varepsilon_{\mu\nu\rho\sigma}=\sqrt{-g}\,\epsilon_{\mu\nu\rho\sigma} has weight (+1)+(−1)=0(+1)+(-1)=0 and is the honest volume form. Keeping ϵ\epsilon (symbol) and ε\varepsilon (tensor) typographically distinct is worth the trouble.

How do I turn a density into an ordinary tensor?

Multiply by the right power of −g\sqrt{-g}. Since −g\sqrt{-g} has weight +1+1, the combination (−g)−w T(\sqrt{-g})^{-w}\,\mathfrak{T} has weight (−w)+w=0(-w)+w=0 for a density T\mathfrak{T} of weight ww — a true tensor. This is why −g\sqrt{-g} is called the universal converter: it is a unit of weight you can multiply or divide by to move any object to weight zero. Concretely, the Levi-Civita symbol (weight −1-1) becomes a tensor when multiplied up by −g\sqrt{-g}; a weight +1+1 vector density Vμ\mathfrak{V}^\mu becomes an ordinary vector when divided down by −g\sqrt{-g}. The operation is reversible and costs nothing but a factor of the volume element.

Why does the covariant divergence lose all its Christoffel symbols?

Because the only connection term that survives in ∇μVμ=∂μVμ+ΓμμλVλ\nabla_\mu V^\mu=\partial_\mu V^\mu+\Gamma^\mu{}_{\mu\lambda}V^\lambda is the trace Γμμλ\Gamma^\mu{}_{\mu\lambda}, and that trace is not really a connection at all — Jacobi's formula shows it equals ∂λln⁡−g\partial_\lambda\ln\sqrt{-g}, a plain gradient of a scalar density. Substituting, the two terms combine by the product rule in reverse into 1−g∂μ(−g Vμ)\tfrac{1}{\sqrt{-g}}\partial_\mu(\sqrt{-g}\,V^\mu). The Christoffel symbols have not disappeared; they have been absorbed into the volume factor −g\sqrt{-g}. This is why conservation laws in curved spacetime look almost flat: ∇μJμ=0\nabla_\mu J^\mu=0 becomes ∂μ(−g Jμ)=0\partial_\mu(\sqrt{-g}\,J^\mu)=0, an ordinary continuity equation for a weight +1+1 current density.

Why must physics be integrated against √−g rather than plain d⁴x?

Because a bare integral ∫f d4x\int f\,\mathrm{d}^4x is not a geometric quantity — under a coordinate change the measure d4x\mathrm{d}^4x scales by the Jacobian ∣J∣|\mathcal{J}|, so the number you compute depends on which chart you chose, which is physically meaningless. The metric supplies the fix: −g\sqrt{-g} scales by ∣J∣−1|\mathcal{J}|^{-1}, exactly cancelling the measure, so −g d4x\sqrt{-g}\,\mathrm{d}^4x is an invariant proper volume. Any action, charge, or particle number that is supposed to be observer-independent must therefore be an integral of a scalar times −g d4x\sqrt{-g}\,\mathrm{d}^4x. The Einstein–Hilbert action 116πG∫R−g d4x\frac{1}{16\pi G}\int R\sqrt{-g}\,\mathrm{d}^4x is the flagship example: RR is a scalar, −g d4x\sqrt{-g}\,\mathrm{d}^4x is the invariant measure, and their product is a true number whose stationary points are Einstein's equations.

Before this

Where this leads