The matrix that is a graph

A conductance the arcs do not measure

Symmetrising a directed Laplacian with respect to its walk recovers everything the arrows took — a real spectrum, a sweep cut, a Cheeger inequality. What it does not recover is the quantity: the inequality bounds the probability that a step of the walk crosses the cut, which on one graph here is three times the weight of the arcs that do.

Worth reading first: A matrix with no numbers in it · The vector that has to be rounded · A ranking that is an eigenvector.

The previous essay left the directed case with almost nothing: a matrix with an exact null vector on one side, complex unordered eigenvalues, non-orthogonal eigenvectors, and no quadratic form to build a cut argument on.

There is a construction that gives all of it back. It is Chung’s, it is short, and the price it charges is not accuracy or cost — it is that the quantity at the end of the argument is not the one that went in.

One sweep cut, two conductances: 0.1235 and 0.04Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 1 arc back at 24 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.1235 and 0.04, a factor of 3.09 apart. The shaded band is Cheeger's, λ₂/2 = 0.03309 to √(2λ₂) = 0.3638 with λ₂ = 0.06619, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.066λ₂/20.033√(2λ₂)0.36circulation Φ0.12arc conductance0.04their ratio3.1the inequality holdsabout a quantity nobody counts
Fig. 1 Every prefix of a sweep cut on a two-block digraph, with two quantities plotted for each. At the best cut they are 0.1235 and 0.0400. The shaded band is Cheeger’s, and it is about the upper curve.

The construction

Let P be the transition matrix of the random walk and φ its stationary distribution — the left null vector the previous essay had to compute. Write Φ for the diagonal matrix of φ. Then

L  =  I    12(Φ1/2PΦ1/2  +  Φ1/2PTΦ1/2)\mathcal{L} \;=\; I \;-\; \tfrac{1}{2}\bigl(\Phi^{1/2} P \Phi^{-1/2} \;+\; \Phi^{-1/2} P^{\mathsf T} \Phi^{1/2}\bigr)

is symmetric by construction. So it has real eigenvalues, they lie in [0, 2], they can be ordered, there is a second-smallest one, there is a quadratic form to minimise, and there is a Cheeger inequality relating that eigenvalue to a best cut.

Everything the arrows took, returned. And the whole of the debt is in the two occurrences of Φ.

The form is worth reading slowly, because it is doing two things at once. Φ1/2PΦ1/2\Phi^{1/2} P \Phi^{-1/2} is a similarity transform of P, so it has P’s eigenvalues — nothing about the spectrum has been changed by it. Adding its transpose and halving is what makes the result symmetric, and that is a genuine change: the symmetric part of a matrix does not have the matrix’s eigenvalues, and 𝓛’s spectrum is not a reordering of the directed Laplacian’s. So the construction is not a rewriting of the same object in better coordinates. It is a different matrix, chosen so that a theorem applies to it.

The second route, which is a closed form

A construction this convenient needs checking against something that is not itself, and the directed case supplies one.

If a digraph is balanced — every vertex’s in-degree equal to its out-degree — then its stationary distribution is proportional to the degree, exactly. Substituting that into the definition above collapses it: 𝓛 becomes the ordinary undirected normalised Laplacian of the graph with its arrows removed.

So the check is that on a balanced digraph the two matrices agree entry for entry. They do, to 10⁻¹⁴ at every size from eight to forty-eight, which is the rounding level for a power iteration and a pair of square roots. One matrix comes from an 824-step walk and the other from a formula in the degrees, and they share no arithmetic.

Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.163 at n = 30, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.711151923273110⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst3.9·10⁻¹⁴symmetric, worst1.1·10⁻¹⁶two blocks0.16random strong0.28balanced is undirected in disguiseand nothing else is
Fig. 2 The check across four families. The two flat curves at the rounding level are the ones with a closed form behind them; the two that rise are the families where the direction genuinely adds something, and the largest difference is 0.163.

That is also this essay’s refusal. The natural thing to believe about symmetrising a digraph is that it amounts to ignoring the arrows, and on the two-block family the two matrices differ by 0.163 — which is not a rounding, is not small relative to a matrix whose entries are at most 1, and is what the direction is worth.

What the inequality is about

Cheeger’s inequality for 𝓛 reads

λ₂/2  ≤  Φ(G)  ≤  √(2λ₂)

with Φ(G) the best conductance over all cuts. In the undirected case the conductance of a set S is the weight of the edges leaving it over the volume of the smaller side, and everybody knows what it means: how hard it is to cut the graph there.

Here Φ(S) is

Σ over i in S, j not in S of  φᵢ Pᵢⱼ    divided by    min(φ(S), φ(S̄))

