Free Access
Issue
A&A
Volume 664, August 2022
Article Number A75
Number of page(s) 22
Section Cosmology (including clusters of galaxies)
DOI https://doi.org/10.1051/0004-6361/202142615
Published online 05 August 2022

© ESO 2022

1. Introduction

Galaxies are not isolated systems; during their lives they exchange baryonic matter with their gaseous haloes, known as their circumgalactic medium (CGM), and to a larger extent with the intergalactic medium (IGM) pervading the space between them. These gas flows, which occur at kiloparsec (kpc) scales or less, are primarily responsible for the star formation activity, mass growth, and metal enrichment across cosmic time (Peeples et al. 2019).

In addition to this scenario, the large-scale distribution of galaxies on megaparsec (Mpc) scales also has a major influence on their evolution. The extent to which this is important, and the impact on galaxy properties that reside in different environments, have been the objects of intense debate in recent decades (De Lucia et al. 2004a,b; Gao et al. 2005; Maulbetsch et al. 2007; Shankar et al. 2013). We know that denser environments at low redshift (e.g., mature galaxy clusters) host larger fractions of red early-type galaxies compared to the field, which translates into the morphology–density relation (Dressler 1980). On average, galaxies in overdense regions are also more massive, redder, less gas-rich, and less star-forming compared to their more isolated counterparts (Kauffmann et al. 2004; Baldry et al. 2006; Weinmann et al. 2006). This is due to a combination of mechanisms that come into play when galaxies approach a higher density region, and that are able to reduce or even completely quench their star formation activity. These processes include harassment, dynamical friction and merging, ram-pressure stripping, and starvation. Harassment is due to the interaction of galaxies with close companions and with the gravitational potential of the cluster, which can destroy galactic disks and produce more spheroidal shapes (Farouki & Shapiro 1981; Moore et al. 1996). Dynamical friction and merging are responsible for the gradual loss of kinetic energy by the galaxies, which may approach the bottom of the gravitational potential well and merge together, forming the brightest cluster galaxy (BCG), the most luminous and massive system in an overdense structure (Ostriker & Tremaine 1975; De Lucia & Blaizot 2007). Finally, ram pressure stripping refers to the removal of cold gas in the galaxies due to their interaction with the hot, X-ray bright, intracluster medium (ICM, Gunn & Gott 1972). If only the outer parts of the galactic disk are stripped, the star formation is not quenched abruptly, but continues over a longer period until the complete exhaustion of the available gas. In this case, the physical phenomenon is called starvation (Larson et al. 1980; Balogh et al. 2000). The consequences of ram pressure gas stripping are frequently seen in the local Universe in jellyfish galaxies (Poggianti et al. 2017), and this gas stripping can affect both the hot ionized phase (Jáchym et al. 2014) and the cold molecular phase (Poggianti et al. 2019), depriving galaxies from their fuel.

Apart from well-studied individual systems in the local Universe, it is interesting to determine how these processes impact the galaxy population as a whole. For this statistical approach we need to observe the largest possible number of galaxies probing different regimes of environmental conditions, stellar masses, star formation activity, and redshift. The environment is typically defined by deriving a three-dimensional local galaxy density map in the entire survey volume, from which connected overdense regions and clusters can be identified. For galaxies inside clusters, a useful distinction is made between centrals and satellites; the former lie at the bottom of the dark matter halo gravitational potential well and usually correspond to the BCG, while the remaining galaxies are called satellites. These two types of systems are thought to have evolved in different ways across cosmic time.

Observational studies based on the Sloan Digital Sky Survey (SDSS), the widest survey in the local Universe mapping one-quarter of the entire sky, have found that satellite galaxies with stellar masses M < 1010M have enhanced gas-phase and stellar metallicity compared to equally massive centrals (Pasquali et al. 2010; Shimakawa et al. 2015; Bahé et al. 2016). In addition, star-forming satellites at all stellar masses show a clear correlation between their local density and their gas-phase metallicity, with the metal content increasing when we move from low- to high-density regions, but this behavior is not observed for star-forming centrals (Peng & Maiolino 2014; Maier et al. 2019). Regarding the stellar phase mass–metallicity relation (MZR), no environmental effects are found for star-forming galaxies as a function of local density and distance from the cluster centers, while a small systematic offset of < 0.05 dex is only observed for passive and green valley systems (Trussler et al. 2021).

Broadening the knowledge of how the large-scale structures affect galaxy properties at earlier cosmic epochs is essential. Galaxy clusters are thought to be the earliest fingerprint of galaxy formation, and they are crucial to understanding the processes responsible for their evolution, in particular for the triggering and suppression of star formation and black hole activity (Kravtsov & Borgani 2012). Despite their importance, environmental effects are still poorly understood at high redshifts. The cosmic epoch between z = 1 and z = 2 seems to be crucial for the modification of fundamental properties of these structures. For example, Elbaz et al. (2007) claim that the star formation-density relation reverses at z ∼ 1, with individual star formation rates (SFRs) of galaxies at z > 1 increasing with local galaxy density. Most galaxy structures at these early epochs were not completely virialized and were still in their process of formation, with larger sizes and more loosely distributed members. For this reason they are often referred to as protoclusters, lacking both a well-defined red sequence galaxy population (Salimbeni et al. 2009) and a hot ICM that we commonly observe in X-rays in mature clusters at z ∼ 0 (Overzier 2016).

At high redshift, the investigation of the environmental influence on the metal content of galaxies is usually limited to their gas-phase metallicity, which is easier to measure from bright optical and UV emission lines. Even so, several studies have found completely different results so far. First, Tran et al. (2015), Kacprzak et al. (2015), and Namiki et al. (2019) claim that there is a very small and not significant impact of the environment on the MZR at redshifts 1.5 < z < 2. Kulas et al. (2013) and Shimakawa et al. (2015) find instead a significantly higher gas-phase metallicity in cluster galaxies, which they interpret as being due to metal enriched outflowing gas falling back onto the galactic disk on short timescales because of the higher pressure of the IGM in dense regions. Finally, Valentino et al. (2015) show that cluster members at z ∼ 2 could be more metal poor than equally massive field galaxies because of metal dilution driven by pristine gas inflows from the cosmic web, which are more efficient at earlier cosmic epochs. Interestingly, a recent study by Chartab et al. (2021) seems to support this last scenario, claiming that the environmental density dependence of the gas-phase MZR reverses at around redshift 2. According to them, HII regions in overdense regions at z > 2 are more metal poor than those in the field, due to more efficient gas cooling during the early phases of cluster formation, hence to a higher fraction of metal-poor gas in these systems with respect to z ∼ 0. Overall, these studies suggest that different mechanisms might be at play at the same time, which can affect the metal content and other physical properties of galaxies in overdense regions. While more data are needed to clarify the dominant scenario, we still do not have any knowledge about the effects of the environment on the stellar metallicity at these same redshifts.

In this paper we investigate for the first time at redshift > 2 the environmental dependence on the stellar mass–stellar metallicity relation, which, compared to the gaseous phase, provides an important and independent diagnostic of the metal content and evolution in galaxies from 10 to 12 billion years ago. This is possible thanks to the uniquely deep spectra provided by the VANDELS survey (Pentericci et al. 2018; McLure et al. 2018; Garilli et al. 2021) for thousand of galaxies, probing the bulk of the star-forming galaxy population at this early cosmic epoch. The high signal-to-noise ratio (S/N) reached for the stellar continua (> 7 per resolution element for 80% of the observed sample) indeed provide accurate estimates of the metal content in stars from spectral stacks, as shown by Cullen et al. (2019) and Calabrò et al. (2021, hereafter C21). In addition, we also provide further constraints to environmental driven variations of the gas-phase metallicity, exploiting a recent near-infrared follow-up for a subset of VANDELS targets (Cullen et al. 2021). For the analysis of the environment, we build upon the results of Guaita et al. (2020, hereafter G20), who identified protocluster structures between z = 2 and z = 4 from the 3D galaxy density map in the cosmic volume targeted by VANDELS, reconstructed through the (2+1)D cluster finding algorithm of Trevese et al. (2007) and Castellano et al. (2007).

The paper is organized as follows. In Sect. 2 we describe the photometric parent sample from which we derive the galaxy density field in the VANDELS area and identify overdensity structures and protoclusters with different approaches. Then we introduce the final spectroscopic sample and illustrate the derivation of the stellar and gas-phase metallicity for stacked spectra and individual systems, respectively. We present the results of these measurements in Sect. 3, showing the environmental dependence of the MZR, as a function of the galaxy density and of the protocluster or overdensity membership. Finally, in Sect. 4, we discuss the physical scenarios that are able to explain our observed trends, and compare our results to the predictions of different semi-analytic models of galaxy evolution and hydrodynamical simulations. A summary with the main conclusions is featured in Sect. 5. In our analysis we adopt a Chabrier (2003) initial mass function (IMF) and a solar metallicity Z = 0.0142 (Asplund et al. 2009) and, unless otherwise stated, we assume a cosmology with H0 = 70 km s−1 Mpc−1, Ωm = 0.3, ΩΛ = 0.7.

2. Methodology

In this section we briefly present our parent catalog and the subset targeted by the VANDELS survey. For the parent catalog, we show the derivation of the photometric redshifts and other physical properties (e.g., stellar masses, SFR) obtained from their optical to infrared SEDs. We also describe the method adopted for the estimation of the local galaxy density in all the VANDELS fields, and for the identification of overdense structures at redshifts 2 < z < 4. Then we present the selection of the final sample for our analysis and show how the stellar metallicity is derived from spectral stacks of galaxies in bins of different stellar masses. Finally, we introduce the smaller sample of VANDELS galaxies that were followed up in the near-infrared (NIR), and for which individual estimates of the gas-phase metallicity are derived.

2.1. Photometric parent sample and SED fitting with Beagle

The galaxies considered in this work were originally selected for the VANDELS survey, a uniquely deep spectroscopic survey with the VIMOS multi-object spectrograph at the ESO-VLT (Pentericci et al. 2018; McLure et al. 2018; Garilli et al. 2021). This survey mainly targeted star-forming galaxies at redshifts in the range 2−6.5 in the Ultra Deep Survey (UDS) and Chandra Deep Field South (CDFS) fields, which cover together an area of the sky of ∼0.2 deg2. Nearly half of this original sample falls within the CANDELS region (Grogin et al. 2011; Koekemoer et al. 2011), for which deep H-band-selected photometric catalogs are already available in both CDFS and UDS, reaching ∼90% completeness at HAB ∼ 25.5 and ∼26.7, respectively (Guo et al. 2013; Galametz et al. 2013a). The remaining galaxies are distributed instead over a wider region, and new photometric catalogs are generated for them within our collaboration by using the publicly available imaging in optical and NIR bands, with a depth of HAB = 24.5 (25) in the CDFS (UDS) fields.

For the VANDELS parent sample, both with HST and ground-only observations, we carried out a SED fitting to determine the basic physical properties of the galaxies, such as stellar mass, SFR, and stellar age. We used the BayEsian Analysis of GaLaxy sEds (Beagle) software (Chevallard & Charlot 2016), which is a very powerful and versatile tool that allows the user to simulate the full UV to IR theoretical spectral energy distribution of a galaxy. Beagle’s SED fitting algorithm is based on Bayesian inference, which iteratively compares theoretical SEDs to the observations according to the MultiNest algorithm (Feroz et al. 2009) to find the best-fit parameters.

In Beagle, both the stellar and nebular emission components of the galaxy are considered. For the former we adopt the Gutkin et al. (2016) stellar population models with a Chabrier IMF. The star formation history (SFH) is parameterized using an exponentially delayed analytical form as τeτ, where τ is the typical star formation time. The SFR timescale, which is the final time bin where the SFR of the galaxy is considered constant and calculated, is set to 100 Myr. In our case, we assume a uniform prior for log τ in the range 7.0−10.5 (in Myr), and for the specific SFR (SSFR) in the range −9.5 < log(SSFR) < −7.05 (in yr−1). We also set the maximum stellar age, defined as the age of the oldest stellar population in the galaxy, with a uniform prior in the logarithmic range 7.0−10.2 (yr). Finally, the stellar mass M and the stellar metallicity Z, both outputs of the program, are initialized, respectively, with a uniform prior in the range 5 < log(M/M) < 12 and with a Gaussian prior centered in log(Z/Z) = − 0.85 with 1σ = 0.2, corresponding to the average stellar metallicity of VANDELS galaxies (Cullen et al. 2019; Calabrò et al. 2021). The redshifts of the galaxies are fixed to the spectroscopic value when available (see the following section).

The nebular component is modeled through the photoionization models of Gutkin et al. (2016), which combine the above stellar population models with the photoionization code CLOUDY v.13.3 (Ferland et al. 2013). The HII regions and diffuse ionized gas are thus described through some effective parameters representative of the whole galaxy, including the ISM metallicity ZISM and the ionization parameter log(U). While the first is dependent on other quantities, the second is free to vary in the range −4 < log(U) <  − 1 with a uniform prior. For the dust we adopt a Charlot & Fall (2000) attenuation law and we assign a uniform prior to the V-band optical attenuation depth τV in the range 0−10 mag. Finally, the dust-to-metal ratio ξd and the ratio between interstellar medium depth and total optical depth μ = τISM/τV, are both set to their default values of 0.3, consistent with standard values reported in the literature (Camps et al. 2016; Battisti et al. 2020). With these parameters, the intensity of emission lines generated by simple stellar populations with age < 108 yr are calculated and taken into account by Beagle in the SED fitting procedure. The Inoue et al. (2014) model is also included to describe the IGM transmission. We note that the stellar masses are very stable against the choice of the SFH and dust attenuation law, as shown by Santini et al. (2015), and they have typical statistical uncertainties of 0.1 dex. They also agree well with the values obtained through BAGPIPES (Carnall et al. 2018) and adopted in the final DR4 VANDELS release (Garilli et al. 2021).

