How to split the rent so that nobody envies a room Image: ParisSharing, CC BY 2.0

How to split the rent so that nobody envies a room

Three friends rent a flat for 1,500 euros a month. One room is large with a balcony, one is medium, one is small and faces the courtyard. Splitting the rent three ways and drawing lots for the rooms is simple and leaves two people feeling cheated. The alternative that fair division theory offers is an assignment of rooms and a set of prices, adding up to the rent, such that each person prefers their own room at its price to any other room at its price. Such an assignment is called envy-free, and the result that makes this worth writing about is that one always exists.

A worked case

Ask each flatmate to say how much of the 1,500 euros each room is worth to them, with the three numbers adding up to 1,500. Suppose the answers are these.

Large roomMedium roomSmall room
Alice700500300
Bob600600300
Carol500500500

Alice cares most about the balcony, Bob is indifferent between the two bigger rooms, and Carol does not care which room she gets. Give the large room to Alice at 600, the medium room to Bob at 500, and the small room to Carol at 400. The prices add up to 1,500. Now check envy. Alice's surplus in her own room is \(700 - 600 = 100\); the medium room would give her \(500 - 500 = 0\) and the small room \(300 - 400 = -100\). Bob's surplus is \(600 - 500 = 100\); the large room would give him \(0\) and the small room \(-100\). Carol's is \(500 - 400 = 100\); the other rooms would give her \(-100\) and \(0\). Each person's own room is strictly best for them at these prices, so nobody envies anybody. It happens that all three surpluses are equal too, which is a stronger property called equitability and not always achievable at the same time.

Finding such prices by hand is a matter of writing down six inequalities and solving them; a computer does it in milliseconds. The free website Spliddit, built by researchers at Carnegie Mellon University, takes the valuations and returns an envy-free assignment, choosing among the envy-free solutions the one that makes the worst-off person as well off as possible.

Why one always exists

Francis Su proved the general statement in 1999 in a paper titled "Rental Harmony" in the American Mathematical Monthly. Under mild conditions, chiefly that each person prefers a free room to any room with a positive price, there is always a division of the rent such that each person is happiest with a different room, so that the rooms can be assigned without envy. The proof uses Sperner's lemma, a combinatorial fact about colourings of a triangle cut into small triangles, applied to the triangle of all ways of splitting the rent among the three rooms. The argument needs no assumption that valuations add up or that people are consistent beyond a minimal continuity, which is why it is called a harmony theorem rather than an algorithm: it says the solution is there, and gives a procedure that approaches it by asking each flatmate, for finer and finer price splits, which room they would take.

Dividing without money

Rent is the easy case because money is divisible and can be used to compensate. The older problem is dividing a cake, where the pieces must come from the cake itself and people value different parts differently: one likes the icing, one the fruit. For two people the procedure every child knows works perfectly. One cuts the cake into two pieces she considers equal; the other chooses. The cutter gets exactly half by her own measure and cannot envy, since both pieces were equal to her; the chooser takes the piece he prefers and cannot envy either. Divide and choose is envy-free, and it is also proportional: each person gets at least half by their own measure.

For three people the two properties come apart. Hugo Steinhaus posed the problem in Lwów in 1944 and published in 1948 a procedure for three people that is proportional, giving each at least a third by their own valuation, with a generalization by Banach and Knaster to any number of people. Proportional is not envy-free: you can have a third of the cake by your own measure and still think your neighbour got more. An envy-free procedure for three took until the early 1960s, found independently by John Selfridge and John Conway and never published by either. It uses at most five cuts: the first person cuts three equal pieces, the second trims the largest piece if she thinks it larger than the second largest, the pieces are chosen in a fixed order with the trimmer obliged to take the trimmed piece if it remains, and the trimmings are then divided by a second round that exploits an asymmetry created in the first. Checking that nobody envies anybody at the end is a pleasant hour's work.

For four or more people the problem was open for decades. Steven Brams and Alan Taylor gave an envy-free procedure for any number of people in 1995, but the number of cuts it might require was unbounded: for some valuations it could go on arbitrarily long. Whether a bounded procedure existed was answered only in 2016 by Haris Aziz and Simon Mackenzie, who gave a protocol for \(n\) people with a bound on the number of queries that is a tower of exponentials in \(n\). The paper settled a question that had stood since the 1960s, and the bound is a reminder that existence and practicality are different things: nobody will cut a cake for five people this way, but it can be done in a number of steps known in advance.

The three fairness notions

It helps to keep three words apart. A division is proportional if each of \(n\) people gets at least \(1/n\) by their own valuation. It is envy-free if nobody would swap their share for anyone else's. It is equitable if everyone's share is worth the same fraction to them. Envy-free implies proportional, since if you value your share below \(1/n\) somebody must have more than \(1/n\) by your measure and you envy them; the converse fails for three or more. Equitability is independent of both and is often what people mean by fair in conversation, and it is the hardest to guarantee. Divide and choose is envy-free but not equitable: the cutter gets exactly half, the chooser typically more.

The rent example above was envy-free and equitable at once, which was luck in the numbers. With other valuations the envy-free prices may give one flatmate a larger surplus than another, and the flatmates then have to decide whether they care. The theory's contribution is to make the choice explicit: here is a division nobody can object to on the grounds of envy, and here is what it costs in equality.

Unit 7 of the Game Theory Masterclass defines the three notions, proves that divide and choose is envy-free, runs the Steinhaus and Selfridge-Conway procedures on numerical cakes, solves a rent division by the envy-free inequalities, and presents the 2016 paper in its research spotlight. The same unit approaches the question from the other side, as a bargaining problem with Nash's axioms and Rubinstein's alternating offers.

Study strategy properly

The Game Theory Masterclass: weekly units, quizzes, a final exam, and a certificate.
About the program