Path: blob/main/Group exercises/Group exercise 6.ipynb
968 views
Exercise for Sympy and General Relativity in a (hazel)nutshell
In this exercise, we introduce the General theory of Relativity (developped by Einstein in the 1910s) that we want to use in order to understand the evolution of the Universe.
According to General Relativity (GR) gravitational field is the spacetime which is represented by the metric tensor . As often in physics, we will designate the tensor by its components . It is a rank 2 tensor (represented by 2 indices, hence rank "2") which in 4 spacetime dimensions is just a matrix.
The reason is that the Greek indices take values in 4 dimensions.
The metric gives the line element (the distance in spacetime between two infinitesimally close events):
The Einstein summation convention is used for the second equality: if an index appears twice -once in subscript and once in superscript- then it is summed over all possible values (see eqs (4) and (5) below for more information).
The geometry of spacetime (specific form of the components of ) is affected by the matter content of the Universe and the configuration of the matter content is affected by the geometry of spacetime, and this cycle of action and reaction goes on and on. A famous explanation of GR is given by John A. Wheeler: "Spacetime tells matter how to move; matter tells spacetime how to curve."
Small note: In popularisation of physics (and even sometimes in textbooks) we can find representations of the effects of General Relativity in which the space is shown as a sheet that is deformed by masses. This representation is misleading and shouldn't be looked as more as a vague intuition (in fact it's even a pretty good representation of classical Newtonian gravity, do you see why?). The two main errors I see in this representation are: 1: only curvature of space is shown, while GR needs the curvature of spacetime (the time is the important feature!), and 2: this representation shows a 2D space curved in a 3rd dimension. There is no reason to think that our 4D spacetime is curved in a 5th dimension.
General Relativity states that gravity is not a force: in the presence or absence of gravity and in absence of other fundamental forces, a particle follows geodesics of the spacetime, i.e., falls freely. Since gravity (spacetime and its geometry) and matter acts on each other on and on, the fundamental equations of motion of (GR), called Einstein equations are of the form:
or in mathematical notations (in SI units):
On the right-hand side of this equation we find the stress-energy tensor multiplied by a constant which is a dimensional constant made up of the speed of light and the Newton constant (sometimes is called the Einstein constant). The stress-energy tensor is another rank 2 tensor (or matrix in 4 dimensions) that describes matter content of the universe. It depends on the properties and the behavior of the matter, particularly its energy density, pressure and shear (see Fig. 1).
ParseError: KaTeX parse error: \tag works only in display equations Illustration of the stress-energy tensor in General Relativity. Taken from Wikimedia.
On the left-hand side of eq. (3) we have the metric tensor , the Ricci tensor and the Ricci scalar . But in fact everything on the left hand side is computed from the metric tensor itself, i.e. . From a certain combination of first derivatives of the metric we obtain the Christoffel symbols . A certain combination of first derivatives of Christoffel symbols yields to the most important object in GR after the metric tensor itself, namely the Riemann tensor which has 4 indices . The Riemann tensor describes the curvature of spacetime (or equivalently the curvature of the metric tensor). From this tensor one can construct the Ricci tensor and then the Ricci scalar , which is the trace of the Ricci tensor: . See exercise below for more details.
The Christoffel sympbols can be thought of 4 matrices (corresponding to taking values ) each being a matrix (corresponding to taking values ). Note that Christoffel symbols are not tensors, hence called "symbols".
The Einstein's equation, eq. (3), then expands to 16 highly non-linear differential equations.
Since Greek indices take values in 4 dimensions, can be seen as a matrix, namely it has 16 components although not all of them are independent. The same goes for the metric tensor and the stress-energy tensor . The reason that these Greek indices take values is that they refer to the coordinates used to describe spacetime: corresponds to the time coordinate usually denoted by , and refer to spatial dimensions which in Cartesian coordinates correspond to . Hence, in Cartesian cooridnates we have . If we want to just refer to the spatial part, we usually use Latin indices , for example, in Cartesian coordinates the spatial part is denoted by where and .
A bit more about tensors
In order to compute various tensors from the metric tensor we need to learn a few concepts. The most elementary is the Einstein's summation notation (that we have already used in eq. (1)): when in a mathematical formula two objects have the same indices, one up and one down, this means summation over that index over the range of its values. For example
A more complicated expression is, for example,
Special attention must be given to where the indices are up or down. Down indices (eg: ) represent tensors, where is the number of indices, while up indices (eg: ) represent tensors, where is the number of indices. Only for the metric tensor , its inverse is given by such that where is the Kronecker delta. Using this, one can raise and lower the indices of any tensor. For example, if is a tensor then and .
The following exercises will consist in the computation of the Einstein tensor step by step for a given metric, and then in computing the Einstein's equations, eq. (3) for this given metric.
Friedmann-Lemaître-Robertson-Walker metric
One of the most important application of General Relativity is Cosmology. Cosmology is the study of the Universe as a physical object, and its theory follows direclty from GR. Our Universe seems to be described by the Friedmann-Lemaître-Robertson-Walker (FLRW) metric, that can be written in the case of a spatially flat universe and in Cartesian coordinates as:
i.e. and (so and all the other terms are 0). is a function of the time only and is called the scale factor. Hence the metric only depends on the time .
Christoffel Symbols
Mathematically the Christoffel symbols, , are defined as:
Important notes:
Despite their notation, the Christoffel symbols are not the components of a tensor!
The Christoffel symbols are symmetric under permutation of the lower indices:
Exercise 1:
Compute the Christoffel symbols for the Friedmann-Lemaître-Robertson-Walker metric , eq. (6):
You should find that the non-zero terms of the Christoffel symbols are:
or are related to them by symmetry (remember that ). We introduced .
Riemann tensor
The Riemann tensor is a rank 4 tensor that depends only on the metric and can be computed from the Christoffel symbols you obtained in exercise 1 and their derivatives:
Exercise 2:
Compute the Riemann tensor of the Friedmann-Lemaître-Robertson-Walker metric, using the Christoffel symbols you obtained in the exercice 1.
Ricci tensor
The Ricci tensor is a contraction of the Riemann tensor :
Of course since the Ricci tensor is a particular case of the Riemann tensor, we can also compute it directly from the Christoffel symbols and their derivatives, as in eq. (11):
The Ricci tensor appears in the left-hand side of the Einstein's equations, eq. (3)!
Exercise 3:
Compute the Ricci tensor of the Friedmann-Lemaître-Robertson-Walker metric, using the Riemann tensor you obtained in the exercise 2.
You should find that for the FLRW metric the non-zero components of the Ricci tensor are:
where .
Ricci scalar
The Ricci scalar is defined as the contraction (the trace) of the Ricci tensor:
Exercise 4:
Compute the Ricci scalar for the FLRW metric.
The Ricci scalar for the FLRW metric is:
Einstein tensor
The Einstein tensor (i.e. the left-hand side of the Einstein's equations, eq. (3)) is defined by:
Exercise 5:
Compute , and from for the FLRW metric.
You should find:
We then have all the components of the Einstein tensor, together with the stress-energy tensor, we can use the Einstein’s equations!
Perfect fluid stress-energy tensor
Now that we have the left-hand side of the Einstein's equations, eq. (3), we need to describe the mass-energy content of the Universe (i.e. the left-hand side of the equations). At first order we can assume that in average, matter in the Universe behaves as a perfect fluid. The stress-energy tensor of a perfect fluid in the rest frame is very easy and is given by (for ):
or equivalently and , where is the density of the fluid and is its pressure. We can see by looking at Fig. 1 that a perfect fluid stress-energy tensor is obtained by having only diagonal terms.
Exercise 6:
Compute the Einstein's equations for :
Hint: We have seen in exercise 5 and in equation (22) that both and have only 4 non-zeros components with the spatial components being all the same. Hence the 16 Einstein's equations give only two non trivial equations in the case of a Friedmann-Lemaître-Robertson-Walker metric: and
You may use a pen and a paper to do that exercise.
You should find two equations:
and
Equations (26) and (27) are known as the Friedmann equations: (eq. (26)) is sometimes called the first Friedmann equation or the velocity equation [it gives ], while eq. (27) is sometimes called the second Friedmann equation or the acceleration equation [it gives ]).
The Friedmann equations are the two fundamental equations of cosmology: they describe the evolution of the universe!
Bonus part.
Exercises 7 and 8 are given as a bonus.
In order to understand better the Friedmann equations, eqs (26) and (27), let's see what happens to the scale factor for different universes filled by different types of matter.
De Sitter universe
Let's first suppose that the only energy component of a given flat universe is a vacuum energy with the following equation of state:
Such a universe is called a de Sitter universe (of short "dS universe"). The de Sitter universe seems to be a good approximation for the asymptotic past and future of our universe (we are yet in the dark-energy-dominated era of the universe).
Exercise 7:
From the first Friedmann equation (eq. (26)) find of a flat de Sitter universe and plot its evolution as a function of .
Dust universe
Let's now suppose that a universe is full of "dust", i.e. classical non-relativistic matter. The equation of state of such a matter component is:
One can show that such an equation of state implies:
Exercise 8:
From eq. (30) and from the first Friedmann equation, eq. (26), find for a flat universe filled of dust and plot its evolution as a function of .