2.2. Galaxy density map in VANDELS fields

The environmental density ρgal, also known as the local galaxy density field, is defined as the number of galaxies per Mpc3. We calculated this quantity in the wide VANDELS area (CANDELS + GROUND regions), as described in G20. We summarize here the main features of this method, and refer to the previous paper for more details. The estimation of ρgal is based on the (2+1)D algorithm developed by Trevese et al. (2007) and Castellano et al. (2007) and used in several works, including Salimbeni et al. (2009), Castellano et al. (2011), Pentericci et al. (2013), and Galametz et al. (2013b). This algorithm considers as an input the 3D coordinates of all the objects in the catalog, namely the right ascension (RA), declination (Dec) in the sky, and the redshift. We use the spectroscopic redshift of the objects when available. For VANDELS galaxies, we consider those with spectroscopic redshift flags 3, 4, and 9, which correspond to spectra with highly reliable redshift measurements (i.e., > 95% probability of being correct). We also include galaxies with spectroscopic flag = 2 (i.e., > 75% probability of having a correct redshift estimation) in order to improve the accuracy of the local density maps1. For all the other systems, we adopt their photometric redshift estimate. This method is applied in the redshift range between 2 and 4, where 2 is the lower z limit of the survey, while the upper cut is set to mitigate the incompleteness of the photometric catalog at very high-z, and because the number of spectroscopic sources drops at z > 4, mining the reliability of the results. These conditions yield 1311 (1019) zspec and 6235 (8531) zphot sources in the CDFS (UDS) fields, which are then used for this work. We note that we consider the complete VANDELS data release (Garilli et al. 2021), reaching an even larger fraction of spectroscopically confirmed redshifts (with z-flag ≥ 2) compared to the previous calculations of G20. Even though this improves the local density reliability for the additional spectroscopic subset, it does not significantly affect the global overdensity structures found in G20.

The algorithm divides the entire volume survey into small cells with size δRA = 3″, δDec = 3″, δz = 0.02, where the angular distance corresponds to ∼75 comoving kiloparsec (ckpc) at z ∼ 2, while the cell size in the redshift direction was set from simulations and was chosen as a compromise between the spectroscopic and the photometric redshift accuracy (Castellano et al. 2007). Running the code on a mock galaxy catalog, G20 demonstrates that, with a δz = 0.02, the algorithm is able to recover all the highest density peaks of simulated overdensities. Then, for each object, the local galaxy density is defined as ρN = N/VN (hereafter simply ρ), where VN is the comoving volume that includes the N nearest neighbours, with N fixed to 10. In the case that ten counts are not reached, a maximum volume is considered for the calculation of ρN, which has an extension of 15″ in the spatial direction and 0.04 × (1 + z) in the redshift direction. The distributions of the local galaxy densities ρ for the parent photometric and the VANDELS spectroscopic subset in CDFS and UDS fields are presented in Fig. 1, also as a function of redshift within the range adopted here.

thumbnail Fig. 1.

Local galaxy density distribution of VANDELS galaxies. Left and middle: redshift (z) vs. local galaxy density (ρ) for the galaxies with reliable spectroscopic redshifts (z-flag ≥ 3) used to test the environmental effects on the MZR, in the CDFS and UDS fields, respectively with blue and orange dots. This is only a subset of the parent VANDELS sample used to calculate the galaxy density maps. The black dashed line and the gray shaded region represent for each z the median local density ρmed(z) and the corresponding standard deviation, respectively. The colored continuous lines highlight instead the criterion adopted to consider galaxies as members of an overdensity structure: > 6σ above the median density. Right: histogram distribution of the local galaxy density for the VANDELS sample used in this work (both fields). The white empty bars show the local density distribution of the parent VANDELS sample (having both photometric and spectroscopic z) used for the calculation of the density and for the identification of overdense structures.

The algorithm is able to identify galaxy overdensities by comparing the local density value ρgal in each volume cell to the mean density ρgal, med(z) at a given redshift, and then extracting connected regions where ρgal is at least 6σ above the median value and contains a minimum number of ten cells and five galaxies. The RA-Dec-z coordinates of the highest S/N density peak in the same structure is taken as the protocluster center. Among the identified overdensities, only those containing dense cores are kept. Dense cores at z < 3 and > 3 are characterized by more stringent conditions: at least five galaxies located within a maximum projected radius of 7 cMpc in the lower-z bin and three galaxies within 8 cMpc in the upper z-bin, where the radii are the typical protocluster sizes at this cosmic epoch (e.g., Springel et al. 2005; Franck & McGaugh 2016). The requirement of a dense core and the exact values of all the above parameters was widely tested with simulations in G20, and it was found to provide the most reliable structures.

This procedure yields 13 structures in CDFS and 9 structures in the UDS field in our redshift range (G20). In order to keep track of the membership, we also assign to each galaxy an overdensity flag (OV-flag, = 1 or 0), indicating, respectively, whether they belong or not to one of these overdensity structures. We note that the majority of the identified overdensities are elongated along the redshift direction and are composed of multiple density peaks at slightly different z. Usually, they are also formed by more than one peak in projected RA-Dec space, with a typical size of 1−4 cMpc. As shown in G20, the overdensity members show rest-frame colors and specific SFRs typical of star-forming galaxies at z < 3 and Lyman-break galaxies at z > 3, suggesting that we are witnessing young protoclusters. Considering the mass density and the characteristic redshifts of the structures, they might evolve into a Fornax-type virialized cluster by redshift 1 to 0.2. In Figs. 2 and 3, we show an example of two overdense structures, the first at z < 3 in the CDFS field, and the second at higher redshift and in UDS. The lower number of galaxies detected in the higher redshift bin follows the decrease in number density expected for our mass range between z ∼ 2.5 and 3.5. We refer to G20 for a detailed description of the density distribution and galaxy map for all the remaining identified structures in VANDELS.

thumbnail Fig. 2.

Example of an overdensity structure identified at z ≃ 2.8 in the CDFS field. The contours of the local galaxy density (gal Mpc−3) estimated with the method of Guaita et al. (2020) are overplotted; the different levels correspond to the enhancement in units of 1σ compared to the average galaxy density and standard deviation in the given redshift range. The symbols represent the galaxy sample used for the determination of the density map in Sect. 2.2. In particular, the black points, red stars, and green stars identify, respectively, galaxies with photometric redshifts, the VANDELS sample with spectroscopic redshift flag ≥ 2, and galaxies with spectroscopic redshift coming from surveys other than VANDELS. The big empty black square and the continuous black line represent, respectively, the center of the overdensity structure and its boundaries in projected space. The black dashed circles with increasing radii of 10, 15, and 20 cMpc from the overdensity structure centers are used for an alternative definition of protoclusters, assuming a Δz = 0.04 along the redshift direction. Only VANDELS galaxies with z-flag ≥ 3 were used for the stacking and metallicity estimations in Sect. 2.4.

In order to provide a more complete description of the galactic environment, we also define ‘protocluster’ structures as cylindrical volumes around the overdensity centers identified above, with increasing radii of 10, 15, and 20 cMpc, and redshift elongation within ±0.04, corresponding to the average size in redshift space (i.e., 4000 km s−1, constant between z = 2 and 4) of all overdensities in VANDELS (G20). The lowest radius in projected space is the minimum that allows enough statistics in protocluster regions for our goals. The sky radii that we inspect agree with the sizes of 10−20 cMpc expected at z > 2 for the progenitors of the present-day clusters (Muldrew et al. 2015; Contini et al. 2016). On the other hand, choosing radii larger than 20 cMpc would produce an area that is comparable to or larger than the whole CDFS or UDS field, and in most cases more than 50% of its area would lie outside the VANDELS region that we are analyzing. These protoclusters defined with different radii are drawn with black dashed circles in Figs. 2 and 3. VANDELS galaxies (i.e., big green stars) belonging to them are assigned a protocluster flag (PC-flagradius) of 1, as opposed to external objects that have PC-flagradius = 0.

thumbnail Fig. 3.

Example of an overdensity structure identified at redshift z ≃ 3.6 in the UDS field. Symbols and contours are the same as in Fig. 2. For this particular overdensity structure at high-z, most of the spectroscopic redshifts come from the VANDELS survey.

We finally note that the different environmental definitions are not perfectly correlated; for example, galaxies outside the protocluster and overdensity structures have a variety of density values, possibly including overdense systems that do not satisfy the conditions for a dense core, or are too far from them. On the other hand, our definition of protoclusters also includes systems that are locally more isolated, but that might be gravitationally influenced by the densest cores.

2.3. Spectroscopic sample and final selection

In order to derive accurate estimates of the stellar metallicity to study the environmental dependence of the MZR, we need an extended and homogeneous spectroscopic dataset. From the parent catalog adopted for the local density field calculation in the previous section, we now restrict our analysis to galaxies representing a fraction of ∼10% of the initial sample, which have been selected in an unbiased way by VANDELS for spectroscopic follow-up. As discussed in previous works (McLure et al. 2018) and also shown later in this paper, this subset is fully representative of the main sequence of star formation at redshift ∼3 (Whitaker et al. 2014; Speagle et al. 2014; Schreiber et al. 2015), and has a specific SFR (SSFR) lower limit of ∼0.1 Gyr−1. For more details about the observations, full data reduction, and redshift estimation, we refer to the two VANDELS introductory works and to the final release paper by Garilli et al. (2021), which delivered to ESO 2087 1D calibrated spectra2. We specify here that only galaxies with spectroscopic redshift flags 3, 4, and 9 are considered in the stacking procedure and for the analysis of the stellar metallicities (hence excluding z-flag 2 used for the density map). These criteria yield a total of 926 galaxies, of which 476 are in the CDFS field and 450 lie in the UDS field.

2.4. Stellar metallicity estimates from stacked spectra

We estimate the metallicity from the two stellar photospheric absorption features located around 1501 and 1719 Å, following the methodology presented in C21. The former metallicity indicator, introduced by Sommariva et al. (2012), is a single absorption line due to the SV ion, and arising in the photosphere of young hot stars. The latter indicator is instead a blend of multiple absorption lines, including NIV (1718.6 Å), SiIV (1722.5, 1727.4 Å), and multiple transitions of AlII and FeIV ranging from 1705 to 1729 Å. Our metallicities are thus representative of the metal content of young stellar populations (O-B stars), which dominate the continuum emission in the far-UV regime.

The metallicity measurements are based on the equivalent width (EW) of the two absorption features, defined as λ 1 λ 2 ( f(λ) f cont (λ) ) / f cont (λ)dλ $ \int_{\lambda_1}^{\lambda_2} \left(f(\lambda)-f_{\rm cont}(\lambda)\right)/f_{\rm cont}(\lambda){\rm d}\lambda $, where f(λ) is the spectrum (in erg s−1 cm−2 Å−1) and fcont(λ) is the pseudo-continuum flux, estimated through a linear interpolation of the average flux density between the closest blueward and redward pseudo-continuum windows defined by Rix et al. (2004). The wavelengths λ1 and λ2 are the limits of the two features, that is, 1496−1506 Å for the former and 1705−1729 Å for the latter.

Finally, the stellar metallicities log10(Z/Z) are derived from the EW of the individual indices applying the third-order polynomial fits reported in C21,

log ( Z / Z ) | 1501 = 1.24 EW 1501 3 2.97 EW 1501 2 + 3.48 EW 1501 1.98 log ( Z / Z ) | 1719 = 0.06 EW 1719 3 0.44 EW 1719 2 + 1.51 EW 1719 2.12 $$ \begin{aligned} \begin{aligned} \mathrm{log} (Z/Z_\odot )|_{1501}=1.24 \mathrm{EW}_{1501}^3-2.97 \mathrm{EW}_{1501}^2+3.48 \mathrm{EW}_{1501}-1.98 \\ \mathrm{log} (Z/Z_\odot )|_{1719}=0.06 \mathrm{EW}_{1719}^3-0.44 \mathrm{EW}_{1719}^2+1.51 \mathrm{EW}_{1719}-2.12 \end{aligned} \end{aligned} $$(1)

and then taking the mean of the two metallicity estimates. We recall, as shown in Fig. 3 of C21, that the two calibrations produce metallicities from the 1501 and 1719 indices that are consistent with each other within the errors. Therefore, the mean estimation has only the effect of decreasing the final associated uncertainty.

