By extending local U(1) gauge symmetry to discontinuous case, we find that under one special discontinuous U(1) gauge transformation the symmetric and antisymmetric wave functions can transform into each other in one dimensional quantum mechanics. The free spinless fermionic system and bosonic system with
δ-type vector gauge potential are proved to be equivalent. The relation also holds in higher space-time dimensions.
The spin-rotationally invariant SU(2) approach to the Hubbard model is extended to accommodate the charge degrees of freedom. Both U(1) and SU(2) gauge transformation are used to factorize the charge and spin contribution to the original electron operator in terms of the emergent gauge fields. It is shown that these fields play a similar role as phonons in the BCS theory; they provide the ``glue'' for fermion pairing. By tracing out gauge bosons the form of paired states is established and the role of antiferromagnetic correlations is explicated.