Gerrymandering for beginners

In certain elections, voters are divided into groups; in each group a winner is selected, and to win the election one has to win in most groups.
For example, suppose that Alex and Kim compete to become the student representative at your school. Each class could express a preference, and then the candidate who wins in most classes becomes the student representative.

Gerrymandering is when the groups are drawn to favour one candidate. For example, if polls show Alex does better when students are grouped by school year rather than by class, dividing voters by year instead of by class would give Alex an advantage. If the school president changes the groups this way to favour Alex, that is gerrymandering.


  • Nine voters choose between candidates A and B. Their votes are as follows:
    voting result ABA/BAB/AAB
    Who wins the elections? How can B win the election by gerrymandering, if we group the voters by groups of 3?


  • Suppose that candidates A and B compete in an election, and there are 81 voters divided into groups of 9. If A has very accurate polls (so that A knows in advance who is going to vote for whom) and A can gerrymander, what is the least number of votes that A needs to have, in order to win the election?


  • Suppose that candidates A and B compete in an election, and there are 100 voters divided into groups of 10. If A has very accurate polls (so that A knows in advance who is going to vote for whom) and A can gerrymander, what is the least number of votes that A needs to have, in order to win the election?