There are voters, who can vote for one of two choices denoted as 0 and 1. It is known that the voters are divided in 2 groups with different average leads: voters have average lead ; voters have average lead . In formulas , . Find the Gibbs-Boltzmann distribution for the random variables that maximises entropy under these constraints. To do so, use the method of Lagrange parameters by writing a Lagrangian with two parameters .