TCSLib

137 Cycle Space Bond Space

137.1 Cycle Space Bond Space

Definition 137.1 B&M’s unimodular (Thm 12.3, p. 226): every full square submatrix (order \(\nu - 1\), selected by an…
✓
#

B&M’s unimodular (Thm 12.3, p. 226): every full square submatrix (order \(\nu \)\(-\)1, selected by an injective column map) has determinant 0, +1 or -1.

A matrix is said to be unimodular if all its full square submatrices have determinants 0, +1 or -1.

Definition 137.2 B&M’s oriented incidence matrix \(M\) (p. 222)
✓
#

B&M’s oriented incidence matrix M (p. 222).

With each vertex v of D we associate the function m_v on A defined by

m_v(a) = 1 if a is a link and v is the tail of a = -1 if a is a link and v is the head of a = 0 otherwise

The incidence matrix of D is the matrix M whose rows are the functions m_v.

Definition 137.3 The cycle space \(\mathcal{C}\): circulations, i.e
✓
#

The cycle space \(\mathcal{C}\): circulations, i.e. M *\(_{v}\) f = 0, B&M’s (12.1).

Let D be a digraph. A real-valued function f on A is called a circulation in D if it satisfies the conservation condition at each vertex:

f\(^{-}\)(v) = f\(^{+}\)(v) for all v \(\in \) V (12.1)

If we think of D as an electrical network, then such a function f represents a circulation of currents in D. … Thus the set of all circulations in D is a vector space. We denote this space by \(\mathcal{C}\). … We shall see later on that each circulation is a linear combination of the circulations associated with cycles. For this reason we refer to \(\mathcal{C}\) as the cycle space of D.

Definition 137.4 The bond space \(\mathcal{B}\): potential differences, i.e
✓
#

The bond space \(\mathcal{B}\): potential differences, i.e. g = M\(^{T}\) *\(_{v}\) p, B&M’s (12.2).

Given a function p on the vertex set V of D, we define the function \(\delta \)p on the arc set A by the rule that, if an arc a has tail x and head y, then

\(\delta \)p(a) = p(x) - p(y) (12.2)

If D is thought of as an electrical network with potential p(v) at v, then, by (12.2), \(\delta \)p represents the potential difference along the wires of the network. For this reason a function g on A is called a potential difference in D if g = \(\delta \)p for some function p on V. … the set \(\mathcal{B}\) of all potential differences in D is a vector space. … We shall see that each potential difference is a linear combination of potential differences associated with bonds. For this reason we refer to \(\mathcal{B}\) as the bond space of D.

Definition 137.5 The standard dot-product bilinear form on \(K \to K\) (here \(A \to F\))
✓
#

The standard dot-product bilinear form on K \(\to \) K (here A \(\to \) F).

Definition 137.6 \(G\) is the underlying (simple) graph of the digraph (tail, head)
✓
#

G is the underlying (simple) graph of the digraph (tail, head).

The underlying graph of a digraph is obtained by forgetting the direction of every arc.

Definition 137.7 (tail, head) is an orientation of the simple graph \(G\)
✓
#

(tail, head) is an orientation of the simple graph G.

Definition 137.8 An arc-level cycle in the digraph, as a nonempty closed arc-sequence
#

An arc-level cycle in the digraph, as a nonempty closed arc-sequence.

Definition 137.9 \(S \subseteq A\) is acyclic: it contains no arc-cycle
✓
#

S \(\subseteq \) A is acyclic: it contains no arc-cycle.

Definition 137.10 \(f_C\): the circulation of an oriented cycle (\(\pm 1\) on \(C^{+} / C^{-}\), \(0\) off \(C\))
#

f_C: the circulation of an oriented cycle (\(\pm \)1 on C\(^{+}\) / C\(^{-}\), 0 off C).

We associate with C the function f_C defined by

f_C(a) = 1 if a \(\in \) C\(^{+}\) = -1 if a \(\in \) C \ C\(^{+}\) = 0 if a \(\notin \) C

Clearly, f_C satisfies (12.1) and hence is a circulation.

Definition 137.11 B&M’s edge cut \((S, \bar{S})\): the arcs with exactly one end in \(S\)
✓
#

B&M’s edge cut [S, \(\bar{S}\)]: the arcs with exactly one end in S.

[S, \(\bar{S}\)] is the set of edges with one end in S and the other outside.

Definition 137.12 A bond: a minimal nonempty edge cut
✓
#

A bond: a MINIMAL nonempty edge cut.

A minimal nonempty edge cut of G is called a bond.

Definition 137.13 \(g_B\): the potential difference of a bond, \(p =\) indicator of \(S\) (B&M give it, p. 221)
✓
#

g_B: the potential difference of a bond, p = indicator of S (B&M give it, p. 221).

Let B = [S, \(\bar{S}\)] be a bond of D. We define g_B by

g_B(a) = 1 if a \(\in \) (S, \(\bar{S}\)) = -1 if a \(\in \) (\(\bar{S}\), S) = 0 if a \(\notin \) B

It can be verified that g_B = \(\delta \)p where p(v) = 1 if v \(\in \) S and 0 if v \(\in \) \(\bar{S}\).

Definition 137.14 A basis matrix of a submodule \(W \le (A \to F)\): its rows are a basis of \(W\)
✓
#

A basis matrix of a submodule W \(\le \) (A \(\to \) F): its rows are a basis of W.

A matrix B is called a basis matrix of \(\mathcal{B}\) if the rows of B form a basis for \(\mathcal{B}\); a basis matrix of \(\mathcal{C}\) is similarly defined.

Definition 137.15 Restrict Cols
✓
#

M | S — B&M’s column restriction (Matrix.submatrix).

If R is a matrix whose columns are labelled with the elements of A, and if S \(\subseteq \) A, we shall denote by R | S the submatrix of R consisting of those columns labelled with elements in S. If R has a single row, our notation is the same as the usual notation for the restriction of a function to a subset of its domain.

Definition 137.16 A spanning tree of the digraph
#

A spanning tree of the digraph. Structural predicate; body deferred.

A spanning subgraph that is a tree.

Definition 137.17 A maximal forest of the digraph
#

A maximal forest of the digraph. Structural predicate; body deferred.

Definition 137.18 The fundamental cycle of \(a \notin T\) (\(T + a\) contains a unique cycle)

The fundamental cycle of a \(\notin \) T (T + a contains a unique cycle). path_unique‘.

Let T be a maximal forest of D. Associated with T is a special basis matrix of \(\mathcal{C}\). If a is an arc of \(\bar{T}\), then T + a contains a unique cycle. Let C_a denote this cycle and let f_a denote the circulation corresponding to C_a, defined so that f_a(a) = 1.

Definition 137.19 The vertex set \(S\) of the fundamental bond of \(a \in T\) (\(\bar{T} + a\) contains a unique bond, B&M’s…
#

The vertex set S of the fundamental bond of a \(\in \) T (\(\bar{T}\) + a contains a unique bond, B&M’s out-of-chapter Thm 2.6).

Analogously, if a is an arc of T, then \(\bar{T}\) + a contains a unique bond (see theorem 2.6). Let B_a denote this bond and g_a the potential difference corresponding to B_a, defined so that g_a(a) = 1.

Definition 137.20 \(B\) is the tree-\(T\) basis matrix of the bond space (rows indexed by \(T\))
#

B is the tree-T basis matrix of the bond space (rows indexed by T).

The (\(\nu \)-\(\omega \)) \(\times \) \(\varepsilon \) matrix B whose rows are g_a, a \(\in \) T, is a basis matrix of \(\mathcal{B}\), called the basis matrix of \(\mathcal{B}\) corresponding to T.

Definition 137.21 \(C\) is the tree-\(T\) basis matrix of the cycle space (rows indexed by \(\bar{T}\))
#

C is the tree-T basis matrix of the cycle space (rows indexed by \(\bar{T}\)).

The (\(\varepsilon \)-\(\nu \)+\(\omega \)) \(\times \) \(\varepsilon \) matrix C whose rows are f_a, a \(\in \) \(\bar{T}\), is a basis matrix of \(\mathcal{C}\). This follows from the fact that each row is a circulation and that rank C = \(\varepsilon \) - \(\nu \) + \(\omega \) (because C | \(\bar{T}\) is an identity matrix). We refer to C as the basis matrix of \(\mathcal{C}\) corresponding to T.

Definition 137.22 \(\tau (G)\): the number of spanning trees
#

\(\tau \)(G): the number of spanning trees.

\(\tau \)(G) denotes the number of spanning trees of G.

Theorem 137.23 The bond space is the row space of the incidence matrix
✓

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), each arc \(a\) having a tail and a head in \(V\), and let \(F\) be a field. Let \(M\) be the oriented incidence matrix of \(D\) over \(F\), the \(V \times A\) matrix whose row \(m_v\) records, for each arc, whether \(v\) is its tail (\(+1\)), its head (\(-1\)), or neither (\(0\)). Then the bond space \(\mathcal{B} \subseteq F^{A}\) of \(D\) — the space of potential differences — coincides with the row space of \(M\), that is, with the subspace of \(F^{A}\) spanned by the rows \(\{ m_v : v \in V\} \).

Theorem 137.24 Cycle space as the orthogonal complement of the bond space
✓

Let \(D\) be a directed graph with finite vertex set \(V\) and finite arc set \(A\), and let \(F\) be a field. Equip the space \(F^A\) of \(F\)-valued functions on the arcs with the standard dot-product bilinear form \(\langle f, g\rangle = \sum _{a \in A} f(a)\, g(a)\). Then the cycle space \(\mathcal{C} \subseteq F^A\) (the circulations) is exactly the orthogonal complement of the bond space \(\mathcal{B} \subseteq F^A\) (the potential differences) with respect to this form; that is, \(\mathcal{C} = \{ \, f \in F^A : \langle f, g\rangle = 0 \text{ for all } g \in \mathcal{B} \, \} \).

Theorem 137.25 Nonzero circulations contain an arc-cycle
✓

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), and let \(F\) be a field. If \(f \colon A \to F\) is a circulation on \(D\) — that is, \(f\) lies in the cycle space \(\mathcal{C}\) — and \(f\) is not identically zero, then there exists an arc-cycle \(c\) in \(D\) (a nonempty closed arc-sequence) all of whose arcs lie in the support of \(f\), i.e. every arc appearing in \(c\) satisfies \(f(a) \neq 0\).