The numerator is the probability that one step of the stationary walk crosses the cut. It is not the weight of the arcs crossing it. It is those arcs weighted by how often the walk is standing at their tail, and on a digraph those two are different numbers.

On the hero’s graph they are 0.1235 and 0.0400 — a factor of three, with the circulation conductance the larger. Read the band as a statement about the arc count and it says the cut is three times better than the walk finds it.

The band itself is wide, which is worth noting before it is read too closely. λ₂ = 0.0662 puts the lower end at 0.0331 and the upper at 0.364, a factor of eleven between them — so Cheeger’s inequality locates the conductance within an order of magnitude and no better. That is the undirected situation too and the essay that measured it says why: the square root on the upper half is not slack, it is attained on a cycle. A factor of three inside a band of eleven is not a violation of anything. It is a substitution the band is too wide to notice, which is the reason it has to be found by naming the quantities rather than by checking the inequality.

What Φ actually weights, in one paragraph

The substitution is easier to hold with a concrete reading of the numerator.

Σ φᵢ Pᵢⱼ over arcs crossing the cut is a sum over those arcs of how much probability mass sits at the tail times what fraction of it leaves along this arc. An arc out of a vertex the walk almost never visits contributes almost nothing, however heavy the arc is; an arc out of a vertex the walk sits on contributes a great deal, however light. So the circulation conductance is the arc weight re-weighted by the walk’s own opinion of where it spends its time.

On an undirected graph that re-weighting is the identity, because φᵢ is the degree share and Pᵢⱼ is the arc weight over the degree, so the product is the arc weight over the total. That cancellation is the entire reason the undirected case never has to make this distinction — and it is a coincidence of undirected graphs rather than a general fact.

Which is bigger is not a fixed answer

The natural next question is whether the substitution has a direction, and the measurement says no.

Across sizes from twenty to thirty-six and one to eight arcs running back across the cut, the ratio between the two quantities runs from 0.25 to 3.09, and passes through 1 on the way. At twenty vertices with four arcs back they agree to five per cent.

That matters for how the finding is stated. A bias could be corrected by a constant and would make the arc conductance a usable proxy with a caveat. A ratio that crosses one, in both directions, depending on the graph, cannot: they are two different quantities that happen to coincide sometimes, and the coincidence is not informative.

It also cost the figure an assertion. The first version asserted that the two differ substantially at every setting, which is false and which its own drag range refused — so what is asserted now is Cheeger’s inequality for the circulation, at every setting, and a factor of three on one fixed reference graph built independently of what the slider is showing.

One sweep cut, two conductances: 0.05784 and 0.2Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 2 arcs back at 30 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.05784 and 0.2, a factor of 3.46 apart. The shaded band is Cheeger's, λ₂/2 = 0.02152 to √(2λ₂) = 0.2934 with λ₂ = 0.04303, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.043λ₂/20.022√(2λ₂)0.29circulation Φ0.058arc conductance0.2their ratio3.5the inequality holdsabout a quantity nobody counts
Fig. 3 Thirty vertices and two arcs back, where the two curves cross twice and the arc conductance is the larger at the best cut.

Why it has to be the walk

It is reasonable to ask why the symmetrisation is not done with something simpler — the degrees, or the arc weights symmetrised directly — and the answer is that neither gives a theorem.

Symmetrising the adjacency matrix and taking the undirected normalised Laplacian of the result is a perfectly well-defined operation. It produces a matrix, it has a Cheeger inequality, and the inequality is about the undirected graph rather than about the digraph: the sweep it justifies finds a good cut of a graph that was not the one asked about. On the two-block family that graph is a different object by 0.163 in the worst entry, and the cut it prefers is a different cut.

The distinction is worth labouring because both operations are called symmetrising and they are not the same operation. One symmetrises the graph and then builds a Laplacian; the other builds the Laplacian and symmetrises it, with respect to a measure the graph supplies. The first throws the arrows away. The second keeps them, in the only place they can be kept once the matrix has to be symmetric — in the weights.

The walk is what makes the inequality a statement about the arrows. It is also the reason two conditions are needed that the undirected case never had:

  • Strong connectivity. A walk on a digraph that is not strongly connected has more than one closed communicating class and therefore more than one stationary distribution, and there is no canonical Φ to symmetrise by. The essay on a chain with no stationary vector is that failure from the Markov side, and the PageRank essays repair it the way everybody does, by adding a teleport — which changes the walk and therefore changes the conductance the inequality is about.
  • Aperiodicity, or a teleport instead. A directed cycle’s walk never converges: the distribution rotates for ever. The construction here uses a teleport of exactly zero on the families that are aperiodic and reports which walk it is using, because the answer is a property of the walk rather than of the graph.
