Tensor density
In differential geometry, a tensor density or relative tensor is a generalization of the tensor concept. A tensor density transforms as a tensor when passing from one coordinate system to another (see classical treatment of tensors), except that it is additionally multiplied or weighted by a power W of the Jacobian determinant of the coordinate transition function or its absolute value. A distinction is made among (authentic) tensor densities, pseudotensor densities, even tensor densities and odd tensor densities. Sometimes tensor densities with a negative weight W are called tensor capacity.^{[1]}^{[2]}^{[3]} A tensor density can also be regarded as a section of the tensor product of a tensor bundle with a density bundle.
Definition
Some authors classify tensor densities into the two types called (authentic) tensor densities and pseudotensor densities in this article. Other authors classify them differently, into the types called even tensor densities and odd tensor densities. When a tensor density weight is an integer there is an equivalence between these approaches that depends upon whether the integer is even or odd.
Note that these classifications elucidate the different ways that tensor densities may transform somewhat pathologically under orientationreversing coordinate transformations. Regardless of their classifications into these types, there is only one way that tensor densities transform under orientationpreserving coordinate transformations.
In this article we have chosen the convention that assigns a weight of +2 to the determinant of the metric tensor expressed with covariant indices. With this choice, classical densities, like charge density, will be represented by tensor densities of weight +1. Some authors use a sign convention for weights that is the negation of that presented here.^{[4]}
Tensor and pseudotensor densities
For example, a mixed ranktwo (authentic) tensor density of weight W transforms as:^{[5]}^{[6]}
 ((authentic) tensor density of (integer) weight W)
where is the ranktwo tensor density in the coordinate system, is the transformed tensor density in the coordinate system; and we use the Jacobian determinant. Because the determinant can be negative, which it is for an orientationreversing coordinate transformation, this formula is applicable only when W is an integer. (However, see even and odd tensor densities below.)
We say that a tensor density is a pseudotensor density when there is an additional sign flip under an orientationreversing coordinate transformation. A mixed ranktwo pseudotensor density of weight W transforms as
 (pseudotensor density of (integer) weight W)
where sgn( ) is a function that returns +1 when its argument is positive or −1 when its argument is negative.
Even and odd tensor densities
The transformations for even and odd tensor densities have the benefit of being well defined even when W is not an integer. Thus one can speak of, say, an odd tensor density of weight +2 or an even tensor density of weight −1/2.
When W is an even integer the above formula for an (authentic) tensor density can be rewritten as
 (even tensor density of weight W)
Similarly, when W is an odd integer the formula for an (authentic) tensor density can be rewritten as
 (odd tensor density of weight W)
Weights of zero and one
A tensor density of any type that has weight zero is also called an absolute tensor. An (even) authentic tensor density of weight zero is also called an ordinary tensor.
If a weight is not specified but the word "relative" or "density" is used in a context where a specific weight is needed, it is usually assumed that the weight is +1.
Algebraic properties
 A linear combination of tensor densities of the same type and weight W is again a tensor density of that type and weight.
 A product of two tensor densities of any types and with weights W_{1} and W_{2} is a tensor density of weight W_{1} + W_{2}.
 A product of authentic tensor densities and pseudotensor densities will be an authentic tensor density when an even number of the factors are pseudotensor densities; it will be a pseudotensor density when an odd number of the factors are pseudotensor densities. Similarly, a product of even tensor densities and odd tensor densities will be an even tensor density when an even number of the factors are odd tensor densities; it will be an odd tensor density when an odd number of the factors are odd tensor densities.
 The contraction of indices on a tensor density with weight W again yields a tensor density of weight W.^{[7]}
 Using (2) and (3) one sees that raising and lowering indices using the metric tensor (weight 0) leaves the weight unchanged.^{[8]}
Matrix inversion and matrix determinant of tensor densities
If is a nonsingular matrix and a ranktwo tensor density of weight W with covariant indices then its matrix inverse will be a ranktwo tensor density of weight −W with contravariant indices. Similar statements apply when the two indices are contravariant or are mixed covariant and contravariant.
If is a ranktwo tensor density of weight W with covariant indices then the matrix determinant will have weight NW + 2, where N is the number of spacetime dimensions. If is a ranktwo tensor density of weight W with contravariant indices then the matrix determinant will have weight NW − 2. The matrix determinant will have weight NW.
General relativity
General relativity  

