Introduction

Understanding how galaxies form their stars remains one of the major goals of galaxy theory1. Empirical relations that link star formation to galaxy properties have provided many clues to this cosmic puzzle. The discovery of a relatively tight relation between star formation rate (SFR) and stellar mass of galaxies2,3 showed that star formation proceeds in a similar fashion in most star-forming galaxies but with a highly redshift dependent normalization. While the physical origin of this star-forming sequence (SFS) is not yet fully understood, it is likely linked to the accretion of gas onto galaxies and the growth of their parent dark matter halos4,5,6.

A more direct way of studying galactic star formation is by analyzing the interstellar medium (ISM) of galaxies7,8,9,10. Observationally, the surface density of star formation is well correlated with the surface density of molecular gas11. The physical interpretation of this empirical correlation is that both star formation and molecular hydrogen formation require low gas temperatures and high densities and thus occur in co-spatial locations of the ISM12.

Constraining gas masses of galaxies is observationally challenging and subject to various biases and selection effects. Fortunately, recent observations of carbon-monoxide (CO) and 21 cm line emission make it now possible to study the molecular and neutral gas content of representative samples of nearby galaxies13,14 thus enabling a more comprehensive analysis of galactic star formation, the ISM composition, and the link to gas accretion.

A major conclusion reached by these studies was that star formation in galaxies does not simply scale with the mass of the molecular reservoir as suggested by previous analyses of the molecular Kennicutt-Schmidt relation but that the efficiency of converting molecular gas into stars varies with the offset from the SFS10,15,16,17. However, selection effects pose a main challenge for this interpretation given that a large number of galaxies in these samples have line emission below the detection limit. Bayesian modeling offers a way to mitigate biases arising from such detection limits and other observational limitations18,19,20.

The present study employs a Bayesian approach to model the multi-dimensional distribution of SFRs, molecular gas, and neutral gas masses in a representative sample of nearby galaxies13,14 while accounting for detection limits and observational uncertainties. The efficiency of star formation in typical star-forming galaxies is found to be largely constant both along and across the SFS. In contrast, the star formation activity of starbursts may be boosted by a high efficiency. Overall, the SFRs and total gas masses of galaxies are shown to be strongly correlated, suggesting that galactic star formation is regulated by physical processes involving gas accretion and galactic outflows. Valuable information about the gas accretion histories of galaxies may thus be gleaned from accurately constraining the slopes of the SFS and the corresponding neutral and molecular gas sequences (NGS, MGS).

Results

The star formation, neutral gas, and molecular gas sequences

Two different samples are used in the present analysis. First, a ‘representative sample’ of 1012 galaxies with stellar masses 9 ≤ lgMstar ≤ 11 selected from the extended GALEX Arecibo SDSS Survey14 (xGASS). Second, an extension of the representative sample (‘extended sample’) that includes 54 additional galaxies with molecular gas measurements from the CO Legacy Database for GASS13 (xCOLD GASS) that are not in xGASS. Importantly, all galaxies within a given stellar mass range are included in the analysis, i.e., there is no ad hoc selection of galaxies according to their star formation activity.

The joint distribution of SFRs, neutral gas, and molecular gas masses at fixed Mstar is modeled as a non-Gaussian multivariate distribution with parameters that vary with Mstar (see the “Methods” section). This multi-dimensional distribution consists of a continuous component and a zero-component. The latter corresponds to galaxies with vanishing SFRs and gas masses while the former includes all other galaxies. The one-dimensional (marginal) distributions of SFRs and gas masses of the continuous component are modeled as a mixture of two gamma distributions. The first gamma distribution corresponds to SFRs or gas masses of ordinary star-forming galaxies. A gamma distribution is adopted as it provides a better approximation to the distribution of SFRs at fixed stellar mass than a log-normal distribution21,22. The second, sub-dominant gamma distribution accounts for outliers with high SFRs (i.e., starbursts) or gas masses23.

The present study employs the Likelihood Estimation for Observational data with Python (LEO-Py) method20 to compute the likelihood of the various distribution parameters taking into account the detection limits, missing entries, outliers, and correlations of the observational data (for either the representative or the extended sample). Starting from a weakly informative prior, the probability distribution of the distribution parameters is explored via a Markov Chain Monte Carlo (MCMC) method with the help of an affine-invariant ensemble sampler24. The mean parameter values obtained from the MCMC chain based on the representative (extended) sample define the fiducial (extended) model.

SFRs and gas masses of galaxies in the representative sample are shown in Fig. 1. Also shown is the peak position of the SFS (Fig. 1a), the NGS (Fig. 1b), and the MGS (Fig. 1c) as well as their scatter according to the fiducial model. These sequences refer to intrinsic galaxy properties because observational artifacts such as detection thresholds, missing values, and observational errors are accounted for in the multi-dimensional Bayesian modeling. A number of physical processes such as environmental effects25,26, fluctuations in the SFRs, or varying gas accretion rates27,28,29,30 may be responsible for setting the normalization, slope, and scatter of these sequences. The parameters of the fiducial and extended models as well as the slopes and scatters of the SFS, NGS, and MGS are listed in Supplementary Tables 14 (see Supplementary Note 1).

Fig. 1: Scaling relations of nearby galaxies.
figure 1

Slope, normalization, and scatter of the star-forming sequence (a), neutral gas sequence (b), and molecular gas sequence (c). Points show the representative sample based on the xGASS / xCOLD GASS data sets13,14. Specifically, detected SFRs and gas masses are shown as blue circles with error bars indicating measurement uncertainties (one standard deviation). A large fraction of the observational data are either undetected/censored (cyan arrows) or missing (purple dots) necessitating careful modeling to avoid systematic biases. Peak position and scatter of each sequence, as determined by this study, are shown by solid and dashed lines. The peak position is defined as the mode of the conditional probability density of lg SFR, \(\mathrm{lg}\,{M}_{{{\rm{H}}}_{{\rm{I}}}}\), and \(\mathrm{lg}\,{M}_{{{\rm{H}}}_{2}}\) given Mstar. The predicted scaling of the peak position with stellar mass as well as the upward (Δ+) and downward (Δ) scatter of each sequence for Mstar = 1010M galaxies are listed in the legend of each panel.

The peak position of the SFS for a given stellar mass is defined as the mode of the lgSFR distribution of typical galaxies (i.e., those belonging to the main gamma component of the model)20,31. For gamma-distributed SFRs, the peak position also corresponds to the average SFR. Analogous definitions are adopted for the NGS and MGS.

