cesiumfrog said:
Do you have an example where local conservation of stress-energy implies local non-conservation of energy and/or momentum?
The example in JuanCasado's post works here. Just take a uniform gas of photons. The number density in a local co-moving region stays the same (since it's uniform, the number going into the local co-moving region equals the number exiting it), but if space is expanding, then the photons are getting stretched along with space, and so the energy density in a local co-moving region drops with time.
Quick note on what co-moving means: the size of the region you're looking at expands along with the universe.
How does this work in the context of the conservation of the stress-energy tensor? Well, with a uniform radiation fluid, there are no off-diagonal elements. There's just energy density in the time-time component, and pressure along the space-space components. Since the pressure of a photon gas is 1/3rd its energy density, and since it's uniform in all directions, the diagonal elements of the space-space part are all [tex]rho/3[/tex], where [tex]rho[/tex] is the energy density of the photons. You can express the conservation of stress-energy in the following form:
[tex]\dot{\rho} = -3H\left(\rho + p\right)[/tex]
Since [tex]p = \rho/3[/tex], and expanding the derivatives with respect to time:
[tex]\frac{d\rho}{dt} = -4H\rho[/tex]
We can change all of our derivatives with respect to time to derivatives with respect to a by setting:
[tex]\frac{d}{dt} = \frac{da}{dt}\frac{d}{da} = a H \frac{d}{da}[/tex]
So that we have:
[tex]aH\frac{d\rho}{da} = -4H\rho[/tex]
[tex]\frac{d\rho}{da} = -\frac{4}{a}\rho[/tex]
[tex]\frac{d\rho}{\rho} = -4 \frac{da}{a}[/tex]
[tex]\ln\left(\rho\right) = -4 \ln\left(a\right) + C[/tex]
[tex]\rho(a) = \rho(0) a^{-4}[/tex]
Since the volume is increasing as [tex]a^3[/tex], but the energy density is falling as [tex]a^{-4}[/tex], this represents an energy loss per unit volume, taken directly from the conservation of stress-energy and making use of the fact that [tex]p = \rho/3[/tex] for photons.
Note that you can follow this process in the exact same way for any form of matter where [tex]p = w\rho[/tex] with [tex]w =[/tex] constant. For [tex]w = 0[/tex], energy is conserved in a comoving volume. For [tex]w < 0[/tex], energy grows with expansion. For [tex]w > 0[/tex], energy drops with expansion.