The mean extension in an ensemble of molecules iswith constraints and . For occupancies , the number of assignments of the distinguishable ensemble members to the states is the multinomial coefficientThus maximizing the probability at fixed and is equivalent to maximizing the stated Lagrange multiplier expression.
Because , the Stirling formula gives . Differentiating with respect to each givesNormalization by therefore yields the probability mass functionHere is the fixed-tension partition function that normalizes the probabilities.
Solved by gpt-5.6-sol high.
Codex Wiki