Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The Trace of a (0,2) Tensor by Raising an Index

The trace is already settled for (1,1)(1,1) tensors. By Trace From Linearity and Cyclicity, an endomorphism MM of an nn-dimensional space has a trace

tr(M)=Mii,\operatorname{tr}(M)=M^{i}{}_{i},

the unique-up-to-scale linear functional that is cyclic, tr(M1M2)=tr(M2M1)\operatorname{tr}(M_1M_2)=\operatorname{tr}(M_2M_1), and therefore conjugation-invariant, tr(P1MP)=tr(M)\operatorname{tr}(P^{-1}MP)=\operatorname{tr}(M).

A (0,2)(0,2) tensor has no trace of its own — under a change of basis the sum of its diagonal components is not preserved. But a metric turns it into a (1,1)(1,1) tensor by raising an index, and we simply trace that. This note takes the construction as the definition, reads off every property in a few lines by piggybacking on the (1,1)(1,1) trace, and proves uniqueness — that nothing else deserves the name — only at the very end.

Setup

Let VV be nn-dimensional over C\mathbb C. A metric is a nondegenerate symmetric (0,2)(0,2) tensor gg with matrix G=(gij)G=(g_{ij}) and inverse gij=(G1)ijg^{ij}=(G^{-1})_{ij}. In a basis e1,,ene_1,\dots,e_n we meet three kinds of components:

The metric lowers the upper index of MM, and because GG is invertible this is reversible — it raises the lower index of AA:

Aij=gikMkj    (A=GM),Mkj=gkiAij    (M=G1A).A_{ij}=g_{ik}\,M^{k}{}_{j}\;\;(A=GM),\qquad\qquad M^{k}{}_{j}=g^{ki}A_{ij}\;\;(M=G^{-1}A).

Under a change of basis PGL(V)P\in GL(V) the two covariant objects transform by congruence and the endomorphism by similarity,

APTAP,GPTGP,M=G1AP1MP,A\mapsto P^{\mathsf T}AP,\qquad G\mapsto P^{\mathsf T}GP,\qquad M=G^{-1}A\mapsto P^{-1}MP,

the last following from the first two. A basis is orthonormal for gg when G=IG=I (one exists over C\mathbb C); the changes of basis preserving GG are the isometries O(g)={P:PTGP=G}O(g)=\{P:P^{\mathsf T}GP=G\}, which in an orthonormal basis is O(n,C)O(n,\mathbb C).

Definition

The (0,2)(0,2) tensor AA has no intrinsic trace; the metric supplies one. Raise its index to the endomorphism M=G1AM=G^{-1}A and define the trace of AA to be that of MM:

trg(A):=tr(M)=tr ⁣(G1A).\operatorname{tr}_g(A):=\operatorname{tr}(M)=\operatorname{tr}\!\big(G^{-1}A\big).

This is the extension of the (1,1)(1,1) trace to (0,2)(0,2) tensors furnished by the metric. Everything below is an immediate consequence.

Consequences

Component formula. By (2) and the (1,1)(1,1) trace,

trg(A)=Mii=gijAij,\operatorname{tr}_g(A)=M^{i}{}_{i}=g^{ij}A_{ij},

a contraction of the upper indices of gijg^{ij} against the lower indices of AijA_{ij} — a genuine scalar. In an orthonormal basis, where gij=δijg^{ij}=\delta^{ij}, its value is the diagonal sum A11++AnnA_{11}+\dots+A_{nn}. But that diagonal sum is only a coordinate number: it pairs two lower indices, so it is neither a contraction nor basis-independent, and it agrees with gijAijg^{ij}A_{ij} only because the basis is orthonormal. This is exactly why AA has no trace of its own — and why an index had to be raised to define one.

It is a scalar. Under (3) the endomorphism transforms by similarity MP1MPM\mapsto P^{-1}MP, so the conjugation invariance of the (1,1)(1,1) trace makes trg(A)\operatorname{tr}_g(A) basis-independent — for the full GL(V)GL(V), not merely the isometries. Equivalently, gijAijg^{ij}A_{ij} is the complete contraction of a (2,0)(2,0) tensor with a (0,2)(0,2) tensor.

Linearity. trg\operatorname{tr}_g is linear in AA, since M=G1AM=G^{-1}A is linear in AA and the trace is linear.

The raised index may be either one. Raising the second index of AA instead produces the endomorphism AG1AG^{-1}, whose trace tr(AG1)=tr(G1A)\operatorname{tr}(AG^{-1})=\operatorname{tr}(G^{-1}A) by cyclicity. So (4) does not depend on which slot is raised. And since gijg^{ij} is symmetric, gijAij=gijA(ij)g^{ij}A_{ij}=g^{ij}A_{(ij)} — the contraction annihilates the antisymmetric part A[ij]A_{[ij]}, so trg\operatorname{tr}_g sees only the symmetric part of AA.