Theorem 137.26 Every nonzero potential difference contains a bond in its support
✓

Let \(D\) be a directed graph with finite vertex set \(V\) and finite arc set \(A\), and let \(F\) be a field. Suppose \(g \colon A \to F\) is a potential difference in \(D\) — that is, \(g\) lies in the bond space \(\mathcal{B}\) — and that \(g\) is not identically zero. Then there is a bond \(B\) of \(D\) (a minimal nonempty edge cut) all of whose arcs lie in the support of \(g\), i.e. \(B \subseteq \{ a \in A : g(a) \neq 0\} \).

Theorem 137.27 Independent columns of a bond-space basis matrix mark acyclic arc sets

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), each arc \(a\) assigned a tail and a head in \(V\), and let \(F\) be a field. Write \(\mathcal{B} \le (A \to F)\) for the bond space of \(D\), the space of potential differences \(\delta p\) arising from functions \(p\) on \(V\). Suppose \(B\) is a basis matrix of \(\mathcal{B}\), so that the rows of \(B\) form a basis of \(\mathcal{B}\), and let \(S \subseteq A\). Then the columns of the restricted matrix \(B \mid S\), indexed by the arcs in \(S\), are linearly independent over \(F\) if and only if \(S\) is acyclic, i.e. contains no arc-cycle of \(D\).

