Without going into details they develop a pair of partial differential equations, one in which it is assumed that there is not change in the number or types of groups, basically the frequency of individual types is allowed to change, but the overall change in group types is zero: