The contribution to the dielectric function from the total electric potential is assumed to average out, so that only the potential at wave vector k contributes. This is what is meant by the random phase approximation. The resulting dielectric function, also called the Lindhard dielectric function, correctly predicts a number of properties of the electron gas, including plasmons.