The term 'variety' was introduced by W. Ross Ashby to denote the count of the total number of states of a system. The condition for dynamic stability under perturbation (or input) was described by his Law of Requisite Variety. Ashby says::124
Thus, if the order of occurrence is ignored, the collection
c, b, c, a, c, c, a, b, c, b, b, a
which contains twelve elements, contains only three distinct elements- a, b, c. Such a set will be said to have a variety of three elements.
The observer and his powers of discrimination may have to be specified if the variety is to be well defined.
Law of requisite variety
If a system is to be stable, the number of states of its control mechanism must be greater than or equal to the number of states in the system being controlled. Ashby states the law as "variety can destroy variety". He sees this as aiding the study of problems in biology and a "wealth of possible applications" . He sees his approach as introductory to Shannon information Theory (1948) which deals with the case of "incessant fluctuations" or noise. The requisite-variety condition can be seen as a simple statement of a necessary dynamic equilibrium condition in information theory terms cf. Newton's third law, Le Chatelier's principle.
17/13. This law (...) says that if a certain quantity of disturbance is prevented by a regulator from reaching some essential variables, then that regulator must be capable of exerting at least that quantity of selection. (Were the law to be broken, we would have a case of appropriate effects without appropriate causes, such as an examinee giving correct answers before he has been given the questions (S.7/8). .
A system has good control if and only if the dependent variables remain the same even when the independent variables or the state function have changed. In a real system this implies that the state function is a composition of two functions, such that the second is the inverse of (the possible changes of) the first:
y = F(G(x)) where
F = controller system's function of state
G = controlled system's function of state
x = inputs, or independent variables
y = outputs, or dependent variables.
Later, in 1970, Conant working with Ashby produced the good regulator theorem  which required autonomous systems to acquire an internal model of their environment to persist and achieve stability (e.g. Nyquist stability criterion) or dynamic equilibrium.
Stafford Beer defines variety as "the total number of possible states of a system, or of an element of a system", cf. Ludwig Boltzmann's Wahrscheinlichkeit. Beer restates the Law of Requisite Variety as "Variety absorbs variety". Stated more simply the logarithmic measure of variety represents the minimum number of choices (by binary chop) needed to resolve uncertainty. Beer used this to allocate the management resources necessary to maintain process viability.
In general a description of the required inputs and outputs is established then encoded with the minimum variety necessary. The mapping of input bits to output bits can then produce an estimate of the minimum hardware or software components necessary to produce the desired control behaviour; for example, in a piece of computer software or computer hardware.
The cybernetician Frank George discussed the variety of teams competing in games like football or rugby to produce goals or tries. A winning chess player might be said to have more variety than his losing opponent. Here a simple ordering is implied. The attenuation and amplification of variety were major themes in Stafford Beer's work in management  (the profession of control, as he called it). The number of staff needed to answer telephones, control crowds or tend to patients are clear examples.
The application of natural and analogue signals to variety analysis require an estimate of Ashby's "powers of discrimination" (see above quote). Given the butterfly effect of dynamical systems care must be taken before quantitative measures can be produced. Small quantities, which might be overlooked, can have big effects. In his Designing Freedom Stafford Beer discusses the patient in a hospital with a temperature denoting fever. Action must be taken immediately to isolate the patient. Here no amount of variety recording the patients' average temperature would detect this small signal which might have a big effect. Monitoring is required on individuals thus amplifying variety (see Algedonic alerts in the viable system model or VSM). Beer's work in management cybernetics and VSM is largely based on variety engineering.
Further applications involving Ashby's view of state counting include the analysis of digital bandwidth requirements, redundancy and software bloat, the bit representation of data types and indexes, analogue to digital conversion, the bounds on finite state machines and data compression. See also, e.g., Excited state, State (computer science), State pattern, State (controls) and Cellular automaton. Requisite Variety can be seen in Chaitin's Algorithmic information theory where a longer, higher variety program or finite state machine produces incompressible output with more variety or information content.
In 2009 James Lovelock suggested burning and burying carbonized agricultural waste to sequester carbon. A variety calculation requires estimates of global annual agricultural waste production, burial and pyrolysis efficiency to estimate the mass of carbon thus sequestered from the atmosphere.
- Degrees of freedom
- Power set
- Waterbed theory
- Good regulator
- Ethical regulator
- State (Computer Science)
- Ashby, W.R. 1956, An Introduction to Cybernetics, Chapman & Hall, 1956, ISBN 0-416-68300-2 (also available in electronic form as a PDF from Principia Cybernetica)
- Ashby, W.R. 1958, Requisite Variety and its implications for the control of complex systems, Cybernetica (Namur) Vo1 1, No 2, 1958.
- Ashby, W.R. 1960, Design for a brain; the origin of adaptive behavior, 2nd Ed (Electronic versions on Internet Archive)
- Beer, S. 1974, Designing Freedom, CBC Learning Systems, Toronto, 1974; and John Wiley, London and New York, 1975. Translated into Spanish and Japanese.
- Beer, S. 1975, Platform for Change, John Wiley, London and New York. Reprinted with corrections 1978.
- Beer, S. 1979, The Heart of Enterprise, John Wiley, London and New York. Reprinted with corrections 1988.
- Beer, S. 1981, Brain of the Firm; Second Edition (much extended), John Wiley, London and New York. Reprinted 1986, 1988. Translated into Russian.
- Beer, S. 1985, Diagnosing the System for Organisations; John Wiley, London and New York. Translated into Italian and Japanese. Reprinted 1988, 1990, 1991.
- Conant, R. 1981 Mechanisms of Intelligence: Ross Ashby's papers and writings Intersystems Publications ISBN 1-127-19770-3
- The Law of Requisite Variety in the Principia Cybernetica Web, 2001.
- Systems concepts and 9/11 Allenna Leonard on Requisite Variety
- All references to The Law of Requisite Variety in Ross Ashby's journal 1953–1961.
- Management Cybernetics: The Law of Requisite Variety Livas short introductory videos on YouTube
- Practopoiesis: How biological systems get their variety