Mathematician Julius Barbanel of Union College, and political scientist Steven Brams of New York University, both in the US, have published the algorithm in Springer's The Mathematical Intelligencer.
The cut-and-choose method to share divisible goods has been regarded as fair and envy-free.
But what happens when more than two cuts can be made, or when people prefer different, specific sections of whatever is to be divided?
Barbanel and Brams believe that with a giveback procedure it is possible to make a perfect division between two people that is efficient, equitable and void of jealousy.
In mathematical terms these are called someone's probability density functions, or pdfs.
The referee then marks out the cake at all points were the pdfs of the disgruntled would-be cake eaters cross, and assigns portions.
If at this point the two parties receive the same size of cake, the task is over. If not, the giveback process starts.
The party who received the larger part of the cake during the first round must give a part of it back to the other person, starting with those parts in which the ratio of their pdfs is the smallest.
The researchers believe the method can be used to share cake and other divisible goods such as land.
In the case of beachfront property being co-owned by two developers, for example, it can help to determine who gets what strips of land to build on based on the pieces of land they value most.
"This allocation is not only equitable but also envy-free and efficient - that is, perfect," said Barbanel.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
