# Gammoid

In matroid theory, a field within mathematics, a gammoid is a certain kind of matroid, describing sets of vertices that can be reached by vertex-disjoint paths in a directed graph.

The concept of a gammoid was introduced and shown to be a matroid by Template:Harvs, based on considerations related to Menger's theorem characterizing the obstacles to the existence of systems of disjoint paths. Gammoids were studied in more detail and given their name by Template:Harvtxt.

## Definition

A strict gammoid is a gammoid in which the set $T$ of destination vertices consists of every vertex in $G$ . Thus, a gammoid is a restriction of a strict gammoid, to a subset of its elements.

## Example

Consider the uniform matroid $U{}_{n}^{r}$ on a set of $n$ elements, in which every set of $r$ or fewer elements is independent. One way to represent this matroid as a gammoid would be to form a complete bipartite graph $K_{r,n}$ with a set $S$ of $r$ vertices on one side of the bipartition, with a set $T$ of $n$ vertices on the other side of the bipartition, and with every edge directed from $S$ to $T$ . In this graph, a subset of $T$ is the set of endpoints of a set of disjoint paths if and only if it has $r$ or fewer vertices, for otherwise there aren't enough vertices in $S$ to start the paths. The special structure of this graph shows that the uniform matroid is a transversal matroid as well as being a gammoid.

Alternatively, the same uniform matroid $U{}_{n}^{r}$ may be represented as a gammoid on a smaller graph, with only $n$ vertices, by choosing a subset $S$ of $r$ vertices and connecting each of the chosen vertices to every other vertex in the graph. Again, a subset of the vertices of the graph can be endpoints of disjoint paths if and only if it has $r$ or fewer vertices, because otherwise there are not enough vertices that can be starts of paths. In this graph, every vertex corresponds to an element of the matroid, showing that the uniform matroid is a strict gammoid.

## Relation to transversal matroids

A transversal matroid is defined from a family of sets: its elements are the elements of the sets, and a set $X$ of these elements is independent whenever there exists a one-to-one matching of the elements of $X$ to disjoint sets containing them, called a system of distinct representatives. Equivalently, a tranversal matroid may be represented by a special kind of gammoid, defined from a directed bipartite graph $(S,T,E)$ that has a vertex in $S$ for each set, a vertex in $T$ for each element, and an edge from each set to each element contained in it.

Less trivially, the strict gammoids are exactly the dual matroids of the transversal matroids. To see that every strict gammoid is dual to a transversal matroid, let $\gamma$ be a strict gammoid defined from a directed graph $G$ and starting vertex set $S$ , and consider the transversal matroid for the family of sets $N_{v}$ for each vertex $v\in V(G)\setminus S$ , where vertex $u$ belongs to $N_{v}$ if it equals $v$ or it has an edge to $v$ . Any basis of the strict gammoid, consisting of the endpoints of some set of $|S|$ disjoint paths from $S$ , is the complement of a basis of the transversal matroid, matching each $N_{v}$ to the vertex $u$ such that $uv$ is a path edge (or $v$ itself, if $v$ does not participate in one of the paths). Conversely every basis of the transversal matroid, consisting of a representative $u_{v}$ for each $N_{v}$ , gives rise to a complementary basis of the strict gammoid, consisting of the endpoints of the paths formed by the set of edges $u_{v}v$ .

To see, conversely, that every transversal matroid is dual to a strict gammoid, find a subfamily of the sets defining the matroid such that the subfamily has a system of distinct representatives and defines the same matroid. Form a graph that has the union of the sets as its vertices and that has an edge to the representative element of each set from the other members of the same set. Then the sets $N_{v}$ formed as above for each representative element $v$ are exactly the sets defining the original transversal matroid, so the strict gammoid formed by this graph and by the set of representative elements is dual to the given transversal matroid.

Every gammoid is a contraction of a transversal matroid. The gammoids are the smallest class of matroids that includes the transversal matroids and is closed under duality and taking minors.

## Representability

It is not true that every gammoid is regular, i.e., representable over every field. In particular, the uniform matroid $U{}_{4}^{2}$ is not a binary matroid, and more generally the $n$ -point line $U{}_{n}^{2}$ can only be represented over fields with $n-1$ or more elements. However, every gammoid may be represented over almost every finite field. More specifically, a gammoid with element set $S$ may be represented over every field that has at least $2^{|S|}$ elements.