The calibrations are based, for consistency with the other VANDELS works, on Starburst99 stellar population models (Leitherer et al. 1999), which have an original resolution of 0.4 Å. These were resampled to match the wavelength grid used in our stacked spectra, and smoothed to the same average VANDELS resolution. In addition, the two expressions in Eq. (1) are derived assuming a Kroupa IMF (with upper mass cutoff of 100 M) and a constant SFH of 100 Myr. Even though the individual galaxies can be younger than our adopted star formation timescale, in spectral stacks we are averaging systems with different stellar ages in general, and 100 Myr represents an average value that is representative of the stellar populations that mostly contribute to the far-UV wavelength regime. We also note that, as shown in C21, the two indices considered here are the only good and reliable metallicity tracers in the far-UV range and at the resolution of VANDELS (R = 600) as they are unaffected by ISM absorption (Vidal-García et al. 2017) and largely independent of IMF, age, and dust attenuation. In particular, referring to C21, variations of the dust attenuation or a higher IMF cutoff mass of 300 M do not significantly affect the calibrations reported in Eq. (1). On the other hand, a different IMF shape (e.g., Salpeter) and varying stellar ages in the range 50 Myr–2 Gyr, would produce a variation in the derived metallicity of ∼0.025 dex for the 1501 index and < 0.01 dex for the 1719 index (i.e., an average variation of ≲0.015 dex) in the metallicity regime probed by VANDELS, hence they would have a negligible impact on the results of this paper. As also shown in Cullen et al. (2019), using instead a different set of models like BPASS (version 2.1) would yield lower metallicity estimates with a constant offset of 0.09 dex, hence would not affect differences in the metal content between two galaxy populations, provided that the same type of models are adopted throughout the paper. Finally, the statistical uncertainties on the EWs are instead determined from Monte Carlo simulations, perturbing the flux density at each spectral wavelength according to its 1σ error, and then propagating the results to log10 (Z/Z).

Given the faintness (i.e., low absorption EW) of stellar photospheric features, the above method cannot be applied to single spectra, but stacking is required to enhance the S/N level up to values ≳20. This allows us to properly constrain the final stellar metallicity within 0.1−0.2 dex, as also found in C21 with the support of simulations. In practice, rest-frame individual spectra, normalized to the wavelength range 1570−1601 Å (which is free of strong emission or absorption features and lies between our two metallicity indicators), are resampled to a common wavelength grid of 1 Å per pixel, and then stacked together taking the simple median. The noise composite spectrum is derived from bootstrap resampling. We note that simply applying the error propagation formula as in Guaita et al. (2015) we obtain a similar average noise level, hence it does not alter the uncertainties on the metallicity results. Overall, we refer to C21 for a more complete description of the metallicity derivation, for the analysis of other UV absorption line features as a function of IMF, age, and ISM contamination, and for the analytic relation between the S/N of the stellar continuum and the metallicity uncertainty achievable.

2.5. Gas-phase metallicity from complementary near-infrared spectra

A small subset of VANDELS galaxies included in this work was followed up in the optical rest-frame with MOSFIRE in H and K band, and the results of this spectroscopic survey (dubbed NIRVANDELS) are presented in Cullen et al. (2021). This survey mainly observed star-forming galaxies in the CDFS and UDS fields, with HAB ≤ 25.5, and in the redshift range between 2.95 and 3.8, so that the brightest optical emission lines, ranging from [OII]λλ3726−3729 Å to [OIII]λλ4959−5007 Å, all fall in nearly transparent atmospheric windows, in band H or K.

We use the metallicity measurements in the publicly available catalog of Cullen et al. (2021) to test the environmental dependence of the gas-phase metallicity at our redshifts. In this survey, gas-phase metallicity values are present for 21 sources of the original VANDELS dataset. Thanks to the broad spectral coverage of MOSFIRE, it was possible to study the chemical abundance by combining the following emission-line ratios: [OIII]5007/[OII]λλ3726−3729 (O32), [OIII]5007/Hβ, and [NeIII]3870/[OII]λλ3726−3729. From these ratios, Zgas is inferred as the value that minimizes the χ2 in the formula

χ 2 ( x ) = i ( R obs , i R cal , i ( x ) ) 2 ( σ obs , i 2 + σ cal , i 2 ) , $$ \begin{aligned} \chi ^2(x)=\sum _{i}^\frac{(R_{\mathrm{obs} ,i}-R_{\mathrm{cal} ,i}(x))^2}{(\sigma _{\mathrm{obs} ,i}^2 +\sigma _{\mathrm{cal} ,i}^2)}, \end{aligned} $$(2)

where x = 12 + log(O/H) = log(Zgas/Z)+8.69, and Robs, i and Rcal, i(x) are the logarithm of the ith observed line ratio and its predicted value at x according to the calibrations of Bian et al. (2018), while σobs, i and σcal, i are the uncertainty on Robs, i and the calibration uncertainty, respectively. The 1σ uncertainties on Zgas were estimated by perturbing the observed line ratios by their 1σ errors, recalculating Zgas 500 times, and finally taking the 68th percentile width of all the obtained values. We note that the calibrations of Bian et al. (2018) were specifically derived for our redshift range and that they provide results that are quantitatively consistent with values obtained from the direct method, as shown in Sanders et al. (2020).

In the case that not all the above lines are detected, a metallicity derivation was equally performed if at least [OIII]λ5007 Å and [OII]λλ3726−3729 Å were available. In particular, 6/21 galaxies have metallicities derived using all three line ratios introduced above, 11/21 metallicities were derived using O32 and [OIII]λ5007/Hβ, and 4/21 used only the O32 index. In spite of the different number of indices adopted, Sanders et al. (2020) found that using a lower number of line ratios than the complete set does not bias the solution on average, but only slightly reduces its S/N. More specific details about the observations, data reduction, line measurements, and metallicity calibrations of the NIRVANDELS subset can be found in Cullen et al. (2021).

3. Results

In this section we study the stellar mass–metallicity relation (MZR) of star-forming galaxies at redshifts 2 < z < 4 as a function of their environment. We use different definitions of environment, as presented in the previous section, and we analyze both the stellar and the gas-phase metallicity.

3.1. Environmental dependence of the stellar-phase MZR

As the first step of our analysis we stack the spectra of galaxies in the same stellar mass bins defined in our previous work (C21) to update the global MZR, considering the last VANDELS data release (DR4). The result is shown in Fig. 4, where the gray squares are the metallicities calculated in each mass bin, while the gray dashed line indicates their best-fit linear relation. Overall, we find an increase of ∼0.5 of the stellar metallicity between M = 109 and 1010.5M, as already shown in C21. The individual estimates are also fully consistent within 1σ uncertainty with the previous estimates.

thumbnail Fig. 4.

Figure showing the MZR in different bins of local galaxy density. Left panel: stellar MZR of the whole population of star-forming galaxies at 2 < z < 4 (gray squares) with its best-fit relation (gray continuous line). Overplotted are the MZR, color-coded according to the local galaxy density lower (blue squares) or higher (red squares) than the sample median of 0.003 gal Mpc−3, with the linear relations fitted to each subset (fixing the slope to the global MZR value), and drawn with the corresponding colors. The shaded area around the best-fit relations represent the 1σ uncertainty for the MZR normalization. The large squares represent the median stellar mass of the galaxies in each bin and the stellar metallicity derived from their spectral stack (see text). The large shaded triangles and circles indicate instead the metallicities obtained from each of the two features (at 1501 and 1719 Å, respectively) that contribute to the average metallicity value in the bin. The horizontal and vertical error bars of the large squares respectively represent the standard deviation of M in each bin and the 1σ uncertainty associated with the metallicity measurement. Right panel: same as above, but using three bins of local density, with the intermediate density bin drawn in green. The legend gives the median local density for each of the three subsets.

We then divide the whole galaxy sample into two bins depending on whether their local density values ρgal are lower or higher than the population median ρgal = 0.003 gal Mpc−3. For each subset of ρgal, we further divide galaxies into four bins of stellar mass, ensuring enough statistics and an equal number of objects in each stellar mass bin over the whole range 8.5 < log10 (M/M) < 10.5, as shown in Fig. 4, left panel. We find that the MZR of galaxies in higher density and lower density regions are in agreement within 2σ with no evident systematic offsets. However, we note that at the lowest stellar masses (< 109.5M), galaxies residing in overdense regions have a metallicity approximately 0.35 dex lower compared to more isolated galaxies. In this low-mass regime, the metallicity estimate for overdense galaxies is ∼1σ below the global best-fit MZR. This environmental effect at low stellar masses is also found for the two metallicity indices separately, which agree rather well, while the individual values are more scattered at higher masses.

We then divide the whole sample in three groups of increasing local density by using the third quartile of the density distribution, reducing consequently the number of bins along the stellar mass direction to keep enough statistics in each subset. The results of this exercise are shown in Fig. 4, right panel, and reveal that the large difference in metallicity at low masses (compared to both the global relation and to underdense regions) is driven by galaxies falling in the densest structures with ρmedian ∼ 0.01 gal Mpc−3, that is, more closely associated with the dense cores. For the blue squares in both panels of Fig. 4, even though a linear fit could suggest that the MZR in underdense regions has a completely different shape than the global relation (i.e., a substantially flatter slope), a χ2 analysis yields χ2/ν = 0.68 (−0.45σ), indicating that the global MZR cannot be ruled out (i.e., there is a ∼60% chance to obtain a worse χ2 if the hypothesis is correct). This means that the blue square measurements are consistent with galaxies being drawn from the whole population (gray squares).

We then repeat the same analysis considering the other density indicators described in Sect. 2.2, and binning the galaxies according to these proprerties. First, we color-code the stellar phase metallicity versus mass diagram by the overdensity flag, depending on whether the galaxies lie inside (OV-flag = 1) or outside (OV-flag = 0) of the overdensity structures. For each subset, we additionally create two stellar mass bins, obtaining in total 48 (463) galaxies in the low-mass regime and 30 (332) galaxies in the higher mass bin inside (outside) of the overdensity structures. As shown in the first panel of Fig. 5, systems in overdensities have on average a ∼0.3 dex lower stellar metallicity at fixed M compared to the field. Because of the large uncertainty of the red squares, due to the poorer statistics in the densest regions, the significance of this offset is at the level of 1σ. In the last three panels of Fig. 5, we show the MZR of galaxies residing in protocluster structures defined with different radii of 10, 15, and 20 cMpc radius (from panel 2 to 4), and compare it to the relations followed by systems outside the protoclusters (blue squares) and to the global population. In the first case a PC-flag10 = 1 traces the densest protocluster cores identified in the redshift range between 2 and 4. To mitigate the lower statistics in protoclusters, we divide the sample into two stellar mass bins according to the median sample value (M⋆, median ≃ 109.7M), which allows us to derive final Z values with uncertainties ≤0.3 dex. We have in this case 80 and 44 galaxies in the lower and higher stellar mass bin, respectively, while 431 and 318 systems are in the external regions with PC-flag10 = 0. For radiii of 15 and 20 cMpc, we consider protocluster members to larger distances compared to the previous case (radius 10 cMpc). The advantage is that the sample size is larger, and we can thus divide it into three equally populated bins in mass instead of only two. In the case where PC-flag15 is considered, we have 124, 45, and 48 galaxies in protoclusters, from the lower to the higher stellar mass bin.

thumbnail Fig. 5.

Stellar mass–metallicity relation color-coded according to the overdensity flag (panel 1) and protocluster membership, as defined in the text, with increasing radii from the overdensity structure centers (10, 15, and 20 cMpc from panel 2 to 4). Gray squares, dashed line, and colored filled markers are the same as in Fig. 4.

Considering all four panels of Fig. 5, we can see that the MZR of galaxies in the field is remarkably consistent with the best linear fit derived for the whole population. In contrast, the stellar metallicities of protocluster or overdensity members are on average lower by 0.1−0.3 dex, and the offset does not depend on the stellar mass range of the galaxies. The difference between the stellar metallicities of the two subsets in all the stellar mass bins is significant at the 1σ level on average.

Furthermore, in order to evaluate the overall significance of the offset in a different quantitative way, we fit the blue and red squares with a first-order polynomial, fixing the slope to the value derived for the global population (gray continuous line). We then compare the best-fit absolute metallicity normalizations among the different subsets. We find that the difference of the MZR normalizations between protocluster galaxies and in the field is marginally significant at ≥1σ level in all cases, and ∼2σ for PC-flag20. We note that the errors on Z and our results do not vary significantly when modifying the mass bin separation limits by < 0.1 dex, which corresponds to the typical uncertainties on M from SED fitting, and they are also robust against variations in the stacking methodology, for example, on whether a 3σ or 5σ clipping is performed prior to the median flux estimation at each wavelength.

Furthermore, in Figs. 4 and 5 we show the metallicity values obtained for each individual index (for the 1501 feature and for the 1719 index), which contribute to the average value in each bin. We note that the estimates from the two indices are overall consistent within their 1σ uncertainties. Given the larger errors compared to the average values, they are also more scattered around the best-fit linear relations. However, even when the individual indices are considered separately, they suggest a slightly lower stellar metallicity for galaxies inside overdense regions, with the offset being more robust in the lowest stellar mass bin.

In Fig. 6 we compare the stacked spectra and the metallicity indices between the galaxy population in protoclusters with radii of 20 cMpc, where we have more statistics, and in the field (PC-flag20 = 0), for all three of the stellar mass bins defined above. In this example we can see from a single measurement that the absorption features of galaxies in protoclusters (red line) are in general slightly less deep than those in the field (blue line), which is indicative of a lower stellar metallicity, confirming both the data displayed in Fig. 5, panel 4, and the low significance of this environmental effect given the available S/N. In Fig. 9 of our previous paper (C21) we show that the different level of absorption of the two metallicity indices is much more evident on visual inspection when we consider a wider range of metallicities than the offset we obtain here.

thumbnail Fig. 6.

Stacked spectra corresponding to the bins in stellar mass and PC-flag20 adopted in panel 4 of Fig. 5. In each row are shown, for each stellar mass bin (increasing mass from top to bottom), the stacks for the galaxy population inside the overdensity structures (in red) and in the field (in blue). For visualization purposes, the two scales of the fluxes and corresponding errors (on the left and right hand y-axis, respectively), have been slightly shifted. The wavelength ranges corresponding to the 1501 and 1719 metallicity indices are highlighted in yellow in the main plot, while they are further magnified in the two panels to the right of each row. Here the features corresponding to the two galaxy populations (protocluster and field) are overplotted to facilitate the comparison. The blueward and redward shaded gray regions correspond to the Rix et al. (2004) windows to define the pseudocontinuum across the absorption feature through a straight line fit, while the shaded red and blue areas are used for the calculation of the equivalent width.