Theorem 137.28 Independence of cycle-space basis-matrix columns and bonds
✓

Let \(V\) and \(A\) be finite sets of vertices and arcs, let each arc \(a\in A\) have a tail \(\mathrm{tail}(a)\in V\) and a head \(\mathrm{head}(a)\in V\), and let \(F\) be a field, so that the cycle space \(\mathcal{C}\le (A\to F)\) is defined. Let \(C\) be a basis matrix of \(\mathcal{C}\) — a matrix whose rows form a basis of \(\mathcal{C}\) — and let \(S\subseteq A\) be a finite set of arcs. Then the columns of the restriction \(C\mid S\) (the submatrix of \(C\) keeping exactly the columns labelled by elements of \(S\)) are linearly independent over \(F\) if and only if \(S\) contains no bond, that is, there is no bond \(B\) with \(B\subseteq S\).

Theorem 137.29 Dimension of the bond space
✓

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), specified by its tail and head maps \(A \to V\), and let \(G\) be the underlying simple graph of \(D\). Working over the real field, the bond space \(\mathcal{B}\) of \(D\) — the space of potential differences on the arcs — satisfies

\[ \dim \mathcal{B} \; =\; \left\lvert V\right\rvert - \omega , \]

where \(\omega \) is the number of connected components of \(G\).