two blocks with 1 arc back: where a walk spends its time, against where the arcs areTwo distributions over the 24 vertices of a two blocks with 1 arc back. The taller bar at each vertex is the stationary distribution of the random walk, computed by 824 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 9.69·10⁻¹⁵; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. They differ by up to 0.0616, which is 62 per cent of the largest entry. The difference is what makes a directed normalised Laplacian a global object: the degree of a vertex is local and how often a walk visits it is not.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices24balanced0worst gap0.062as a share of max φ0.62Pᵀφ − φ9.7·10⁻¹⁵the degree is localand how often a walk visits is not
Fig. 4 The quantity the construction is built on, against the one an undirected intuition reaches for. Six per cent of the mass sits on a different vertex than the degrees predict.

What this leaves the field with

Three statements, and the third is the one worth carrying.

The apparatus is recoverable. A directed graph has a symmetric normalised Laplacian, a real spectrum in [0, 2], a spectral partitioning algorithm and a Cheeger inequality, and all of them reduce to the undirected versions exactly when the graph is balanced. Nothing here is a heuristic, which is worth contrasting with the rest of this field: the sweep cut itself is a heuristic — it searches n − 1 of the 2ⁿ possible cuts — and the essay measuring what that costs is about the gap between the cut it finds and the best one. That gap is unchanged here. What has been recovered is the theorem around the heuristic, not a better heuristic.

The cost is a global computation. Where the undirected case read a degree — an integer, local, free — this one computes a stationary distribution, which is an iteration to a tolerance and depends on the whole graph. So the matrix being partitioned carries an error before its eigenvalues are computed, and the sensitivity of that first step is not something the undirected essays ever had to price.

And the quantity has been substituted. This is the part that survives outside the mathematics. Somebody asking for a good cut of a directed graph usually means few arcs cross it, and what the theorem delivers is the walk rarely crosses it. On the graph in the hero those differ by a factor of three, and on others by a factor of four the other way. A method that answers a question adjacent to the one asked is the harder kind of wrong to notice, because everything about it is correct.

It is also, in a smaller way, the shape of a spanning-tree preconditioner making a grid worse: a theorem that holds exactly, applied to an object it is genuinely about, delivering something the person who invoked it did not want. The remedy in both cases is to read what quantity is on which side of the inequality, and that is the whole content of this essay.

That is the same shape as the two undirected Laplacians, where one minimises a cut counting vertices and the other a cut counting edge endpoints, and quoting Cheeger’s inequality about the wrong one is out by 19× on the complete graph. The directed case adds a third object to the pair, and the arithmetic that decides between them is a walk.

The lower bound is attained and the upper one is out by 37.3×Cheeger's inequality on nine graphs of about 40 vertices each: for the normalised Laplacian's λ₂, λ₂/2 ≤ φ ≤ √(2λ₂), where φ is the conductance the sweep cut actually achieves. Each row shows the two bounds as a bar and the measured conductance as a dot inside it. The lower bound is tight on the complete at a ratio of 1. The upper bound is loosest on the barbell — by a factor of 37.3 — which is the graph in the census with a real bottleneck, and therefore the shape the inequality is always quoted about. The square root is what makes it loose: it is the price of turning a spectral quantity into a combinatorial guarantee, and it is paid where the guarantee is wanted.10⁻³10⁻²10⁻¹110¹12345678910conductance, and the two bounds on itpathcyclegridbarbelltwo blockshypercubepreferentialstarcompletethe bar is the inequalitythe dot is the graph
Fig. 5 The undirected inequality on nine graphs, where the quantity in the middle is the one everybody means.

Where the construction’s own error comes from

The undirected essays in this field can treat the matrix as exact. This one cannot, and it is worth locating the error rather than waving at it.

Three roundings enter before an eigenvalue is computed. The stationary distribution is the fixed point of a power iteration, stopped at a tolerance — 824 steps to 10⁻¹⁴ on the hero’s graph. The square roots of its entries are correctly rounded and are not exact, which is exactly the situation the normalised Laplacian’s inexact null vector describes in the undirected case. And the entries of 𝓛 are then quotients of those square roots.

The consequence is a matrix that is symmetric only to the rounding level, which the routine checks rather than assumes: the measured relative asymmetry is below 10⁻¹² on every family drawn, and the figure fails rather than symmetrising by hand if it is not. A matrix that is nearly symmetric fed to a symmetric eigensolver is a small perturbation of a symmetric problem, and symmetric eigenvalues are perfectly conditioned, so the eigenvalues inherit the perturbation and not an amplification of it.

Which is a mild answer, and it is worth saying so: the construction is not numerically delicate. What it is, is dependent on a computation that the undirected case got for free, and the difference shows up as a tolerance and an iteration count rather than as an inaccuracy.

