Conformally flat metric on 2-dimentional sphere
This notebook illustrates how to use Atlas package to solve problems in elementary differential geometry. As an example we discuss conformally flat metric on 2-dimensional sphere.
What we do?
- We construct the metric on sphere and calculate connection 1-forms , curvature 2-forms , curvature tensor field (Riemann tensor field), Ricci tensor field and Ricci scalar expression which is proportional to scalar curvature.
- We also calculate some additional quantities: Lie derivatives, exterior derivatives, interior products etc.
Functions[f1→f1[x1,x2,...,xn],f2→f2[y1,y2,...,ym],..., fk→fk[z1,z2,...,zj]] | fk=fk[z1,z2,...,zj]-equations where fk-function identifier and zj-variables. |
| Riemann[id] | id - variable - corresponding identifier. |
| Ricci[id] | id - variable - corresponding identifier. |
| RicciScalar[id] | id-variable-corresponding identifier. |
Necessary functions.
Shpere - S2:
First of all we load Atlas package:
Conformally flat metric on sphere S2:
Declare constant

:
| Out[8]= |  |
| Out[9]= |  |
| Out[10]= |  |
| Out[11]= |  |
Now coframe 1-forms are
e1=d(x), e2=d(y).
Declare frame vectors:
| Out[13]= |  |
Now frame vectors are

.
Metric declaration:
| Out[14]= |  |
Calculate connection 1-forms:
| Out[15]= |  |
Out[16]//MatrixForm= |
| |  |
Calculate curvature 2-forms:
| Out[17]= |  |
Out[18]//MatrixForm= |
| |  |
| Out[19]= |  |
| Out[20]= |  |
| Out[21]= |  |
Show 1-form
2, 1:
| Out[22]= |  |
Verify that there is no Killing vector field among frame vector fields:
| Out[23]= |  |
Verify that "rotation" vector field

is a Killing one:
| Out[24]= |  |
| Out[25]= |  |
Calculation of volume form using Hodge operator &** :
| Out[26]= |  |
Some more calculations. Using interior product operator -

:
| Out[27]= |  |
The same with metric tensor g:
| Out[28]= |  |
Using exterior derivative operator -
d:
| Out[29]= |  |
| Out[30]= |  |
| Out[31]= |  |
| Out[32]= |  |
As
ek are coframe 1-forms and
i are frame vectors then:
| Out[33]= |  |
| Out[34]= |  |
| Out[35]= |  |