Fradkin's formulation of statistical field theory is applied to the Coulomb interacting electron gas in a magnetic field. The electrons are confined to a plane in normal three-dimensional space and also interact with the physical three-dimensional electromagnetic field. The magnetic-translation-group Ward identities are derived. By using them, it is shown that the exact electron propagator is diagonalized in the basis of the wave functions of the free electron in a magnetic field whenever the magnetic-translation-group symmetry is unbroken. The general tensor structure of the polarization operator is obtained and used to show that the Chern-Simons action always describes the Hall-effect properties of the system. A general proof of the Streda formula for the Hall conductivity is presented. It follows that the coefficient of the Chem-Simons terms in the long-wavelength approximation is exactly given by this relation. Such a formula, expressing the Hall conductivity as a simple derivative, in combination with a diagonal form of the full propagator, allows us to obtain a simple expression for the filling factor and the Hall conductivity. Indeed, these results, after assuming that the chemical potential lies in a gap of the density of states, lead to the conclusion that the Hall conductivity is given without corrections by sigma-xy = nu-e2/h, where v is the filling factor. In addition, it follows that the filling factor is independent of the magnetic field if the value of the chemical potential remains in the gap.