- #1
ChrisJ
- 70
- 3
In ##c=1## units, from my SR courses I was told for example, that the Minkowski metric ## ds^2 = -dt^2 + dx^2 + dy^2 + dz^2 ## can be written in matrix form as the below..
[tex] \eta =
\begin{pmatrix}
-1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{pmatrix}
[/tex]
And it was just kind of given to me, but now as I am trying to learn GR and practise more with weird and unusual metrics I find that I do not know a formalism for turning a given metric of the form ##ds^2 =##.. into a matrix form ##g = ## .
Am I correct in thinking that the following metric ##ds^2 = \frac{1}{y^2} dx^2 + \frac{1}{y^2}dy^2 ## is just simply..
[tex] g =
\begin{pmatrix}
y^{-2} & 0 \\
0 & y^{-2}
\end{pmatrix}
[/tex]
If so, what about weirder ones with cross terms (i.e. values in the matrix that are not just along the diagonal ).
Is there a standard formalism for doing this? I have tried searching but not sure I am using the correct terms to get the results I want, or if I do find stuff it uses a lot of notation that I am unfamiliar with.
[tex] \eta =
\begin{pmatrix}
-1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{pmatrix}
[/tex]
And it was just kind of given to me, but now as I am trying to learn GR and practise more with weird and unusual metrics I find that I do not know a formalism for turning a given metric of the form ##ds^2 =##.. into a matrix form ##g = ## .
Am I correct in thinking that the following metric ##ds^2 = \frac{1}{y^2} dx^2 + \frac{1}{y^2}dy^2 ## is just simply..
[tex] g =
\begin{pmatrix}
y^{-2} & 0 \\
0 & y^{-2}
\end{pmatrix}
[/tex]
If so, what about weirder ones with cross terms (i.e. values in the matrix that are not just along the diagonal ).
Is there a standard formalism for doing this? I have tried searching but not sure I am using the correct terms to get the results I want, or if I do find stuff it uses a lot of notation that I am unfamiliar with.