# Graphic matroid

__: Matroid with graph forests as independent sets__

**Short description**In the mathematical theory of matroids, a **graphic matroid** (also called a **cycle matroid** or **polygon matroid**) is a matroid whose independent sets are the forests in a given finite undirected graph. The dual matroids of graphic matroids are called **co-graphic matroids** or **bond matroids**.^{[1]} A matroid that is both graphic and co-graphic is sometimes called a **planar matroid** (but this should not be confused with matroids of rank 3, which generalize planar point configurations); these are exactly the graphic matroids formed from planar graphs.

## Definition

A matroid may be defined as a family of finite sets (called the "independent sets" of the matroid) that is closed under subsets and that satisfies the "exchange property": if sets [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are both independent, and [math]\displaystyle{ A }[/math] is larger than [math]\displaystyle{ B }[/math], then there is an element [math]\displaystyle{ x\in A\setminus B }[/math] such that [math]\displaystyle{ B\cup\{x\} }[/math] remains independent. If [math]\displaystyle{ G }[/math] is an undirected graph, and [math]\displaystyle{ F }[/math] is the family of sets of edges that form forests in [math]\displaystyle{ G }[/math], then [math]\displaystyle{ F }[/math] is clearly closed under subsets (removing edges from a forest leaves another forest). It also satisfies the exchange property: if [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are both forests, and [math]\displaystyle{ A }[/math] has more edges than [math]\displaystyle{ B }[/math], then it has fewer connected components, so by the pigeonhole principle there is a component [math]\displaystyle{ C }[/math] of [math]\displaystyle{ A }[/math] that contains vertices from two or more components of [math]\displaystyle{ B }[/math]. Along any path in [math]\displaystyle{ C }[/math] from a vertex in one component of [math]\displaystyle{ B }[/math] to a vertex of another component, there must be an edge with endpoints in two components, and this edge may be added to [math]\displaystyle{ B }[/math] to produce a forest with more edges. Thus, [math]\displaystyle{ F }[/math] forms the independent sets of a matroid, called the graphic matroid of [math]\displaystyle{ G }[/math] or [math]\displaystyle{ M(G) }[/math]. More generally, a matroid is called graphic whenever it is isomorphic to the graphic matroid of a graph, regardless of whether its elements are themselves edges in a graph.^{[2]}

The bases of a graphic matroid [math]\displaystyle{ M(G) }[/math] are the full spanning forests of [math]\displaystyle{ G }[/math], and the circuits of [math]\displaystyle{ M(G) }[/math] are the simple cycles of [math]\displaystyle{ G }[/math]. The rank in [math]\displaystyle{ M(G) }[/math] of a set [math]\displaystyle{ X }[/math] of edges of a graph [math]\displaystyle{ G }[/math] is [math]\displaystyle{ r(X)=n-c }[/math] where [math]\displaystyle{ n }[/math] is the number of vertices in the subgraph formed by the edges in [math]\displaystyle{ X }[/math] and [math]\displaystyle{ c }[/math] is the number of connected components of the same subgraph.^{[2]} The corank of the graphic matroid is known as the circuit rank or cyclomatic number.

## The lattice of flats

The closure [math]\displaystyle{ \operatorname{cl}(S) }[/math] of a set [math]\displaystyle{ S }[/math] of edges in [math]\displaystyle{ M(G) }[/math] is a flat consisting of the edges that are not independent of [math]\displaystyle{ S }[/math] (that is, the edges whose endpoints are connected to each other by a path in [math]\displaystyle{ S }[/math]). This flat may be identified with the partition of the vertices of [math]\displaystyle{ G }[/math] into the connected components of the subgraph formed by [math]\displaystyle{ S }[/math]: Every set of edges having the same closure as [math]\displaystyle{ S }[/math] gives rise to the same partition of the vertices, and [math]\displaystyle{ \operatorname{cl}(S) }[/math] may be recovered from the partition of the vertices, as it consists of the edges whose endpoints both belong to the same set in the partition. In the lattice of flats of this matroid, there is an order relation [math]\displaystyle{ x\le y }[/math] whenever the partition corresponding to flat [math]\displaystyle{ x }[/math] is a refinement of the partition corresponding to flat [math]\displaystyle{ y }[/math].

In this aspect of graphic matroids, the graphic matroid for a complete graph [math]\displaystyle{ K_n }[/math] is particularly important, because it allows every possible partition of the vertex set to be formed as the set of connected components of some subgraph. Thus, the lattice of flats of the graphic matroid of [math]\displaystyle{ K_n }[/math] is naturally isomorphic to the lattice of partitions of an [math]\displaystyle{ n }[/math]-element set. Since the lattices of flats of matroids are exactly the geometric lattices, this implies that the lattice of partitions is also geometric.^{[3]}

## Representation

The graphic matroid of a graph [math]\displaystyle{ G }[/math] can be defined as the column matroid of any oriented incidence matrix of [math]\displaystyle{ G }[/math]. Such a matrix has one row for each vertex, and one column for each edge. The column for edge [math]\displaystyle{ e }[/math] has [math]\displaystyle{ +1 }[/math] in the row for one endpoint, [math]\displaystyle{ -1 }[/math] in the row for the other endpoint, and [math]\displaystyle{ 0 }[/math] elsewhere; the choice of which endpoint to give which sign is arbitrary. The column matroid of this matrix has as its independent sets the linearly independent subsets of columns.

If a set of edges contains a cycle, then the corresponding columns (multiplied by [math]\displaystyle{ -1 }[/math] if necessary to reorient the edges consistently around the cycle) sum to zero, and is not independent. Conversely, if a set of edges forms a forest, then by repeatedly removing leaves from this forest it can be shown by induction that the corresponding set of columns is independent. Therefore, the column matrix is isomorphic to [math]\displaystyle{ M(G) }[/math].

This method of representing graphic matroids works regardless of the field over which the incidence is defined. Therefore, graphic matroids form a subset of the regular matroids, matroids that have representations over all possible fields.^{[2]}

The lattice of flats of a graphic matroid can also be realized as the lattice of a hyperplane arrangement, in fact as a subset of the braid arrangement, whose hyperplanes are the diagonals [math]\displaystyle{ H_{ij}=\{(x_1,\ldots,x_n) \in \mathbb{R}^n \mid x_i = x_j\} }[/math]. Namely, if the vertices of [math]\displaystyle{ G }[/math] are [math]\displaystyle{ v_1,\ldots,v_n, }[/math] we include the hyperplane [math]\displaystyle{ H_{ij} }[/math] whenever [math]\displaystyle{ e = v_iv_j }[/math] is an edge of [math]\displaystyle{ G }[/math].

## Matroid connectivity

A matroid is said to be connected if it is not the direct sum of two smaller matroids; that is, it is connected if and only if there do not exist two disjoint subsets of elements such that the rank function of the matroid equals the sum of the ranks in these separate subsets. Graphic matroids are connected if and only if the underlying graph is both connected and 2-vertex-connected.^{[2]}

## Minors and duality

A matroid is graphic if and only if its minors do not include any of five forbidden minors: the uniform matroid [math]\displaystyle{ U{}^2_4 }[/math], the Fano plane or its dual, or the duals of [math]\displaystyle{ M(K_5) }[/math] and [math]\displaystyle{ M(K_{3,3}) }[/math] defined from the complete graph [math]\displaystyle{ K_5 }[/math] and the complete bipartite graph [math]\displaystyle{ K_{3,3} }[/math].^{[2]}^{[4]}^{[5]} The first three of these are the forbidden minors for the regular matroids,^{[6]} and the duals of [math]\displaystyle{ M(K_5) }[/math] and [math]\displaystyle{ M(K_{3,3}) }[/math] are regular but not graphic.

If a matroid is graphic, its dual (a "co-graphic matroid") cannot contain the duals of these five forbidden minors. Thus, the dual must also be regular, and cannot contain as minors the two graphic matroids [math]\displaystyle{ M(K_5) }[/math] and [math]\displaystyle{ M(K_{3,3}) }[/math].^{[2]}

Because of this characterization and Wagner's theorem characterizing the planar graphs as the graphs with no [math]\displaystyle{ K_5 }[/math] or [math]\displaystyle{ K_{3,3} }[/math] graph minor, it follows that a graphic matroid [math]\displaystyle{ M(G) }[/math] is co-graphic if and only if [math]\displaystyle{ G }[/math] is planar; this is Whitney's planarity criterion. If [math]\displaystyle{ G }[/math] is planar, the dual of [math]\displaystyle{ M(G) }[/math] is the graphic matroid of the dual graph of [math]\displaystyle{ G }[/math]. While [math]\displaystyle{ G }[/math] may have multiple dual graphs, their graphic matroids are all isomorphic.^{[2]}

## Algorithms

A minimum weight basis of a graphic matroid is a minimum spanning tree (or minimum spanning forest, if the underlying graph is disconnected). Algorithms for computing minimum spanning trees have been intensively studied; it is known how to solve the problem in linear randomized expected time in a comparison model of computation,^{[7]} or in linear time in a model of computation in which the edge weights are small integers and bitwise operations are allowed on their binary representations.^{[8]} The fastest known time bound that has been proven for a deterministic algorithm is slightly superlinear.^{[9]}

Several authors have investigated algorithms for testing whether a given matroid is graphic.^{[10]}^{[11]}^{[12]} For instance, an algorithm of (Tutte 1960) solves this problem when the input is known to be a binary matroid. (Seymour 1981) solves this problem for arbitrary matroids given access to the matroid only through an independence oracle, a subroutine that determines whether or not a given set is independent.

## Related classes of matroids

Some classes of matroid have been defined from well-known families of graphs, by phrasing a characterization of these graphs in terms that make sense more generally for matroids. These include the bipartite matroids, in which every circuit is even, and the Eulerian matroids, which can be partitioned into disjoint circuits. A graphic matroid is bipartite if and only if it comes from a bipartite graph and a graphic matroid is Eulerian if and only if it comes from an Eulerian graph. Within the graphic matroids (and more generally within the binary matroids) these two classes are dual: a graphic matroid is bipartite if and only if its dual matroid is Eulerian, and a graphic matroid is Eulerian if and only if its dual matroid is bipartite.^{[13]}

Graphic matroids are one-dimensional rigidity matroids, matroids describing the degrees of freedom of structures of rigid beams that can rotate freely at the vertices where they meet. In one dimension, such a structure has a number of degrees of freedom equal to its number of connected components (the number of vertices minus the matroid rank) and in higher dimensions the number of degrees of freedom of a *d*-dimensional structure with *n* vertices is *dn* minus the matroid rank. In two-dimensional rigidity matroids, the Laman graphs play the role that spanning trees play in graphic matroids, but the structure of rigidity matroids in dimensions greater than two is not well understood.^{[14]}

## References

- ↑ (Tutte 1965) uses a reversed terminology, in which he called bond matroids "graphic" and cycle matroids "co-graphic", but this has not been followed by later authors.
- ↑
^{2.0}^{2.1}^{2.2}^{2.3}^{2.4}^{2.5}^{2.6}Tutte, W. T. (1965), "Lectures on matroids",*Journal of Research of the National Bureau of Standards***69B**: 1–47, doi:10.6028/jres.069b.001, https://nvlpubs.nist.gov/nistpubs/jres/69B/jresv69Bn1-2p1_A1b.pdf. See in particular section 2.5, "Bond-matroid of a graph", pp. 5–6, section 5.6, "Graphic and co-graphic matroids", pp. 19–20, and section 9, "Graphic matroids", pp. 38–47. - ↑ Birkhoff, Garrett (1995),
*Lattice Theory*, Colloquium Publications,**25**(3rd ed.), American Mathematical Society, p. 95, ISBN 9780821810255, https://books.google.com/books?id=0Y8d-MdtVwkC&pg=PA95. - ↑ "On Tutte's characterization of graphic matroids",
*Annals of Discrete Mathematics***8**: 83–90, 1980, doi:10.1016/S0167-5060(08)70855-0, ISBN 9780444861108. - ↑ Gerards, A. M. H. (1995), "On Tutte's characterization of graphic matroids—a graphic proof",
*Journal of Graph Theory***20**(3): 351–359, doi:10.1002/jgt.3190200311. - ↑ "A homotopy theorem for matroids. I, II",
*Transactions of the American Mathematical Society***88**(1): 144–174, 1958, doi:10.2307/1993244. - ↑ "A randomized linear-time algorithm to find minimum spanning trees",
*Journal of the Association for Computing Machinery***42**(2): 321–328, 1995, doi:10.1145/201019.201022 - ↑ "Trans-dichotomous algorithms for minimum spanning trees and shortest paths",
*Journal of Computer and System Sciences***48**(3): 533–551, 1994, doi:10.1016/S0022-0000(05)80064-9. - ↑ "A minimum spanning tree algorithm with inverse-Ackermann type complexity",
*Journal of the Association for Computing Machinery***47**(6): 1028–1047, 2000, doi:10.1145/355541.355562. - ↑ "An algorithm for determining whether a given binary matroid is graphic.",
*Proceedings of the American Mathematical Society***11**(6): 905–917, 1960, doi:10.2307/2034435. - ↑ Bixby, Robert E.; Cunningham, William H. (1980), "Converting linear programs to network problems",
*Mathematics of Operations Research***5**(3): 321–357, doi:10.1287/moor.5.3.321. - ↑ "Recognizing graphic matroids",
*Combinatorica***1**(1): 75–78, 1981, doi:10.1007/BF02579179. - ↑ "Euler and bipartite matroids",
*Journal of Combinatorial Theory***6**(4): 375–377, 1969, doi:10.1016/s0021-9800(69)80033-5. - ↑ "Some matroids from discrete applied geometry",
*Matroid theory (Seattle, WA, 1995)*, Contemporary Mathematics,**197**, Providence, RI: American Mathematical Society, 1996, pp. 171–311, doi:10.1090/conm/197/02540.

Original source: https://en.wikipedia.org/wiki/Graphic matroid.
Read more |