Theorem 137.30 Dimension of the cycle space
✓

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), given by its tail and head maps, and let \(G\) be its underlying simple graph. Then, working over \(\mathbb {R}\), the dimension of the cycle space \(\mathcal{C}\) of \(D\) is

\[ \dim _{\mathbb {R}}\mathcal{C} = \left\lvert A\right\rvert - \left\lvert V\right\rvert + \omega , \]

where \(\omega \) is the number of connected components of \(G\).

Theorem 137.31 Fundamental circulations of a maximal forest form a basis of the cycle space

Let \(D\) be a digraph with finite vertex set \(V\) and finite arc set \(A\), and let \(F\) be a field. Fix a maximal forest \(T\) of \(D\). For each arc \(a \notin T\), the subgraph \(T + a\) contains a unique cycle, and we write \(f_a\) for the \(F\)-valued circulation associated with this fundamental cycle. Then the family \((f_a)_{a \notin T}\), viewed as the rows of a matrix whose row index ranges over the arcs outside \(T\), is a basis matrix of the cycle space \(\mathcal{C}\) of \(D\) over \(F\): these circulations are linearly independent and their span is all of \(\mathcal{C}\).

Theorem 137.32 Basis matrix of the bond space from a maximal forest

Let \(D\) be a finite digraph with vertex set \(V\) and arc set \(A\), specified by its tail and head maps \(A \to V\), and let \(F\) be a field. Let \(T\) be a maximal forest of \(D\), and for each arc \(a \in T\) let \(g_a\) denote the potential difference of the fundamental bond of \(a\), that is, \(g_a = \delta p_a\) where \(p_a\) is the indicator function of the vertex set of that bond. Then the matrix over \(F\) whose rows are the functions \(g_a\), indexed by the arcs \(a \in T\), is a basis matrix of the bond space \(\mathcal{B}\) of \(D\); equivalently, the family \((g_a)_{a \in T}\) is a basis of \(\mathcal{B}\).

Theorem 137.33 Unimodularity of the tree basis matrix of the bond space

Let a finite digraph be given by its tail and head maps on a finite arc set \(A\), and let \(T\) be a spanning tree of this digraph. If \(B\) is the integer basis matrix of the bond space corresponding to \(T\) — its rows indexed by the arcs of \(T\) — then \(B\) is unimodular; that is, every full square submatrix of \(B\) (a submatrix whose columns are picked out by an injective column selection) has determinant \(0\), \(+1\), or \(-1\).

Theorem 137.34 Number of spanning trees as \(\det (BB^{\mathsf T})\)

Let \(D\) be a finite digraph with vertex set \(V\) and arc set \(A\), specified by its tail and head maps \(A \to V\), and let \(T \subseteq A\) be a spanning tree of \(D\). Let \(B\) be the integer basis matrix of the bond space corresponding to \(T\), with rows indexed by the arcs of \(T\) and columns indexed by all of \(A\). Then the number \(\tau (D)\) of spanning trees of \(D\) satisfies

\[ \tau (D) = \det \! \left(B B^{\mathsf T}\right). \]
Theorem 137.35 Unimodularity of the tree basis matrix of the cycle space
✓

