Back to blog

Fundamentals of GR: Metric Tensor

August 10, 2026
5 min read
Edge Compiled

To understand the "machine" of gravity, we have to look at the Metric Tensor (gμνg_{\mu\nu}gμν). If space is a fabric, the metric tensor is the set of instructions that tells us how to measure the distance between two threads.

In flat space (like a standard sheet of graph paper), the rules are simple: we use the Pythagorean theorem. But when space is curved, those rules change.

In general relativity, we represent these rules using a 4x4 matrix (because there are 3 dimensions of space + 1 of time).

A metric tensor ggg is essentially a grid of numbers that sits at every point in space:

gμν=(gxxgxygxzgyxgyygyzgzxgzygzz)g_{\mu\nu} = \begin{pmatrix} g_{xx} & g_{xy} & g_{xz} \\ g_{yx} & g_{yy} & g_{yz} \\ g_{zx} & g_{zy} & g_{zz} \end{pmatrix}gμν=gxxgyxgzxgxygyygzygxzgyzgzz
  • The Diagonal (gxx,gyy,gzzg_{xx}, g_{yy}, g_{zz}gxx,gyy,gzz): These are the "Stretch/Squeeze" gears. If gxxg_{xx}gxx increases, the "meter sticks" in the X-direction grow longer.
  • The Off-Diagonal (gxy,gxzg_{xy}, g_{xz}gxy,gxz, etc.): These are the "Shear" gears. They tell us how much the axes are tilting toward each other (changing the angle from 9090^{\circ}90).

Graviton is Spin-2 and that tied directly to the fact that the metric tensor has two indices (μ\muμ and ν\nuν).

Think of it like this:

  1. Spin-0 (Scalar): A single number (like temperature). It has no direction.
  2. Spin-1 (Vector): It points in one direction (like μ\muμ). To define it, we only need to know "where it is pointing".
  3. Spin-2 (Tensor): A "relationship" between two directions (like μ\muμ and ν\nuν). To define the metric, we need to know how the X-direction interacts with the Y-direction.

Because the metric describes a symmetric relationship (the distance from A to B is the same as B to A), the matrix is symmetric. This symmetry is exactly what creates that 180180^\circ180 rotational profile we discussed earlier. If we swap the two directions, the "machine" looks the same.

"The Transformer"

The metric is the most important tool for a gravity specialist. It allows us to move indices up and down (Lowering/Raising).

  • Lowering an index: Vμ=gμνVνV_\mu = g_{\mu\nu} V^\nuVμ=gμνVν
  • Raising an index: Vμ=gμνVνV^\mu = g^{\mu\nu} V_\nuVμ=gμνVν
  • The Inverse Metric: gμνg^{\mu\nu}gμν is the inverse of gμνg_{\mu\nu}gμν, meaning gμνgμν=δνμg^{\mu\nu} g_{\mu\nu} = \delta^\mu_\nugμνgμν=δνμ (The Kronecker Delta).
  • The Kronecker Delta (δνμ\delta^\mu_\nuδνμ): The "Identity Matrix" of tensors. It is 1 if μ=ν\mu = \nuμ=ν and 0 otherwise.

Why Raise or Lower Indices using Metric Tensor?

In flat Euclidean space, we often ignore the difference between the "upper" and "lower" indices because they look the same. But in General Relativity or even Special Relativity, they represent two different perspective of the same object.

  • Contravariant (Vμ)(V^\mu)(Vμ): Think of these as the "natural" components of a vector (like velocity or a displacement).
  • Covariant (Vμ)(V_\mu)(Vμ): Also called "one-forms" or "dual vectors". These represent how a function changes along those directions (like gradient).

The Role of the Metric (gμν)(g_{\mu\nu})(gμν)