The SFS scales sub-linearly with a slope of 0.54 in qualitative agreement with previous results obtained with different approaches14,32. The upward (downward) scatter for Mstar ~ 1010M galaxies is 0.38 dex (0.53 dex). The NGS has a much shallower slope (0.33) but a similar upward and downward scatter compared with the SFS. Among the three sequences, the MGS shows the steepest slope (0.69) and the lowest scatter (0.31 dex).

The lower scatter and steeper slope of the MGS compared with the SFS may suggest that the latter may be a consequence of the former. In this scenario, the SFS is a secondary relation created by the relatively tight correlation between \({M}_{{{\rm{H}}}_{2}}\) and Mstar on one hand, and between SFR and \({M}_{{{\rm{H}}}_{2}}\) (the galaxy-integrated form of the molecular Kennicutt-Schmidt relation) on the other.

The star-forming plane

The SFS, MGS, and NGS quantify how SFRs of galaxies and their gas masses scale with stellar mass but they provide limited information on how SFRs and gas masses are correlated. To study the latter, Fig. 2 plots SFRs, \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), and \({M}_{{{\rm{H}}}_{2}}\) relative to the SFS, NGS, and MGS both for the observational xGASS/xCOLD GASS data and for the intrinsic properties as predicted by the fiducial model. Specifically, one of the axes shows \(\Delta \mathrm{lg}\,{\rm{SFR}}=\mathrm{lg}\,\left({\rm{SFR}}/\mathrm{lg}\,{{\rm{SFR}}}_{{\rm{SFS}}}({M}_{{\rm{star}}})\right)\), where SFRSFS(Mstar) refers to the SFR of the SFS at stellar mass Mstar, see Fig. 1. The axes \(\Delta \mathrm{lg}\,{M}_{{{\rm{H}}}_{{\rm{I}}}}\) and \(\Delta \mathrm{lg}\,{M}_{{{\rm{H}}}_{2}}\) are defined in an analogous fashion.

Fig. 2: Star-forming plane.
figure 2

a Face-on and b edge-on view of the star-forming plane. The star-forming plane refers to the largely two-dimensional distribution of star formation rates (SFRs), neutral and molecular gas masses relative to the peak position of the star forming, neutral gas, and molecular gas sequence for a given stellar mass. Markers indicate the measured SFRs and gas masses of xGASS/xCOLD GASS observations with marker shapes and colors corresponding to different stellar masses (see legend). Regions bounded by the green, blue, and yellow isosurfaces include 10, 50, and 90% of galaxies (without the zero component) according to the fiducial model. Solid lines mark the intersections of the star-forming plane with the coordinate axes. The orientation of the star-forming plane is calculated via a principal component analysis based on the probability density within the 50% isosurface. The orientation of the star-forming plane is only weakly dependent on stellar mass.

The surfaces shown in Fig. 2 are isosurfaces of probability density. They are calculated from a random sampling of the probability distribution of the fiducial model (with stellar masses drawn randomly from the representative xGASS/xCOLD GASS sample) via the marching cubes algorithm33. The volumes enclosed by the isosurfaces contain 10, 50, and 90% (from the innermost to the outermost isosurface) of the probability of the continuous component of the fiducial model. The isosurfaces are highly flattened in one direction. Figure 2a, b shows this ‘star-forming plane’ (SFP) in a face-on and edge-on view. The orientation of the SFP is calculated via a principal component analysis of all sample points within the 50% isosurface.

The orientation of the SFP could in principle depend on stellar mass. However, the present analysis suggests that such a dependence cannot be very strong. Figure 2 shows that the observed galaxies fall onto the SFP for all considered stellar masses. Furthermore, the orientation of the SFP as predicted by the fiducial model is also almost independent of stellar mass (see Supplementary Note 2). Hence, SFRs, \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), and \({M}_{{{\rm{H}}}_{2}}\), when measured relative to the peak position of their respective sequences, form an approximately two-dimensional surface (the SFP) that is largely independent of stellar mass suggesting it is an approximately universal characteristic of (at least) nearby galaxies.

Figure 3 shows a projection of the three-dimensional SFR, \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), and \({M}_{{{\rm{H}}}_{2}}\) space along the neutral gas direction for galaxies with Mstar ~ 1010M. Given the narrow range of stellar masses, absolute SFRs and gas masses can be easily converted into quantities relative to their respective sequences and, hence, Figure 3 is a projection of the SFP onto the SFR – \({M}_{{{\rm{H}}}_{2}}\) pair of axes. The SFR – \({M}_{{{\rm{H}}}_{2}}\) diagram is close to an edge-on projection of the SFP, given its orientation shown in Fig. 2. Hence, this projection of the SFP corresponds to a tight relation between molecular gas mass and SFR, i.e., it is a galaxy-integrated version of the molecular Kennicutt-Schmidt relation11.

Fig. 3: Projection of the star-forming plane along the HI direction.
figure 3

a Distribution of star formation rate (SFR) and molecular gas mass (\({M}_{{{\rm{H}}}_{2}}\)) in the representative xGASS/xCOLD GASS sample for galaxies with Mstar = 1010±0.3M (blue dots with 1−σ uncertainty contours) and isocontours of the probability density of galaxies with the same stellar mass range according to the fiducial model (dashed lines include 68 and 95% of galaxies in the continuous component). Solid lines show the corresponding contours for a mock sample based on the fiducial model with observational errors and detection limits added. Observational data with missing SFRs (molecular gas masses) are shown as magenta (green) circles at the bottom (left) edge of (a). Censored observational data are omitted for clarity of presentation. The red star indicates the peak position of the star-forming sequence and the molecular gas sequence for galaxies with Mstar = 1010M according to the fiducial model. b, c Marginal probability density functions (pdf) of the xGASS/xCOLD GASS sample (blue histograms), the mock sample (yellow histograms), and the fiducial model (dashed curves) for Mstar = 1010 ± 0.3M galaxies. d Number of Mstar = 1010 ± 0.3M galaxies in the representative xGASS/xCOLD GASS sample with measured ('meas'), missing ('miss'), and undetected ('cen') SFR and/or \({M}_{{{\rm{H}}}_{2}}\) values. While the mock sample reproduces the observational data well, the differences between the mock data and the true model predictions suggest that significant biases can be introduced by censored, missing, and uncertain data.

