Cycle space
From Wikipedia, the free encyclopedia
In graph theory, a branch of mathematics, the (binary) cycle space of an undirected graph is the set of its even-degree spanning subgraphs, or the set of their edge sets.
This set of subgraphs can be described algebraically as a vector space over (the field with two elements). The dimension of this space is the circuit rank, or cyclomatic number, of the graph. The same space can also be described in terms from algebraic topology as the first homology group of the graph. Using homology theory, the binary cycle space may be generalized to cycle spaces over arbitrary rings.
Graph theory
The cycle space of a graph can be described with increasing levels of mathematical sophistication as a set of subgraphs, as a binary vector space, or as a homology group.
A spanning subgraph of a given graph G may be defined from any subset S of the edges of G. The subgraph has the same set of vertices as G itself (this is the meaning of the word "spanning") but has the elements of S as its edges. Thus, a graph G with m edges has 2m spanning subgraphs, including G itself as well as the empty graph on the same set of vertices as G. The collection of all spanning subgraphs of a graph G forms the edge space of G.[1][2]
A graph G, or one of its subgraphs, is said to be Eulerian if each of its vertices has an even number of incident edges (this number is called the degree of the vertex). This property is named after Leonhard Euler who proved in 1736, in his work on the Seven Bridges of Königsberg, that a connected graph has a tour that visits each edge exactly once if and only if it is Eulerian. However, for the purposes of defining cycle spaces, an Eulerian subgraph does not need to be connected; for instance, the empty graph, in which all vertices are disconnected from each other, is Eulerian in this sense. The cycle space of a graph is the collection of its Eulerian spanning subgraphs.[1][2] Since the vertex set of any such subgraph is always the same, it is equally valid to define the cycle space as the collection of edge sets of Eulerian subgraphs.
Algebra
If one applies any set operation such as union or intersection of sets to two spanning subgraphs of a given graph, the result will again be a spanning subgraph. In this way, the edge space of an arbitrary graph, which is simply the set of all subsets of the edge set of the graph, can be interpreted as a Boolean algebra.[3]

The cycle space, also, has an algebraic structure, but a more restrictive one. The union or intersection of two Eulerian subgraphs may fail to be Eulerian. However, the symmetric difference of two Eulerian subgraphs (the graph consisting of the edges that belong to exactly one of the two given graphs and the vertices of both) is again Eulerian.[1] This follows from the fact that the symmetric difference of two sets with an even number of elements is also even. Applying this fact separately to the neighbourhoods of each vertex shows that the symmetric difference operator preserves the property of being Eulerian.
A family of sets closed under the symmetric difference operation can be described algebraically as a vector space over the two-element finite field .[4] This field has two elements, 0 and 1, and its addition and multiplication operations can be described as the familiar addition and multiplication of integers, taken modulo 2. A vector space consists of a set of elements together with an addition and scalar multiplication operation satisfying certain properties generalizing the properties of the familiar real vector spaces. For the cycle space, the elements of the vector space are the Eulerian spanning subgraphs (or their edge sets), the addition operation is symmetric differencing, multiplication by the scalar 1 is the multiplicative identity operation, and multiplication by the scalar 0 takes every element to the edgeless graph (or the empty edge set), which forms the additive identity element for the cycle space.
The edge space is also a vector space over with the symmetric difference as addition. As vector spaces, the cycle space and the cut space of the graph (the family of edge sets that span the cuts of the graph) are the orthogonal complements of each other within the edge space. This means that a set of edges in a graph forms a cut if and only if every Eulerian subgraph has an even number of edges in common with , and forms an Eulerian subgraph if and only if every cut has an even number of edges in common with .[2] Although these two spaces are orthogonal complements, some graphs have nonempty subgraphs that belong to both of them. Such a subgraph (an Eulerian cut) exists as part of a graph if and only if has an even number of spanning forests.[5]
Topology
An undirected graph may be viewed as a simplicial complex with its vertices as zero-dimensional simplices and the edges as one-dimensional simplices.[6] The chain complex of this topological space consists of its edge space and vertex space (the Boolean algebra of sets of vertices), connected by a boundary operator that maps any spanning subgraph (an element of the edge space) to its set of odd-degree vertices (an element of the vertex space). The homology group
consists of the elements of the edge space that map to the zero element of the vertex space; these are exactly the Eulerian subgraphs. Its group operation is the symmetric difference operation on Eulerian subgraphs.
Replacing in this construction by an arbitrary ring allows the definition of cycle spaces to be extended to cycle spaces with coefficients in the given ring, that form modules over the ring.[7] In particular, the integral cycle space is the space
It can be defined in graph-theoretic terms by choosing an arbitrary orientation of the graph, and defining an integral cycle of a graph to be an assignment of integers to the edges of (an element of the free abelian group over the edges) with the property that, at each vertex, the sum of the numbers assigned to incoming edges equals the sum of the numbers assigned to outgoing edges.[8]
A member of or of (the cycle space modulo ) with the additional property that all of the numbers assigned to the edges are nonzero is called a nowhere-zero flow or a nowhere-zero -flow respectively.[9]
Circuit rank
As a vector space, the dimension of the cycle space of a graph with vertices, edges, and connected components is .[1][2][10] This number can be interpreted topologically as the first Betti number of the graph.[6] In graph theory, it is known as the circuit rank, cyclomatic number, or nullity of the graph.
Combining this formula for the rank with the fact that the cycle space is a vector space over the two-element field shows that the total number of elements in the cycle space is exactly .