A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Two-Sided Matching and the Deferred Acceptance Algorithm

Graduate Depth 116 in the knowledge graph ☐ I know this ☆ Set as goal
663prerequisites beneath it
See this on the map →
Incentive CompatibilityMechanism Design: Strategic Implementation+2 more→
market design matching stable matching deferred acceptance Gale-Shapley strategy-proofness

Core Idea

In two-sided matching markets, such as doctors and hospitals or students and schools, participants on each side have preferences over the other side and prices do not clear the market. A matching is stable if no pair of agents would both rather be matched to each other than to their assigned partners. David Gale and Lloyd Shapley showed in 1962 that a stable matching always exists in the basic model and that their deferred acceptance algorithm finds one. The matching it produces is the best stable matching for every member of the proposing side, and truthful reporting is a dominant strategy for that side.

How It's Best Learned

Give students a three-by-three set of preference lists and have them run deferred acceptance by hand, round by round, recording tentative holds and rejections. Then have them check every possible blocking pair in the result and in an alternative matching. Finally, swap which side proposes and compare the outcomes, which shows that the choice of proposing side matters.

Common Misconceptions

Explainer

Many markets match people rather than sell goods at a price. Medical graduates are matched to hospital residencies, students to public schools, and workers to some jobs. Each side has preferences over the other, and a match requires both. The design question is how to turn preference lists into an assignment that participants will accept.

The key requirement is stability. A matching is stable if there is no blocking pair: no proposer and receiver who both prefer each other to the partners they were assigned. If a blocking pair exists, its members have reason to break away and make a private deal, and the assignment can unravel.

David Gale and Lloyd Shapley, in their 1962 article "College Admissions and the Stability of Marriage," proved that a stable matching always exists in the basic model and gave a procedure that finds one, now called deferred acceptance. It runs in rounds. Each unmatched proposer applies to the most preferred receiver who has not yet rejected them. Each receiver looks at everyone who has applied, including the one held from the last round, keeps the best acceptable applicant, and rejects the rest. Rejected proposers move down their lists. The process ends when no one is rejected, and the tentative holds become final.

Why is the result stable? Suppose proposer P prefers receiver R to P's final partner. Then P applied to R earlier and was rejected, which happens only if R was holding someone R liked better. R's final partner is at least as good as that applicant, so R does not want P. No blocking pair can exist.

The algorithm has two further properties. The result is proposer-optimal: every proposer gets the best partner they could have in any stable matching, and every receiver gets the worst. And it is strategy-proof for proposers, as later shown by Lester Dubins and David Freedman and by Alvin Roth: no proposer can gain by misreporting preferences. Roth also showed that no stable mechanism is strategy-proof for both sides.

These ideas moved into practice. The National Resident Matching Program uses an applicant-proposing variant, and several large school districts, including New York City, adopted deferred acceptance for school choice. Roth and Shapley shared the 2012 Nobel Memorial Prize in Economic Sciences for the theory of stable allocations and the practice of market design.

Practice Questions 4 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Vectors in Two Dimensions → Vectors in R^n → Scalar Multiplication of Vectors → Dot Product (Inner Product in R^n) → Cross Product in R^3 → Cross Product and Vector Area → Dot and Cross Products: Geometry and Computation → Equations of Lines and Planes in 3D → Tangent Planes and Linear Approximation → Tangent Planes to Surfaces → Level Sets and Surfaces in 3D → Contour Maps and Level Curves → Directional Derivatives and the Gradient → Optimization in Multiple Variables → Lagrange Multipliers → Cost Minimization and Conditional Input Demand → Long-Run Cost Curves and Scale Economies → Long-Run Costs and Economies of Scale → Profit Maximization → Perfect Competition → Shutdown and Breakeven Decisions → Monopoly → Monopolistic Competition → Oligopoly and Strategic Behavior → Game Theory Basics → Nash Equilibrium → Bayesian Games (Games of Incomplete Information) → Mechanism Design: Strategic Implementation → Individual Rationality (Participation Constraint) → Incentive Compatibility and Individual Rationality → Incentive Compatibility → Two-Sided Matching and the Deferred Acceptance Algorithm

Longest path: 117 steps · 663 total prerequisite topics

Prerequisites (4)

Leads To (0)

No topics depend on this one yet.