# Graphic matroid

In matroid theory, a discipline within mathematics, a **graphic matroid** (also called a **cycle matroid** or **polygon matroid**) is a matroid whose independent sets are the forests in a given 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 called a **planar matroid**; these are exactly the graphic matroids formed from planar graphs.

## Contents

## 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 and are both independent, and is larger than , then there is an element such that remains independent. If is an undirected graph, and is the family of sets of edges that form forests in , then is clearly closed under subsets (removing edges from a forest leaves another forest). It also satisfies the exchange property: if and are both forests, and has more edges than , then it has fewer connected components, so by the pigeonhole principle there is a component of that contains vertices from two or more components of . Along any path in from a vertex in one component of to a vertex of another component, there must be an edge with endpoints in two components, and this edge may be added to to produce a forest with more edges. Thus, forms the independent sets of a matroid, called the graphic matroid of or . 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 are the spanning forests of , and the cycles of are the simple cycles of . The rank in of a set of edges of a graph is where is the number of vertices in and is the number of connected components of the subgraph formed by the edges in .^{[2]} The corank of the graphic matroid is known as the circuit rank or cyclomatic number.

## The lattice of flats

The closure of a set of edges in is a flat consisting of the edges that are not independent of (that is, the edges whose endpoints are connected to each other by a path in ). This flat may be identified with the partition of the vertices of into the connected components of the subgraph formed by : Every set of edges having the same closure as gives rise to the same partition of the vertices, and 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 whenever the partition corresponding to flat is a refinement of the partition corresponding to flat .

In this aspect of graphic matroids, the graphic matroid for a complete graph 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 is naturally isomorphic to the lattice of partitions of an -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 can be defined as the column matroid of any oriented incidence matrix of . Such a matrix has one row for each vertex, and one column for each edge. The column for an edge has the number in the row for one of its endpoints, the number in the row for the other of its endpoints, and zeros 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 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 .

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]}

## 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 , the Fano plane or its dual, or the duals of and defined from the complete graph and the complete bipartite graph .^{[2]}^{[4]}^{[5]} The first three of these are the forbidden minors for the regular matroids,^{[6]} and the duals of and 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 and .^{[2]}

Because of this characterization and Wagner's theorem characterizing the planar graphs as the graphs with no or graph minor, it follows that a graphic matroid is co-graphic if and only if is planar; this is Whitney's planarity criterion. If is planar, the dual of is the graphic matroid of the dual graph of . While 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 Template:Harvtxt solves this problem when the input is known to be a binary matroid. Template:Harvtxt 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 matroid classes has 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, matroids in which every circuit is even, and the Eulerian matroids, matroids that 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

- ↑ Template:Harvtxt 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}{{#invoke:citation/CS1|citation |CitationClass=citation }}. See in particular section 2.5, "Bon-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. - ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.
- ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}.