Figure 3 highlights two important points. First, the probability distributions of the observational data are well reproduced by the fiducial model after selection effects and observational uncertainties are taken into account. This shows that the underlying model provides a good description of the observational data. Secondly, there is a clear difference between the apparent (“mock”) and the actual (“true”) distribution of the model data thus highlighting the importance of properly modeling measurement uncertainties and data censoring in observational data. Here, data censoring refers to measurements that have been carried out but return values below a detection limit. The apparent relation between SFR and \({M}_{{{\rm{H}}}_{2}}\) is steeper than the actual relation as galaxies with low molecular masses are more likely to be censored than those with low SFRs.

Gas depletion times

The slope of the SFR – \({M}_{{{\rm{H}}}_{2}}\) relation is directly linked to the (molecular, neutral, total) gas depletion time, tdep, which is defined as the ratio between (molecular, neutral, total) gas mass and SFR. The total gas mass refers to the sum of molecular and neutral gas masses, and tdep corresponds to the time it would take to convert the present gas reservoir into stars at the current SFR. The gas depletion time is a major parameter in galaxy models and its dependence on galaxy properties is an active area of observational and theoretical research8,10,34,35. Previous observational analyses7,10,15,17 and numerical simulations27 have suggested that the molecular depletion time increases with a decreasing offset from the SFS, lgtdep ~ −0.5 × ΔlgSFR, for a broad range of offsets, stellar masses, and redshifts. If true, this result would suggest that star formation is not only regulated by the amount of molecular gas present but also by the molecular-gas-to-star conversion efficiency. The latter could arise from a variety of physical processes operating in the ISM such as supersonic turbulence1. However, as pointed out above, the actual SFR – \({M}_{{{\rm{H}}}_{2}}\) relation may differ from the apparent relation due to observational uncertainties and detection limits.

Therefore, Fig. 4 analyzes the molecular and total gas depletion times and their scaling with the offset from the SFS. Specifically, Fig. 4a shows the depletion times derived directly from the observational data as well as the depletion times in a mock sample based on the extended model (see “Introduction”) after adding observational uncertainties and detection limits. The excellent agreement between observational and mock results suggests that the extended model well describes the observational data. The previously reported slope of ~−0.5 based on galaxies with detected molecular gas masses is also recovered. However, the estimates of the depletion times and the calculated scalings are potentially biased as they do not properly account for missing and censored data.

Fig. 4: Scaling of depletion times and gas masses.
figure 4

a Average depletion times in the extended xGASS/xCOLD GASS sample of Mstar ~ 109−1011M nearby galaxies (solid lines with error bars) and in a mock sample with the same stellar mass distribution (dashed lines) showing good agreement. Blue/cyan lines (red/magenta lines) refer to molecular gas (to the sum of molecular and neutral gas including Helium). Galaxies with undetected or missing star formation rates (SFRs) are excluded from the analysis. Error bars correspond to standard errors of the bin averages. The solid green line shows the fit of the H2 depletion time from the PHIBSS survey10 covering z = 0–4 (dotted lines are extrapolations). b The scaling of the actual depletion times, i.e., if measured without observational errors and detection limits, for the galaxies in the mock sample. Galaxies with zero SFRs are excluded from the analysis. For typical offsets from the star-forming sequence, the molecular gas depletion time shows only a mild dependence (SFR−0.24) on SFR. c, d Same as a, b but showing the average change in gas masses relative to the peak position of the corresponding gas sequence with offset from the star-forming sequence. The peak position of the total gas sequence is given by the sum of the peak positions of the molecular and neutral gas sequences including Helium. Changes in star formation activity of typical starforming galaxies are tightly linked to changes in their molecular and total gas masses.

Instead, Fig. 4b reports the actual scaling of the depletion times as predicted by the model. The scaling is significantly shallower (−0.24 for the molecular gas depletion time,  −0.32 for the total gas depletion time) for typical offsets (−0.5 to 0.5) from the SFS. Hence, the gas depletion times are almost constant in normal star-forming galaxies both along the SFS (given that the SFS and MGS have similar slopes9, see Fig. 1) as well as across it (see also ref. 36). The scaling becomes steeper in galaxies (starbursts) that lie a factor of 3–5 above the SFS indicating that the gas-to-star conversion efficiency is elevated in such systems as expected from studies of local ultra-luminous infrared galaxies37.

Molecular and total gas masses vary with the offset from the SFS in a manner consistent with the results above, see Fig. 4c, d. In particular, the change of gas mass with the offset from the SFS becomes closer to linear once non-detected galaxies are included in the analysis. Again, this finding is consistent with a picture in which variations in the gas content, and not in the molecular-gas-to-star conversion efficiency, drive the star formation activity of typical (non-starbursting) nearby galaxies.

Figure 5 quantifies the modeling uncertainty of the actual molecular gas depletion time, \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\), in galaxies with Mstar = 1010M. The molecular gas depletion time is fit with a broken linear function between ΔlgSFR = −0.5 and 1 for a large number of random draws of the model parameters from the MCMC chain. Specifically, \(\langle {\mathrm{lg}}\,{t}_{{\rm{dep}},{{\rm{H}}}_{2}}/{\rm{yr}}\rangle =A+{\alpha }_{1}[x-{x}_{{\rm{b}}}]+[{\alpha }_{2}-{\alpha }_{1}]\,{\mathrm{ln}}\left([1+\exp \frac{x-{x}_{{\rm{b}}}}{\Delta }]/2\right)\Delta\) is used as the fitting function, where x = ΔlgSFR, α1 and α2 are the slopes for low and high values of x, xb, and Δ are the break point and the smoothness of the transition from one slope to another, and A is the value of \(\langle {\mathrm{lg}}\,{t}_{{\rm{dep}},{{\rm{H}}}_{2}}/{\rm{yr}}\rangle\) at x = xb. The median value of the slope of the molecular gas depletion time for non-starbursting galaxies (α1) with Mstar ~ 1010M is  −0.25 and the 2.5th, 16th, 84th, and 97.5th percentiles are  −0.34,  −0.30,  −0.21, and  −0.13. Hence, the slope of the molecular gas depletion time (for non-starbursting galaxies) differs from zero (at the 2σ level) but it is also significantly shallower than a −0.5 slope. Finally, the slope (α2) in the starbursting regime (ΔlgSFR  0.6–0.7) is steeper than α1 with \({\alpha }_{2}=-0.6{8}_{-0.10}^{+0.11}\).

