mixing-rate
At its defaults it draws 122 steps to forget where it started, and λ₂ said 131. A random walk on a sixty-vertex graph with two blocks joined at a density of 0.03, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 122 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.900071 from the walk matrix, and the number of steps that predicts is 131. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 9.22 steps.
mixing-rate is one function in lib/figures/graphwalk.js —
the walk and the ranking — a rate that is not the published one, a positivity the arithmetic loses, and places nothing settles. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.03, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 122 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.900071 from the walk matrix, and the number of steps that predicts is 131. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 9.22 steps.
pOut: 0.005
The arguments are the ones A chain with no stationary vector passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.005, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 1002 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.986994 from the walk matrix, and the number of steps that predicts is 1055. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 53.3 steps.
pOut: 0.2
The arguments are the ones A chain with no stationary vector passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.2, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 16 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.450568 from the walk matrix, and the number of steps that predicts is 17. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 1.33 steps.
pOut: 0.03
The arguments are the ones A ranking that is an eigenvector passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.03, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 122 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.900071 from the walk matrix, and the number of steps that predicts is 131. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 9.22 steps.
pOut: 0.01
The arguments are the ones The rate is the second eigenvalue passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.01, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 314 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.958917 from the walk matrix, and the number of steps that predicts is 329. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 15.3 steps.
pOut: 0.02
The arguments are the ones The rate is the second eigenvalue passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
A random walk on a sixty-vertex graph with two blocks joined at a density of 0.02, started at one vertex, measured as the total variation distance from its stationary distribution. It reaches 10⁻⁶ after 169 steps. The dashed line is |λ₂|ᵏ with λ₂ = 0.92517 from the walk matrix, and the number of steps that predicts is 178. The distance is not the eigenvalue: for the first several steps the walk is leaving one block and the decay is faster than the asymptote, and the two curves become parallel only once the slowest mode is all that is left. The eigenvalue is a rate, not a schedule, and the difference between them is 8.63 steps.
What it checked while drawing
Every figure above asserted its own claims on the way to being drawn, and a claim that failed
would have failed the build rather than drawn a wrong picture. Those assertions used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
11 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
a between-block density that keeps the graph connected
a graph with at least two vertices
a planted partition with no isolated vertex
a positive weight
a walk that reached stationarity
an aperiodic walk, whose second eigenvalue is inside the circle
every endpoint inside the vertex set
Jacobi needs a symmetric matrix
no edge given twice
no isolated vertex, which the normalisation divides by
no self-loop
Against the rule
It draws a decomposition and prints its residual. It calls
walkSpectrum, mixingRun,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 214
of 382 generators —
194 print a residual and
20 are exempt with a published reason;
168 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
A chain with no stationary vector
A page with no outgoing links loses forty per cent of the walker's probability in six hundred steps. A directed cycle never converges at all. And on a graph whose links only run one way, the entire rank of half the vertices is exactly one minus the teleportation parameter.
The matrix that is a graphA ranking that is an eigenvector
PageRank is the stationary vector of a walk that follows links with probability α and jumps at random otherwise. The iteration and the elimination agree to 4·10⁻¹⁷. What α is set to changes which pages come third, fourth and fifth.
The matrix that is a graphA ranking whose order is not determined
Of the fourteen adjacent comparisons in a top-fifteen, fourteen survive perturbing the arithmetic at the rounding level, eleven survive moving the teleportation parameter across its usual range, and three survive removing one link. The computation is the strongest part of the answer.
The matrix that is a graphAn eigenvector that must not change sign
Perron's theorem says the leading eigenvector of a connected nonnegative matrix is strictly positive. On a clique with a long tail, four of its thirty-six entries come back negative — and beside them is the one two-sided bound on this site that is proved rather than estimated.
The matrix that is a graphThe rate is the second eigenvalue
A walk forgets where it started at a rate the graph's second eigenvalue names exactly. Across three orders of magnitude in the step count the prediction is five per cent high — and the published rate for PageRank is right for a reason nobody states, which is that a link graph is in pieces.
The matrix that is a graphThe spectrum is not the graph
Two graphs on six vertices with the same Laplacian characteristic polynomial — as integer polynomials, not to fourteen digits. One contains a triangle; the other is bipartite. Every method in this field that reads only the spectrum is answering about the class.