Concept

Random graph

A graph on a fixed set of points in which each possible edge is present independently with the same probability. Almost every property of one holds either with probability near zero or near one, with the change happening over a narrow range of that probability.

Named by 18 essays across 6 fields — each of them below, with the objects they name alongside it.

The chance of being connected, against the chance of an edge. Curves of the exact probability that a random graph on three to six labelled points is connected, plotted against the probability of each individual edge.

The moment everything joins up

Add edges to a set of points one chance at a time and the graph goes from dust to a single piece — not gradually, but over a window that narrows as the point count grows. The last obstacle is almost always a single point with no edge at all, and that is what fixes where the change happens.

probability · Random graphs
The moment a giant piece appears. The largest component's share of 900 points plotted against the average degree, with the measured values as dots and the predicted curve behind them. The curve is flat at zero below an average degree of one and rises steeply above it.

The moment a giant appears

Raise the chance of an edge slowly and a random graph does nothing for a long time, then in a narrow window acquires a component holding a definite fraction of everything. The fraction is the root of an equation, and the equation says why the transition is where it is.

probability · Random graphs
One piece, and connected, are different thresholds. Two curves against the average degree for graphs of 400 points: the largest component's share, rising from an average degree of one, and the probability of connectivity, rising only near the logarithm of the point count.

Two thresholds, not one

A random graph acquires a piece holding most of its points at average degree one, and is still not connected. Connectivity waits until the average degree reaches the logarithm of the size, and what holds it up is the very last isolated point.

probability · Random graphs
A triangle appears when the count says it should. The measured probability of containing a triangle against the edge chance, on graphs of 200 points, beside the expected number of triangles capped at one.

Finding a threshold with two moments

Every monotone property of a random graph has a threshold, and locating one is nearly always the same two calculations — count what the property needs, and check the count does not concentrate on rare cases. The triangle is where the method is cleanest.

probability · Random graphs
Three properties that leave the middle, and one that cannot. Four measured curves of the share of random graphs having a property, plotted against the number of points: three first-order properties running to zero or one, and the parity of the edge count sitting on a half throughout.

Nearly always, or nearly never

Toss a coin for every pair of points and ask whether the graph that results has some property. For a property a first-order sentence can state, the answer in the limit is never a genuine probability — it is zero or it is one, and the game is what proves it.

logic · Ehrenfeucht–Fraïssé games
At the threshold the largest part is neither of the two obvious sizes. A table with one row per graph size, giving the largest component at the critical edge probability and that value divided by three candidate scalings.

The window where the giant is born

Below the threshold the largest piece is a few dozen points, above it a definite fraction of everything. At the threshold it is neither, and the size it does take — the two-thirds power — is an exponent with no elementary derivation that a measurement finds immediately.

probability · Random graphs
One threshold narrowing, one staying wide. Probability curves for connectivity and for containing a triangle, plotted against the edge probability as a multiple of each property's own threshold, at several graph sizes.

Sharp, or merely a threshold

Every monotone property of a random graph has a threshold. Some of them turn on over a range that shrinks relative to the threshold as the graph grows, and some do not — and which kind a property is turns out to be decided by whether it is about a local structure or about the whole graph.

probability · Random graphs
The first 16 vertices of Rado's graph, joined by binary digits. Adjacency table and circular drawing of the Rado graph on vertices 0 to 15, where i < j are adjacent when bit i of j is 1; 32 edges.

The graph that coin tosses always make

Take infinitely many vertices and toss a coin for every pair to decide whether they are joined. The result is random in every detail — and, with probability one, it is always the same graph. The same graph can be written down without any coins, by joining two numbers when one binary digit of the larger is a one.

logic · Models
A ball of the square grid with random travel times. A ragged roughly round region of grid cells shaded in bands by the time a signal from the centre first reaches them.

The shape a random ball grows into

Give every road of the square grid a random travel time and ask what can be reached from one point in time t. The region is ragged, and rescaled it converges to a fixed convex shape — but which shape is unknown for every natural law. Computing it shows a curve within a few per cent of a circle for continuous travel times, a flat side where fast roads percolate along a diagonal, a time per step that is still drifting at a hundred and twenty-eight steps, and fluctuations that grow like the distance to the power one third rather than one half.