Fundamental concepts 



Relation of Jacobian determinant and metric tensor
Any nonsingular ordinary tensor transforms as
where the righthand side can be viewed as the product of three matrices. Taking the determinant of both sides of the equation (using that the determinant of a matrix product is the product of the determinants), dividing both sides by , and taking their square root gives
When the tensor T is the metric tensor, , and is a locally inertial coordinate system where diag(−1,+1,+1,+1), the Minkowski metric, then −1 and so
where is the determinant of the metric tensor .
Use of metric tensor to manipulate tensor densities
Consequently, an even tensor density, , of weight W, can be written in the form
where is an ordinary tensor. In a locally inertial coordinate system, where , it will be the case that and will be represented with the same numbers.
When using the metric connection (LeviCivita connection), the covariant derivative of an even tensor density is defined as
For an arbitrary connection, the covariant derivative is defined by adding an extra term, namely
to the expression which would be appropriate for the covariant derivative of an ordinary tensor.
Equivalently, the product rule is obeyed
where, for the metric connection, the covariant derivative of any function of is always zero,
Examples
The expression is a scalar density. By the convention of this article it has a weight of +1.
The density of electric current (e.g., is the amount of electric charge crossing the 3volume element divided by that element — do not use the metric in this calculation) is a contravariant vector density of weight +1. It is often written as or , where and the differential form are absolute tensors, and where is the LeviCivita symbol; see below.
The density of Lorentz force (i.e., the linear momentum transferred from the electromagnetic field to matter within a 4volume element divided by that element — do not use the metric in this calculation) is a covariant vector density of weight +1.
In Ndimensional spacetime, the LeviCivita symbol may be regarded as either a rankN covariant (odd) authentic tensor density of weight −1 (ε_{α1…αN}) or a rankN contravariant (odd) authentic tensor density of weight +1 (ε^{α1…αN}). Notice that the LeviCivita symbol (so regarded) does not obey the usual convention for raising or lowering of indices with the metric tensor. That is, it is true that
but in general relativity, where is always negative, this is never equal to .
The determinant of the metric tensor,
is an (even) authentic scalar density of weight +2.
See also
 relative scalar
 Pseudotensor
 Noether's theorem
 Variational principle
 Conservation law
 Action (physics)
References
 ↑ Weinberg, Gabriel (July 6, 1998). Geometrical Vectors. pp. 112, 115. ISBN 9780226890487.
 ↑ Papastavridis, John G. (Dec 18, 1998). Tensor Calculus and Analytical Dynamics. CRC Press. ISBN 9780849385148.
 ↑ RuizTolosa, Castillo, Juan R., Enrique (30 Mar 2006). From Vectors to Tensors. Springer Science & Business Media. ISBN 9783540228875.
 ↑ E.g. Weinberg 1972 pp 98. The chosen convention involves in the formulae below the Jacobian determinant of the inverse transition x → x, while the opposite convention considers the forward transition x → x resulting in a flip of sign of the weight.
 ↑ M.R. Spiegel; S. Lipcshutz; D. Spellman (2009). Vector Analysis (2nd ed.). New York: Schaum's Outline Series. p. 198. ISBN 9780071615457.
 ↑ C.B. Parker (1994). McGraw Hill Encyclopaedia of Physics (2nd ed.). p. 1417. ISBN 0070514003.
 ↑ Weinberg 1972 p 100.
 ↑ Weinberg 1972 p 100.
 Spivak, Michael (1999), A comprehensive introduction to differential geometry, Vol I (3rd ed.), p. 134.
 Kuptsov, L.P. (2001), "Tensor density", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 9781556080104.
 Charles Misner; Kip S Thorne & John Archibald Wheeler (1973). Gravitation. San Francisco: W. H. Freeman. p. 501ff. ISBN 0716703440.
 Weinberg, Steven (1972), Gravitation and Cosmology, John Wiley & sons, Inc, ISBN 0471925675