The teleport, which changes the question

One detail in the construction has to be reported rather than buried, because it changes what the answer is about.

A walk on a graph that is not strongly connected has no unique stationary distribution, and the universal repair is a teleport: with probability 1 − α the walk jumps to a uniformly chosen vertex. That makes the chain irreducible and aperiodic whatever the graph is, so φ exists and is unique.

It also makes φ the stationary distribution of a different walk. The conductance the Cheeger inequality then bounds is the conductance of that walk, which includes the teleport’s own crossings of the cut — and at α = 0.85, the value everybody uses, a substantial part of the circulation across any cut is teleportation rather than the graph.

The figures here use α = 1 on the families that are strongly connected and aperiodic, so the walk is the graph’s own and the numbers mean what they say. That is a choice the families make available and a real digraph often does not, which is why the readout names the walk rather than only the graph.

Contracting by 0.7668 where the folk rate says 0.85The PageRank power iteration on a connected fifty-vertex graph, at α = 0.85, plotted as the change between successive iterates. The upper dashed line is αᵏ, the rate every account of the method quotes. The lower one is (α·λ₂(P))ᵏ, which is what the second eigenvalue of the Google matrix actually is: λ₂(P) = 0.90238 here. The measured contraction over the run is 0.76683. The two agree exactly when λ₂(P) = 1, which happens exactly when the link graph has more than one closed communicating class — which every real one does, and which is why a statement that is false of connected graphs has never been noticed to be. The answer is checked against one elimination of I − αP̃, which agrees to 1.04·10⁻¹⁶.01428425670849810⁻¹⁶10⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²iterationchange between iteratestwo rates, one curveα0.85λ₂(P)0.9predicted rate0.77measured0.77iterations108against the solve10⁻¹⁶the upper dashed line is αᵏthe curve is on the other one
Fig. 6 The same repair on the other directed walk this site computes, where the teleport is the model rather than a patch on one.

At other settings