The metric tensor is the "bridge" between these two spaces. We need it because:

  1. Defining Length: We cannot simply square the components of a vector (VμVμ)(V^\mu V^\mu)(VμVμ) to find its magnitude in curved space. We must "contract" a vector with its dual:VμVμV^\mu V_\muVμVμ. To get VμV_\muVμ, we use the metric: Vμ=gμνVνV_\mu = g_{\mu\nu} V^\nuVμ=gμνVν.
  2. Dot Product: To find the scalar product of two vectors AAA and BBB, we need one of each index type: AB=AμBμ=gμνAμBνA \cdot B = A^\mu B_\mu = g_{\mu\nu} A^\mu B^\nuAB=AμBμ=gμνAμBν.
  3. Physical Meaning: In Minkowski space (Special Relativity), the metric is ημν\eta_{\mu\nu}ημν = diag(-1,1,1,1). Lowering the "0" index actually flips the sign of the time component (V0=V0)(V_0 = -V^0)(V0=V0). If we didn't lower the index, our physics would be flat-out wrong!

Quick Example on the function of Metric Tensor in Minkowski Space

The Minkowski metric, ημν\eta_{\mu\nu}ημν:

ημν=(1000010000100001)\eta_{\mu\nu} = \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ \end{pmatrix}ημν=1000010000100001

The Calculation: Lowering an Index

Let's take a standard position four-vector xμx^\muxμ. Its components are time (x0)(x^0)(x0) and space (x1,x2,x3)(x^1,x^2,x^3)(x1,x2,x3):

xμ=(ct,x,y,z)x^\mu = (ct, x, y, z)xμ=(ct,x,y,z)

To find the covariant version (xμ)(x_\mu)(xμ), we perform the contraction: xμ=ημνxνx_\mu = \eta_{\mu\nu} x^\nuxμ=ημνxν. This is essentially matrix multiplication:

(x0x1x2x3)=(1000010000100001)(ctxyz)\begin{pmatrix} x_0 \\ x_1 \\ x_2 \\ x_3 \\ \end{pmatrix} = \begin{pmatrix} -1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ \end{pmatrix} \begin{pmatrix} ct \\ x \\ y \\ z \\ \end{pmatrix}x0x1x2x3=1000010000100001ctxyz

The Result:

  • Time components:

    x0=1ct+(0x)+=ctx_0 = -1 \cdot ct+(0 \cdot x)+ \ldots = -ctx0=1ct+(0x)+=ct

  • Spatial components:

    x1=(0ct)+(1x)+(0y)+(0z)=xx_1 = (0 \cdot ct)+(1 \cdot x)+(0 \cdot y)+(0 \cdot z) = xx1=(0ct)+(1x)+(0y)+(0z)=x

    x2=(0ct)+(0x)+(1y)+(0z)=yx_2 = (0 \cdot ct)+(0 \cdot x)+(1 \cdot y)+(0 \cdot z) = yx2=(0ct)+(0x)+(1y)+(0z)=y

    x3=(0ct)+(0x)+(0y)+(1z)=zx_3 = (0 \cdot ct)+(0 \cdot x)+(0 \cdot y)+(1 \cdot z) = zx3=(0ct)+(0x)+(0y)+(1z)=z

So, xμ=(ct,x,y,z)x_\mu = (-ct,x,y,z)xμ=(ct,x,y,z). The metric tensor "flipped" the sign of the time component.

Why does this matter?

We do this to calculate invariants—things that stay the same no matter how fast you are moving. The "length" of a vector in spacetime (the interval s2s^2s2) is found by multiplying the upper and lower versions together:

s2=xμxμ=(ct)(ct)+(x)(x)+(y)(y)+(z)(z)s^2 = x^\mu x_\mu = (ct)(-ct)+(x)(x)+(y)(y)+(z)(z)s2=xμxμ=(ct)(ct)+(x)(x)+(y)(y)+(z)(z)

s2=c2t2+x2+y2+z2s^2 = -c^2 t^2+x^2+y^2+z^2s2=c2t2+x2+y2+z2

If we didn't have that sign flip from the matrix, we would have just c2t2+x2+y2+z2c^2 t^2+x^2+y^2+z^2c2t2+x2+y2+z2, which is just another spatial dimension, and the Speed of Light wouldn't be constant!

General Relativity Physics