algebra · Cayley graph
Which Paley graphs answer every small request. size 2: first passes at 13; size 3: first passes at 29; size 4: first passes at 89; primes checked up to 113.

The squares that answer every request

Rado's graph has, for any finite sets U and V, a vertex joined to all of U and none of V. A finite graph can only answer the small requests, and the Paley graphs — residues modulo a prime, joined when their difference is a square — are the classic way to build one. Checking every request exactly finds the thresholds: 13 residues answer every request of two, 29 every request of three, 89 every request of four. The theorem that guarantees it asks for 64, 576 and 4,096. Coin-toss graphs of the same sizes almost never manage it.

logic · Models
The 11 trees on 7 points, and how many labellings each has. All trees on 7 points with their numbers of symmetries and of distinct labellings; the labellings add to 16807.

Almost every tree can be turned over

Cayley's n^(n−2) counts trees with labels on their points. Take the labels off and the count has no formula, because a symmetric shape absorbs labellings: the star on seven points can be labelled only seven ways, the one asymmetric shape 5,040. The bookkeeping that reconciles the two counts says something unexpected — almost every tree, labelled or not, can be turned over onto itself, where almost every graph cannot.

discrete · Labelled trees
Closing a path into a tour: the crossing pair the counting forces. A path through 10 points in a row, arcs from its two ends to their neighbours, and the crossing pair at step 3 whose two arcs replace that step to make a closed tour.

Half the neighbours forces a tour

Deciding whether a graph has a closed tour through every point is one of the hardest problems computers are asked to solve. Gabriel Dirac found a condition that settles it in one glance: if every point is joined to at least half the others, a tour exists. The proof is a counting argument on a single path, it runs as an algorithm, and two small graphs show that the half cannot be lowered — while random graphs show how much stronger than necessary it is.

discrete · Hamiltonian cycles
Every light on, on a board where most patterns are out of reach. A 5×5 Lights Out press pattern of 15 presses that turns all 25 lights on; the board's quiet space has dimension 2.

Every light on, from every light off

In Lights Out, pressing a light toggles it and its neighbours. On a five-by-five board only one pattern in four can be reached from all off — and yet all on is always one of them. The same is true on every board and on every network of lights whatever, provided the influence runs both ways. The proof is a single observation about symmetric matrices over a field with two elements, and it fails, as a three-arrow example shows, the moment influence runs one way.

computation · Finite fields
Press everything and the odd degrees light. Pressing every vertex lights exactly the odd-degree vertices; all 1024 all-odd-degree graphs on 6 vertices are litable; overall 18259 of 32768.

Half the chance for every silent set

In the lights game where a press toggles only the neighbours, a random network can be lit about 56 times in a hundred when it has an even number of vertices and 44 when odd. The numbers are 0.560562 and 0.439438, they add to one, and they come from a chain: each new vertex raises or lowers the dimension of the silent sets by one, and each dimension halves the chance.

computation · Finite fields
An elimination order is a tree of bags. 3 × 3 grid, optimal order a, c, g, i, b, d, f, h, e; bags abd, bcf, dgh, fhi, bdef, defh, efh, eh, e; treewidth 3.

The order that keeps elimination narrow

Eliminating letters one at a time costs whatever the widest step costs, and the least width any order can achieve is the treewidth of the formula's graph. Finding it exactly is NP-hard, but a search over sets of letters instead of sequences finds it for small graphs, and a greedy rule that adds the fewest new edges finds it on 566 of 600 random graphs and misses by more than one only once. On Tseitin's 6 × 6 grid that rule forms twenty-four times fewer resolvents than sweeping row by row. What it cannot do is prove that its order is the best.

