The idea
In 1971 the economist Thomas Schelling asked a simple question. If people have only a mild preference for living near others like themselves, what happens to a whole town? He was thinking about racial segregation in US cities, but the model applies to any visible difference, which is why the households here are simply blue and orange. He worked it out with coins on a chessboard. The surprising answer is that mild individual preferences can produce a strongly divided town, which nobody intended and nobody necessarily wants.
How the model works
- Each square is a home: occupied by a blue or orange household, or empty. The town wraps around at the edges, so every home has the same number of neighbours.
- A household looks at the 8 homes around it (or more in the advanced options) and counts the share of its occupied neighbours that are its colour.
- If that share is below its threshold, it is unhappy (white badge).
- Each round, unhappy households move one at a time, in random order, to a randomly chosen empty home. A household that has already become happy because others moved stays put.
- The model stops when everyone is happy.
Show the maths
similarity of household i: f_i = (same-colour neighbours) / (occupied neighbours)
happy if f_i ≥ θ (θ = the "happy if at least" slider)
average similarity S = mean of f_i over all households with any neighbours
With 8 neighbours the possible shares are 0, 1/8, 2/8 and so on, so the threshold behaves in steps. For example, 25% means at least 2 of 8, and 30% means at least 3 of 8. That is why the outcome jumps between those two settings.
What it does (tested in this model)
For a 40 × 40 town with 10% empty homes and two equal groups, averaged over several runs:
| Happy if at least | 20% | 25% | 30% | 50% | 60% | 70% |
| Average similar neighbours at the end | 57% | 57% | 74% | 85% | 97% | 99% |
| No other-colour neighbours at all | 6% | 6% | 26% | 51% | 86% | 96% |
A random town starts at about 50%. So households that would happily be outnumbered 5 to 3 end up, on average, in neighbourhoods that are three-quarters their own colour.
The advanced options
| Option | What we found in this model |
| Mixed preferences | With most households needing only 20%, the town ends at 57% similar. Make 10% of households intolerant (needing 75%) and it reaches 65%; with 20% intolerant, 71%. A small intolerant minority pushes everyone apart. |
| Unequal groups (80/20, threshold 30%) | At the start, about 79% of the minority are unhappy and none of the majority are. With random moves the minority stays largely unhappy for a long time: the empty homes are mostly in majority areas. |
| Diversity seekers | Everyone's ideal is a 50/50 neighbourhood. If being outnumbered feels no worse than being in the majority, the town stays mixed (about 49% similar). If being outnumbered feels twice as bad, the town drifts to about 69% similar, and more households end up dissatisfied than at the start. This reproduces the key result of Pancs and Vriend (2007): segregation can emerge even when everyone prefers integration. In our tests it needs that asymmetry. A simple "leave if too similar or too different" rule did not produce it. |
| Choosy movers | Similar final pattern, reached much faster (about 7 rounds instead of 12–14). |
| Restlessness | A little restlessness (2% per round) makes the town more segregated (about 86% vs 74%). Random moves shake households out of awkward mixed pockets, and clusters grow. More restlessness (10%) keeps things churning at about 74%. |
| Move only nearby | Slower and somewhat less segregation (about 70%). With very few empty homes (3%), some unhappy households are stuck with nowhere to go. |
What the model does and does not show
It shows that strong segregation can arise from mild preferences, without anyone wanting it. It does not show that real segregation happens this way. Housing costs, discrimination, history and policy (for example, mortgage redlining in the United States) all play large roles. Researchers use models like this to ask which mechanisms are enough to produce the patterns we see, and then test them against data.
References
- Schelling, T. C. (1971). Dynamic models of segregation. Journal of Mathematical Sociology 1(2), 143–186.
- Zhang, J. (2004). Residential segregation in an all-integrationist world. Journal of Economic Behavior & Organization 54, 533–550.
- Pancs, R. & Vriend, N. J. (2007). Schelling's spatial proximity model of segregation revisited. Journal of Public Economics 91, 1–24.
- Clark, W. A. V. & Fossett, M. (2008). Understanding the social context of the Schelling segregation model. PNAS 105(11), 4109–4114.