Fig. 5: Uncertainty of the molecular gas depletion time scaling.
figure 5

Scaling of the molecular gas depletion time with offset from the star-forming sequence for Mstar = 1010M galaxies as predicted by the model trained on the extended xGASS/xCOLD GASS sample and a quantification of the resulting uncertainty. The model prediction is shown by the blue solid line. A double-linear function provides a reasonable approximation, see the magenta dashed curve. The resulting fit parameters are reported in a magenta font in the top left corner of the main figure. Here, α1 is the slope of lgtdep with ΔlgSFR for non-starbursting galaxies, while α2 is the corresponding slope in the highly starforming regime. Solid gray lines show the scaling of tdep with ΔlgSFR for 100 different choices of the model parameters randomly selected from a Markov Chain Monte Carlo sampling. The inset panel shows the distribution of α1 based on 1000 such model parameters choices with the white (white + yellow) colored part of the histogram corresponding to the 68% (95%) credibility interval of α1. Median values and 16th to 84th percentile ranges are listed for both α1 and α2.

The analysis above implies that molecular gas depletion times of typical star-forming galaxies depend only weakly on stellar mass and SFR. Specifically, combining the molecular depletion time scaling of galaxies that lie on the SFS and MGS (see Fig. 1a, c and Supplementary Note 1) with the dependence of the depletion time on the offset from the SFS leads to

$${t}_{{\rm{dep}},{{\rm{H}}}_{2}}({M}_{{\rm{star}}},{\rm{SFR}})= \, \frac{{M}_{{{\rm{H}}}_{2},{\rm{MGS}}}}{{{\rm{SFR}}}_{{\rm{SFS}}}}({M}_{{\rm{star}}}){\left(\frac{{\rm{SFR}}}{{{\rm{SFR}}}_{{\rm{SFS}}}({M}_{{\rm{star}}})}\right)}^{{\alpha }_{1}}\\ = \, 0.87\ {\rm{Gyr}}{\left(\frac{{M}_{{\rm{star}}}}{1{0}^{10}{M}_{\odot }}\right)}^{0.15}{\left(\frac{{\rm{SFR}}}{{{\rm{SFR}}}_{{\rm{SFS}}}({M}_{{\rm{star}}})}\right)}^{-0.24},\ {\rm{i}}.{\rm{e}}.,$$
(1)
$${t}_{{\rm{dep}},{{\rm{H}}}_{2}}({M}_{{\rm{star}}},{\rm{SFR}})=0.79\ {\rm{Gyr}}{\left(\frac{{M}_{{\rm{star}}}}{1{0}^{10}{M}_{\odot }}\right)}^{0.28}{\left(\frac{{\rm{SFR}}}{{M}_{\odot }{{\rm{yr}}}^{-1}}\right)}^{-0.24}.$$
(2)

It is instructive to compare Eq. (1) with the result of a combined analysis of data sets spanning z = 0–410. This latter study finds \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\propto {M}_{{\rm{star}}}^{0.09}{({\rm{SFR}}/{{\rm{SFR}}}_{{\rm{SFS}}}^{z})}^{-0.44}{(1+z)}^{-0.62}\), i.e., a steeper scaling with SFR and a dependence on redshift.

Interestingly, the scaling \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\propto {(1+z)}^{-0.62}\) may be consistent with a molecular gas depletion time that has no explicit redshift dependence. This perhaps surprising result may be understood as follows. The normalization of the SFS of galaxies increases quickly with redshift, \({{\rm{SFR}}}_{{\rm{SFS}}}^{z}={(1+z)}^{2-3}{{\rm{SFR}}}_{{\rm{SFS}}}^{z = 0}\)5,38, approximately in line with theoretical expectations from the scaling of the specific halo accretion rates39. Consequently, if \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) is independent of z once Mstar and SFR are given, then \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\propto {M}_{{\rm{star}}}^{0.15}{\left({\rm{SFR}}/{{\rm{SFR}}}_{{\rm{SFS}}}^{z = 0}\right)}^{-0.24}={M}_{{\rm{star}}}^{0.15}{\left({\rm{SFR}}/{{\rm{SFR}}}_{{\rm{SFS}}}^{z}\right)}^{-0.24}{(1+z)}^{-0.24\times 2.5}\propto {(1+z)}^{-0.6}\). As a simple corollary, the molecular gas mass \({M}_{{{\rm{H}}}_{2}}\) of galaxies will also be a function of Mstar and SFR alone, i.e., have no explicit dependence on z,

$${M}_{{{\rm{H}}}_{2}}({M}_{{\rm{star}}},{\rm{SFR}})=7.9\times 1{0}^{8}\ {M}_{\odot }\ {\left(\frac{{M}_{{\rm{star}}}}{1{0}^{10}{M}_{\odot }}\right)}^{0.28}{\left(\frac{{\rm{SFR}}}{{M}_{\odot }{{\rm{yr}}}^{-1}}\right)}^{0.76}.$$
(3)

The suggestion above is reminiscent of the fundamental metallicity relation40,41 which similarly explains the redshift evolution of the mass-metallicity relation42,43 with an underlying redshift-invariant dependence of the metallicity on both SFRs and Mstar. It is also similar to a proposed relation linking total gas mass fraction, stellar mass, and SFRs in a redshift independent manner44. Finally, given the (1 + z)2−3 scaling of the SFS, the redshift independence of Eq. (2) is only in agreement with the scaling \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\propto {(1+z)}^{-0.62}\) if α1 is between  −0.31 and  −0.21.

Discussion

The near constancy of \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) in typical star-forming galaxies suggests that their SFRs are largely driven by their molecular gas masses. The regulatory influence of physical processes that determine how efficiently molecular gas is converted into stars is thus limited, at least on global, galaxy-integrated scales in such galaxies. In contrast, a higher conversion efficiency appears to be the main driver of the excessively high star formation activity in starbursts.

However, while galaxies near the SFS have on average similar molecular gas depletion times, the ratio between \({M}_{{{\rm{H}}}_{2}}\) and SFR in any given galaxy can differ significantly from this average value as the model predicts a probability distribution, not a deterministic mapping, between gas mass and SFR. In particular, the scatter of SFRs at fixed molecular gas mass (and vice versa), see Fig. 3, may explain observations of galaxies with low SFR and, yet, significant amounts of molecular gas45.

