Writing Metric in Matrix Form: Method?

Click For Summary
SUMMARY

This discussion focuses on converting metrics from their standard form into matrix representation, specifically within the context of General Relativity (GR). The Minkowski metric is represented as a diagonal matrix, while more complex metrics with cross terms require careful identification of components. The participants confirm that the matrix representation of the metric is derived from the coefficients of the line element, following the formalism where the metric components are symmetric. The discussion provides a clear method for constructing the matrix form from various line elements.

PREREQUISITES
  • Understanding of the Minkowski metric in General Relativity
  • Familiarity with tensor notation and matrix representation
  • Knowledge of line elements and their components
  • Basic grasp of differential geometry concepts
NEXT STEPS
  • Study the process of converting different types of metrics into matrix form
  • Learn about symmetric tensors and their properties in GR
  • Explore the implications of cross terms in metric representations
  • Investigate the differences between tensor and matrix multiplication rules
USEFUL FOR

Students and researchers in physics, particularly those studying General Relativity, as well as mathematicians interested in differential geometry and tensor analysis.

ChrisJ
Messages
70
Reaction score
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..

\eta = <br /> \begin{pmatrix}<br /> -1 &amp; 0 &amp; 0 &amp; 0 \\<br /> 0 &amp; 1 &amp; 0 &amp; 0 \\<br /> 0 &amp; 0 &amp; 1 &amp; 0 \\<br /> 0 &amp; 0 &amp; 0 &amp; 1 <br /> \end{pmatrix}<br />

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..

g = <br /> \begin{pmatrix}<br /> y^{-2} &amp; 0 \\<br /> 0 &amp; y^{-2}<br /> \end{pmatrix}<br />

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.
 
Physics news on Phys.org
ChrisJ said:
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..

g =<br /> \begin{pmatrix}<br /> y^{-2} &amp; 0 \\<br /> 0 &amp; y^{-2}<br /> \end{pmatrix}<br />

Yes. What you are doing is really writing a matrix representation of the metric.

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.

In general, the line element is given by
$$
ds^2 = g_{ab} dx^a dx^b.
$$
If you have the line element, just write out the sum and start identifying components (taking into account that the metric is symmetric so that ##g_{ab} = g_{ba}##. The matrix representation of the metric has the metric components ##g_{ab}## as its elements.

Edit: For example, consider the coordinates ##\xi = x-t## and ##\eta = x+t## in 2D Minkowski space (those are called light-cone coordinates. You would obtain that ##x = (\xi + \eta)/2## and ##t = (\eta-\xi)/2## and therefore
$$
ds^2 = -dt^2 + dx^2 = \frac{1}{4}[(d\xi + d\eta)^2 - (d\eta - d\xi)^2] = \frac{1}{2} d\xi \,d\eta
= g_{\xi\xi} d\xi^2 + 2 g_{\xi \eta} d\xi\, d\eta + g_{\eta\eta} d\eta^2.
$$
Identification directly gives ##g_{\xi\eta} = 1/4## and ##g_{\xi\xi} = g_{\eta\eta} = 0##.
 
  • Like
Likes   Reactions: Ibix and ChrisJ
In tensor notation, ##ds^2=g_{ij}dx^idx^j##. If you want to use matrix notation for it (careful! Tensors are not matrices and the rules for multiplication are not the same), it's ##ds^2=\vec{dx}^T\mathbf{g}\vec{dx}##.

So your example is correct. Essentially, the coefficient of ##dx^idx^j## goes in the i,j position of the matrix representation of the tensor. The only trap for the unwary is that ##dx^idx^j=dx^jdx^i##, so for off-diagonal elements if you have ##ds^2=\ldots+2Adx^idx^j+\ldots## then you put ##A## in the position i,j and also A in j,i.
 
  • Like
Likes   Reactions: ChrisJ
Ibix said:
In tensor notation, ##ds^2=g_{ij}dx^idx^j##. If you want to use matrix notation for it (careful! Tensors are not matrices and the rules for multiplication are not the same), it's ##ds^2=\vec{dx}^T\mathbf{g}\vec{dx}##.

So your example is correct. Essentially, the coefficient of ##dx^idx^j## goes in the i,j position of the matrix representation of the tensor. The only trap for the unwary is that ##dx^idx^j=dx^jdx^i##, so for off-diagonal elements if you have ##ds^2=\ldots+2Adx^idx^j+\ldots## then you put ##A## in the position i,j and also A in j,i.

Ok thanks both,

So, if I am understanding you both correct, something like ##ds^2 = -xdv^2 + 2dvdx## would be

<br /> g = \begin{pmatrix} -x &amp; 1 \\ 1 &amp; 0 \end{pmatrix}
 
  • Like
Likes   Reactions: Dale
Yes.
 
  • Like
Likes   Reactions: ChrisJ

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K