← Latest papers
📈 economics

The Distribution of Envy in Matching Markets

This paper analyzes the distribution of envy in random matching markets under the Deferred Acceptance algorithm, establishing that while the expected number of unenvied proposing agents equals the harmonic number HnH_n (matching Random Serial Dictatorship), this group constitutes a vanishing fraction of the total market.

Original authors: Josué Ortega, Gabriel Ziegler, R. Pablo Arribillaga, Geng Zhao

Published 2026-03-25
📖 5 min read🧠 Deep dive

Original authors: Josué Ortega, Gabriel Ziegler, R. Pablo Arribillaga, Geng Zhao

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a massive school fair where thousands of students are trying to get into their dream schools, and thousands of schools are trying to pick their favorite students. There's a rulebook for how this happens, called the Deferred Acceptance (DA) algorithm. It's the system used in many real-world places (like high school admissions) because it's "stable"—meaning no student and school would rather swap partners than stay where they are.

But here's the question the paper asks: How fair does this actually feel?

Specifically, the authors want to know about envy.

  1. The "Jealous" Student: A student who looks at another student's school and thinks, "I wish I was there instead."
  2. The "Unwanted" Student: A student who is so happy with their school that nobody wishes they were in their spot.

The researchers used some fancy math (probability and statistics) to count how many students fall into these two categories in a random, chaotic market. Here is the breakdown in plain English.

1. The "Nobody Envies" Group (The Lucky Few)

The Metaphor: Imagine a game of musical chairs, but the chairs are schools.
The paper asks: How many students end up in a chair that no one else wants to sit in?

  • The Finding: Surprisingly, very few. The number of students whom nobody envies is roughly equal to the Harmonic Number (HnH_n).
  • What does that mean? If you have 10,000 students, the number of people nobody envies is only about 9 or 10.
  • The Analogy: Think of a lottery with 10,000 tickets. If you ask, "How many people won the jackpot?" the answer is usually just one or two. Here, the "jackpot" is being in a school so perfect that no one else wants to trade with you. The paper shows that in a stable market, this "perfect spot" is incredibly rare. As the market gets bigger, the percentage of these lucky people shrinks to almost zero.

2. The "Envy Nobody" Group (The Top Choice Winners)

The Metaphor: Imagine a line of people grabbing cookies.
The paper asks: How many students get their absolute #1 favorite cookie?

  • The Finding: This group is larger than the first one, but still small. For 10,000 students, about 1,100 get their top choice.
  • The Analogy: If you have a line of people picking from a buffet, the first few people get exactly what they want. But as the line gets longer, the good stuff runs out. The math shows that in this specific "stable" system, only about 1 in 10 students gets their dream school. The rest have to settle for their 2nd, 3rd, or 10th choice.

3. The Big Surprise: Comparing to a "Random Line"

The authors compared this complex "stable" system (DA) to a much simpler, chaotic system called Random Serial Dictatorship (RSD).

  • RSD: Imagine students are put in a random line. The first person picks their #1 choice. The second person picks their #1 choice from what's left, and so on.
  • The Comparison:
    • Top Choices: In the Random Line (RSD), about 50% of students get their top choice. In the Stable System (DA), only 10% do. The Stable System is much worse at giving people their dream school.
    • The "Unwanted" Spot: Here is the magic trick. Even though the two systems work totally differently, they both leave exactly the same tiny number of students (about 10 out of 10,000) in spots that nobody envies.

Why is this weird?
It's like two different chefs cooking completely different recipes. One chef makes a gourmet meal (DA) and the other makes a random sandwich (RSD). You'd expect the results to be totally different. But if you ask, "How many people in the room are sitting in a chair that no one else wants?", both chefs end up with the exact same answer.

The Takeaway

The paper concludes that in large, random markets:

  1. Stability comes at a cost: The system that prevents "justified envy" (people fighting over spots) does a terrible job of giving people their top choices.
  2. The "Perfect" is rare: Whether the system is complex or random, the number of people who are so happy with their match that no one wants to swap with them is vanishingly small.
  3. Most people are "improvable": Because so few people are in these "perfect" or "unwanted" spots, it means that for the vast majority of students, there is some way to rearrange the matches to make them happier. The "stable" outcome isn't the most efficient one; it's just the one where no one has a legal reason to complain.

In short: The "stable" matching system is great at stopping fights, but it's not great at making everyone happy. And strangely, whether you use a complex algorithm or just a random line, the number of people who are "untouchable" (either because they are too happy or too lucky) is always the same tiny fraction.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →