In this paper, using the two integers that describe the stationary 2-dimensional wave and the charge quantization along with the balance between the Lorentz force and electrical force, we succeed in deriving the fractional quantum Hall effect and the integer quantum Hall effect; we find that the latter exists as a special case of the former. Moreover, using the derived expression describing the fractional quantum Hall effect, a relationship between the plateau in the resistivity of the sample and the applied magnetic field is obtained. The findings of this model agree well with experimental measurements. Because the two integers that describe the stationary 2-dimensional wave and the charge quantization along with the force balance have concrete physical meanings in this work, we could provide a clear picture of the origin of both the integer quantum Hall effect and the fractional quantum Hall effect.