Let \(T\) be a spanning tree of a finite digraph on vertex set \(V\) with arc set \(A\), and let \(C\) be the integer basis matrix of the cycle space corresponding to \(T\) — the matrix whose rows are indexed by the arcs outside \(T\) and whose columns are indexed by all of \(A\). Then \(C\) is unimodular: every full square submatrix of \(C\) formed by selecting a set of columns equal in number to the rows has determinant \(0\), \(+1\), or \(-1\).

Theorem 137.36 Spanning-tree count as a Gram determinant of the cycle-space basis matrix

Let \(G\) be a directed graph with finite vertex set \(V\) and finite arc set \(A\), each arc assigned a tail and a head in \(V\), and let \(\tau \) denote the number of spanning trees of \(G\). Fix a spanning tree \(T \subseteq A\), and let \(C\) be the integer matrix over the cycle space of \(G\) that is the basis matrix corresponding to \(T\), so that its rows are indexed by the arcs \(a \notin T\) and its columns by the arcs of \(A\). Then

\[ \tau = \det \! \left(C\, C^{\mathsf{T}}\right). \]
Theorem 137.37 Spanning-tree count as a determinant of stacked bond- and cycle-space basis matrices
✓

Let \(G\) be a finite digraph with vertex set \(V\) and arc set \(A\), and let \(T\) be a spanning tree of \(G\). Let \(B\) be the basis matrix of the bond space \(\mathcal{B}\) corresponding to \(T\), whose rows are indexed by the arcs of \(T\), and let \(C\) be the basis matrix of the cycle space \(\mathcal{C}\) corresponding to \(T\), whose rows are indexed by the arcs not in \(T\); both have integer entries and columns indexed by all of \(A\). Form the square integer matrix \(M\) with rows indexed by \(A\) by assigning to each arc of \(T\) its row of \(B\) and to each remaining arc its row of \(C\). Then the number \(\tau (G)\) of spanning trees of \(G\) satisfies \(\tau (G) = \det M\) or \(\tau (G) = -\det M\); that is, \(\tau (G) = \left\lvert \det M\right\rvert \).

Theorem 137.38 The matrix-tree theorem

The matrix-tree theorem (Kirchhoff, 1847). Let \(D\) be a connected digraph with vertex set \(V\) and arc set \(A\), and let \(M\) be its oriented incidence matrix, the \(V \times A\) matrix whose entry in row \(v\) and column \(a\) is \(1\) if \(v\) is the tail of \(a\), is \(-1\) if \(v\) is the head of \(a\), and is \(0\) otherwise. Fix any vertex \(y \in V\), and let \(K\) be the reduced incidence matrix obtained from \(M\) by deleting the row indexed by \(y\). Then the number \(\tau (D)\) of spanning trees of \(D\) satisfies

\[ \tau (D) = \det \! \left(K K^{\mathsf{T}}\right), \]

the equality holding in \(\mathbb {Z}\).

Theorem 137.39 Unimodularity of the reduced oriented incidence matrix
✓

Let \(D\) be a finite digraph with vertex set \(V\) and arc set \(A\), where each arc \(a\) has a tail and a head in \(V\), and let \(M\) be its oriented incidence matrix over \(\mathbb {Z}\): the rows are indexed by \(V\), the columns by \(A\), and the \((v,a)\) entry equals \(1\) if \(v\) is the tail of \(a\), equals \(-1\) if \(v\) is the head of \(a\), and equals \(0\) otherwise. Fix a vertex \(y \in V\), and let \(K\) be the matrix obtained from \(M\) by deleting the row indexed by \(y\). Then \(K\) is unimodular: for every injective map \(g\) from an index set into the columns of \(K\), the square submatrix of \(K\) formed by selecting the columns \(g\) (against all remaining rows) has determinant \(0\), \(1\), or \(-1\).

Theorem 137.40 Laplacian as oriented incidence matrix times its transpose
✓

