The local gauge symmetries of the Polyakov action are worldsheet diffeomorphisms and Weyl transformations. Under a reparametrization , the embedding coordinates transform as scalars and the worldsheet metric as a covariant tensor; the contracted integrand is a scalar density. Infinitesimally, with the active convention, and . A Weyl transformation sends and leaves fixed. In two dimensions the factors from and cancel. Target-space Poincaré transformations are additional global symmetries, rather than worldsheet gauge symmetries.
These gauge freedoms put the metric locally in conformal gauge, . Its variation must still be imposed: it gives the worldsheet stress tensor constraints . The field equation is the wave equation, and periodicity of a closed string gives independent left- and right-moving oscillator sets. In a normalization with , their commutators and normal-ordered generators are
with the same formulas for the tilded sector and zero mixed commutators.
The closed-string physical-state Virasoro conditions in the critical flat-space theory are
They act on the oscillator Fock space, and physical spurious (null) states are quotiented out. Equivalently physical states are the suitable BRST cohomology classes. Positive modes constrain kets; their adjoints constrain bras, so one does not impose every positive and negative matter mode on the same ket. Subtracting the two zero-mode equations gives closed-string level matching, , and adding their mass-shell content gives . Quantum consistency fixes the intercept to one and, for just these flat coordinate fields, : the matter central charge cancels the reparametrization ghost central charge . Other dimensions require additional worldsheet degrees of freedom or a noncritical completion.
For the residual symmetry, take . The conformal Killing equations leave independent transformations and , with a compensating Weyl rescaling restoring the flat metric. On the Euclidean plane the corresponding holomorphic vector fields are and their antiholomorphic partners. They satisfy the Witt algebra . The conserved contour generators are the Virasoro modes . Their quantum Virasoro algebra is
with a second independent copy for the right movers. These are the generators of the residual conformal transformations, including their quantum central extension.
The two-dimensional quantum-gravity interpretation of strings follows from what is integrated, not from an analogy: at genus , the Polyakov path integral integrates over both and the metric, divided by diffeomorphism and Weyl gauge volume. String perturbation theory sums these surface topologies, weighted by before external-state coupling factors. Gauge fixing leaves worldsheet ghost determinants and integrals over worldsheet moduli. Thus it is two-dimensional quantum gravity coupled to the coordinate matter fields. A flat gauge is local; general higher-genus surfaces retain conformal-structure moduli and need not admit a globally flat representative.
Target-space gravity is a different conclusion. At , the state is massless, transverse in both indices, and has longitudinal gauge identifications. Its symmetric traceless transverse polarization is a graviton; the antisymmetric and scalar polarizations give the Kalb–Ramond field and dilaton. The graviton gauge identification is precisely the linearized metric diffeomorphism. Moreover the leading string-frame massless effective action contains , and worldsheet Weyl invariance with constant dilaton and zero two-form requires at leading order in . Thus both the propagating massless spin-two state and its low-energy interactions reproduce gravity. Closed strings contain the graviton and yield Einstein gravity in their low-energy massless sector, together with other fields and higher-derivative corrections; the bosonic tachyon instability remains.
The Polyakov path integral integrates over string worldsheet metrics as well as embedding fields, modulo worldsheet diffeomorphisms and Weyl transformations. Summing surface topologies gives perturbative two-dimensional quantum gravity coupled to the coordinate matter fields. Gauge fixing retains worldsheet moduli and introduces ghosts; a conformal gauge is locally flat, not a global flat metric on every genus. Cancellation of the worldsheet Weyl anomaly makes the critical bosonic version consistent.