The Stable Marriage Problem
"Given two groups ranking each other, you can always pair them so no two would rather abandon their partners for each other."
"Given two groups ranking each other, you can always pair them so no two would rather abandon their partners for each other."
The stable marriage problem asks, given two equal-sized groups whose members each rank all members of the other group by preference, to find a stable matching: a one-to-one pairing with no blocking pair, no two people who both prefer each other to their assigned partners. Gale and Shapley proved that such a stable matching always exists, for any preferences, and can be found efficiently by the deferred-acceptance algorithm. The problem is a cornerstone of matching theory and market design, with the surprising guarantee of a stable outcome and a practical algorithm that together underpin real systems from medical residency matching to school choice.
Rated Empirical: grounded in studies or measurable evidence. The other 608.
The Gale-Shapley, or deferred-acceptance, algorithm proceeds in rounds. Members of one side propose, each to the highest-ranked partner who has not yet rejected them; each recipient tentatively holds the best proposal received so far and rejects the rest, and rejected proposers try their next choice. The process always terminates in a stable matching, in time proportional to the square of the group size. The outcome is proposer-optimal and receiver-pessimal: the proposing side gets the best partner it could have in any stable matching, and the receiving side the worst. Proposing truthfully is optimal for the proposers, while recipients can sometimes gain by misrepresenting preferences.
The stable marriage problem is a foundational result in economics, computer science, and market design, combining a guarantee that a stable outcome always exists with an efficient algorithm to find it. Its deferred-acceptance mechanism is used to run real markets that cannot rely on prices, matching doctors to hospitals, students to schools, and more, and its ideas extend to organ exchange and beyond. Lloyd Shapley and Alvin Roth received the 2012 Nobel Memorial Prize in Economics for the theory of stable allocations and the practice of market design, a recognition of how deeply the idea reshaped both theory and institutions.
The classic result assumes strict, complete preferences over the other side and equal-sized groups. Variants complicate it: ties in preferences, incomplete lists where some partners are unacceptable, and the many-to-one hospitals-and-residents generalisation with quotas. The one-sided stable roommates problem, pairing within a single set, may have no stable matching at all, unlike the two-sided marriage problem. And the deferred-acceptance outcome is only one extreme, proposer-optimal, among possibly many stable matchings, and is not egalitarian or utilitarian-optimal.
Stable means there is no blocking pair, not that partners are each other's top choices, nor that the matching maximises total happiness. Proposer-optimality does not mean every proposer gets a first choice; it means each gets the best partner achievable across all stable matchings. Multiple stable matchings can exist, and the algorithm returns one extreme, not all of them. And the always-exists guarantee is specific to the two-sided problem; the one-sided roommates version can lack any stable matching.
Yes, as far as the evidence goes. The Stable Marriage Problem is rated Empirical here: it rests on studies or measurements rather than on a saying.
Rated from two sources. 609 of the 1,116 entries carry this rating. How the scale works.
The best-known laws are the least likely to rest on measurement.
Introduced by David Gale and Lloyd Shapley in their 1962 paper 'College Admissions and the Stability of Marriage' in the American Mathematical Monthly; Shapley and Alvin Roth won the 2012 Nobel Memorial Prize in Economics for the resulting theory and its applications.
9 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.
Everything above traces to en.wikipedia.org and nobelprize.org: two secondary sources, accounts of the original rather than the original itself, which has not been located for this entry. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.