Figure 4 demonstrates that the molecular depletion time and the total gas depletion time have a similar scaling behavior with ΔlgSFR. This implies that the molecular-to-neutral gas ratio, and thus the molecular fraction \({f}_{{{\rm{H}}}_{2}}={M}_{{{\rm{H}}}_{2}}/{M}_{{\rm{gas}}}\), is approximately constant across the SFS, i.e., for galaxies of a given Mstar, even including starbursts (see also Supplementary Note 3). The molecular-to-neutral ratio increases with increasing Mstar, however, as evidenced by the steeper slope of the MGS compared with the NGS. The molecular gas mass in nearby galaxies is thus primarily a function of Mstar (via its effect on fH2) and the total gas mass.

These considerations suggest an evolutionary model (see “Methods” for more details) in which the average star formation activity and stellar mass growth of star-forming galaxies is determined by the time evolution of the total gas mass.

$${\rm{SFR}}(t)=\frac{{M}_{{\rm{gas}}}(t)}{{t}_{{\rm{dep}}}({M}_{{\rm{star}}}(t),{\rm{SFR}}(t),t)}$$
(4)

In the following discussion, \({f}_{{{\rm{H}}}_{2}}\) and \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\), and thus \({t}_{{\rm{dep}}}= {t}_{{\rm{dep}},{{\rm{H}}}_{2}}/{f}_{{{\rm{H}}}_{2}}\), are calculated from the empirically derived SFS, NGS, and MGS (see Fig. 1), with the additional scaling \({t}_{{\rm{dep}},{{\rm{H}}}_{2}} \sim {{\rm{SFR}}}^{-0.24}\) introduced in the previous section. An alternative version of ansatz (4) based on the reciprocal molecular gas depletion time is discussed in “Methods”. Two specific choices for Mgas(t) are analyzed in more detail below.

The case of an approximately constant gas mass, as predicted by a class of equilibrium galaxy formation models46,47, provides a first example. In this case, the SFS is linear at all redshifts, while galaxies evolve along much more gradual trajectories (SFR ~ constant) in Mstar − SFR space, see Fig. 6a. The predicted slopes of the MGS and NGS are slightly steeper (less steep) than linear, see Fig. 6c, e. In either case, the predictions of this analytic model are in disagreement with the strongly sub-linear slopes of the SFS, NGS, and MGS shown in Fig. 1.

Fig. 6: Redshift evolution of galaxy scaling relations.
figure 6

The star-forming sequence (SFS, a, b), neutral gas sequence (NGS, c, d), and molecular gas sequence (MGS, e, f) and their redshift evolutions as predicted by two simple analytic models that link star formation rates (SFRs) and gas masses (Mgas) of galaxies via \({\rm{SFR}}={M}_{{\rm{gas}}}{f}_{{\rm{H}}2}/{t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) and \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\propto {M}_{{\rm{star}}}^{0.28}\ {{\rm{SFR}}}^{-0.24}\). In both models, the stellar mass (Mstar) is the integral of the SFR, i.e., stellar mass loss and mergers are ignored. Furthermore, the molecular-to-total gas mass ratio (fH2) is assumed to depend only on stellar mass with fH2(Mstar) given by the scalings of the molecular and neutral gas sequences. In each panel, solid lines connect galaxy populations at a fixed redshift (z = 6–0 from top to bottom), while dashed lines show the time evolution of individual galaxies. Linear slopes are indicated by dotted lines. a, c, e Predictions of an equilibrium model in which Mgas does not change with time. The SFS has a slope of 1, while the slope of the MGS (NGS) is slightly steeper (less steep) than linear. b, d, f Predictions of a model with a time-dependent Mgas such that Mgas peaks at earlier times in more massive galaxies ('downsizing'). This second model is successful in reproducing the sub-linear slopes of the SFS, MGS, and NGS (thick straight lines). Furthermore, it predicts that the slope of the SFS becomes steeper and more linear at higher redshift in qualitative agreement with observations38,48,49.

Perhaps surprisingly, the slope of the SFS will still be linear, even if the gas masses evolve with time, as long as the ratio of gas masses between galaxies is time-independent and tdep is a power-law function of Mstar (see Supplementary Discussion). The empirical finding of a strongly sub-linear slope of the SFS thus suggests that gas mass histories of different galaxies are not scaled versions of each other.

A second analytic model illustrates this result, see Fig. 6b, d, f. In this model, the gas mass follows the typical growth histories of dark matter halos but is multiplied by additional factors that result in a downsizing effect of the gas mass, i.e., the gas mass reaches its maximum value at higher redshifts in more massive galaxies and then declines faster44. Not only does this second model reproduce the sub-linear slopes of the SFS, NGS, and MGS, it also results in a mass-dependent suppression of star formation at late times (quenching) and, furthermore, it predicts a steepening in the slopes of the scaling relations at higher redshift in qualitative agreement with observations38,48,49. More generally, the predicted slopes of the SFS, NGS, and MGS approach the corresponding predictions of the first (‘equilibrium’) model as the redshift increases.

The model described by Eq. (4) links the gas mass of galaxies to their SFR and stellar masses. The discussion above thus points to a picture in which physical processes affecting Mgas via gas inflows and outflows, such as cosmological gas accretion, hot gas cooling, a galactic fountain, and feedback from stars and black holes regulate the star formation activity and mass growth of typical, nearby galaxies50,51,52,53,54,55. In contrast, the higher SFRs of today’s starbursts appear to result from a higher efficiency of converting molecular gas into stars56 and are thus likely related to changes in the physical state of the ISM on molecular clouds scales triggered by, e.g., galaxy mergers57 or gas instabilities58.

The quantitative results of this study are potentially subject to modeling choices and systematics inherent in the observational data sets. For instance, adopting lognormal instead of gamma distributions when modeling the SFRs and gas masses of galaxies increases the scaling coefficient α1 of the molecular gas depletion time from −0.25 to −0.22. In addition, the predicted slopes of the SFS, NGS, and MGS change by up to  ~0.1. However, the results of this paper are not qualitatively affected by these changes. For example, in either case, the MGS (NGS) is predicted to be the sequence with the steepest (shallowest) slope and the smallest (largest) scatter. Secondly, to enable a fair comparison with the literature, the present analysis uses the xGASS and xCOLD GASS data as is. Hence, the accuracy of the model predictions may suffer from limitations related to observational systematics, such as those arising from the adopted conversion factors, flux aperture corrections, beam-size matching, and SFR calibrations.

