◍ Hidden Spheres · exhibit nº 30

The Giant

tie strangers together at random, and one clump suddenly holds almost everyone

Four hundred dots, and none of them knows any other. Pick two at random and tie a thread between them. Do it again, and again. Dots joined by threads, directly or through other dots, make a clump. For a long time nothing much happens. Then something does, and it happens all at once.

four hundred strangers

For the curious kid.

Think of the dots as people at a very large party where nobody knows anybody, and of a thread as two of them becoming friends. A clump is a set of people who could pass a secret along from friend to friend. At the start every clump is one person. The first threads make pairs. Later threads join pairs into little chains of three, four, five. The picture moves the dots about so that tied dots stay close together. Where a dot sits means nothing. Only the threads matter.

Watch the gold. Gold marks the largest clump, whichever it is at the moment, and for the first hundred and fifty threads the title keeps changing hands between clumps of five or ten. Then, at about two hundred threads, which is one thread for every two dots, one clump begins to run away. Fifty threads later it holds a third of the party. By six hundred threads it holds almost everyone, and the few who are left out are mostly alone.

No thread was special. Every one was tied between two dots picked blindly, exactly like the thread before it. What changed is this. A big clump is easy to hit: the more dots it has, the more likely a random thread lands on one of them. So big clumps grow faster than small ones, and once one clump is clearly ahead, nearly every new thread that touches it feeds it.

Four hundred dots is a small party, and each time you press New dots the story goes a little differently. Press A million dots. The room ties a million and a half threads among a million dots and draws that line too. It has a corner. At 0.4 threads per dot, the largest clump among a million dots holds a couple of hundred. At 0.6 it holds three hundred thousand.

Deeper.

Call the number of threads per dot c. A thread has two ends, so a dot holds 2c thread ends on average: it has 2c neighbours. Start from any dot and walk outward. It has 2c neighbours, each of them has about 2c more, and so on, so the clump it lives in holds about 1 + 2c + (2c)² + … dots. While 2c is less than one, that sum is finite: it is 1/(1 − 2c). At 2c = 1 it has no end. That is the whole reason for the threshold, and the lower chart is that sum, measured: the size of the clump an average dot lives in, leaving out the largest clump. It climbs toward one half, and the bigger the crowd the higher it climbs.

Past the threshold, let S be the share of all dots in the giant clump. A dot is outside the giant only if every one of its neighbours is outside it. The number of neighbours a dot has follows the law of rare events, and that turns the sentence into an equation: 1 − S = e−2cS. Below c = 1/2 its only answer is S = 0. Above, there is a second answer: 31% at 0.6 threads per dot, 80% at one thread per dot, 94% at one and a half. The dashed curve is that answer, drawn before the first thread is tied. The dots know only the rule: two at random, tie.

There are three sizes of largest clump. Before the threshold it grows like the logarithm of the crowd: among a million dots with a quarter of a million threads, it holds a few dozen. Exactly at the threshold it holds about n2/3 dots, some seven thousand in a million. After the threshold it holds a fixed share of everybody. Paul Erdős and Alfréd Rényi, who proved all this in 1960, called it a double jump.

The counts at the bottom keep a small exact law. A thread can do only two things: join two clumps into one, or close a loop inside a clump. So the number of clumps is always dots − threads + loops. Before the threshold, loops hardly ever happen. By a quarter of a thread per dot the average number of loops closed is about a tenth of one loop, and it is the same for four hundred dots or four hundred million: nine runs in ten have none, and every clump is a tree. The loops arrive with the giant.

The dots still alone follow a law too: their share is e−2c. At one and a half threads per dot, one dot in twenty has never been picked. To tie in every dot takes about half the logarithm of the crowd in threads per dot, 3.3 for four hundred dots and 7.2 for a million. Press Until none is alone. Nearly every time, the thread that ties in the last lonely dot is the very thread that makes the crowd one clump. By then there is nothing else left to join.

Ray Solomonoff and Anatol Rapoport wrote the equation down in 1951, thinking about nerves and about epidemics, and it is the epidemic that most people have met. Read a thread as one person passing a cold to another. Then 2c is the number of people each case infects, and the rule says an outbreak fizzles out in small chains when that number is below one, and reaches a fixed share of everybody when it is above. That share is S, from the same equation. Real friendships are not picked at random: friends of friends tend to know each other, and a few people know nearly everyone. The threshold survives those changes. Its place moves.

One more question. Suppose whoever ties the threads wanted to stop the giant, and were picky about which threads to tie. This room will try it, if you ask it in one word.

No thread was special. There were simply enough of them.