One sweep cut, two conductances: 0.1436 and 0.1304Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 4 arcs back at 20 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.1436 and 0.1304, a factor of 1.1 apart. The shaded band is Cheeger's, λ₂/2 = 0.06269 to √(2λ₂) = 0.5008 with λ₂ = 0.1254, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.13λ₂/20.063√(2λ₂)0.5circulation Φ0.14arc conductance0.13their ratio1.1the inequality holdsabout a quantity nobody counts
Fig. 7 The setting where the two conductances agree to five per cent, which is what refused the assertion that they always differ.
One sweep cut, two conductances: 0.06056 and 0.02703Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 1 arc back at 36 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.06056 and 0.02703, a factor of 2.24 apart. The shaded band is Cheeger's, λ₂/2 = 0.01736 to √(2λ₂) = 0.2635 with λ₂ = 0.03472, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.035λ₂/20.017√(2λ₂)0.26circulation Φ0.061arc conductance0.027their ratio2.2the inequality holdsabout a quantity nobody counts
Fig. 8 Thirty-six vertices with one arc back, where the ratio is 2.24.
One sweep cut, two conductances: 0.06916 and 0.125Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 8 arcs back at 44 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.06916 and 0.125, a factor of 1.81 apart. The shaded band is Cheeger's, λ₂/2 = 0.02056 to √(2λ₂) = 0.2868 with λ₂ = 0.04113, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.041λ₂/20.021√(2λ₂)0.29circulation Φ0.069arc conductance0.13their ratio1.8the inequality holdsabout a quantity nobody counts
Fig. 9 The largest graph and the most arcs back, where the cut is barely a cut.
Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.1902 at n = 48, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.71115192327313539434710⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst1.5·10⁻¹³symmetric, worst1.1·10⁻¹⁶two blocks0.19random strong0.31balanced is undirected in disguiseand nothing else is
Fig. 10 The closed-form check taken out to forty-eight vertices, where the flat curves stay flat.
Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.08215 at n = 12, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.71110⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst1.3·10⁻¹⁴symmetric, worst1.1·10⁻¹⁶two blocks0.082random strong0.21balanced is undirected in disguiseand nothing else is
Fig. 11 And at the smallest sizes, where the two-block family is still nearly symmetric.
balanced digraph on 32: where a walk spends its time, against where the arcs areTwo distributions over the 32 vertices of a balanced digraph on 32. The taller bar at each vertex is the stationary distribution of the random walk, computed by 388 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 1.01·10⁻¹⁴; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. On this family they agree to 1.64·10⁻¹⁴, because the digraph is balanced and the closed form says they must. That is the second route the whole construction is checked by.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices32balanced1worst gap1.6·10⁻¹⁴as a share of max φ3.5·10⁻¹³Pᵀφ − φ10⁻¹⁴the degree is localand how often a walk visits is not
Fig. 12 A balanced digraph, where the closed form makes the two distributions the same object.
random strongly connected on 24: where a walk spends its time, against where the arcs areTwo distributions over the 24 vertices of a random strongly connected on 24. The taller bar at each vertex is the stationary distribution of the random walk, computed by 157 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 7.76·10⁻¹⁵; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. They differ by up to 0.0806, which is 70 per cent of the largest entry. The difference is what makes a directed normalised Laplacian a global object: the degree of a vertex is local and how often a walk visits it is not.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices24balanced0worst gap0.081as a share of max φ0.7Pᵀφ − φ7.8·10⁻¹⁵the degree is localand how often a walk visits is not
Fig. 13 And a random strongly connected one, where they disagree at every vertex.
two blocks with 1 arc back: a Laplacian whose eigenvalues need a planeThe spectrum of L = D_out − A for a two blocks with 1 arc back, drawn in the complex plane. The row sums are exactly zero — measured at 0, not at the rounding level — so 1 is a right null vector and 0 is an eigenvalue, computed here at 1.03·10⁻¹⁵. The column sums are not: the worst is 2, and the left null vector is the stationary distribution rather than 1. The largest imaginary part is 0.1864 and the matrix is 24 per cent asymmetric in the Frobenius norm — and those two numbers are not the same statement: asymmetry permits a complex spectrum and does not force one, which this family demonstrates at small sizes by being asymmetric and real. There is no closed form for this family; the degenerate check is the symmetric one, where every imaginary part is exactly zero.Re λIm λwhat survives the arrowsvertices24arcs53worst row sum0worst column sum2largest |Im λ|0.19asymmetry0.24the null vector is still exactand nothing else about the spectrum is real
Fig. 14 The unsymmetrised Laplacian of the same graph, whose spectrum this construction replaces.
One real vector, 39 candidate cuts, and the best of them is number 20The Fiedler vector of the two blocks 40, its entries sorted, drawn as the pale rising curve against the right-hand scale; and against the logarithmic left-hand scale, the conductance of the cut that takes the first k vertices in that order. λ₂ = 1.4579. The eigenvector is a real vector and the answer wanted is a subset, so something has to round it: the sweep takes every prefix and keeps the best, which here is k = 20 at a conductance of 0.08491 against a worst prefix of 1 — a factor of 11.8 between the best cut this vector offers and the worst. Nothing in the eigenvalue problem chose k; the sorting did.071421283510⁻¹1vertices on the smaller sideconductance of the prefix cut0.0849, the best prefixthe rounding stepλ₂1.5cuts considered39best conductance0.085at k =20worst prefix1the dashed curve is the eigenvectorthe solid one is what it costs
Fig. 15 The undirected sweep cut this one is modelled on.
The lower bound is attained and the upper one is out by 21.5×Cheeger's inequality on nine graphs of about 24 vertices each: for the normalised Laplacian's λ₂, λ₂/2 ≤ φ ≤ √(2λ₂), where φ is the conductance the sweep cut actually achieves. Each row shows the two bounds as a bar and the measured conductance as a dot inside it. The lower bound is tight on the complete at a ratio of 1. The upper bound is loosest on the barbell — by a factor of 21.5 — which is the graph in the census with a real bottleneck, and therefore the shape the inequality is always quoted about. The square root is what makes it loose: it is the price of turning a spectral quantity into a combinatorial guarantee, and it is paid where the guarantee is wanted.10⁻³10⁻²10⁻¹110¹12345678910conductance, and the two bounds on itpathcyclegridbarbelltwo blockshypercubepreferentialstarcompletethe bar is the inequalitythe dot is the graph
Fig. 16 The undirected band at a smaller size.
Contracting by 0.7668 where the folk rate says 0.85The PageRank power iteration on a connected fifty-vertex graph, at α = 0.85, plotted as the change between successive iterates. The upper dashed line is αᵏ, the rate every account of the method quotes. The lower one is (α·λ₂(P))ᵏ, which is what the second eigenvalue of the Google matrix actually is: λ₂(P) = 0.90238 here. The measured contraction over the run is 0.76683. The two agree exactly when λ₂(P) = 1, which happens exactly when the link graph has more than one closed communicating class — which every real one does, and which is why a statement that is false of connected graphs has never been noticed to be. The answer is checked against one elimination of I − αP̃, which agrees to 1.04·10⁻¹⁶.01428425670849810⁻¹⁶10⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²iterationchange between iteratestwo rates, one curveα0.85λ₂(P)0.9predicted rate0.77measured0.77iterations108against the solve10⁻¹⁶the upper dashed line is αᵏthe curve is on the other one
Fig. 17 The other directed walk on this site, whose teleport is the same repair.
two blocks 40: 40 vertices, 223 edges, and a matrix built from themThe two blocks 40 laid out at its own second and third Laplacian eigenvectors, so the picture is the same object the measurements are about. The Laplacian L = D − A is built by subtraction of integers, so every row sums to exactly zero — measured at 0, not at the rounding level — and L·1 is the zero vector with no arithmetic error anywhere in it. Its 1 zero eigenvalue counts the connected components, which breadth-first search also puts at 1; the smallest non-zero eigenvalue is 1.458 and the largest computed zero is 4.26·10⁻¹⁶, a gap of 3.42·10¹⁵. The quadratic form xᵀLx is Σ over edges of (xᵢ − xⱼ)², which at the alternating vector is 444.the matrix, measuredvertices40edges223‖L·1‖∞0zero eigenvalues1components, by search1λ₂1.5laid out at its own eigenvectorsand the row sums are exactly zero
Fig. 18 The undirected two-block graph, for the shape the directed family is built from.
One sweep cut, two conductances: 0.09524 and 0.1765Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 1 arc back at 16 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.09524 and 0.1765, a factor of 1.85 apart. The shaded band is Cheeger's, λ₂/2 = 0.04659 to √(2λ₂) = 0.4317 with λ₂ = 0.09317, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.093λ₂/20.047√(2λ₂)0.43circulation Φ0.095arc conductance0.18their ratio1.9the inequality holdsabout a quantity nobody counts
Fig. 19 Sixteen vertices, where the two curves nearly coincide.
One sweep cut, two conductances: 0.1369 and 0.375Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 6 arcs back at 24 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.1369 and 0.375, a factor of 2.74 apart. The shaded band is Cheeger's, λ₂/2 = 0.05558 to √(2λ₂) = 0.4715 with λ₂ = 0.1112, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.11λ₂/20.056√(2λ₂)0.47circulation Φ0.14arc conductance0.38their ratio2.7the inequality holdsabout a quantity nobody counts
Fig. 20 Six arcs back, where the cut is weaker and the band wider.
One sweep cut, two conductances: 0.04307 and 0.1515Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 2 arcs back at 40 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.04307 and 0.1515, a factor of 3.52 apart. The shaded band is Cheeger's, λ₂/2 = 0.01611 to √(2λ₂) = 0.2539 with λ₂ = 0.03223, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.032λ₂/20.016√(2λ₂)0.25circulation Φ0.043arc conductance0.15their ratio3.5the inequality holdsabout a quantity nobody counts
Fig. 21 Forty vertices with two arcs back.
Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.1459 at n = 18, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.711151910⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst3.1·10⁻¹⁴symmetric, worst1.1·10⁻¹⁶two blocks0.15random strong0.22balanced is undirected in disguiseand nothing else is
Fig. 22 The closed-form check at small sizes.
Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.1683 at n = 38, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.7111519232731353910⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst9.7·10⁻¹⁴symmetric, worst1.1·10⁻¹⁶two blocks0.17random strong0.28balanced is undirected in disguiseand nothing else is
Fig. 23 And out to thirty-eight, where the flat curves are still flat.
directed cycle on 24: where a walk spends its time, against where the arcs areTwo distributions over the 24 vertices of a directed cycle on 24. The taller bar at each vertex is the stationary distribution of the random walk, computed by 1 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 0; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. On this family they agree to 2.08·10⁻¹⁷, because the digraph is balanced and the closed form says they must. That is the second route the whole construction is checked by.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices24balanced1worst gap2.1·10⁻¹⁷as a share of max φ5·10⁻¹⁶Pᵀφ − φ0the degree is localand how often a walk visits is not
Fig. 24 A directed cycle, where both distributions are uniform.
symmetric digraph on 24: where a walk spends its time, against where the arcs areTwo distributions over the 24 vertices of a symmetric digraph on 24. The taller bar at each vertex is the stationary distribution of the random walk, computed by 51 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 3.53·10⁻¹⁵; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. On this family they agree to 2.23·10⁻¹⁵, because the digraph is balanced and the closed form says they must. That is the second route the whole construction is checked by.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices24balanced1worst gap2.2·10⁻¹⁵as a share of max φ3.4·10⁻¹⁴Pᵀφ − φ3.5·10⁻¹⁵the degree is localand how often a walk visits is not
Fig. 25 And a symmetric digraph, where they coincide for the undirected reason.
random strongly connected on 30: a Laplacian whose eigenvalues need a planeThe spectrum of L = D_out − A for a random strongly connected on 30, drawn in the complex plane. The row sums are exactly zero — measured at 0, not at the rounding level — so 1 is a right null vector and 0 is an eigenvalue, computed here at 5.98·10⁻¹⁶. The column sums are not: the worst is 3, and the left null vector is the stationary distribution rather than 1. The largest imaginary part is 1.174 and the matrix is 70 per cent asymmetric in the Frobenius norm — and those two numbers are not the same statement: asymmetry permits a complex spectrum and does not force one, which this family demonstrates at small sizes by being asymmetric and real. There is no closed form for this family; the degenerate check is the symmetric one, where every imaginary part is exactly zero.Re λIm λwhat survives the arrowsvertices30arcs72worst row sum0worst column sum3largest |Im λ|1.2asymmetry0.7the null vector is still exactand nothing else about the spectrum is real
Fig. 26 The unsymmetrised spectrum this construction replaces.
balanced digraph on 24: a Laplacian whose eigenvalues need a planeThe spectrum of L = D_out − A for a balanced digraph on 24, drawn in the complex plane. The row sums are exactly zero — measured at 0, not at the rounding level — so 1 is a right null vector and 0 is an eigenvalue, computed here at 3.89·10⁻¹⁶. The column sums are not: the worst is 0, and the left null vector is the stationary distribution rather than 1. The largest imaginary part is 1.505 and the matrix is 82.5 per cent asymmetric in the Frobenius norm — and those two numbers are not the same statement: asymmetry permits a complex spectrum and does not force one, which this family demonstrates at small sizes by being asymmetric and real. There is no closed form for this family; the degenerate check is the symmetric one, where every imaginary part is exactly zero.Re λIm λwhat survives the arrowsvertices24arcs45worst row sum0worst column sum0largest |Im λ|1.5asymmetry0.82the null vector is still exactand nothing else about the spectrum is real
Fig. 27 The balanced family, where the reduction is exact and the matrix is not symmetric.
grid 6×6: 36 vertices, 60 edges, and a matrix built from themThe grid 6×6 laid out at its own second and third Laplacian eigenvectors, so the picture is the same object the measurements are about. The Laplacian L = D − A is built by subtraction of integers, so every row sums to exactly zero — measured at 0, not at the rounding level — and L·1 is the zero vector with no arithmetic error anywhere in it. Its 1 zero eigenvalue counts the connected components, which breadth-first search also puts at 1; the smallest non-zero eigenvalue is 0.2679 and the largest computed zero is 2.36·10⁻¹⁶, a gap of 1.13·10¹⁵. The quadratic form xᵀLx is Σ over edges of (xᵢ − xⱼ)², which at the alternating vector is 120.the matrix, measuredvertices36edges60‖L·1‖∞0zero eigenvalues1components, by search1λ₂0.27laid out at its own eigenvectorsand the row sums are exactly zero
Fig. 28 An undirected graph laid out at its own eigenvectors, which a digraph has none of.
One sweep cut, two conductances: 0.07107 and 0.2143Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 4 arcs back at 34 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.07107 and 0.2143, a factor of 3.02 apart. The shaded band is Cheeger's, λ₂/2 = 0.0313 to √(2λ₂) = 0.3539 with λ₂ = 0.06261, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.063λ₂/20.031√(2λ₂)0.35circulation Φ0.071arc conductance0.21their ratio3the inequality holdsabout a quantity nobody counts
Fig. 29 Thirty-four vertices with four arcs back.
One sweep cut, two conductances: 0.125 and 0.1538Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 1 arc back at 12 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.125 and 0.1538, a factor of 1.23 apart. The shaded band is Cheeger's, λ₂/2 = 0.06279 to √(2λ₂) = 0.5012 with λ₂ = 0.1256, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.13λ₂/20.063√(2λ₂)0.5circulation Φ0.12arc conductance0.15their ratio1.2the inequality holdsabout a quantity nobody counts
Fig. 30 The smallest graph the sweep is drawn over.
One sweep cut, two conductances: 0.06004 and 0.12Every prefix of the sweep over the second eigenvector of Chung's Laplacian, on two blocks with 3 arcs back at 44 vertices, with two quantities plotted for each. The circulation conductance is the probability that a step of the stationary walk crosses the cut, divided by the smaller side's stationary mass; the arc conductance is the weight of arcs crossing it, divided by the smaller side's degree. At the best cut they are 0.06004 and 0.12, a factor of 2 apart. The shaded band is Cheeger's, λ₂/2 = 0.01989 to √(2λ₂) = 0.282 with λ₂ = 0.03978, and it is a statement about the first quantity only. Reading it as a statement about the second is the substitution this figure exists to separate.Cheeger's band, for the circulationcirculation · arcsvertices on the smaller sidewhich of the two the theorem is aboutλ₂ of 𝓛0.04λ₂/20.02√(2λ₂)0.28circulation Φ0.06arc conductance0.12their ratio2the inequality holdsabout a quantity nobody counts
Fig. 31 And the largest.
Chung's Laplacian against the undirected one, on four familiesThe worst entrywise difference between the directed normalised Laplacian and the undirected normalised Laplacian of the same graph with its arrows removed. On the balanced and symmetric families the difference is at the rounding level at every size — 10⁻¹⁴ and below — because a balanced digraph's stationary distribution is its degree distribution and the construction then collapses to the undirected one. On the two-block family with a single arc back the difference is 0.1473 at n = 24, which is the size of what the direction adds. The two curves are the same computation and the flat one is a closed form, so this figure is the field's second route rather than a comparison.71115192310⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²verticesworst entrywise differencetwo blocks · random strongbalanced · symmetrica closed form, and what it excludesbalanced, worst3.7·10⁻¹⁴symmetric, worst1.1·10⁻¹⁶two blocks0.15random strong0.28balanced is undirected in disguiseand nothing else is
Fig. 32 The check at twenty-four vertices.
two blocks with 1 arc back: where a walk spends its time, against where the arcs areTwo distributions over the 40 vertices of a two blocks with 1 arc back. The taller bar at each vertex is the stationary distribution of the random walk, computed by 2899 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 9.87·10⁻¹⁵; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. They differ by up to 0.0447, which is 75.1 per cent of the largest entry. The difference is what makes a directed normalised Laplacian a global object: the degree of a vertex is local and how often a walk visits it is not.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices40balanced0worst gap0.045as a share of max φ0.75Pᵀφ − φ9.9·10⁻¹⁵the degree is localand how often a walk visits is not
Fig. 33 The gap between walk and degree at forty vertices.
balanced digraph on 18: where a walk spends its time, against where the arcs areTwo distributions over the 18 vertices of a balanced digraph on 18. The taller bar at each vertex is the stationary distribution of the random walk, computed by 298 power iterations with no subtraction anywhere and checked against Pᵀφ = φ at 8.78·10⁻¹⁵; the narrower one is the out-degree divided by the total, which is what an undirected intuition reaches for. On this family they agree to 2·10⁻¹⁴, because the digraph is balanced and the closed form says they must. That is the second route the whole construction is checked by.stationary distribution · out-degree sharevertexthe quantity that replaces the degreevertices18balanced1worst gap2·10⁻¹⁴as a share of max φ2·10⁻¹³Pᵀφ − φ8.8·10⁻¹⁵the degree is localand how often a walk visits is not
Fig. 34 And the family where the closed form closes it.
directed cycle on 24: a Laplacian whose eigenvalues need a planeThe spectrum of L = D_out − A for a directed cycle on 24, drawn in the complex plane. The row sums are exactly zero — measured at 0, not at the rounding level — so 1 is a right null vector and 0 is an eigenvalue, computed here at 2.37·10⁻¹⁶. The column sums are not: the worst is 0, and the left null vector is the stationary distribution rather than 1. The largest imaginary part is 1 and the matrix is 100 per cent asymmetric in the Frobenius norm — and those two numbers are not the same statement: asymmetry permits a complex spectrum and does not force one, which this family demonstrates at small sizes by being asymmetric and real. The ring is the closed form 1 − exp(2πik/n), which every computed eigenvalue lands on to 1.3·10⁻¹⁵.Re λIm λwhat survives the arrowsvertices24arcs24worst row sum0worst column sum0largest |Im λ|1asymmetry1the null vector is still exactand nothing else about the spectrum is real
Fig. 35 The spectrum of the object before it is symmetrised.
barbell 12: 24 vertices, 133 edges, and a matrix built from themThe barbell 12 laid out at its own second and third Laplacian eigenvectors, so the picture is the same object the measurements are about. The Laplacian L = D − A is built by subtraction of integers, so every row sums to exactly zero — measured at 0, not at the rounding level — and L·1 is the zero vector with no arithmetic error anywhere in it. Its 1 zero eigenvalue counts the connected components, which breadth-first search also puts at 1; the smallest non-zero eigenvalue is 0.1443 and the largest computed zero is 8.24·10⁻¹⁶, a gap of 1.75·10¹⁴. The quadratic form xᵀLx is Σ over edges of (xᵢ − xⱼ)², which at the alternating vector is 292.the matrix, measuredvertices24edges133‖L·1‖∞0zero eigenvalues1components, by search1λ₂0.14laid out at its own eigenvectorsand the row sums are exactly zero
Fig. 36 An undirected barbell, whose cut the arcs would make ambiguous.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Cheeger inequalityConductanceDirected graphGraph laplacianQuadratic formSpectral partitioningStationary distribution