Consider a general coordinate system (Ο,π,ΞΆ). I deο¬ne the metric tensor as the transformation matrix between the covariant basis vectors and the contravariant ones. Equations (89) and (90) express the relation between the two sets of basis vectors using cross product. Next, let us express the relation in matrix from. To obtain the metric matrix, we write the contrariant basis vectors in terms of the covariant ones, such as
| (117) |
Taking the scalar product respectively with βΟ, βπ, and βΞΆ, Eq. (117) is written as
| (118) |
| (119) |
| (120) |
Similarly, we write
| (121) |
Taking the scalar product with βΟ, βπ, and βΞΆ, respectively, the above becomes
| (122) |
| (123) |
| (124) |
The same situation applies for the βΞΆ basis vector,
| (125) |
Taking the scalar product with βΟ, βπ, and βΞΆ, respectively, the above equation becomes
| (126) |
| (127) |
| (128) |
Summarizing the above results in matrix form, we obtain
| (129) |
Similarly, to convert contravariant basis vector to covariant one, we write
| (130) |
Taking the scalar product respectively with βπ ΓβΞΆπ₯ , βΞΆ ΓβΟπ₯ , and βΟ Γβππ₯ , the above equation becomes
| (131) |
| (132) |
| (133) |
For the second contravariant basis vector
| (134) |
| (135) |
| (136) |
| (137) |
For the third contravariant basis vector
| (138) |
| (139) |
| (140) |
| (141) |
Summarizing these results, we obtain
| (142) |
where
M = , |
This matrix and the matrix in Eqs. (129) should be the inverse of each other. It is ready to prove this by directly calculating the product of the two matrix.
Suppose that (Ο,π,Ο) are arbitrary general coordinates except that Ο is the usual toroidal angle in cylindrical coordinates. Then βΟ = 1βR is perpendicular to both βΟ and βπ. Using this, Eq. (129) is simpliο¬ed to
| (143) |
Similarly, Eq. (142) is simpliο¬ed to
| (144) |
[Note that the matrix in Eqs. (143) and (144) should be the inverse of each other. The product of the two matrix,
| (145) |
can be calculated to give
, |
where
A = |βπ|2|βΟ|2π₯2βR2 β (βπ β βΟ)2π₯2. |
By using the deο¬nition of the Jacobian in Eq. (79), it is easy to verify that A = 1, i.e.,
| (146) |
]