Overall, we find that the stellar metallicity does not depend on the local galaxy density for the stellar mass range 9.3 < log(M/M) < 10.5. On the other hand, galaxies at lower stellar masses show a lower stellar metallicity in overdense regions at 1σ significance. Similarly, we find a ∼1σ level of evidence suggesting that galaxies inside protocluster structures defined around the densest cores are more metal poor than equally massive systems in the field, regardless of the protocluster size considered. In Table 1 we summarize our results for the stellar-phase mass–metallicity relation, showing for each stellar mass bin the EW of the 1501 and 1719 indices in overdense and underdense regions and, in the last column, the metallicity offset between galaxies in different environments.

Table 1.

Environmental dependence of the stellar-phase mass–metallicity relation.

3.2. Environmental dependence of the gas-phase MZR

We investigate now the environmental effects on the metal content of the ionized gas. To this end, we derive the relation between the stellar mass and gas phase metallicity for the subset of 21 star-forming galaxies at redshifts 2.95 < z < 3.8 that are taken from the NIRVANDELS follow-up, as presented in Sect. 2.5. As done for the stellar metallicity, we divide this sample into two bins according to their local galaxy density ρgal and overdensity flag (OV-flag). In each bin, we then calculate Zgas as the median gas-phase metallicity of all the galaxies residing in that bin, while the uncertainty on the median is derived as its standard error ( = 1.25 × σ / N bin 2 $ {=}1.25\times \sigma/\sqrt[2]{N_{\mathrm{bin}}} $), where σ is the standard deviation of the metallicity values in the sample and N is the number of objects in the bin.

The results are shown in Fig. 7, where we compare the MZR of galaxies residing in high-density regions (ρgal above the sample median of 0.003 gal Mpc−3) or inside the identified overdensity structures (OV-flag = 1) to that of more isolated systems. In the central stellar mass bin from 109.4 to 109.9M, where we have more statistics, we see that galaxies in overdense regions have a ∼0.1 dex lower metallicity Zgas than in the field, with a significance of at least 1σ in the first case and 2σ in the second panel. We do not extend the median relation to the lowest and highest stellar mass regimes, respectively for the subset inside and outside overdensities, because the median metallicity value would be based on just one object. In any case, we do not notice a significant variation of the slope of the MZR for the different subsets. We do not analyze the case with the protocluster flag classification because of the very low number statistics available in each bin. Overall, we note that, despite the lower statistics available to test the gas-phase MZR compared to the stellar-phase analog, we see a significant metallicity difference for the majority of our galaxies (i.e., around the median stellar mass of the sample of 109.7M) as a function of the local density, with more metal-poor systems residing preferentially in overdense regions and structures identified in Sect. 2.2. In Table 2 we show our results for the gas-phase mass–metallicity relation, specifying the metallicity difference between galaxies in overdense and underdense regions in the middle stellar mass bin.

thumbnail Fig. 7.

Gas-phase mass–metallicity relation for 21 star-forming galaxies at redshifts 3 < z < 3.8 from the NIRVANDELS survey, color-coded according to galaxy density (higher or lower than the sample median = 0.003 gal Mpc−3) and to the overdensity flag, in the upper and lower panel, respectively. The larger colored squares represent the median gas-phase metallicities and the median stellar mass of the galaxies in the same bin. The vertical and horizontal error bars represent, respectively, the 1σ uncertainty of the median metallicity and the standard deviation of stellar masses in each bin. We do not display the median point where the bin contains only one galaxy.

Table 2.

Environmental dependence of the gas-phase mass–metallicity relation.

4. Discussion

In this section we compare our results to other recent findings in the literature at similar redshifts. We then investigate the origin of the weak environmental dependence of the mass–metallicity relation and give possible physical interpretations for this. With this aim, we better characterize the population of galaxies in overdense and underdense regions by looking at other critical parameters derived through SED fitting or from our previous VANDELS paper C21. Finally, we compare our findings to the predictions of different semi-analytic models (SAMs), following the approach that we already adopted in C21, and to the outcomes of two well-known hydrodynamical simulations. We consider different methods to characterize the environment, discussing how it affects the mass–metallicity relation 2 billion years after the Big Bang, and the limitations of the models.

4.1. Physical interpretation of the metallicity offset

We show in the previous sections that the mass–metallicity relations, both the stellar and the gas-phase versions, have a weak dependence on the environment, reaching a significance of ∼2σ, according to which galaxies in overdensities and protocluster structures tend to be less metal rich than equally massive systems in the field. It is also true that the systematic metallicity offset between galaxies inside and outside the overdensities (Fig. 5) is not found in the whole stellar mass range as a function of the local galaxy density (Fig. 4), suggesting that the environmental effects should be more important at lower masses in the proximity of the densest protocluster cores.

Regarding the stellar-phase MZR, this work represents the first systematic investigation of environmental effects on this relation at high redshift, and it suggests that there might be a mild evolution compared to the local universe, with the environment playing some role at z ≳ 2, although this result is still low S/N in nature. However, we recall that the analysis in the local universe, which shows no environmental dependence at all as a function of density and clustercentric distance for the star-forming galaxy population (Trussler et al. 2021), is based on optical absorption lines that trace more evolved stellar populations, hence not directly comparable to our work. For the gas-phase MZR, our results are in agreement with the environmental trend reported by Chartab et al. (2021) from the MOSDEF survey, suggesting that the downward metallicity offset of ∼0.1 dex that they found on average between ∼109.7 and 1010.7M can be extended to slightly lower masses, down to ∼109.3M, as shown in Fig. 8. It is also not very surprising that a similar environmental dependence, with less metal-rich galaxies in overdensities, is found simultaneously for the stellar and gas-phase MZR. Our metallicity indicators trace the metal content of very young massive O-B stars, thus more closely associated with the surrounding gas from which they formed.

thumbnail Fig. 8.

Diagram comparing the gas-phase metallicity offset between overdense and underdense regions in the stellar mass range between 108 and 1011M. Our data is shown as a red solid symbol, overplotted on recent findings from the MOSDEF survey at redshifts below and above 2.

In spite of its low S/N, it is useful to understand where this metallicity offset (∼0.1−0.3 dex) can possibly arise. We first look for potential biases in our metallicity estimations. As shown in C21, the S/N of the stellar continuum strongly affects the uncertainty on the EW measurements (hence on the metallicity error). However, using the same simulations as described in Appendix A, we find that the S/N does not bias the metallicity value itself (Fig. A.1).

After excluding systematic measurement effects, we now characterize other physical properties of our galaxies in overdense regions compared to the field in order to check whether the small offset is driven by selection effects. For example, the mass–metallicity relation is known to vary as a function of the SFR of the galaxies, and this relation is in place up to at least z ∼ 2.5 (Cresci et al. 2019). In addition, as shown in C21, the stellar metallicity correlates with the UV rest-frame luminosity (M1600 Å) and with the slope of the UV continuum (β), a proxy for the dust attenuation, with more metal-poor galaxies being on average fainter in UV, less attenuated (i.e., with lower β), hence on average younger, because of the shorter time available for chemical enrichment. Therefore, it is worth checking whether the lower stellar metallicities inside protoclusters are driven by a higher level of SFR or by a lower UV luminosity, dust attenuation, and stellar age of the galaxies selected in these structures compared to the field.

To this end, we explore the environmental effects on different relations involving the stellar mass M and other physical parameters, namely the SFR, the UV slope (β), the absolute magnitude at 1600 Å rest-frame (M1600), and the luminosity weighted stellar age (ageLW, which is more directly comparable to our UV-based stellar metallicities). The UV slopes and M1600 are inferred from the available photometry as described in C21, while the SFRs and the ageLW are derived with Beagle through the same SED fitting procedure used for the estimation of the stellar masses in Sect. 2.1. We divide our sample into two groups of galaxies according to their local density (lower or higher than the sample median), overdensity flag, and protocluster membership. For the last we choose as representative the case with a protocluster radius of 15 cMpc, which is a compromise between 10 and 20 cMpc that were also considered in the previous section. We further divide these subsets into three bins of stellar mass, which ensures sufficient statistics for our analysis. In Fig. 9 it can be seen that the SFR and the UV slopes are not significantly affected by the environment at the redshift considered in this work. Galaxies in overdense regions indeed show similar levels of star formation activity and β (hence UV-based dust attenuation) compared to more isolated systems. Their mass–SFR and mass–β relations are perfectly consistent within the errors, without systematic offsets. Similarly, we also checked that the stellar ages and M1600 of galaxies inside and outside the overdense structures are perfectly consistent within 1σ, suggesting for them no environmental dependence at all. We conclude that the lower metal content of protocluster galaxies is not driven by selecting systems in overdense structures with a higher level of SF activity, a lower UV luminosity and dust attenuation, or a different stellar age compared to the field, but it likely has an environmental origin.

thumbnail Fig. 9.

Environmental dependence of the SFR–stellar mass and β–mass relations for the VANDELS galaxies analyzed in this work (first and second row, respectively). The colors of the symbols in each plot are based (from left to right) on the local density (higher or lower than the sample median), overdensity flag, and protocluster membership PC-flag (15 cMpc). The main sequence of star formation at redshift ∼3 from different works is also shown for comparison in the first plot. The SFR has been normalized to z = 3 following the ∼(1 + z)2.8 redshift dependence of Sargent et al. (2014). The typical uncertainties on the stellar masses from SED fitting are shown in the bottom right corner of each plot.

The environment can play a role in different ways. A higher efficiency of gas stripping phenomena and harassment in protoclusters might deprive galaxies of part of their metal-enriched gas content. In addition, major mergers and interactions, which are expected to be more frequent in dense environments (e.g., Gottlöber et al. 2001; Park & Hwang 2009; Fakhouri & Ma 2009), have been shown to produce strong outflows of metal enriched gas toward the CGM (Hani et al. 2018), hence they could also be responsible for a decrease in metallicity in the overdensities. These events can also efficiently mix their metal-poor, cold gas reservoirs with metals coming from new generated stars, as found observationally at low redshift (Ellison et al. 2008), and predicted from cosmological simulations (Torrey et al. 2012; Bustamante et al. 2018). At high redshifts, mergers might produce only a very mild enhancement of star formation at z ∼ 3 (Fensch et al. 2017), hence we are able to explain an overall decrease in metallicity of the systems without necessarily requiring a significant increase in the global SFR, which indeed is not observed in our data. A full exploitation of HST images, and JWST in the future, will also allow a proper morphological analysis to understand the importance of mergers and interactions in overdense structures.

Another possibility could be related to enhanced active galactic nucleus (AGN) activity inside the protoclusters and overdense regions, which can induce powerful outflows that eject enriched material to the external regions, as observed in local galaxy clusters (Kirkpatrick et al. 2011). However, the fraction and the properties of AGNs in different environments are mostly unknown at redshifts > 2, and will be addressed in a following paper. Moreover, given that the metallicity is also known to anti-correlate with the equivalent width of the Lyα emission line, we note that our downward metallicity offset cannot be driven by a larger fraction of Lyα emitters in protoclusters; exactly the opposite was found in G20, with these systems lying preferentially outside the overdense regions.

Finally, as mentioned above, our results are in agreement with the environmental dependence found in the analysis of Chartab et al. (2021) for the gas-phase MZR obtained from ∼300 star-forming galaxies in COSMOS, but their proposed explanation, invoking more efficient gas inflows inside overdensities, deserves a more extensive discussion. In their work the scenario of cold gas inflows is supported by the evidence of a slight increase in SFR in overdensity members, even though they claim it is not significant due to the large uncertainties of their SFRs. However, another study by Koyama et al. (2013), comparing a sample of ∼50 cluster galaxies at z ≃ 2.2 to field galaxies from the HiZELS survey, found that the M–SFR relation does not vary with the environment at that cosmic epoch, which is perfectly in agreement with our results at redshifts 2 < z < 4. Overall, it seems that there is no striking evidence confirming observationally that cold gas inflows play the dominant role in decreasing the metallicity in overdense regions for the normal star-forming galaxy population at high redshift. However, they might still play an indirect role by gradually replenishing the cold gas reservoirs of protocluster galaxies, diluting the metal content of the gas that fuels the ongoing star formation activity, but without significantly increasing its consumption rate (i.e., the SFR) compared to equally massive systems in the field.

In order to see a clear environmental effect on the SFR in protoclusters as being due to cold gas inflows from the cosmic web, we might target a different population of galaxies with more extreme properties. For example, highly star-forming systems (i.e., off the main sequence), which can host a significant fraction of optically obscured star formation (Calabrò et al. 2018, 2019), are automatically excluded from our analysis because of their faint, low S/N, UV continuum, but would be worth studying at longer wavelengths. In general, it is expected (based on several works) that we find a large excess of dust-obscured galaxies in protoclusters at redshifts above 2 that only appear in far-IR, submillimeter, and radio surveys (e.g., Daddi et al. 2009, 2017; Dannerbauer et al. 2014; Umehata et al. 2015). In a recent study by Daddi et al. (2021), where they observe direct evidence of filamentary metal-poor cold gas streaming toward the center of a galaxy group at z ∼ 2.91, most of the induced star formation activity (1200 M yr−1 in total) is spread among IR luminous sources, which emit a negligible fraction of their light in the UV-optical rest-frame. H-dropout galaxies, which are extreme starbursts completely missed in optical, near-infrared, and UV surveys, are also shown to be highly clustered in the early universe (Wang et al. 2019).

