The Euler-Lagrange equation of the gauge-fixed Polyakov action is the two-dimensional wave equation
Its general solution is a sum of left- and right-moving functions. Periodicity in and a Fourier expansion give the closed-string mode expansion
The zero modes satisfy . Here and are the center-of-mass position and momentum, while the nonzero string oscillators describe shape excitations.