Schelling Segregation Model: How Mild Preferences Create Divided Cities

simulator beginner ~8 min
Loading simulation...
Index ≈ 0.72 — severe segregation from 33% threshold

With a similarity threshold of just 33% (agents only want 1/3 of neighbors to be like them), the Schelling model produces a segregation index of approximately 0.72 — meaning the average agent ends up surrounded by 72% same-type neighbors. Mild individual tolerance produces extreme collective segregation.

Formula

Happiness condition: (same-type neighbors / total neighbors) ≥ threshold
Segregation index = (1/N) × Σᵢ (same-type neighborsᵢ / total neighborsᵢ)

The Paradox of Tolerant Segregation

In 1971, economist Thomas Schelling placed pennies and dimes on a checkerboard to model neighborhood dynamics. Each coin was 'happy' if at least one-third of its neighbors were the same type — a remarkably tolerant threshold. Yet after a few rounds of unhappy coins moving to empty squares, the board spontaneously organized into sharply segregated clusters. The result was startling: individual tolerance produced collective segregation.

How the Model Works

The simulation places agents of different groups (colors) randomly on a grid with some empty cells. Each step, the model checks every agent's neighborhood (8 surrounding cells). If the fraction of same-type neighbors falls below the threshold, the agent is unhappy and relocates to a random empty cell. This process repeats until all agents are satisfied or the system reaches a maximum number of steps. Watch the grid transform from a random salt-and-pepper pattern into distinct homogeneous clusters.

Emergence and Tipping Points

The Schelling model is a powerful demonstration of emergence — a system-level pattern that cannot be predicted from individual rules alone. There exists a critical threshold around 30-37% where segregation suddenly intensifies. Below this threshold, the population remains relatively mixed. Above it, segregation is nearly total. This tipping point behavior means small changes in individual preferences can produce dramatic societal shifts.

Beyond the Checkerboard

While simplified, Schelling's model illuminates real urban dynamics. Studies of American cities show segregation levels consistent with Schelling-type dynamics. The model has been extended to include income differences, housing markets, and network effects. It reminds us that addressing segregation requires more than changing individual attitudes — the geometry of choice itself produces segregation, requiring structural interventions to achieve integration.

FAQ

What is the Schelling segregation model?

The Schelling model (1971) is an agent-based model showing how residential segregation can emerge even when individuals are tolerant. Agents on a grid are 'happy' if at least a threshold fraction of their neighbors are the same type. Unhappy agents move to empty cells. Even with a low threshold (e.g., 33%), the system converges to highly segregated patterns — a striking example of emergent behavior.

Does the Schelling model prove people are racist?

No. The model's key insight is precisely the opposite — it shows that severe segregation can emerge even when individuals are genuinely tolerant. A threshold of 33% means agents are happy being a minority in their neighborhood. The segregation is an emergent property of the system, not a reflection of strong individual preferences.

What is the segregation index?

The segregation index measures the average fraction of same-type neighbors across all agents. A value of 0.5 in a two-group model means perfectly random mixing (each agent has equal numbers of same and different neighbors). Values approaching 1.0 indicate complete segregation into homogeneous clusters.

Why did Schelling win the Nobel Prize?

Thomas Schelling won the 2005 Nobel Prize in Economics for his work on conflict and cooperation, including the segregation model. His key contribution was showing how individual micro-motives can produce macro-behaviors that no one intended — a fundamental insight for understanding cities, markets, and social dynamics.

Sources

Embed

<iframe src="https://homo-deus.com/lab/sociology/schelling-segregation/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub