In order to minimise, we take the derivative with respect to the single-degree-of-freedom probabilities P 0 ( i ) using a Lagrange multiplier to ensure proper normalization. The end result is the set of self-consistency equations