text: Through a variety of physical and chemical processes, chemical elements change in concentration and move around in what are called geochemical cycles. An understanding of these changes requires both detailed observation and theoretical models. Each chemical compound, element or isotope has a concentration that is a function  of position and time, but it is impractical to model the full variability. Instead, in an approach borrowed from chemical engineering, geochemists average the concentration over regions of the Earth called geochemical reservoirs. The choice of reservoir depends on the problem; for example, the ocean may be a single reservoir or be split into multiple reservoirs. In a type of model called a box model, a reservoir is represented by a box with inputs and outputs.
  Geochemical models generally involve feedback. In the simplest case of a linear cycle, either the input or the output from a reservoir is proportional to the concentration. For example, salt is removed from the ocean by formation of evaporites, and given a constant rate of evaporation in evaporite basins, the rate of removal of salt should be proportional to its concentration. For a given component , if the input to a reservoir is a constant  and the output is  for some constant , then the mass balance equation is
  This expresses the fact that any change in mass must be balanced by changes in the input or output. On a time scale of , the system approaches a steady state in which . The residence time is defined as
  where  and  are the input and output rates. In the above example, the steady-state input and output rates are both equal to , so .
  If the input and output rates are nonlinear functions of , they may still be closely balanced over time scales much greater than the residence time; otherwise, there will be large fluctuations in . In that case, the system is always close to a steady-state and the lowest order expansion of the mass balance equation will lead to a linear equation like Equation (). In most systems, one or both of the input and output depend on , resulting in feedback that tends to maintain the steady-state. If an external forcing perturbs the system, it will return to the steady-state on a time scale of .