Random cells · a sudden connection

Percolation

In this site percolation model, each cell of a grid opens independently with probability p. What is the chance that open cells form a path from top to bottom? For a large random grid that chance jumps from almost 0 to almost 1 as p passes a critical value, about 0.5927 for squares. Turn p, pour water, or change the cells.

Percolation in this visualization

Every cell of the grid is open with probability pp, independently of the others. Open cells that share an edge belong to the same cluster. The question is whether some cluster reaches from the top row to the bottom row. Here each cell keeps one random number and is open when that number is below pp, so turning pp up only ever opens more cells: the same grid, filling in.

At first the open cells form small, separate clusters. As pp rises they grow, and every new cell can merge two clusters into one. Near a particular value, the critical probability pcp_c, the merging snowballs, and newly opened cells can join several clusters into one that spans the grid. On an infinite grid this is sharp: below pcp_c the chance of an infinite cluster is 0, above it 1. Over many finite grids the chance of connecting rises smoothly instead, and the inset shows that curve steepening as the grid grows; any one grid still switches from not connected to connected at a single value of pp.

The critical value depends on how the cells touch. With hexagons, six neighbours each, it is exactly 1/21/2, one of the few values known exactly. Squares, with four neighbours, need about 0.59270.5927, and triangles, with three, about 0.69700.6970; these are known only from computation. Of these three tilings, the triangles, with the fewest neighbours, have the highest threshold.

The water here moves one cell per step, so the first time it reaches the bottom is the shortest path through open cells. When a grid has only just connected, the water has to wind around the closed cells, so that path is much longer than with every cell open.

Things to notice

  • A finite grid can connect well below pcp_c or fail to above it; pcp_c belongs to the infinite grid. Each grid on the page reports where it connects.
  • pp is the chance that each cell is open. The share of open cells on one grid varies, and even at pcp_c a grid may connect or not.

Related