Finally, the results presented here are based on measurements of nearby galaxies. Observations with the Atacama Large Millimeter/submillimeter Array, and other observatories, have begun to probe the ISM of high redshift galaxies in CO, CII, and continuum dust emission10,36,59,60. Furthermore, observational challenges, such as the uncertain mapping of observables to physical properties61,62 and the large selection bias of most high-z samples, can often be mitigated, e.g., by studying galaxy properties via multiple techniques and by surveying representative samples of high redshift galaxies59. In addition, complementary observations at radio wavelengths will soon constrain both obscured and unobscured SFRs down to a few M y−1 up to z = 263 and probe the HI content of galaxies out to similar redshifts64.

Given the prospect of large representative samples of high redshift galaxies in the near future, it will be especially important to continue the development of methods to combine observations from multiple redshifts, observatories, and physical sources in a robust and reliable manner while accounting for detection limits, observational uncertainties, missing data, and data correlations. Indeed, these techniques will likely be critical to accurately quantify the link between gas properties, SFR, and stellar mass of galaxies across cosmic history, thus highlighting the increasing importance of statistics and data science in the study of galaxies.

Methods

Observational data set

The observational data are drawn from two related galaxy catalogs. The first is the ‘representative sample’ of the xGASS survey14 (see http://xgass.icrar.org) which lists stellar masses, SFRs, and HI masses (among other properties) of 1179 nearby galaxies (0.01 < z < 0.05) with a wide range of stellar masses (Mstar = 109 − 1011.5M). The second catalog is the xCOLD GASS survey13 (see http://www.star.ucl.ac.uk/xCOLDGASS) which includes stellar masses, SFRs, and H2 masses of 532 galaxies with the same redshift and stellar mass distribution. The CO luminosity to H2 mass conversion factor adopted by xCOLD GASS is derived from a radiative transfer analysis of multiphase ISM simulations coupled with empirical relations between CII and CO line emission, gas-phase metallicity, and offset from the SFS65. The two catalogs were merged with an outer join based on the provided GASS catalog identifiers resulting in a combined data set of 1234 nearby galaxies. The overlap between the two catalogs is very high (only 55 of the galaxies in the xCOLD GASS sample are not part of xGASS) which makes the combined xGASS/xCOLD GASS catalog an excellent data set to study the correlations between SFRs, HI, and H2 masses of nearby galaxies. The stellar masses in the joint catalog were replaced with updated SDSS Data Release 7 (DR7) median mass estimates66 available at https://home.strw.leidenuniv.nl/jarle/SDSS. The original and the updated stellar masses agree to better than 1% for all but a dozen of galaxies. The updated SDSS DR7 data also provide stellar mass measurement uncertainties (which are  ~0.08–0.1 dex for over 80% of galaxies). The joint catalog is available as Supplementary Data, see Supplementary Note 4.

The analysis in this paper makes use of two subsamples generated from the joint catalog. First, all 1012 galaxies with Mstar = 109 − 1011M from the representative sample are selected from the joint catalog to form the ‘representative xGASS/xCOLD GASS sample’. Secondly, all 1066 galaxies with Mstar = 109 − 1011M from the joint catalog form the ‘extended xGASS/xCOLD GASS sample’. Both samples are similar, but the latter includes 43 additional galaxies with measured H2 masses and 11 additional galaxies undetected in H2. The average SFR of these 54 additional sources is  ~7.1M yr−1 which is almost a factor 5 higher than the average SFR in the representative sample, while the average stellar masses (lgMstar/M ~10.2) are virtually identical. This shows that starbursts make up a large fraction of these additional sources. Hence, the extended sample allows to better constrain the properties of starbursting galaxies at the cost of biasing the proportions between starbursting and non-starbursting galaxies.

About 30% of the galaxies in the combined data set have SFR estimates but lack a quantification of their uncertainties. Two options were considered. A first possibility is to mark the SFRs of all such galaxies as missing which results in a large fraction of the available SFR estimates being excluded from the analysis. An alternative approach consists of imputing SFR uncertainties based on a regression analysis. Specifically, the SFR uncertainty can be fit as function of SFR and stellar mass for those galaxies with provided SFR uncertainties. The analysis as presented in the paper follows the second approach but no substantive differences were found when the first option is chosen instead. All SFR measurements are censored if the SFR is lower than its measurement uncertainty. Measurement uncertainties of undetected HI (CO) sources are set to 1/5 the 5-σ (1/3 the 3-σ) detection limit given in the xGASS (xCOLD GASS) catalog.

Multi-dimensional model of star formation and gas content

The joint distribution of actual SFRs, molecular gas, and neutral gas masses at fixed stellar mass Mstar is modeled as a multivariate distribution consisting of a continuous component and a discrete ‘zero-component’. The zero-component accounts for galaxies with vanishing SFRs and gas masses, while the continuous component models all other galaxies including regular star-forming galaxies and outliers with high SFRs and/or gas masses20,21,67. Hence, the probability density is

$$p({\rm{SFR}},{M}_{{{\rm{H}}}_{{\rm{I}}}},{M}_{{{\rm{H}}}_{2}}| \theta ,{\pi }_{0})={\pi }_{0}\ \delta ({\rm{SFR}})\delta ({M}_{{{\rm{H}}}_{{\rm{I}}}})\delta ({M}_{{{\rm{H}}}_{2}})+(1-{\pi }_{0}){p}_{{\rm{cont}}}({\rm{SFR}},{M}_{{{\rm{H}}}_{{\rm{I}}}},{M}_{{{\rm{H}}}_{2}}| \theta ),$$

where θ is the set of parameters describing the continuous component, while π0 is the probability of a galaxy to belong to the zero component and δ is the Dirac delta function. Both θ and π0 are functions of Mstar. In addition to this two-component model, an eight-component model was explored. In the latter, galaxies can belong (or not belong) to a zero component for each of SFR, \({M}_{{{\rm{H}}}_{{\rm{I}}}},{M}_{{{\rm{H}}}_{2}}\), i.e., they can have vanishing SFRs but not vanishing gas masses and vice versa. Thus, in the eight-component model there are seven (partial) zero components and one fully continuous component. However, a Bayesian analysis showed that only two of the eight components contribute significantly to the total probability. These two components are the zero-component and the continuous component in the two-component model. Consequently, the two-component model was adopted as the default choice.

The continuous component of the joint distribution is modeled with the help of a Gaussian copula. This approach generalizes multivariate normal distributions to allow for arbitrary continuous marginal distributions. The correlation structure is fully captured by the 3 off-diagonal coefficients of a 3 × 3 correlation matrix R, while the marginal (one-dimensional) distributions are modeled as a mixture of two gamma distributions. The first gamma component corresponds to SFRs or gas masses of ordinary star-forming galaxies. It is parametrized by a shape (aSF) and scale (bSF) parameter. The second, sub-dominant gamma component accounts for outliers with high SFRs (i.e., starbursts) or gas masses23. Its parameters are aSF,out, bSF,out. Here, the scale bSF,out is measured relative to the peak of the SFS. The peak position of the SFS is naturally defined20 as the mode of the lgSFR distribution of galaxies after excluding starbursts and the zero component. For gamma-distributed SFRs with parameters aSF and bSF, the peak of the SFS is at aSFbSF. The peak position is defined similarly for the NGS and the MGS. The fraction of the second gamma component in the gamma-mixture is given by fSF,out. The marginal distributions of HI and H2 at fixed Mstar are modeled in completely analogous fashion.

The slope and scale parameters of the primary gamma component are modeled as linear functions of lgMstar with slopes m and intercepts n for each parameter, see Supplementary Note 1 for details. The slope angles (\(\phi =\arctan (m)\)) and perpendicular distances to the origin (\(d=n\cos (\phi )\)) are used as the actual model parameters68 instead of m and n. Given the relatively small number of galaxies with extreme SFRs or gas masses in the observational sample, no attempt is made in modeling the stellar mass dependence of aSF,out, bSF,out, and fSF,out. In contrast, a significant fraction of galaxies belongs to the zero component according to the predictions of the fiducial model. This fraction should depend on Mstar given the increase in the quiescent fraction of galaxies with stellar mass69. Hence, the logit of π0, defined as \({\rm{logit}}\ {\pi }_{0}=\mathrm{ln}\,({\pi }_{0}/(1-{\pi }_{0}))\), is modeled as a linear function of lgMstar, with slope angle (ϕ0) and perpendicular distance to the origin (d0) as the main parameters.

The total number of parameters of the model is 26. There are 7 × 3 parameters that specify the slope and intercept of the stellar mass-dependent parameters of the gamma-mixture for SFRs, neutral, and molecular gas masses, three correlation coefficients, and two parameters that define the stellar mass dependence of the zero-component. Estimates for all model parameters are provided in Supplementary Note 1.

Bayesian analysis

The likelihood of the model parameters given the observational data are computed with LEO-Py20, available at https://github.com/rfeldmann/leopy. The likelihood estimate accounts for the observational uncertainties and detection limits of SFR and gas mass measurements. Measurement errors are assumed to be normally distributed with zero mean and a standard deviation given by the measurement uncertainty. Missing SFRs, HI, or H2 masses are assumed to be missing at random (MAR), i.e., the probability that a given entry is missing may depend on other galaxy properties (e.g., on the stellar mass) but not on the missing value itself. Very weak priors are adopted for all model parameters. Uniform, bounded priors are used for each slope angle ϕ and perpendicular distance d. The prior for the 3-vector of the correlation coefficients is modeled as uniform over the sub-volume of (−1, 1)3 for which the correlation matrix is positive semi-definite and zero otherwise. The probability of model parameters given the observational data are given (modulo a constant of proportionality) by the product of the likelihood and the prior. However, since all adopted priors are uniform within the parameter bounds, this probability equals the likelihood (modulo a constant of proportionality) whenever all parameters are within their bounds, and 0 otherwise, thus simplifying the analysis. The posterior probability distribution of the model parameters was sampled with the MCMC ensemble sampler emcee24. Emcee was run for a total of 15000 steps using 1720 walkers and with a proposal scale parameter of 1.5. The first 4000 steps were considered burn-ins and discarded from the analysis. To reduce the wall-clock time, measurement uncertainties of stellar masses (~0.09 dex) were ignored. However, this simplification does not affect the presented results in a significant way, see Supplementary Tables 14. Furthermore, all MCMC calculations were run in parallel with MPI on 864 cores at the Swiss National Supercomputing Centre.

Mock observations

The present work uses mock data to confirm that the model provides a reasonable description of the observations and to construct the probability distribution of both actual and apparent galaxy properties for a given set of model parameters. The procedure below produces a mock catalog of specified size (Nmock). First, Nmock stellar masses are drawn from the actual mass distribution of the xGASS/xCOLD GASS data set. Secondly, a given mock object is randomly assigned to either the zero component or the continuous component of the joint distribution with probability π0 that depends on stellar mass. Mock objects in the zero component are assigned zero actual SFRs and gas masses.

For each mock object in the continuous component, a 3-dimensional random variate \(\overrightarrow{z}=({z}_{{{\rm{H}}}_{2}},{z}_{{{\rm{H}}}_{{\rm{I}}}},{z}_{{\rm{SF}}})\) is drawn from a joint normal distribution with a covariance matrix given by a correlation matrix R. R is fully specified by the model parameters. Subsequently, \(\overrightarrow{z}\) is converted into a 3-vector \(\overrightarrow{y}\) of actual \({M}_{{{\rm{H}}}_{2}}\), \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), and SFR values via the mapping \({y}_{X}={F}_{X}^{-1}\circ \Phi ({z}_{X})\) where X {H2, HI, SF} corresponds to one of the observables (\({M}_{{{\rm{H}}}_{2}}\), \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), or SFR), FX is the cumulative distribution of the observable corresponding to X for a given Mstar, and Φ is the cumulative distribution of the standard normal distribution.

