.
Now imagine we have a system formed by coins. We could write a table equivalent to Tab.
, by specifying all possible combinations of 's and
's. Such a table would have
rows, and the value of
would also change between -1 and 1. As in the example with only two coins, the values
and
can only be realised by a single microstate, all
's or all
's, but the intermediate values can be realised by many combinations. The number of combinations
for which there are exactly
heads can be easily worked out. The number of possible ways of arranging
distinct objects in
different positions is
(first object in any of the
positions, then for any of these choices the second object has
possibilities and so on, so the total number of possibilities is
). However, we do not have
distinct objects but two groups of
and
identical objects, and so any permutations of these identical objects does not result in a different configuration. As a consequence, the total number of possibilities is
, which can be rewritten as:
we show the probability
The meaning of the maximum for is that if we assume that the coins have been thrown at random and we make a measurement of
, the most likely value we would find is
(indeed, if we found a value very different from 0 we would suspect that the coins are loaded). In a dynamic situation, in which the coins are continuously randomly flipped, say one flip per second, we would expect to observe
to be almost zero all the time, but of course its value would fluctuate.
We could start with a situation in which is very different from zero, but as we start randomly flipping coins we would see the value of
to approach zero. During this initial transient we would say that the system is not in equilibrium and we would expect that equilibrium would be established after a sufficiently large number of flips. Note that at any instant in time the corresponding snapshot configuration is simply one of the possible
, as they all have the same probability of occurring. There is nothing special with a configuration for which
compared to a configuration for which
. All microstates have the same chance to occur. However,
can be realised by many more configurations than
and this is the only reason why it is more likely to be observed, so this is why at equilibrium it is what we would and should observe. However, if we waited for long enough we would observe any of the possible
configurations, including those that give e.g.
, but the system will not stay for long with such a value of
. The value
, for example, would be observed for a fraction of the time equal to
, which quickly becomes negligible as
grows 3.1. Most of the time we will observe a value
, and since large deviations from this value are exceedingly unlikely, then once the system has reached equilibrium it will stay in equilibrium if no external perturbations move it away from it. Conversely, if the system is not in equilibrium it will inevitably move towards it.
Note that we associated the concept of equilibrium to the value of , i.e. to the value of a macroscopic variable obtained as average over the many degrees of freedom of the system. If we insisted on a microscopic description of the system then we would not observe anything special, only the system moving from one microstate to another.
Now let us discuss another important principle. Imagine we impose some constraint, for example that a fraction of the coins are not going to be flipped and they all show head. We can still apply the arguments developed above and the only difference would be that now equilibrium is achieved for a different value of , which takes into account the constraint. The other important effect of the presence of the constrain is that, since we are not free to flip all coins, the total number of possible configurations is reduced,
(here
is a parameter describing the constraint). We could continue this process by adding a second constraint
, which will give
because we would be reducing the freedom of the system even further. We see that any additional constraint that reduces the freedom of the system also reduces its statistical weight.
Let us go back to the initial situation in which we only have one constraint, , and let us remove it.
By removing the constraint we increased the number of possible configurations from
to
. This shows that the statistical weight is maximum with respect to any internal constraint. Sometimes this statement is presented in terms of equilibrium, i.e. that the statistical weight increases as the system moves towards equilibrium, but in fact
is defined by the physical constraints that act on the system, not its status of equilibrium. The difference is subtle but important, as a status of non-equilibrium must include a discussion of the mechanisms that make the system evolve towards equilibrium, which also involve time in some form. These mechanisms, and indeed any discussion involving time, are not part of equilibrium thermodynamics.