The independent dimensionless variable is . Since and , the chain rule gives . The derivative in the normalized equation must consequently be with respect to . Substituting the gas history in the retained-ejecta chemical evolution equation yields
This step allows a varying retention fraction ; no derivative of is needed because enters the instantaneous metal source and loss terms.
Set and now take . The coefficient in this first-order ordinary differential equation decomposes as
Hence an integrating factor is . With , multiplication by this integrating factor gives
The general solution has an additional term . Finite initial gas-phase metallicity rules it out. Consequently, for ,
The upper limit is the dimensionless , not the unnormalized stellar mass. On each compact subinterval of , the geometric series converges uniformly, permitting integration term by term. Thus
In particular at small . For positive stellar yield, the series is strictly increasing, so the inverse needed for the metallicity distribution function exists. Differentiating either representation gives . It diverges logarithmically as gas exhaustion approaches; the trace-metal approximation eventually becomes inadequate.
The quadratic gas-history enrichment model is not a closed gas reservoir: its gas mass initially increases. This can be made consistent with the metal equation by pristine galactic gas inflow. Indeed gas accounting gives . Since and , the required inflow is . It adds no metals and therefore leaves the preceding derivation intact.