Normalization. Tracing the metric against itself, trg(g)=tr(G1G)=tr(I)=n\operatorname{tr}_g(g)=\operatorname{tr}(G^{-1}G)=\operatorname{tr}(I)=n.

That is the entire theory: the definition (4), the formula (5), basis-independence, linearity, and the normalization, all inherited from the (1,1)(1,1) trace without a single new computation.

Uniqueness

The construction produces one functional; we close by showing it is the only linear scalar of a (0,2)(0,2) tensor, up to scale.

Claim. If DD is a linear functional on (0,2)(0,2) tensors that is isometry-invariant, D(PTAP)=D(A)D(P^{\mathsf T}AP)=D(A) for all PO(g)P\in O(g), then D=λtrgD=\lambda\,\operatorname{tr}_g for some λC\lambda\in\mathbb C.

Work in an orthonormal basis, so G=IG=I; then the matrix of AA coincides with that of its raised endomorphism M=G1A=AM=G^{-1}A=A, the isometries are O(n,C)O(n,\mathbb C), and congruence by an isometry is conjugation, PTAP=P1APP^{\mathsf T}AP=P^{-1}AP. So DD is a linear functional invariant under O(n,C)O(n,\mathbb C)-conjugation. Write it on the matrix units,

D(A)=i,jcijAij,cij=D(Eij).D(A)=\sum_{i,j}c_{ij}A_{ij},\qquad c_{ij}=D(E_{ij}).

Two families of isometries — both signed permutation matrices, which satisfy PTP=IP^{\mathsf T}P=I — pin the coefficients.

Diagonal sign matrices kill the off-diagonal cijc_{ij}. For ε{±1}n\varepsilon\in\{\pm1\}^n put S=diag(ε1,,εn)S=\operatorname{diag}(\varepsilon_1,\dots,\varepsilon_n), so S1=SS^{-1}=S and (S1AS)ij=εiεjAij(S^{-1}AS)_{ij}=\varepsilon_i\varepsilon_jA_{ij}. Invariance forces cijεiεj=cijc_{ij}\varepsilon_i\varepsilon_j=c_{ij} for all ε\varepsilon; for iji\neq j take εi=1\varepsilon_i=-1 and the rest +1, so εiεj=1\varepsilon_i\varepsilon_j=-1 and cij=0c_{ij}=0.

Permutations equate the diagonal ciic_{ii}. A transposition matrix PτP_\tau acts by (Pτ1APτ)kl=Aτ(k)τ(l)(P_\tau^{-1}AP_\tau)_{kl}=A_{\tau(k)\tau(l)}, so invariance forces cτ(k)τ(l)=cklc_{\tau(k)\tau(l)}=c_{kl}; on the diagonal cii=cjjc_{ii}=c_{jj}. Write λ\lambda for the common value.

Hence cij=λδijc_{ij}=\lambda\,\delta_{ij}, and since gij=δijg^{ij}=\delta^{ij} in the orthonormal basis,

D(A)=i,jcijAij=λi,jδijAij=λgijAij=λtrg(A);D(A)=\sum_{i,j}c_{ij}A_{ij}=\lambda\sum_{i,j}\delta_{ij}A_{ij}=\lambda\,g^{ij}A_{ij}=\lambda\operatorname{tr}_g(A);

both sides are scalars (3), so the identity holds in every basis. \qquad\blacksquare

The normalization D(g)=nD(g)=n then fixes λ=1\lambda=1, singling out trg\operatorname{tr}_g itself.

Remark — why uniqueness needs its own argument

Existence, the formula, and invariance piggybacked directly on the (1,1)(1,1) trace; uniqueness did not. The reason is that with GG fixed, isometry-invariance of AA pulls back only to O(g)O(g)-conjugation-invariance of M=G1AM=G^{-1}A — the isometry subgroup, not all of GL(V)GL(V) — so the full-GLGL uniqueness of Trace From Linearity and Cyclicity cannot be quoted directly. The signed-permutation argument is exactly what shows O(g)O(g) is still rigid enough (its commutant is already the scalars). One can inherit uniqueness wholesale by instead assuming the pulled-back functional is cyclic, D(A1G1A2)=D(A2G1A1)D(A_1G^{-1}A_2)=D(A_2G^{-1}A_1), which is literally linearity-plus-cyclicity on MM — but that is a stronger, algebraic hypothesis, not the bare geometric one used above. The axiom-first development, and this trade-off in full, is in The Trace of a (0,2)(0,2) Tensor from a Metric.