Use the mostly-plus Minkowski metric, and write for equality on the constraint surface. Assume that the mechanical constraints are locally independent. They are first-class constraints when
Thus their Poisson brackets vanish on the constraint surface, and their Hamiltonian flows preserve that surface. The structure functions of a constraint algebra may depend on the phase space point. The finite real span of the constraints is a Lie algebra if it closes with constant structure coefficients, in a suitable choice of generators. The Jacobi identity then gives the usual conditions on the structure constants of a Lie algebra. With general structure functions the finite real span need not close, even though the Poisson bracket of all smooth functions is itself a Lie bracket.
To see the gauge invariance directly, let generate a canonical gauge transformation:
The variation of the phase-space action integrand is
The second term cancels without using the equations of motion. Taking to vanish at the temporal boundaries leaves the action invariant. Arbitrary functions therefore relate different descriptions of the same physical motion. This reasoning also works with structure functions; constant structure coefficients are only needed for the finite-dimensional Lie algebra claim.
For a closed string, choose and periodic fields. A convenient Nambu-Goto phase-space action is
Here and are Lagrange multipliers. The Nambu–Goto phase-space constraints are and , with canonical Poisson brackets
Let . Differentiating the periodic Dirac delta function gives
The opposite signs in and cancel these terms, so . Replace the original constraints by the equivalent chiral densities
Their mixed Poisson brackets vanish. Choose opposite Fourier orientations for the two sectors:
The chiral constraint algebra of a closed string is
Each is the Witt algebra: the vector fields on a circle satisfy . Fourier expansion identifies each real algebra, with , with the Lie algebra of vector fields on the circle. The two commuting copies give , not a quantum central extension.
For an open string, allowed boundary conditions must remove the endpoint term in the variation of the action, consistently with the allowed endpoint variations. The spatial boundary term is
It expresses the open-string endpoint momentum flux. In the temporal gauge for a string , take a boundary-adapted parametrization with at the ends. Fixing gives , a Dirichlet boundary condition. At the other end allow arbitrary spatial variations; for nonzero these require , a Neumann boundary condition. Also in this temporal gauge for a string, so . The constraint at this free-end string boundary condition reduces to . Hamilton's equation consequently gives there. Since , the free endpoint has spatial speed one. This is the null motion of a free string endpoint.
A straight rotating string with one fixed endpoint supplies the required solution in at least two spatial dimensions. Set , , and
Take . The Hamilton's equations become , which holds because both second derivatives give . The Nambu–Goto phase-space constraints are satisfied by
The endpoint at stays at the origin, while at and the endpoint moves around a circle of radius with angular speed . At each time the whole string lies on a straight radial segment. Its spatial proper length is
The velocity is everywhere perpendicular to the segment, so this also equals the sum of local rest-frame lengths. The induced worldsheet metric becomes degenerate at the null free endpoint, as expected for the limiting free-end solution.
Use Minkowski spacetime signature and a closed spatial parameter of period . Choose the future-directed branch with positive lapse .
Canonical dynamics and gauge freedom. Variation of momentum and embedding in the Nambu-Goto phase-space action gives
The Lagrange multipliers impose the Nambu–Goto phase-space constraints and . These two first-class constraints reflect freedom to relabel time and space on the same string worldsheet. The canonical Hamiltonian is a linear combination of constraints, with arbitrary multiplier functions. These functions specify a coordinate description rather than additional propagating fields. No explicit gauge transformation or Poisson-bracket calculation is required.
Eliminating auxiliary variables. Let . Eliminating momentum using leaves
On a patch with spacelike spatial tangent, variation of gives , hence . For the induced worldsheet metric , this gives . Variation of then gives on the positive branch. Substitution yields
This is minus string tension times Lorentzian worldsheet area. Vary the area using and integrate by parts. The Nambu–Goto equations of motion are
The auxiliary-variable elimination and this metric form apply on nondegenerate timelike patches.
Circular motion, length and energy. For the circular embedding, direct differentiation gives
Away from collapse, , so the equations become . The time and out-of-plane coordinates satisfy them immediately. For , both and are . The relations and verify the Virasoro constraints. Equivalently, , , solve the phase-space equations and constraints at all times.
The ring stays in a fixed plane, with radius . It contracts to a point and re-expands. Each labeled point moves radially with speed in target time . The geometric ring repeats after target-time interval , although the labels have then shifted by half a circumference. It is not rigidly rotating. Velocity is perpendicular to the tangent, so simultaneous spatial arclength is also the local proper length along the string. Its length and conserved energy are
Away from collapse, the same energy follows from . Increasing kinetic energy compensates the shrinking length. At collapse the induced metric degenerates; the area-form equation alone is undefined there. The regular phase-space solution supplies the continuation and the limiting constant energy. This is a pulsating circular string.
Endpoint variation. For an open string, integration by parts produces the boundary term
Its coefficient is the open-string endpoint momentum flux. Evaluate this ungauge-fixed variation in a boundary-adapted temporal gauge for a string . Then and the time equation gives . The free variation of time forces , hence at each end. Since is nonzero, the remaining spatial term requires
Free variation in every spatial direction gives , and together with gives the free-end string boundary condition . The general starting condition is the flux condition; the shift term should not be silently discarded before choosing the gauge.
Target-space charges. The Noether charges for translations and Lorentz transformations are the target-space Noether charges of a string
Writing , the canonical equations imply
For the second identity, antisymmetry cancels the terms. Integration by parts then cancels the terms and the symmetric terms. For free ends individually, so both charges are constant. In conformal gauge, the same result follows from and . Target-space energy is .
Other possibilities fix selected spatial directions by Dirichlet boundary conditions, while leaving Neumann boundary conditions in the permitted tangent directions. These mixed conditions describe endpoints on a D-brane; the two ends can lie on different branes. Time stays free under the given assumption. Fixed supports may absorb momentum in their Dirichlet directions and break corresponding translations or Lorentz symmetries. More general force-law conditions require an additional boundary interaction.
Define the open-string endpoint momentum flux along the open string by . Variation of the Nambu-Goto phase-space action gives
The two last equations are the Virasoro constraints. Integration of the momentum equation gives
Thus the necessary and sufficient condition for total momentum conservation is equality of the two endpoint fluxes, component by component. Vanishing of both fluxes is a sufficient local boundary condition.
The spatial boundary term in the action variation is . For free ends the endpoint variations are arbitrary, so
In a gauge with and nonzero this reduces to the usual Neumann boundary condition . The conclusion is conservation of total momentum, not that total momentum must vanish. The PDF contains the derivative in this conclusion; the TeX transcription drops it.
For endpoints confined to , the Dirichlet boundary condition fixes . It therefore imposes no requirement that vanish. Preserving the fixed position requires at each endpoint, but that is a different condition. For example, in gauge the endpoint momentum is zero while can be nonzero. Consequently is generally not conserved: the normal endpoint forces transfer momentum to the hyperplane. A dynamical D-brane recoils and carries the missing momentum. If the hyperplane is idealized as fixed, its external support absorbs the momentum. The combined string-and-support system conserves momentum; freely varying directions tangent to the hyperplane retain their vanishing-flux condition.