Skip to content

Cahid Arda Öz

Istanbul, Turkey

← The Logic of Crowds
Blog Essays, opinions, and how-tos. / 1 min read

Mild Preferences, Stark Patterns

Schelling's segregation model: nobody wants a segregated city, and everybody gets one.


Most people would happily live on a street where they are in the minority. They would just rather not be the only one. Thomas Schelling showed in 1971 that this mild wish is enough to split a city in two (Schelling, “Dynamic Models of Segregation”).

One resident’s rule

Put two kinds of people on a grid with a few empty lots. Each resident looks at the occupied cells around her and stays if enough of them are her own kind (Easley & Kleinberg, section 4.5):

stay if# alike neighbours# occupied neighbours ≥ t\text{stay if}\quad \frac{\#\,\text{alike neighbours}}{\#\,\text{occupied neighbours}} \ \ge\ t Count only occupied neighbouring cells. t is the bar: t = 34% means 3 alike out of 8 is enough.
GT-09.1one residentNCM 4.5 · 8 neighbours
✓her✓✓
she
stays
3 of 8 occupied alike = 38% ≥ 34%
0%her alike share · tick = her bar100%

Empty lots do not count. With eight full neighbours, a bar of 34% needs 3 of them alike.

click a neighbour to change it: blue, red, emptyneeds ≥ 34% alike

The whole city

Now let everyone follow that rule. An unhappy resident moves to a random empty lot. Each move can leave a few former neighbours one short of their bar, and they move too.

GT-09.2the city40 × 40 lots · 10% empty
you got
49%
neighbours alike, for a bar of 34%
23% unhappy (hollow), moving
drag the bar and watch the city re-sort itself, or mix it again0 moves

The city starts with about half of everyone’s neighbours alike, which is what a coin flip gives. At a bar of 34% it settles with roughly three quarters alike. Nobody asked for that. Each move is small and reasonable, and the pattern is something no single resident chose.

Asking for a little, getting a lot

Run the city to rest for every bar and compare what people asked for with what they ended up with.

GT-09.3the tipping curve40 × 40 city · 4 runs per point
neversettles0%25%50%75%100%0%20%40%60%80%share alike each resident asks for →what they asked forwhat they got+43 pts
asked for
34%
at least this alike
got
77%
once everyone settles

Past about 81% some residents never find a spot, the moving never stops, and the city stays mixed.

drag across the chart to pick a bart = 34%

The gap opens early. Even a bar of 30% ends around 75% alike. The curve only falls back when the bar is so strict that nobody can settle at all.