Interactive module
Matching Market
Run deferred acceptance and see stable pairs emerge from rankings.
Rule ledger
No blocking pair: no unmatched pair both prefer each other over current matchesDeferred Acceptance
Drag Mina's school ranking
Mina proposes to North.
North holds Mina's proposal.
Owen proposes to River.
River holds Owen's proposal.
Priya proposes to River.
River rejects Priya.
Priya proposes to North.
Stable matching check
Stable
How to read this result
Stable does not mean everyone gets their first choice. It means no unmatched pair would both rather leave their current matches for each other.Formula
No blocking pair: no unmatched pair both prefer each other over current matchesStable matching removes pairs who would want to abandon the final assignment.
Step-by-step Explanation
Scenario
Students apply to schools, each side ranking the other side differently.
Why This Matters
Matching algorithms help place doctors, students, organ exchanges, and workers.
Beginner-Friendly Summary
Gale-Shapley turns ranked preferences into matches where no pair has a mutual reason to defect.
Try changing the strategy and watch which result changes first.