In conclusion, pristine gas accretion from the cosmic web into protoclusters might trigger preferentially optically obscured, starburst activity. However, it might also play a role, in combination with the other mechanisms, in the dilution of metals of normal star-forming galaxies in overdensities, without producing a sudden enhancement of their star formation activity in the stellar mass range explored by VANDELS (109 < M/M < 1010.5). Probing additional physical properties of our galaxies, such as their dust and cold gas content, and looking for optically obscured star-forming components with far-infrared observations, will certainly help to understand the processes that are playing the most important role in the starting phases of galaxy cluster evolution.

4.2. Comparison of the results to theoretical predictions

Now it is interesting to compare our findings in Sect. 3 to the theoretical predictions of the SAMs and simulations. In C21 we compare our VANDELS star-forming galaxies at z ∼ 3 to mock light cones based on the GAlaxy Evolution and Assembly (GAEA) model. In this section, we use the same light cones adopted in the previous paper to study the environmental effects on the MZR. Then we extend the analysis to the full GAEA snapshot in order to have a larger galaxy sample (hence higher statistics) and to be able to compare on the same basis with other models, both SAMs and hydrodynamical simulations.

In all our models and simulations the stellar (gas) metallicity is computed as the mass fraction of all metals (i.e., elements heavier than helium) in the stellar (cold gas) component of the galaxies, hence it is mass-weighted. This weighting scheme might lead to a small offset of ∼0.1−0.2 dex compared to the observed stellar metallicity, which is luminosity weighted, as discussed in detail in Cullen et al. (2019), C21, and Fontanot et al. (2021). Although models and simulations reproduce well the slope of the observed MZR, this effect and the generally different chemical enrichment prescriptions explain why they are not currently able to reproduce the exact normalization of the observed MZR. However, we note that the scope of our analysis is not to investigate the origin of these systematic discrepancies, but rather to analyze, for each type of model, the MZR offset arising only from variations in the environment.

4.2.1. Comparison to VANDELS light cones

Mock galaxy light cones were generated within our collaboration to mimic our observations as closely as possible, in order to have the same redshift range and a similar depth and selection function to that of VANDELS, as explained in C21. We describe the physical details of the entire GAEA model in a following section; however, we want to test here the effects of the environment on the mock galaxy population considered in our previous work. For this specific subset G20 derived the galaxy density map with a similar procedure to that described in Sect. 2.2, allowing us to identify mock overdensity structures and protoclusters with the same methodology already used for the observations. We are thus able to plot the MZR for mock galaxies as a function of local density, overdensity flag, and protocluster membership, with the latter defined assuming a 15 cMpc radius from the cluster centers.

The results are shown in the three panels of Fig. 10. It is immediately clear that no systematic offsets in metallicity are found, regardless of the classification adopted to distinguish between galaxies in more and less dense regions. Only in the middle panel is a small systematic offset of ∼ − 0.05 dex in metallicity present for galaxies with M < M inside the reconstructed overdensities, even though it is not significant and is far less than the effect seen with our observations.

thumbnail Fig. 10.

Stellar mass–stellar metallicity relation of mock galaxies from VANDELS cones, performed to reproduce the same sky area and redshift range targeted by our survey. The whole galaxy population is color-coded in two bins of local galaxy density, similarly to Fig. 4 top, and according to the overdensity flag and protocluster membership (second and third panels), assuming a radius of 15 cMpc. The theoretical MZR have been offset by −0.4 dex to match the observed global MZR normalization. The vertical error bars of the models represent the error on the median metallicity estimation in each bin.

4.2.2. Comparison to full suite semi-analytic models

In this section we investigate the environmental effects for a larger sample of galaxies taking into account the full snapshots of the models. In order to explore a wider range of model parameters and theoretical prescriptions, we also consider the SAM of De Lucia & Blaizot (2007, hereafter DLB07). Since this represents the precursor of GAEA, it offers an interesting possibility to analyze different feedback scenarios than GAEA, which could have an important impact on the gas and metal circulation in the galactic environment, while keeping the same underlying cosmological framework. We introduce here the main common features of the two models. Then we explore their peculiarities and predictions in more detail, beginning from DLB07, which was developed earlier, and we follow the various modifications that have been apported to it in chronological order.

Both GAEA and the model of DLB07 are constructed from the dark matter halo merger trees of the Millennium Simulation (Springel 2005), which adopts a lambda cold dark matter (ΛCDM) cosmology with ΩΛ = 0.75, Ωm = 0.25, Ωb = 0.045, n = 1, σ8 = 0.9, and H0 = 73 km s−1 Mpc−1, based on the WMAP1 results. As described in detail in Springel (2005), they identify dark matter haloes with a standard friends-of-friends (FoF) algorithm with a linking length of 0.2 times the main particle separation at each redshift. For each FoF halo, a virial mass of the structure is computed as the dark matter mass contained inside a sphere centered on the minimum of its gravitational potential well, and with a radius r such that the inner halo has an overdensity 200 times the critical density of the Universe ρ crit =3 H 0 2 $ \rho_{\rm crit} = 3\,H_0^2 $/(8πG), which approximately corresponds to that expected for virialized groups (Croton et al. 2006). This procedure allows us to distinguish galaxies according to the virial mass of their host FoF group, which we take here as the best representative parameter to characterize the different environments quantitatively. More massive FoF groups would likely play the role of attractors around which bigger structures will form at later epochs. The total mass of the overdensity structures identified in VANDELS ranges between 1011 and 1013M (G20), thus we will consider groups within this mass range in the following analysis. Moreover, we do not consider the very low-mass halo regime (Mhalo < 1011), where we approach the resolution limits of the Millennium Simulation, and the results might be less meaningful, especially for the satellite population. As we mention in the Introduction, a useful distinction made in the local Universe is between central and satellite galaxies. The first are defined as the most massive galaxies in a FoF group, while all the remaining systems are dubbed satellites. They are found to have in general different properties, with the former less metal rich than equally massive satellites (Pasquali et al. 2010). While we are not able to observationally discriminate between the two galaxy types in the identified VANDELS overdensity structures, it is interesting from a theoretical point of view to check the effects of the environment for these separated subsets.

The baryonic component is treated according to a set of physically or observationally motivated analytical prescriptions that describe the various processes involving all the baryonic phases (i.e., stars, cold and hot gas), such as gas condensation through cooling flows, star formation, stellar feedback, metal evolution, black hole growth, and AGN feedback. The adopted feedback scheme is one of the most distinguishing features among different SAMs and it is expected to have a strong impact on the MZR relation (e.g., De Lucia et al. 2017). In addition it is one of the least understood process from the observational point of view, representing the ensemble of phenomena responsible for the gas and metals exchange among the cold galactic disk, hot galactic envelope, and gas outside the galaxy halo. In brief, star formation reheats part of the cold gas in the disk through stellar winds and supernova explosions. Part of this reheated gas remains bound to the host dark matter halo in a hot gas reservoir associated with galaxies, while a fraction with higher kinetic energy might also escape, and be reincorporated later in the main halo. Overall, a reheating rate, an ejection rate, and a re-incorporation rate fully characterize the feedback scheme of the model. We note that when galaxies become satellites, they are instantaneously stripped of their hot and ejected gas reservoirs, preventing further gas reincorporation (and further gas infall) at later times after the first SF episode. Reincorporation is thus allowed only onto a central galaxy, while satellites continue to consume gas contained in their cold disk without replenishment.

4.2.3. Semi-analytic model of De Lucia & Blaizot

In this model the metal enrichment is modeled using the so-called instantaneous recycling approximation (IRA), which is the total fraction of stellar mass in the form of newly formed metals returned instaneously to the cold gas disk, neglecting the different evolutionary timescale of stars of different mass. We note that this model is able to reproduce both the observed mass–metallicity relation at z = 0 and the varying baryon fraction between rich clusters and galaxy groups, according to DLB07.

We consider for our analysis all the galaxies in the model in the redshift snapshot at z = 3 (close to the median redshift of our work), and we impose SSFR > 10−10 Gyr−1 to reproduce a VANDELS-like selection. We then derive for this sample the stellar mass–stellar metallicity relation, which is shown in Fig. 11. In the first panel, which comprises all the systems, we can see that galaxies in lower mass haloes (Mvir in the range 1011 − 1012M, identified by blue squares) span stellar masses from ∼109 to 1010.6M, which is similar to galaxies in higher mass haloes (orange squares). In the overlapping regions of these two subsets, the metallicities in all the halo mass bins are consistent within 1σ dispersion in the stellar mass range between 109 and 1010.3M, with no evident systematic offsets. Only at the highest stellar masses above 1010.3M do we observe a diverging trend, with galaxies in more massive haloes that become significantly more metal poor than systems in less massive structures.

thumbnail Fig. 11.

Stellar mass–stellar metallicity relation for star-forming galaxies at z ∼ 3 in different bins of virial mass of the host haloes, as predicted by the semi-analytic models of De Lucia & Blaizot (2007). The relations are drawn for the whole population (panel 3), for central galaxies only (panel 2), and for satellites (panel 3). The vertical error bars represent the median absolute deviation of the galaxy metallicities in each stellar mass bin. Panels 4–6: same as panels 1–3, but using the metallicity of the cold gas reservoir.

It is also useful to investigate the behavior for central and satellite galaxies separately, which are shown in the second and third panels of Fig. 11. For central galaxies, we find that in the overlapping regions in the MZ plane of our two halo mass bins, galaxies residing in more massive structures have a systematically lower stellar metallicity by ∼0.1 dex on average, increasing to 0.15 dex at both the low-mass and high-mass ends of the diagram. This difference is larger than the standard deviation of the metallicity values in each stellar mass bin, indicating a significant environmental effect. We also note that this difference is on the same order as the typical uncertainties of our observational estimates of Z (C21). In contrast, when considering satellite systems, most of the environmental signatures disappear, and the MZRs in all the halo mass bins become consistent within 1σ dispersion in the stellar mass range between 109 and 1010.3M, as for the global population. Increasingly large offsets as a function of halo mass appear at higher stellar masses M > 1010.3M.

In the last three panels on the right of Fig. 11 we display the same plots for the cold gas reservoir. For central systems (panel 5), we observe a similar segregation of the MZRs as a function of the host halo mass, but now the differences in metallicity are larger, reaching 0.4 dex between the least and most massive haloes in the overlapping stellar mass range (109 < M/M < 1010). Satellite systems do not show a significant environmental dependence on the host halo mass, as for the stellar MZR. We find instead that satellites in general have a higher gas-phase metallicity than equally massive centrals by ∼0.2−0.3 dex, depending on the galaxy and halo mass regime. For this reason, the jump in the MZRs for the global star-forming population (panel 4), which puts all the objects together, reflects this double behavior of satellite and central galaxies. We also report that similar results to those obtained for the cold gas metallicity are also found when considering the hot gas component, which is present in central galaxies only, with the same metallicity offsets among different halo masses.

Overall, the predictions of the DLB07 model can be interpreted in terms of equilibrium condition reached inside galaxies among cooling flows, gas reincorporation, and feedback. For systems in more massive haloes, the first two mechanisms contribute more strongly to decreasing both their gas and stellar metallicity compared to less massive haloes members. The stronger environmental effect found for Zgas can be easily explained by the fact that metal enrichment, and in general modifications of the metal content in stars, respond more slowly to variations of the gas-phase metallicity of the gas clouds from which they form. Finally, the different behavior between satellites and equally massive centrals likely originates from their different treatment, as described above. In particular, the absence of further gas reincorporation and cooling inflows for satellites might lead to more metal-rich systems at redshift ∼3 compared to central counterparts, and more homogeneous metallicity properties as a function of the environment.

4.2.4. Full GAEA model

We also compare our results to the predictions of GAEA (De Lucia et al. 2014; Hirschmann et al. 2016; Fontanot et al. 2017). Since DLB07 and GAEA share the same Millennium cosmological simulation to start with, we only highlight here the main differences between the two models. First, GAEA adopts a metal enrichment scheme that explicitely considers the finite lifetimes of stars (De Lucia et al. 2014), thus relaxing the instantaneous recyclying approximation. The second and most important modification is related to the feedback prescription. The GAEA realization we consider is the same model proposed in Hirschmann et al. (2016), which implements a feedback scheme inspired by the results of the cosmological zoomed-in simulations (the Feedback in Realistic Enviroments, FIRE, project; Hopkins et al. 2014). Compared to the previous model, the mass-loading of reheated and ejected gas in GAEA (i.e., the amount of gas reheated and ejected per unit solar mass formed) is more than a factor of two higher at all stellar masses and all redshifts ≳2. Another important ingredient in GAEA, which differs from the DLB07 prescription, lies in the treatment of the timescale for reincorporation. This physical process, which brings fresh gas back onto the galactic disk, is not constant in GAEA, but is inversely proportional to the halo mass. In addition, gas cooling is completely suppressed below a virial temperature of 104 K, leading to a delay in gas reaccretion to progressively lower redshifts for lower mass systems, which mimics the “anti-hierarchical” galaxy evolution scenario. Thanks to its improved modeling, GAEA is able to match the stellar mass function at z = 0 and reproduce its observed evolution at higher redshifts up to at least z ≃ 7 (Hirschmann et al. 2016; Fontanot et al. 2017). GAEA models are also able to reproduce the observed evolution of the gas-phase MZR up to z ∼ 3.5 (Fontanot et al. 2021). Regarding the stellar-phase MZR, it is able to correctly predict the observed slope up to redshift ∼4 (C21) and the absolute normalization up to z < 0.7 (Fontanot et al. 2021).

