Tensor[RainichConditions] - check that a metric tensor satisfies the Rainich conditions
Calling Sequences
RainichConditions(g, option)
RainichConditions(g, R, CR, α, option)
Parameters
g - a metric tensor on a 4−dimensional manifold
R - the Ricci tensor of g
CR - a rank 3 tensor, the covariant derivative of the Ricci tensor
alpha - (optional) an unevaluated name
option - the keyword argument output = "tensor"
Description
Examples
Let g be a space-time metric on a 4-dimensional manifold. The Rainich conditions are necessary and locally sufficient conditions for there to exist a non-null electromagnetic field(a non-null 2-form satisfying the source-free Maxwell equations) such that the Einstein equations Gii= Tij hold. Here Gii =Rij −12gijR is the Einstein tensor and Tij is the electromagnetic energy-momentum tensor. The Rainich conditions apply only to those metrics g for which the Ricci tensor is non-null, that is, N= RijRij≠ 0. There are 2 algebraic Rainich conditions and 1 differential condition
C1: Rh iRjh − 14 δji Rhk Rhk =0, C2: Ri i = 0, C3: dα = 0, where αi = ϵijhk Rm jRmk;h /N.
Space-times which satisfy these Rainich conditions are called electro-vac space-times. If the Rainich conditions hold, then an electromagnetic field which solves the Einstein-Maxwell equations can be found. See RainichElectromagneticField.
The command RainichConditions returns true or false. With output = "tensor", the 3 tensors defined by the left-hand sides of the equations C1, C2, C3 are returned. If the argument alpha is present, then the value of the 1-form in C3 is assigned to alpha.
For subsequent computations with RainichElectromagneticField it is more efficient to first calculate/simplify the Ricci tensor and its covariant derivative and then to use the second calling sequence.
with(DifferentialGeometry): with(Tensor):
Example 1.
We define a space-time metric g and check that the Rainich conditions hold.
DGsetup([t, x, y, z], M):
g := evalDG(4/3*t^2* dx &t dx + t*(exp(-2*x)* dy &t dy + exp(2*x)*dz &t dz) - dt &t dt);
g:=−dt⁢dt+43⁢t2⁢dx⁢dx+t⁢ⅇ−2⁢x⁢dy⁢dy+t⁢ⅇ2⁢x⁢dz⁢dz
1. First calling sequence.
RainichConditions(g);
true
2. To use the 2nd calling sequence first calculate the Ricci tensor and its covariant derivative.
R := RicciTensor(g);
R:=12⁢dt⁢dtt2−23⁢dx⁢dx+12⁢ⅇ−2⁢x⁢dy⁢dyt+12⁢ⅇ2⁢x⁢dz⁢dzt
C := Christoffel(g);
C:=dt⁢D_x⁢dxt+12⁢dt⁢D_y⁢dyt+12⁢dt⁢D_z⁢dzt+43⁢t⁢dx⁢D_t⁢dx+dx⁢D_x⁢dtt−dx⁢D_y⁢dy+dx⁢D_z⁢dz+12⁢ⅇ−2⁢x⁢dy⁢D_t⁢dy+34⁢ⅇ−2⁢x⁢dy⁢D_x⁢dyt+12⁢dy⁢D_y⁢dtt−dy⁢D_y⁢dx+12⁢ⅇ2⁢x⁢dz⁢D_t⁢dz−34⁢ⅇ2⁢x⁢dz⁢D_x⁢dzt+12⁢dz⁢D_z⁢dtt+dz⁢D_z⁢dx
CR := CovariantDerivative(R, C);
CR:=−dt⁢dt⁢dtt3−12⁢ⅇ−2⁢x⁢dt⁢dy⁢dyt2−12⁢ⅇ2⁢x⁢dt⁢dz⁢dzt2+43⁢dx⁢dx⁢dtt+ⅇ−2⁢x⁢dx⁢dy⁢dyt−ⅇ2⁢x⁢dx⁢dz⁢dzt−12⁢ⅇ−2⁢x⁢dy⁢dt⁢dyt2+ⅇ−2⁢x⁢dy⁢dx⁢dyt−ⅇ−2⁢x⁢dy⁢dy⁢dtt2−12⁢ⅇ2⁢x⁢dz⁢dt⁢dzt2−ⅇ2⁢x⁢dz⁢dx⁢dzt−ⅇ2⁢x⁢dz⁢dz⁢dtt2
RainichConditions(g, R, CR);
3. Let's see the value of the 1-form α equation C3.
RainichConditions(g, R, CR, 'alpha');
alpha;
0⁢dt
Example 2
We consider a metric depending upon 2 arbitrary functions and determine those functions for which the Rainich conditions hold.
g := (1/x^2) &mult evalDG(A(x)*dx &t dx + B(x)*dy &t dy + 1/z^2*dz &t dz - z^2*dt &t dt);
g:=−z2⁢dt⁢dtx2+A⁡x⁢dx⁢dxx2+B⁡x⁢dy⁢dyx2+dz⁢dzx2⁢z2
Here are the Rainich conditions. The first condition is too complicated to display here, but the 2nd and 3rd are simple.
C1, C2, C3 := RainichConditions(g, output = "tensor"):
C2, C3;
−12⁢24⁢A⁡x⁢B⁡x2+4⁢x2⁢A⁡x2⁢B⁡x2−6⁢x⁢B⁡x⁢A⁡x⁢ⅆⅆx⁢B⁡x+6⁢x⁢ⅆⅆx⁢A⁡x⁢B⁡x2−ⅆⅆx⁢B⁡x2⁢x2⁢A⁡x−ⅆⅆx⁢B⁡x⁢x2⁢ⅆⅆx⁢A⁡x⁢B⁡x+2⁢B⁡x⁢x2⁢A⁡x⁢ⅆ2ⅆx2⁢B⁡xA⁡x2⁢B⁡x2,0⁢dt⁢⋀⁢dx
To impose the Rainich conditions, we set the coefficients of the tensors C1 and C2 to zero. The command DGinfo/"CoefficientSet" gives us these coefficients. Again, they are too long to display here.
Eq := Tools:-DGinfo(C1, "CoefficientSet") union Tools:-DGinfo(C2, "CoefficientSet"):
We see that there are a total of 5 scalar conditions on Ax, t.
nops(Eq);
5
Here is one of the Rainich conditions.
Eq[1];
−12⁢24⁢A⁡x⁢B⁡x2+4⁢x2⁢A⁡x2⁢B⁡x2−6⁢x⁢B⁡x⁢A⁡x⁢ⅆⅆx⁢B⁡x+6⁢x⁢ⅆⅆx⁢A⁡x⁢B⁡x2−ⅆⅆx⁢B⁡x2⁢x2⁢A⁡x−ⅆⅆx⁢B⁡x⁢x2⁢ⅆⅆx⁢A⁡x⁢B⁡x+2⁢B⁡x⁢x2⁢A⁡x⁢ⅆ2ⅆx2⁢B⁡xA⁡x2⁢B⁡x2
We use pdsolve to solve all the Rainich conditions.
solution := pdsolve(Eq);
solution:=A⁡x=−_C1x2⁢_C1+_C2⁢x+_C3⁢x2,B⁡x=_C1⁢x2+_C2⁢x3+_C3⁢x4
For these values of A, B the metric g defines an electro-vac space-time.
See Also
DifferentialGeometry
CovariantDerivative
DGinfo
EinsteinTensor
EnergyMomentumTensor
RainichElectromageticField
RicciTensor
Tensor
Download Help Document