logic · Resolution
The bipartite share falls before it rises. n=1: 1 of 1 (100.00%); n=2: 2 of 2 (100.00%); n=3: 7 of 7 (100.00%); n=4: 41 of 41 (100.00%); n=5: 376 of 388 (96.91%); n=6: 5177 of 5789 (89.43%); n=7: 103237 of 133501 (77.33%); n=8: 2922446 of 4682270 (62.42%); n=9: 116011231 of 246348115 (47.09%).

Triangle-free, and two-sided eventually

Every graph with no triangle and the most edges possible is bipartite. Erdős, Kleitman and Rothschild proved that almost every triangle-free graph is bipartite too — and yet among the 246,348,115 triangle-free graphs on nine labelled vertices, fewer than half are. The share falls before it rises, and the reason is that small graphs are sparse.

discrete · Extremal graphs
The cheapest tree through forty points. n=40, seed 8: total 1.063675, largest edge 0.0605, ζ(3)=1.2020569.

The cheapest tree costs ζ(3)

Join n towns by every possible road, give each road a cost drawn at random between nought and one, and find the cheapest network of n − 1 roads that connects them all. However many towns there are, the bill tends to 1 + 1/8 + 1/27 + 1/64 + … = 1.2020569. The proof watches the cheap roads arrive one at a time and turns the cost into the area under a curve that counts the pieces of a growing random graph.

applied · Assignment
No graph has fewer four-cycles than chance. random p=0.092 t(C4)=0.00141 p^4=0.00007; random p=0.143 t(C4)=0.00344 p^4=0.00042; random p=0.112 t(C4)=0.00203 p^4=0.00016; random p=0.112 t(C4)=0.00276 p^4=0.00016; random p=0.112 t(C4)=0.00266 p^4=0.00016; random p=0.112 t(C4)=0.00266 p^4=0.00016; random p=0.306 t(C4)=0.01739 p^4=0.00878; random p=0.378 t(C4)=0.03223 p^4=0.02032; random p=0.316 t(C4)=0.02140 p^4=0.01001; random p=0.276 t(C4)=0.01400 p^4=0.00576; random p=0.245 t(C4)=0.01249 p^4=0.00360; random p=0.235 t(C4)=0.01182 p^4=0.00303; random p=0.490 t(C4)=0.07476 p^4=0.05755; random p=0.469 t(C4)=0.06862 p^4=0.04854; random p=0.449 t(C4)=0.05685 p^4=0.04064; random p=0.520 t(C4)=0.09126 p^4=0.07335; random p=0.480 t(C4)=0.07648 p^4=0.05290; random p=0.490 t(C4)=0.08080 p^4=0.05755; random p=0.673 t(C4)=0.23074 p^4=0.20572; random p=0.724 t(C4)=0.29628 p^4=0.27550; random p=0.673 t(C4)=0.23511 p^4=0.20572; random p=0.612 t(C4)=0.16150 p^4=0.14051; random p=0.633 t(C4)=0.19013 p^4=0.16020; random p=0.694 t(C4)=0.25750 p^4=0.23181; bipartite p=0.500 t(C4)=0.12500 p^4=0.06250; bipartite p=0.408 t(C4)=0.08330 p^4=0.02775; bipartite p=0.337 t(C4)=0.05670 p^4=0.01286; structured p=0.462 t(C4)=0.05189 p^4=0.04538; structured p=0.214 t(C4)=0.03389 p^4=0.00211; structured p=0.429 t(C4)=0.06778 p^4=0.03374; structured p=0.071 t(C4)=0.00036 p^4=0.00003

No graph is poorer in squares than chance

Take any graph with a fixed share of its possible edges and count how often four points chosen in order close up into a ring. However the edges are arranged — in cliques, in two-sided blocks, at random — the count never falls below what a random graph of the same density gives. Sidorenko conjectured that the same holds for every pattern without an odd cycle. For a triangle it is false; for a path or a ring of four it takes two lines; for K₅,₅ with a ten-cycle removed nobody knows.

discrete · Extremal graphs

Named alongside it

The objects these essays reach for when they reach for this one.

ThresholdExhaustive searchExpectationPhase transitionBipartite graphComponentConnectivityCounting two waysExtension propertyFinite fieldFirst momentGreedy algorithm

All concepts