Thirdly, observational uncertainties are calculated for all mock objects based on the values of \(\overrightarrow{y}\) and Mstar. Analogous to the approach discussed in “Observational data set”, observational uncertainties of SFRs, \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), and \({M}_{{{\rm{H}}}_{2}}\) are estimated via linear regression using the value of these observables and lgMstar as predictors. Observational errors \(\delta \overrightarrow{y}\) (drawn from a standard multivariate normal distribution but rescaled such that the standard deviations are given by the previously calculated observational uncertainties) are added to \(\overrightarrow{y}\) to obtain apparent (mock) observations, i.e., \({\overrightarrow{y}}^{{\rm{mock}}}=\overrightarrow{y}+\delta \overrightarrow{y}\). Finally, mock observations that fall below their respective detection limits (3-σ for \({M}_{{{\rm{H}}}_{2}}\), 5-σ for \({M}_{{{\rm{H}}}_{{\rm{I}}}}\), 1-σ for SFRs) are marked as censored.

Evolutionary model

The paper introduces an analytic model of the form

$${\rm{SFR}}(t,s)=\frac{{M}_{{\rm{gas}}}(t,s)}{{t}_{{\rm{dep}}}({M}_{{\rm{star}}}(t,s),{\rm{SFR}}(t,s),t)}=\frac{{f}_{{{\rm{H}}}_{2}}({M}_{{\rm{star}}}(t,s),{\rm{SFR}}(t,s),t){M}_{{\rm{gas}}}(t,s)}{{t}_{{\rm{dep}},{{\rm{H}}}_{2}}({M}_{{\rm{star}}}(t,s),{\rm{SFR}}(t,s),t)}$$
(5)

