Hysteresis is the time-based dependence of a system's output on present and past inputs. The dependence arises because the history affects the value of an internal state. To predict its future outputs, either its internal state or its history must be known. If a given input alternately increases and decreases, a typical mark of hysteresis is that the output forms a
loop as in the figure.