In order to analyze environmental effects, we consider galaxies selected from the full GAEA model in a small redshift interval around z = 3 (Δz = ±0.1) and with a VANDELS-like requirement on the specific SFR (SSFR > 10−10 Gyr−1), and divided them into two bins according to their host FoF halo mass from 1011 to 1013M. We then derive the MZR for each subset, which is shown in Fig. 12. Similarly to the previous model, no environmental effects are observed in the stellar metallicity–stellar mass plane for the global star-forming galaxy population and for satellite galaxies (panels 1 and 3). For central galaxies in the second panel we see that systems residing in more massive haloes with Mhalo > 1012M (orange squares) show a lower metallicity than equally massive galaxies in haloes ranging 11 < log10Mhalo/M < 12 (blue squares) in the whole overlapping stellar mass regime between 109.5 and 1010.5M, but the difference is, on average, larger (∼0.15 dex) compared to DLB07. This discrepancy increases toward lower stellar masses, reaching 0.2 dex in the bin corresponding to M ∼ 109.5M.

thumbnail Fig. 12.

Stellar mass–stellar metallicity relation of star-forming galaxies at z ∼ 3 in GAEA, for the whole population (panel 1), centrals (panel 2), and satellites (panel 3), in different bins of virial mass of their host FoF groups from 1011 to 1013M. The vertical error bars represent the median absolute deviation of the galaxy metallicities in each stellar mass bin. Panels 4–6: same as panels 1–3, but for the cold gas metallicity.

We consider the metallicity in the cold gas component in the right panels of Fig. 12. The gas-phase MZR of star-forming galaxies in GAEA displays a complex behavior and a much larger scatter than the stellar related diagram. Galaxies in more massive haloes are on average more metal rich than systems in less massive structures (panel 4). However, this reflects mostly the offset found between satellite and central galaxies, with the former dominating the full sample at M < 1010M. This difference of cold gas metallicity between the two types of systems can be understood by taking into account the mechanism of complete removal of the hot and ejected gas reservoirs in satellites. This also prevents further accretion of fresh metal-poor gas, a process known as strangulation, leading to a gradual increase in metals with respect to central counterparts. As a result, the scatter of gas metallicity–stellar mass relation is driven both by the host halo mass and by the relative abundance of satellites and central systems. For satellite galaxies only (panel 6), those in the most massive haloes are more metal rich than in less massive ones, even though by only 0.1 dex or less. This is at variance with our findings and with the prediction of the previous model. Central galaxies instead behave as they do in the DLB07 model, with more massive haloes (Mhalo > 1012M, orange squares) hosting more metal-poor galaxies than in lower mass haloes (blue squares), and the differences increase to 0.5 dex toward lower stellar masses.

It is important to note that the different criteria adopted for the environmental definition in our semi-analytic models, either by selecting different host halo masses or binning in local density and protocluster membership (by using the same algorithm adopted for the observations on the mock galaxy catalog), produce the same results. We also note that, even though a metallicity difference is predicted by models only for the central galaxy population, we do not have any methods for evaluating if our galaxies are centrals or satellites, hence we postpone this detailed comparison to future studies.

4.2.5. Comparison to hydrodynamical simulations

Finally, we briefly mention that we also checked the predictions of hydrodynamical simulations, in particular of EAGLE and Illustris-TNG, which are among the most used in the literature. The EAGLE project is a large-scale hydrodynamical simulation in a Lambda cold dark matter universe, run by the Virgo Consortium to study galaxy formation and evolution, and their exchange of gas with the environment (Schaye et al. 2015; Crain et al. 2015). This simulation follows both the dark matter and the baryonic components with a minimum particle mass of 9.7 × 106 and 1.81 × 106M, respectively, yielding a physical picture of galaxy formation from cold gas infall, feedback activity from stellar winds, supernovae explosions, and supermassive black holes. The efficiency of the feedback processes is calibrated to the present (z = 0) observed galaxy stellar mass function, the relation between galaxy and central black hole mass, and considers the observed size of galaxies. In our work we take the public release of halo and galaxy catalogs by McAlpine et al. (2016), and we consider the reference run called L0100N1504, which has the largest volume available with a box size of 100 Mpc.

On the other hand, the Illustris-TNG project includes a series of cosmological magnetohydrodynamical simulations of galaxy formation, using state of the art numerical codes and among the most performing supercomputers (Weinberger et al. 2017; Pillepich et al. 2018a). The TNG model includes all the key physical ingredients that can explain different aspects of galaxy properties at varying cosmic times. The chemical enrichment is given by supernovae Ia, II, and AGB stars, and it tracks single elements individually. The evolution of the cosmic magnetic field is also taken into account. These models were shown to successfully reproduce the color–magnitude diagram of galaxies in the local Universe, matching very closely the observed distribution from the Sloan Digital Sky Survey and also explaining the physical differences (i.e., SFRs, gas fractions, and gas metallicities) between the red sequence and the blue cloud galaxy populations (Nelson et al. 2018). Another work by Pillepich et al. (2018b) focuses instead on the stellar mass distribution inside galaxy groups and clusters, showing that TNG100 closely reproduces the observed galaxy stellar mass functions in clusters at z < 1 for M < 1011M. We adopt in this paper the public dataset of TNG100 (Nelson et al. 2019), which simulates a cosmic box volume of 100 Mpc size and has a resolution of 1.4 × 106M in baryon mass and 7.5 × 106M in dark matter mass. We note that this choice was taken to reach the best compromise between large area and high resolution among the different TNG runs, even though the final conclusions do not change significantly if we consider a different set of simulations with a different box size and resolution. In both TNG and EAGLE, we consider star-forming galaxies with SSFR > 10−10 Gyr−1 to mimic the VANDELS selection.

We display as representative the MZR obtained with these two hydrodynamical codes for the global star-forming galaxy population, which can be directly compared to the entire star-forming sample studied in VANDELS (Sect. 3.1). In these cases we explore the environmental dependences in a wider range of halo masses from 1010 to 1014M, where the haloes are always identified through a standard FoF algorithm, as in semi-analytic models. As we can see in Fig. 13, in the overlapping regions within the stellar mass range from 108.5 to 1010.5M, which is that probed by our VANDELS data, we find no significant offset between galaxies residing in less and more massive haloes, with metallicity differences in each bin lower than 0.05 dex, much lower than the statistical uncertainties. We only observe a slightly larger dispersion of the MZR for the population of more massive haloes in the Eagle run. The same qualitative result of no significant environmental dependence is found in our stellar mass range when considering the gas-phase metallicity in both simulations.

thumbnail Fig. 13.

Figure showing the MZR predicted by the EAGLE and TNG hydrodynamical simulations. Left: stellar MZR of star-forming galaxies at z ∼ 3 selected from the Eagle hydrodynamical simulation sets (Ref. L0100N1504) as a function of the total mass of their host haloes from 1010 to 1014M. Right: same as the left panel, but for the Illustris-TNG100 simulation.

4.2.6. Final considerations on the environmental modeling at z ∼ 3

The models and simulations presented in the previous subsection, namely the GAEA and De Lucia & Blaizot (2007) SAMs, Eagle and Illustris-TNG, all agree qualitatively on the absence of significant environmental dependence of the MZR for the star-forming galaxy population. We have also learned that the exact modeling of the chemical enrichment and feedback prescriptions have a small influence on this qualitative result. Even though more data are needed to better constrain the significance of our observational finding and in particular the gas-phase MZR in a wider range of stellar mass, our finding suggests that it is necessary to account explicitly for environmental dependent processes in the models (like those discussed in Sect. 4.1), which are currently not included.

We have also seen in SAMs that central galaxies residing in more massive haloes have a lower stellar metallicity compared to objects in less massive structures, which resembles some of the VANDELS observational results presented in Sect. 3, showing a weak decrease in the metallicity when we move toward denser regions and protoclusters. A possible physical interpretation is that the overdensity code adopted in G20 connects structures larger than the typical virial radius of dark-matter haloes at these redshifts, thus connecting different independent haloes at slightly different redshifts and sky positions (each with its own central galaxy), and we might have a larger fraction of galaxies close to the overdensity peaks that behave like centrals.

Furthermore, all the models (both GAEA and DLB07) converge toward a systematic difference in metallicity between central and satellite galaxies, with the latter having on average a higher metal content. In the local Universe, stars in SF satellites are more metal rich than equally massive centrals (Pasquali et al. 2010), and this seems to be in place also at redshift ∼3 from a theoretical point of view. However, we recall that a proper comparison between models and observations for central galaxies and satellites separately is not a goal of this paper, and will represent a challenge for future works. Testing observationally the metallicity offset between centrals and satellites remains difficult, and would need more statistics and depth at these redshifts, which can be achieved in future large field surveys like Euclid, LSST, WFIRST, GMT, and TMT.

5. Summary and conclusions

In this paper we investigated the effects of the large-scale environment on the relation between stellar mass and both the stellar and gas-phase metallicity, for star-forming galaxies in the redshift range 2 < z < 4 selected from the VANDELS spectroscopic survey. We tested different criteria for defining the environment in which galaxies live. These are based primarily on the local density map calculated from the VANDELS parent sample covering the entire cosmic volume probed by the survey, and afterwards on the overdensity structures and protoclusters identified from those maps. The main findings are summarized in the following:

  • We analyzed the stellar phase mass–metallicity relation (MZR) as a function of local galaxy density. We find that the MZR does not depend significantly on the density of galaxies from M = 109.4 to 1010.5M, while a metallicity offset at 1σ significance is present for lower stellar masses, with galaxies in the densest regions (ρgal ≃ 0.01 gal Mpc−3) being less metal rich by ∼0.3 dex than more isolated analogs in underdense areas and by ∼0.2 dex compared to the global MZR.

  • Galaxies inside overdensity structures and protoclusters with different radii have a lower stellar metallicity (compared to galaxies in the field) by 0.2 dex on average (significance of 1σ), indicating that the environmental effects are more important in the proximity of the densest cores and protocluster centers.

  • We analyzed the environmental effects on the gas-phase MZR for a smaller subset of VANDELS galaxies with complementary near-infrared spectra. We find a weak trend suggesting that galaxies in denser regions have more metal-poor gas than similarly massive systems in underdense regions. Even though this analysis is limited by the low statistics, our trend corroborates recent findings based on a larger statistical sample that suggest a reversal of the gas metallicity–environmental dependence at z > 2 (Chartab et al. 2021).

  • The slightly lower metallicity inside dense cores and protoclusters is not driven by selecting galaxies with a higher level of SFR, fainter UV magnitude M1600, lower dust attenuation, or younger age compared to the field, but it is likely due to real environmental effects. We suggest as possible interpretations a higher efficiency of gas stripping phenomena and harassment in overdensities, and outflows induced by enhanced merger events or powered by AGN, all of which can deprive galaxies from their metal-enriched gas, or an efficient dilution of metals in the cold gas reservoirs driven by pristine gas inflows from the cosmic web at z > 2, or by galaxy interactions. While these effects might plausibly work in combination, testing the influence of each individual mechanism is beyond our capabilities and will be achievable with forthcoming large-scale surveys.

  • The absence of a significant environmental dependence of the SFR and dust attenuation for main sequence star-forming galaxies at redshifts 2 < z < 4 in our mass range (109 < M/M < 1010.5) suggests that cold gas accretion from the cosmic web, if ubiquitously present in high-redshift protoclusters, mainly fuels dust-obscured star formation, as claimed in the recent literature, even though it might be in part stored in the circumgalactic medium of normal galaxies and consumed on much longer timescales at slower rates.

  • Semi-analytic models of galaxy evolution and hydrodynamical simulations predict no significant environmental dependence of the mass–metallicity relation for the global star-forming galaxy population. This remaining tension suggests that environmental dependent processes in overdense regions must be explicitly taken into account in the models.

Testing environmental effects on the satellite and central population separately cannot be achieved with the current data and will be challenging for next generation surveys with Euclid, LSST, MOONS, WFIRST, GMT, and TMT. Thanks to their depth and the larger object statistics achievable, these instruments will allow the derivation of galaxy density maps with good precision up to higher redshifts (from z = 4 to ∼7), and the identification of the first overdense structures in the Universe. Given the low S/N nature of our results, it will be important in the future to study the environmental effects on the mass–metallicity relation with much more statistical power in larger fields.

Finally, including multiwavelength data to probe additional galaxy properties in our study will be crucial in order to obtain a more complete picture of the galaxy transformation that is thought to happen in overdense structures at around redshift ∼2, shedding light on the physical origin of the environmentally driven metallicity offset found in this work.


1

We consider complementary catalogs to extend the number of spectroscopic redshifts available in the CDFS and UDS fields, allowing more accurate estimations of the galaxy density field. In CDFS, we adopt a supplementary spectroscopic redshift compilation made by N. Hathi (priv. comm.), while in UDS we consider the results of mutiple surveys that will be collected in Maltby et al. (in prep.). More details of the additional spectroscopic dataset are given in G20.

2

All the catalogs and spectra are publicly available on the official VANDELS webpage http://vandels.inaf.it, and at the ESO Archive https://www.eso.org/qi/.

Acknowledgments

