What is a Matroid?

Core Definitions

A matroid is a pair $M=(S,\mathcal{I})$ where $S$ is a set and $\mathcal{I}$ is a set of subsets of $S$ where:

  • the empty set, $\varnothing$, is an element of $\mathcal{I}$ ,
  • if $A \subseteq B \in \mathcal{I}$ then $A \in \mathcal{I}$, and
  • if $A,B \in \mathcal{I}$ and $|A| < |B|$, then there is an $x \in B - A$ such that $A \cup\{x\} \in \mathcal{I}$.

The set $S$ is called the ground set of $M$ and the sets in $\mathcal{I}$ are called independent.

The rank of a matroid $M=(S,\mathcal{I})$ is the size of a largest independent subset of $S$. An independent set of maximum rank is called a basis.

For $X \subseteq S$, the rank of $X$ is the size of a largest independent subset of $X$.

See a matroid textbook or online resource for more detail.

Why?

We presume the users of this module are already familiar with matroids, but we provide the following motivation for the casual visitor.

Consider the following two theorems: one from linear algebra and one from graph theory.

Theorem 1. Any two bases of a finite-dimensional vector space have the same number of elements.

Theorem 2. Any two spanning trees of a connected graph have the same number of edges.

Matroid theory provides a unifying framework for these results. They are both direct consequences of the fact that in a matroid, any two maximum-size independet sets have the same cardinality.