The canonical momentum equation is . Eliminating from the phase-space action yields the Lagrangian density
This is the Polyakov action after identifying its inverse metric tensor density as
The determinant of this matrix is , as required in two dimensions. The Weyl transformation leaves the matrix unchanged, so encode the metric modulo its conformal factor.
Define the induced worldsheet metric by . Varying the independent inverse metric tensor in the Polyakov action gives
Consequently , where . For a nondegenerate Lorentzian string worldsheet with the usual compatible time orientation, take , or . The undetermined function is precisely Weyl invariance. Since , elimination of the independent metric tensor gives
Thus the Nambu–Goto action measures minus string tension times Lorentzian worldsheet area. The metric elimination holds in the nondegenerate interior; null endpoints are understood as boundary limits.