We thank the referee for thoughtful and constructive comments that have improved the quality of this manuscript. A.C. acknowledges the support from grant PRIN MIUR 2017 20173ML3WW_s. M.Ll. acknowledges support from the ANID/Scholarship Program/Doctorado Nacional/2019-21191036.

References

  1. Asplund, M., Grevesse, N., Sauval, A. J., et al. 2009, ARA&A, 47, 481 [Google Scholar]
  2. Bahé, Y. M., Crain, R. A., Kauffmann, G., et al. 2016, MNRAS, 456, 1115 [CrossRef] [Google Scholar]
  3. Baldry, I. K., Balogh, M. L., Bower, R. G., et al. 2006, MNRAS, 373, 469 [Google Scholar]
  4. Balogh, M. L., Navarro, J. F., & Morris, S. L. 2000, ApJ, 540, 113 [Google Scholar]
  5. Battisti, A. J., Cunha, E. D., Shivaei, I., et al. 2020, ApJ, 888, 108 [NASA ADS] [CrossRef] [Google Scholar]
  6. Bian, F., Kewley, L. J., & Dopita, M. A. 2018, ApJ, 859, 175 [CrossRef] [Google Scholar]
  7. Bustamante, S., Sparre, M., Springel, V., et al. 2018, MNRAS, 479, 3381 [CrossRef] [Google Scholar]
  8. Calabrò, A., Daddi, E., Cassata, P., et al. 2018, ApJ, 862, L22 [Google Scholar]
  9. Calabrò, A., Daddi, E., Puglisi, A., et al. 2019, A&A, 623, A64 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Calabrò, A., Castellano, M., Pentericci, L., et al. 2021, A&A, 646, A39 [EDP Sciences] [Google Scholar]
  11. Camps, P., Trayford, J. W., Baes, M., et al. 2016, MNRAS, 462, 1057 [CrossRef] [Google Scholar]
  12. Carnall, A. C., McLure, R. J., Dunlop, J. S., et al. 2018, MNRAS, 480, 4379 [NASA ADS] [CrossRef] [Google Scholar]
  13. Castellano, M., Salimbeni, S., Trevese, D., et al. 2007, ApJ, 671, 1497 [NASA ADS] [CrossRef] [Google Scholar]
  14. Castellano, M., Pentericci, L., Menci, N., et al. 2011, A&A, 530, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  15. Chabrier, G. 2003, PASP, 115, 763 [Google Scholar]
  16. Charlot, S., & Fall, S. M. 2000, ApJ, 539, 718 [Google Scholar]
  17. Chartab, N., Mobasher, B., Shapley, A. E., et al. 2021, ApJ, 908, 120 [CrossRef] [Google Scholar]
  18. Chevallard, J., & Charlot, S. 2016, MNRAS, 462, 1415 [NASA ADS] [CrossRef] [Google Scholar]
  19. Contini, E., De Lucia, G., Hatch, N., et al. 2016, MNRAS, 456, 1924 [NASA ADS] [CrossRef] [Google Scholar]
  20. Crain, R. A., Schaye, J., Bower, R. G., et al. 2015, MNRAS, 450, 1937 [NASA ADS] [CrossRef] [Google Scholar]
  21. Cresci, G., Mannucci, F., & Curti, M. 2019, A&A, 627, A42 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  22. Croton, D. J., Springel, V., White, S. D. M., et al. 2006, MNRAS, 365, 11 [Google Scholar]
  23. Cullen, F., McLure, R. J., Dunlop, J. S., et al. 2019, MNRAS, 487, 2038 [Google Scholar]
  24. Cullen, F., Shapley, A. E., McLure, R. J., et al. 2021, MNRAS, 505, 903 [CrossRef] [Google Scholar]
  25. Daddi, E., Dannerbauer, H., Stern, D., et al. 2009, ApJ, 694, 1517 [Google Scholar]
  26. Daddi, E., Jin, S., Strazzullo, V., et al. 2017, ApJ, 846, L31 [Google Scholar]
  27. Daddi, E., Valentino, F., Rich, R. M., et al. 2021, A&A, 649, A78 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  28. Dannerbauer, H., Kurk, J. D., De Breuck, C., et al. 2014, A&A, 570, A55 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  29. De Lucia, G., & Blaizot, J. 2007, MNRAS, 375, 2 [Google Scholar]
  30. De Lucia, G., Poggianti, B. M., Aragón-Salamanca, A., et al. 2004a, ApJ, 610, L77 [NASA ADS] [CrossRef] [Google Scholar]
  31. De Lucia, G., Kauffmann, G., Springel, V., et al. 2004b, MNRAS, 348, 333 [NASA ADS] [CrossRef] [Google Scholar]
  32. De Lucia, G., Tornatore, L., Frenk, C. S., et al. 2014, MNRAS, 445, 970 [Google Scholar]
  33. De Lucia, G., Fontanot, F., & Hirschmann, M. 2017, MNRAS, 466, L88 [NASA ADS] [CrossRef] [Google Scholar]
  34. Dressler, A. 1980, ApJ, 236, 351 [Google Scholar]
  35. Elbaz, D., Daddi, E., Le Borgne, D., et al. 2007, A&A, 468, 33 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  36. Ellison, S. L., Patton, D. R., Simard, L., et al. 2008, AJ, 135, 1877 [NASA ADS] [CrossRef] [Google Scholar]
  37. Fakhouri, O., & Ma, C.-P. 2009, MNRAS, 394, 1825 [NASA ADS] [CrossRef] [Google Scholar]
  38. Farouki, R., & Shapiro, S. L. 1981, ApJ, 243, 32 [NASA ADS] [CrossRef] [Google Scholar]
  39. Fensch, J., Renaud, F., Bournaud, F., et al. 2017, MNRAS, 465, 1934 [NASA ADS] [CrossRef] [Google Scholar]
  40. Ferland, G. J., Porter, R. L., van Hoof, P. A. M., et al. 2013, Rev. Mex. Astron. Astrofis., 49, 137 [Google Scholar]
  41. Feroz, F., Hobson, M. P., & Bridges, M. 2009, MNRAS, 398, 1601 [NASA ADS] [CrossRef] [Google Scholar]
  42. Fontanot, F., Hirschmann, M., & De Lucia, G. 2017, ApJ, 842, L14 [Google Scholar]
  43. Fontanot, F., Calabrò, A., Talia, M., et al. 2021, MNRAS, 504, 4481 [CrossRef] [Google Scholar]
  44. Franck, J. R., & McGaugh, S. S. 2016, ApJ, 817, 158 [NASA ADS] [CrossRef] [Google Scholar]
  45. Galametz, A., Grazian, A., Fontana, A., et al. 2013a, ApJS, 206, 10 [Google Scholar]
  46. Galametz, A., Stern, D., Pentericci, L., et al. 2013b, A&A, 559, A2 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Gao, L., Springel, V., & White, S. D. M. 2005, MNRAS, 363, L66 [NASA ADS] [CrossRef] [Google Scholar]
  48. Garilli, B., McLure, R., Pentericci, L., et al. 2021, A&A, 647, A150 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  49. Gottlöber, S., Klypin, A., & Kravtsov, A. V. 2001, ApJ, 546, 223 [CrossRef] [Google Scholar]
  50. Grogin, N. A., Kocevski, D. D., Faber, S. M., et al. 2011, ApJS, 197, 35 [NASA ADS] [CrossRef] [Google Scholar]
  51. Guaita, L., Melinder, J., Hayes, M., et al. 2015, A&A, 576, A51 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  52. Guaita, L., Pompei, E., Castellano, M., et al. 2020, A&A, 640, A107 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  53. Gunn, J. E., & Gott, J. R. 1972, ApJ, 176, 1 [NASA ADS] [CrossRef] [Google Scholar]
  54. Guo, Y., Ferguson, H. C., Giavalisco, M., et al. 2013, ApJS, 207, 24 [NASA ADS] [CrossRef] [Google Scholar]
  55. Gutkin, J., Charlot, S., & Bruzual, G. 2016, MNRAS, 462, 1757 [Google Scholar]
  56. Hani, M. H., Sparre, M., Ellison, S. L., et al. 2018, MNRAS, 475, 1160 [CrossRef] [Google Scholar]
  57. Hirschmann, M., De Lucia, G., & Fontanot, F. 2016, MNRAS, 461, 1760 [Google Scholar]
  58. Hopkins, P. F., Kereš, D., Oñorbe, J., et al. 2014, MNRAS, 445, 581 [NASA ADS] [CrossRef] [Google Scholar]
  59. Inoue, A. K., Shimizu, I., Iwata, I., et al. 2014, MNRAS, 442, 1805 [Google Scholar]
  60. Jáchym, P., Combes, F., Cortese, L., et al. 2014, ApJ, 792, 11 [CrossRef] [Google Scholar]
  61. Kacprzak, G. G., Yuan, T., Nanayakkara, T., et al. 2015, ApJ, 802, L26 [NASA ADS] [CrossRef] [Google Scholar]
  62. Kauffmann, G., White, S. D. M., Heckman, T. M., et al. 2004, MNRAS, 353, 713 [Google Scholar]
  63. Kirkpatrick, C. C., McNamara, B. R., & Cavagnolo, K. W. 2011, ApJ, 731, L23 [NASA ADS] [CrossRef] [Google Scholar]
  64. Koekemoer, A. M., Faber, S. M., Ferguson, H. C., et al. 2011, ApJS, 197, 36 [NASA ADS] [CrossRef] [Google Scholar]
  65. Koyama, Y., Smail, I., Kurk, J., et al. 2013, MNRAS, 434, 423 [CrossRef] [Google Scholar]
  66. Kravtsov, A. V., & Borgani, S. 2012, ARA&A, 50, 353 [Google Scholar]
  67. Kulas, K. R., McLean, I. S., Shapley, A. E., et al. 2013, ApJ, 774, 130 [NASA ADS] [CrossRef] [Google Scholar]
  68. Larson, R. B., Tinsley, B. M., & Caldwell, C. N. 1980, ApJ, 237, 692 [Google Scholar]
  69. Leitherer, C., Schaerer, D., Goldader, J. D., et al. 1999, ApJS, 123, 3 [Google Scholar]
  70. Maier, C., Ziegler, B. L., Haines, C. P., et al. 2019, A&A, 621, A131 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  71. Maulbetsch, C., Avila-Reese, V., Colín, P., et al. 2007, ApJ, 654, 53 [NASA ADS] [CrossRef] [Google Scholar]
  72. McAlpine, S., Helly, J. C., Schaller, M., et al. 2016, Astron. Comput., 15, 72 [NASA ADS] [CrossRef] [Google Scholar]
  73. McLure, R. J., Pentericci, L., Cimatti, A., et al. 2018, MNRAS, 479, 25 [NASA ADS] [Google Scholar]
  74. Moore, B., Katz, N., Lake, G., et al. 1996, Nature, 379, 613 [NASA ADS] [CrossRef] [Google Scholar]
  75. Muldrew, S. I., Hatch, N. A., & Cooke, E. A. 2015, MNRAS, 452, 2528 [NASA ADS] [CrossRef] [Google Scholar]
  76. Namiki, S. V., Koyama, Y., Hayashi, M., et al. 2019, ApJ, 877, 118 [NASA ADS] [CrossRef] [Google Scholar]
  77. Nelson, D., Pillepich, A., Springel, V., et al. 2018, MNRAS, 475, 624 [Google Scholar]
  78. Nelson, D., Springel, V., Pillepich, A., et al. 2019, Comput. Astrophys. Cosmol., 6, 2 [Google Scholar]
  79. Ostriker, J. P., & Tremaine, S. D. 1975, ApJ, 202, L113 [NASA ADS] [CrossRef] [Google Scholar]
  80. Overzier, R. A. 2016, A&ARv, 24, 14 [Google Scholar]
  81. Park, C., & Hwang, H. S. 2009, ApJ, 699, 1595 [NASA ADS] [CrossRef] [Google Scholar]
  82. Pasquali, A., Gallazzi, A., Fontanot, F., et al. 2010, MNRAS, 407, 937 [NASA ADS] [CrossRef] [Google Scholar]
  83. Peeples, M. S., Corlies, L., Tumlinson, J., et al. 2019, ApJ, 873, 129 [Google Scholar]
  84. Peng, Y., & Maiolino, R. 2014, MNRAS, 438, 262 [NASA ADS] [CrossRef] [Google Scholar]
  85. Pentericci, L., Castellano, M., Menci, N., et al. 2013, A&A, 552, A111 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  86. Pentericci, L., McLure, R. J., Garilli, B., et al. 2018, A&A, 616, A174 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  87. Pillepich, A., Springel, V., Nelson, D., et al. 2018a, MNRAS, 473, 4077 [Google Scholar]
  88. Pillepich, A., Nelson, D., Hernquist, L., et al. 2018b, MNRAS, 475, 648 [Google Scholar]
  89. Poggianti, B. M., Moretti, A., Gullieuszik, M., et al. 2017, ApJ, 844, 48 [Google Scholar]
  90. Poggianti, B. M., Gullieuszik, M., Tonnesen, S., et al. 2019, MNRAS, 482, 4466 [Google Scholar]
  91. Rix, S. A., Pettini, M., Leitherer, C., et al. 2004, ApJ, 615, 98 [Google Scholar]
  92. Salimbeni, S., Castellano, M., Pentericci, L., et al. 2009, A&A, 501, 865 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  93. Sanders, R. L., Shapley, A. E., Reddy, N. A., et al. 2020, MNRAS, 491, 1427 [NASA ADS] [CrossRef] [Google Scholar]
  94. Santini, P., Ferguson, H. C., Fontana, A., et al. 2015, ApJ, 801, 97 [Google Scholar]
  95. Sargent, M. T., Daddi, E., Béthermin, M., et al. 2014, ApJ, 793, 19 [NASA ADS] [CrossRef] [Google Scholar]
  96. Schaye, J., Crain, R. A., Bower, R. G., et al. 2015, MNRAS, 446, 521 [Google Scholar]
  97. Schreiber, C., Pannella, M., Elbaz, D., et al. 2015, A&A, 575, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  98. Shankar, F., Marulli, F., Bernardi, M., et al. 2013, MNRAS, 428, 109 [NASA ADS] [CrossRef] [Google Scholar]
  99. Shimakawa, R., Kodama, T., Tadaki, K., et al. 2015, MNRAS, 448, 666 [NASA ADS] [CrossRef] [Google Scholar]
  100. Sommariva, V., Mannucci, F., Cresci, G., et al. 2012, A&A, 539, A136 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  101. Speagle, J. S., Steinhardt, C. L., Capak, P. L., et al. 2014, ApJS, 214, 15 [NASA ADS] [CrossRef] [Google Scholar]
  102. Springel, V. 2005, MNRAS, 364, 1105 [Google Scholar]
  103. Springel, V., White, S. D. M., Jenkins, A., et al. 2005, Nature, 435, 629 [Google Scholar]
  104. Torrey, P., Cox, T. J., Kewley, L., et al. 2012, ApJ, 746, 108 [NASA ADS] [CrossRef] [Google Scholar]
  105. Tran, K.-V. H., Nanayakkara, T., Yuan, T., et al. 2015, ApJ, 811, 28 [NASA ADS] [CrossRef] [Google Scholar]
  106. Trevese, D., Castellano, M., Fontana, A., et al. 2007, A&A, 463, 853 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  107. Trussler, J., Maiolino, R., Maraston, C., et al. 2021, MNRAS, 500, 4469 [Google Scholar]
  108. Umehata, H., Tamura, Y., Kohno, K., et al. 2015, ApJ, 815, L8 [Google Scholar]
  109. Valentino, F., Daddi, E., Strazzullo, V., et al. 2015, ApJ, 801, 132 [NASA ADS] [CrossRef] [Google Scholar]
  110. Vidal-García, A., Charlot, S., Bruzual, G., et al. 2017, MNRAS, 470, 3532 [Google Scholar]
  111. Wang, T., Schreiber, C., Elbaz, D., et al. 2019, Nature, 572, 211 [Google Scholar]
  112. Weinberger, R., Springel, V., Hernquist, L., et al. 2017, MNRAS, 465, 3291 [Google Scholar]
  113. Weinmann, S. M., van den Bosch, F. C., Yang, X., et al. 2006, MNRAS, 366, 2 [NASA ADS] [CrossRef] [Google Scholar]
  114. Whitaker, K. E., Franx, M., Leja, J., et al. 2014, ApJ, 795, 104 [NASA ADS] [CrossRef] [Google Scholar]

