  The current Swift sample of gamma-ray bursts (GRBs) with measured redshiftsallows to test the assumption that GRBs trace the star formation in theUniverse. Some authors have claimed that the rate of GRBs increases with cosmicredshift faster than the star formation rate, whose cause is not known yet. Inthis paper, I investigate the possibility for interpreting the observeddiscrepancy between the GRB rate history and the star formation rate history bythe cosmic metallicity evolution, motivated by the observation that the cosmicmetallicity evolves with redshift and GRBs prefer to occur in low metallicitygalaxies. First, I derive a star formation history up to redshift z=7.4 from anupdated sample of star formation rate densities obtained by adding the new UVmeasurements of Bouwens et al. and the new UV and infrared measurements ofReddy et al. to the existing sample compiled by Hopkins & Beacom. Then,adopting a simple model for the relation between the GRB production and thecosmic metallicity history as proposed by Langer & Norman, I show that theobserved redshift distribution of the Swift GRBs can be reproduced with afairly good accuracy. Although the results are limited by the small size of theGRB sample and the poorly understood selection biases in detection andlocalization of GRBs and in redshift determination, they suggest that GRBstrace both the star formation and the metallicity evolution. If the starformation history can be accurately measured with other approaches, which ispresumably achievable in the near future, it will be possible to determine thecosmic metallicity evolution with the study on the redshift distribution ofGRBs.
First, I derive a star formation history up to redshift z=7.4 from an updated sample of star formation rate densities obtained by adding the new UV measurements of Bouwens et al. and the new UV and infrared measurements of Reddy et al. to the existing sample compiled by Hopkins & Beacom. Then, adopting a simple model for the relation between the GRB production and the cosmic metallicity history as proposed by Langer & Norman, I show that the observed redshift distribution of the Swift GRBs can be reproduced with a fairly good accuracy.