Let \(G\) be a simple graph on a finite vertex set \(V\), and let \((\mathrm{tail}, \mathrm{head})\) be an orientation of \(G\) on a finite arc set \(A\), so that each edge of \(G\) is directed from its tail to its head. Write \(M\) for the oriented incidence matrix of this orientation over \(\mathbb {Z}\), the \(V \times A\) integer matrix whose entry in row \(v\) and column \(a\) is \(1\) if \(v\) is the tail of \(a\), \(-1\) if \(v\) is the head of \(a\), and \(0\) otherwise. Then the graph Laplacian \(L(G)\) of \(G\), taken with integer entries, satisfies

\[ L(G) = M M^{\mathsf{T}}. \]
Theorem 137.41 Matrix–tree theorem via a reduced Laplacian determinant
✓

Let \(G\) be a finite simple graph with vertex set \(V\), let \((\mathrm{tail}, \mathrm{head})\) be an orientation of \(G\), and fix a vertex \(y \in V\). Write \(L(G)\) for the integer Laplacian matrix of \(G\) (the vertex degree matrix minus the adjacency matrix), and let \(L(G)_{\widehat{y}}\) denote the reduced Laplacian obtained by deleting the row and the column indexed by \(y\), that is, the submatrix of \(L(G)\) whose rows and columns range over the vertices \(v \neq y\). Then the number of spanning trees \(\tau \) equals the determinant of this reduced Laplacian,

\[ \tau = \det \big(L(G)_{\widehat{y}}\big), \]

as an identity of integers, for every choice of the deleted vertex \(y\).

Theorem 137.42 Matrix–Tree theorem via a Laplacian cofactor
✓

Let \(G\) be a finite simple graph on a vertex set \(V\), and let \((\mathrm{tail}, \mathrm{head})\) be an orientation of \(G\) with arc set \(A\), so that \(G\) is the underlying graph of the digraph \((\mathrm{tail}, \mathrm{head})\). Write \(L\) for the graph Laplacian of \(G\) over \(\mathbb {Z}\), the \(V \times V\) matrix whose diagonal entry at \(v\) is the degree of \(v\) and whose off-diagonal entry at \((u,v)\) is \(-1\) when \(u\) and \(v\) are adjacent and \(0\) otherwise. Fix vertices \(i, j \in V\) and a bijection \(e\) between the set of vertices other than \(i\) and the set of vertices other than \(j\), and let \(M\) be the submatrix of \(L\) whose rows are indexed by the vertices \(u \neq i\), whose columns are indexed by the vertices \(u \neq i\) as well, and whose \((u, u')\) entry is \(L_{u,\, e(u')}\). Then the number \(\tau \) of spanning trees of the digraph \((\mathrm{tail}, \mathrm{head})\) satisfies either \(\tau = \det M\) or \(\tau = -\det M\).

Theorem 137.43 Total unimodularity of the incidence matrix characterizes bipartiteness
✓

Let \(G\) be a finite simple graph, and let \(M\) be its vertex–edge incidence matrix over \(\mathbb {Z}\), whose entry in row \(v\) and column \(e\) is \(1\) when \(v\) is an endpoint of the edge \(e\) and \(0\) otherwise. Then \(M\) is totally unimodular — that is, every square submatrix of \(M\) has determinant \(-1\), \(0\), or \(1\) — if and only if \(G\) is bipartite.

Theorem 137.44 Shank’s criterion for the bond–cycle intersection
✓

Let \(D\) be a finite digraph with vertex set \(V\) and arc set \(A\), specified by its tail and head maps \(A \to V\), and let \(F\) be a field whose characteristic is a prime \(p\). Writing \(\mathcal{B}\) for the bond space and \(\mathcal{C}\) for the cycle space of \(D\) over \(F\), the intersection \(\mathcal{B} \cap \mathcal{C}\) has positive dimension over \(F\) if and only if \(p\) divides the number \(\tau (D)\) of spanning trees of \(D\).

137.2 Additional declarations

Theorem 137.45 Evaluation of the dot-product bilinear form
✓
#

Let \(K\) be a field and let \(\iota \) be a finite index set, and equip the space of functions \(\iota \to K\) with the standard dot-product bilinear form. Then for all functions \(x, y \colon \iota \to K\), the value of this form at the pair \((x, y)\) is

\[ \langle x, y \rangle \; =\; \sum _{i \in \iota } x(i)\, y(i). \]