Appendix A: Dependence of the metallicity on the spectrum S/N

Since we have shown in C21 (Figure A.1) that the S/N of the spectra strongly affects the error that we obtain for the equivalent width of the absorption lines (hence for the metallicity), we might wonder whether the S/N of our stacks also plays a role in the estimation of the equivalent width itself, producing a bias in the recovered metallicity value. We test this effect by using the same simulations already adopted in C21, taking two Starburst99 models at different intrinsic metallicity values (0.2 and 0.4 times solar), reporting them to the VANDELS resolution as was done for the calibrations, and perturbing the theoretical templates with increasing Gaussian noise, from S/N = 5 to 40. We finally take the average EW and metallicity for the 1501 and 1719 index out of 500 realizations. As shown in Figure A.1, in all cases there is no dependence of the recovered metallicity on the S/N of the stellar continuum, with fluctuations that are always well below 0.01 dex in the S/N range of our VANDELS spectra. As a result, we conclude that the small metallicity differences seen in Section 3.1 are not driven by the different S/N levels reached by the two galaxy populations in the field and in overdensities. In this regard, we note that a difference in metallicity is also found when we adopt the largest definition of protoclusters (Fig. 5, panel 4), where the measurement S/N of the two galaxy populations inside and outside the structures are similar.

thumbnail Fig. A.1.

Figure showing the results of simulations that we made to test the influence of the S/N on the measured EW for the two absorption features used in this work as metallicity indicators. Top: Relation between the measured EW (and recovered stellar metallicity on the left y-axis, using the calibrations in Equations 1) and input spectrum S/N for the 1501 Å index. This is obtained through Monte Carlo simulations where Gaussian noise is added to Starburst99 templates with two different metallicities Z = 0.2 and 0.4 × Z. The vertical green line highlights the S/N range of the stacks that we analyze in our work. Bottom: Same as the upper panel, but for the 1719 Å index.

All Tables

Table 1.

Environmental dependence of the stellar-phase mass–metallicity relation.

Table 2.

Environmental dependence of the gas-phase mass–metallicity relation.

All Figures

thumbnail Fig. 1.

Local galaxy density distribution of VANDELS galaxies. Left and middle: redshift (z) vs. local galaxy density (ρ) for the galaxies with reliable spectroscopic redshifts (z-flag ≥ 3) used to test the environmental effects on the MZR, in the CDFS and UDS fields, respectively with blue and orange dots. This is only a subset of the parent VANDELS sample used to calculate the galaxy density maps. The black dashed line and the gray shaded region represent for each z the median local density ρmed(z) and the corresponding standard deviation, respectively. The colored continuous lines highlight instead the criterion adopted to consider galaxies as members of an overdensity structure: > 6σ above the median density. Right: histogram distribution of the local galaxy density for the VANDELS sample used in this work (both fields). The white empty bars show the local density distribution of the parent VANDELS sample (having both photometric and spectroscopic z) used for the calculation of the density and for the identification of overdense structures.

In the text
thumbnail Fig. 2.

Example of an overdensity structure identified at z ≃ 2.8 in the CDFS field. The contours of the local galaxy density (gal Mpc−3) estimated with the method of Guaita et al. (2020) are overplotted; the different levels correspond to the enhancement in units of 1σ compared to the average galaxy density and standard deviation in the given redshift range. The symbols represent the galaxy sample used for the determination of the density map in Sect. 2.2. In particular, the black points, red stars, and green stars identify, respectively, galaxies with photometric redshifts, the VANDELS sample with spectroscopic redshift flag ≥ 2, and galaxies with spectroscopic redshift coming from surveys other than VANDELS. The big empty black square and the continuous black line represent, respectively, the center of the overdensity structure and its boundaries in projected space. The black dashed circles with increasing radii of 10, 15, and 20 cMpc from the overdensity structure centers are used for an alternative definition of protoclusters, assuming a Δz = 0.04 along the redshift direction. Only VANDELS galaxies with z-flag ≥ 3 were used for the stacking and metallicity estimations in Sect. 2.4.

In the text
thumbnail Fig. 3.

Example of an overdensity structure identified at redshift z ≃ 3.6 in the UDS field. Symbols and contours are the same as in Fig. 2. For this particular overdensity structure at high-z, most of the spectroscopic redshifts come from the VANDELS survey.

In the text
thumbnail Fig. 4.

Figure showing the MZR in different bins of local galaxy density. Left panel: stellar MZR of the whole population of star-forming galaxies at 2 < z < 4 (gray squares) with its best-fit relation (gray continuous line). Overplotted are the MZR, color-coded according to the local galaxy density lower (blue squares) or higher (red squares) than the sample median of 0.003 gal Mpc−3, with the linear relations fitted to each subset (fixing the slope to the global MZR value), and drawn with the corresponding colors. The shaded area around the best-fit relations represent the 1σ uncertainty for the MZR normalization. The large squares represent the median stellar mass of the galaxies in each bin and the stellar metallicity derived from their spectral stack (see text). The large shaded triangles and circles indicate instead the metallicities obtained from each of the two features (at 1501 and 1719 Å, respectively) that contribute to the average metallicity value in the bin. The horizontal and vertical error bars of the large squares respectively represent the standard deviation of M in each bin and the 1σ uncertainty associated with the metallicity measurement. Right panel: same as above, but using three bins of local density, with the intermediate density bin drawn in green. The legend gives the median local density for each of the three subsets.

In the text
thumbnail Fig. 5.

Stellar mass–metallicity relation color-coded according to the overdensity flag (panel 1) and protocluster membership, as defined in the text, with increasing radii from the overdensity structure centers (10, 15, and 20 cMpc from panel 2 to 4). Gray squares, dashed line, and colored filled markers are the same as in Fig. 4.

In the text
thumbnail Fig. 6.

Stacked spectra corresponding to the bins in stellar mass and PC-flag20 adopted in panel 4 of Fig. 5. In each row are shown, for each stellar mass bin (increasing mass from top to bottom), the stacks for the galaxy population inside the overdensity structures (in red) and in the field (in blue). For visualization purposes, the two scales of the fluxes and corresponding errors (on the left and right hand y-axis, respectively), have been slightly shifted. The wavelength ranges corresponding to the 1501 and 1719 metallicity indices are highlighted in yellow in the main plot, while they are further magnified in the two panels to the right of each row. Here the features corresponding to the two galaxy populations (protocluster and field) are overplotted to facilitate the comparison. The blueward and redward shaded gray regions correspond to the Rix et al. (2004) windows to define the pseudocontinuum across the absorption feature through a straight line fit, while the shaded red and blue areas are used for the calculation of the equivalent width.

In the text
thumbnail Fig. 7.

Gas-phase mass–metallicity relation for 21 star-forming galaxies at redshifts 3 < z < 3.8 from the NIRVANDELS survey, color-coded according to galaxy density (higher or lower than the sample median = 0.003 gal Mpc−3) and to the overdensity flag, in the upper and lower panel, respectively. The larger colored squares represent the median gas-phase metallicities and the median stellar mass of the galaxies in the same bin. The vertical and horizontal error bars represent, respectively, the 1σ uncertainty of the median metallicity and the standard deviation of stellar masses in each bin. We do not display the median point where the bin contains only one galaxy.

In the text
thumbnail Fig. 8.

Diagram comparing the gas-phase metallicity offset between overdense and underdense regions in the stellar mass range between 108 and 1011M. Our data is shown as a red solid symbol, overplotted on recent findings from the MOSDEF survey at redshifts below and above 2.

In the text
thumbnail Fig. 9.

Environmental dependence of the SFR–stellar mass and β–mass relations for the VANDELS galaxies analyzed in this work (first and second row, respectively). The colors of the symbols in each plot are based (from left to right) on the local density (higher or lower than the sample median), overdensity flag, and protocluster membership PC-flag (15 cMpc). The main sequence of star formation at redshift ∼3 from different works is also shown for comparison in the first plot. The SFR has been normalized to z = 3 following the ∼(1 + z)2.8 redshift dependence of Sargent et al. (2014). The typical uncertainties on the stellar masses from SED fitting are shown in the bottom right corner of each plot.

In the text
thumbnail Fig. 10.

Stellar mass–stellar metallicity relation of mock galaxies from VANDELS cones, performed to reproduce the same sky area and redshift range targeted by our survey. The whole galaxy population is color-coded in two bins of local galaxy density, similarly to Fig. 4 top, and according to the overdensity flag and protocluster membership (second and third panels), assuming a radius of 15 cMpc. The theoretical MZR have been offset by −0.4 dex to match the observed global MZR normalization. The vertical error bars of the models represent the error on the median metallicity estimation in each bin.

In the text
thumbnail Fig. 11.

Stellar mass–stellar metallicity relation for star-forming galaxies at z ∼ 3 in different bins of virial mass of the host haloes, as predicted by the semi-analytic models of De Lucia & Blaizot (2007). The relations are drawn for the whole population (panel 3), for central galaxies only (panel 2), and for satellites (panel 3). The vertical error bars represent the median absolute deviation of the galaxy metallicities in each stellar mass bin. Panels 4–6: same as panels 1–3, but using the metallicity of the cold gas reservoir.

In the text
thumbnail Fig. 12.

Stellar mass–stellar metallicity relation of star-forming galaxies at z ∼ 3 in GAEA, for the whole population (panel 1), centrals (panel 2), and satellites (panel 3), in different bins of virial mass of their host FoF groups from 1011 to 1013M. The vertical error bars represent the median absolute deviation of the galaxy metallicities in each stellar mass bin. Panels 4–6: same as panels 1–3, but for the cold gas metallicity.

In the text
thumbnail Fig. 13.

Figure showing the MZR predicted by the EAGLE and TNG hydrodynamical simulations. Left: stellar MZR of star-forming galaxies at z ∼ 3 selected from the Eagle hydrodynamical simulation sets (Ref. L0100N1504) as a function of the total mass of their host haloes from 1010 to 1014M. Right: same as the left panel, but for the Illustris-TNG100 simulation.

In the text
thumbnail Fig. A.1.

Figure showing the results of simulations that we made to test the influence of the S/N on the measured EW for the two absorption features used in this work as metallicity indicators. Top: Relation between the measured EW (and recovered stellar metallicity on the left y-axis, using the calibrations in Equations 1) and input spectrum S/N for the 1501 Å index. This is obtained through Monte Carlo simulations where Gaussian noise is added to Starburst99 templates with two different metallicities Z = 0.2 and 0.4 × Z. The vertical green line highlights the S/N range of the stacks that we analyze in our work. Bottom: Same as the upper panel, but for the 1719 Å index.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.