With gross star formation rate , constant returned mass fraction , and the instantaneous recycling approximation, the net locked mass rate is . Mass conservation gives . For constant stellar yield per unit locked mass and initially pristine gas, metal conservation gives , so gas-phase metallicity grows as . Gross star formation and permanent locking have different normalizations.
Use the instantaneous recycling approximation and treat the interstellar medium as well mixed. If star formation initially consumes mass , returning a fraction leaves locked stellar mass . The original metal mass removed from the interstellar medium is . Of this original material, returns and remains in the galaxy. In addition, the stellar yield produces fresh metal mass , of which the retained part is . Therefore metal accounting gives
This is the retained-ejecta chemical evolution equation. It assumes that the same retention fraction applies to original and newly synthesized metals. Pristine galactic gas inflow can change without contributing to ; enriched galactic gas inflow would require an additional metal source. Here , and .
A star inherits the gas-phase metallicity at its birth. Suppose enrichment is monotone and a fixed initial mass function, with an appropriate surviving tracer selection, produces observable stars per unit locked mass. For two birth abundances , the relative count is
Thus is proportional to the cumulative metallicity distribution function; its derivative gives the differential metallicity distribution function. The normalized distribution after final locked mass is . For logarithmic abundances, the logarithmic metallicity distribution instead has .
The fixed initial mass function and survival selection matter: a mass distribution is not automatically the number distribution of every presently observable star. If enrichment is nonmonotone, add the contributions from all birth-time branches attaining that abundance, rather than using one inverse.
Write the gross star formation rate as , with constant. Use the instantaneous recycling approximation: a fraction returns promptly, while a fraction stays in long-lived stars and remnants. Assume , instantaneous mixing, and no galactic gas inflow or galactic outflow. If denotes the permanently locked stellar mass, mass conservation gives
Set . Integration, with , gives the exponential closed-box gas consumption law
The locked mass is , so at every time. The decay time is , longer than the gross gas-processing time because returned gas can form subsequent generations. The formal limit retains all gas and locks no mass; a finite stellar yield defined per locked mass then needs separate treatment.
Use the instantaneous recycling approximation with a well-mixed gas reservoir, constant stellar yield , no gas inflow, and an irreversible galactic outflow. Let be the mass locked into long-lived stars and remnants after prompt recycling, and put . The yield is the newly synthesized mass of heavy elements returned to the gas per unit increase of . Thus in denotes the heavy-element mass in the gas, excluding metals already locked into stars.
Assume , , and ; initially pristine gas means . Take the outflow rate to be with constant , and assume its metallicity equals the current gas-phase metallicity . This is the well-mixed leaky-box model of galactic chemical evolution. The parameter is a mass-loading factor relative to the net rate of locking mass into stars. If a gross star formation rate and a prompt returned fraction are used instead, and a wind rate corresponds to .
Conservation of mass gives
and the baryonic mass remaining in the box is . Newly made metals enter the gas at rate , while pre-existing metals are locked into stars at rate and leave in the wind at rate . Hence
Using and the product rule,
The cancellation expresses the fact that a well-mixed wind removes gas and metals in the same proportion, while fresh stellar production raises the abundance in the remaining gas.
Divide this equation by along the evolving reservoir, or integrate in time through intervals with no star formation. The resulting gas-phase metallicity is
Equivalently, its fully explicit dependence on a prescribed net star formation rate is
valid while . With pre-existing stars, replace in the gas-mass relation by . Without specifying or a gas-consumption law, the model fixes as a function of gas mass but does not determine a unique function of time.
For the closed-box model of galactic chemical evolution, set . Then and
At the same remaining fraction of the initial gas reservoir, the leaky box has the logarithmic coefficient , lower than the true stellar yield by the wind factor. This coefficient is often called an effective yield, but the definition of the gas fraction must be specified.
In particular, the observable gas fraction of a galaxy is often , using the mass still present, rather than . In our initially star-free model,
Therefore
For and , the leaky-box enrichment is smaller at the same : . If effective yield is defined observationally as , it is consequently not simply the constant at all .
As an explicit time example, choose a linear gas-consumption law , with constant . The mass and metallicity equations give
The closed box with the same has the same metallicity at a given time, while the leaky box exhausts its gas faster. Thus a comparison at fixed time depends on the chosen star formation rate, even though the comparison at fixed gas fraction above is unambiguous.
Finally, the assumption about wind metallicity is essential. If the expelled gas has abundance instead, its metal-loss rate is , and the same bookkeeping yields
A wind enriched relative to the ambient gas lowers the enrichment rate; the logarithmic solution derived above applies to .
The closed-box model of galactic chemical evolution assumes a fixed total baryonic mass, no gas inflow or outflow, instantaneous and homogeneous mixing, a constant stellar yield, a fixed initial mass function, and usually the instantaneous recycling approximation. It predicts for gas fraction , but real galaxies violate these assumptions.
Evidence for galactic outflows includes blueshifted absorption, broad or split emission lines, extraplanar ionized and molecular gas, X-ray bubbles, and metal-enriched circumgalactic material. The low baryon fractions and low effective yields of dwarf galaxies, together with the galaxy mass--metallicity relation, provide indirect evidence for preferential gas and metal loss. Sustained star formation for longer than a closed reservoir's depletion time, low-metallicity high-velocity clouds, metallicity dilution during starbursts, the G-dwarf problem, and circumgalactic or intergalactic accretion signatures imply continuing galactic gas inflow.
Let be the inflow rate, let the outflow rate be , and let be the promptly returned fraction. The total baryonic, gas, and metal masses obey
The first metal term is newly synthesized material; the second locks existing metals into long-lived stars and removes them in an ambient-composition wind. Expanding the final derivative and substituting cancels those common terms, leaving
The observed Kennicutt–Schmidt law relates star-formation and gas surface densities approximately by , with a nearly linear relation to molecular gas over many resolved regimes. For the simple integrated model requested here, take a constant depletion coefficient so that
Then, with ,
The integrating factor gives, for ,
At resonance, , the continuous limit is
The first term is depletion of the initial reservoir; the second is gas supplied by the exponentially declining inflow and subsequently consumed or expelled.
The galaxy mass--metallicity relation is the observed tendency for more massive galaxies to have larger gas-phase metallicity and stellar metallicity. Gas metallicity is commonly inferred from nebular emission-line ratios in star-forming H II regions, often quoted as and measured within a finite spectroscopic aperture. Stellar metallicity comes from stellar absorption features or population-synthesis fits and is luminosity weighted unless the analysis explicitly reconstructs a mass-weighted distribution. Galaxy stellar mass is inferred from photometry or a spectral-energy-distribution fit and depends on the adopted initial mass function. Radial metallicity gradients, dust, line calibration, and aperture selection must consequently be matched before samples are compared.
The usual physical explanation is that a shallow potential well lets a low-mass galaxy lose a larger fraction of newly synthesized metals in galactic outflows. The closed-box model of galactic chemical evolution is therefore replaced by a leaky-box model of galactic chemical evolution with
where is the mass-loading factor. Under the instantaneous recycling approximation, let be the stellar yield, absorb the returned mass fraction into the definitions, and suppose the escaping gas has the current gas metallicity . Then mass conservation and metal conservation are
Substitution of the first equation into the second cancels the terms that merely transfer pre-existing metals and leaves
Because the mass of metals locked into stars obeys , integration gives . The total newly made metal mass is partitioned between present gas, stars, and the outflow:
Writing the gas-to-stellar mass ratio as therefore produces
Thus simultaneous gas and stellar metallicities, together with the gas fraction and an assumed nucleosynthetic yield, estimate the integrated mass loading. The corresponding effective yield is , and the leaky box has
The G-dwarf problem is that the local Milky Way disk contains far fewer low-metallicity long-lived G dwarfs than the constant-yield closed-box metallicity distribution predicts. A yield that rises with metallicity may initially sound promising because enrichment would accelerate after the first generations. In fact it worsens the problem. In a closed box, and
For and a nonzero initial metallicity at gas mass ,
Hence the cumulative mass of stars born below metallicity is
If the system begins at , the assumed yield also vanishes and enrichment never starts. For , the metallicity distribution function has
which puts still more stellar mass near the low-metallicity floor. Metal-poor gas inflow, pre-enrichment, and selective outflow are therefore more plausible ingredients in resolving the G-dwarf problem.
Under the instantaneous recycling approximation, forming mass locks into stars. If a fraction of returned material remains in the interstellar medium, the retained original metal mass is , and retained newly made metal mass is , where is the stellar yield per locked mass. Subtracting the metal mass initially consumed gives the displayed equation. Pristine galactic gas inflow adds gas but no metals; enriched inflow adds its metal mass separately. The retained fraction applies to both old and newly made metals in this idealization.