The distribution function of the particles is gained with the statistical mechanics method for intense beam. The theory unites the existing potential well distortion theory and the microwave instability to explain the bunch lengthening. It is more important that the theory proves the bunch lengthening is a multi-bunch effect in nature. So the importance of the narrow-band impedance to the bunch lengthening is pointed out.