and analyzes some of its predictions. In the equation above, t is the cosmic time, \({t}_{{\rm{dep}}}={t}_{{\rm{dep}},{{\rm{H}}}_{2}}/{f}_{{{\rm{H}}}_{2}}\) is the total gas depletion time, \({f}_{{{\rm{H}}}_{2}}={M}_{{{\rm{H}}}_{2}}/{M}_{{\rm{gas}}}\) is the molecular gas fraction, Mgas(ts) is a family of known gas mass histories, and s is a one-dimensional parameter indicating a given evolutionary track. The SFR is the time derivate of the stellar mass, i.e., SFR(ts) =  ∂Mstar(ts)/∂t, as long as stellar mass loss and mass accretion via galaxy mergers are ignored. The former can be partially accounted for by adopting the instantaneous recycling approximation70,71, while the latter is a reasonable assumption given that star-forming galaxies acquire most of their stellar mass via in situ star formation72.

As presented in “Gas depletion times”, the molecular gas depletion for typical star-forming galaxies is a power-law function of Mstar and SFR and potentially independent of z, i.e., \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}({M}_{{\rm{star}}},{\rm{SFR}})\propto {M}_{{\rm{star}}}^{\beta }{{\rm{SFR}}}^{\alpha }\). Furthermore, as discussed in “Discussion” and shown in Supplementary Fig. 6, the molecular gas fraction depends on Mstar (and potentially t) but not significantly on SFR. Hence, Eq. (5) can also be written as

$${\rm{SFR}}(t,s)=a{\left[{M}_{{\rm{star}}}(t,s)\right]}^{-\beta /(1+\alpha )}{\left[{f}_{{{\rm{H}}}_{2}}({M}_{{\rm{star}}}(t,s),t){M}_{{\rm{gas}}}(t,s)\right]}^{1/(1+\alpha )}.$$
(6)

Equation (6) together with Mstar(0, s) = 0 is an initial value problem for any given fixed s. It can be solved numerically, e.g., with the solve_ivp function from the Python scipy.integrate module, to obtain Mstar(ts) for all t. Subsequently, SFRs can be obtained from equation (6), molecular gas masses via \({M}_{{{\rm{H}}}_{2}}={t}_{{\rm{dep}},{{\rm{H}}}_{2}}{\rm{SFR}}\), and neutral gas masses (including Helium) via \({M}_{{{\rm{H}}}_{{\rm{I}}}}={M}_{{\rm{gas}}}-{M}_{{{\rm{H}}}_{2}}\). As the evolutionary model uses the functional forms of the SFS, NGS, and MGS only indirectly, via \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) and \({f}_{{{\rm{H}}}_{2}}\), it may not necessarily predict scaling relations in agreement with those shown in Fig. 1. For instance, the slope of their SFS will be exactly linear if galaxies evolve according to (6) with constant gas masses and \({f}_{{{\rm{H}}}_{2}}\propto {M}_{{\rm{star}}}^{\gamma }\) (see Supplementary Discussion). Comparing model predictions and observational measurements of the SFS, MGS, and NGS, thus allows to put constraints on the gas growth history of galaxies.

Equation (1) is a power-law approximation for \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) as a function of SFR and Mstar. While this is the conventional choice, an alternative approach is to fit the reciprocal molecular depletion time \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}^{-1}\) as a power-law function of \({M}_{{{\rm{H}}}_{2}}\) and Mstar, i.e., \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}^{-1}({M}_{{\rm{star}}},{M}_{{{\rm{H}}}_{2}})=a^{\prime} {M}_{{\rm{star}}}^{-\beta ^{\prime} }{M}_{{{\rm{H}}}_{2}}^{-\alpha ^{\prime} }\). As shown in Supplementary Fig. 8 (see Supplementary Note 5), \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}^{-1}\) scales weakly with \({M}_{{{\rm{H}}}_{2}}\) (\(\alpha ^{\prime} =-0.17\)) in qualitative agreement with the weak SFR dependence of \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}\) in equation (1). The SFRs of galaxies of a given \({M}_{{{\rm{H}}}_{2}}\) and Mstar can be calculated with the help of \({t}_{{\rm{dep}},{{\rm{H}}}_{2}}^{-1}\) as follows:

$${\rm{SFR}}={t}_{{\rm{dep}},{{\rm{H}}}_{2}}^{-1}({M}_{{\rm{star}}},{M}_{{{\rm{H}}}_{2}},t)\ {M}_{{{\rm{H}}}_{2}}=a^{\prime} {M}_{{\rm{star}}}^{-\beta ^{\prime} }{M}_{{{\rm{H}}}_{2}}^{1-\alpha ^{\prime} },{\rm{with}}{M}_{{{\rm{H}}}_{2}}={f}_{{{\rm{H}}}_{2}}({M}_{{\rm{star}}},t)\ {M}_{{\rm{gas}}}.$$
(7)

This alternative model is of the same form as Eq. (6) and thus can be solved in the same way. In fact, both models are identical if \(\beta ^{\prime} =\beta /(1+\alpha )\), \(\alpha ^{\prime} =\alpha /(1+\alpha )\), and \(a^{\prime} =a\).