§ Definitions of matroids
A matrioid is a set equipped with an independence set .
- The empty set is independent: .
- The independence set is downward-closed/closed under subsets: .
- For any independent sets , if is larger than , then we must be able to add an element from into such that is both independent and larger than : . ( The exchange property )
§ Example 1: Linearly independent sets
Let be a vector space. The independent sets are of the form:
This is an independence system because the empty set is linearly independent, and subsets of a linearly independent collection of vectors will be linearly independent.
The exchange property is satisfied because of linear algebraic reasons.
§ Example 2: The graphic/cyclic Matroid: Matroid of Forests
Let be a graph. Then collections of edges of the form:
is an independence system because the empty forest is a forest, and a subset of edges of a forest continues to be a forest.
To check the exchange property, TODO
§ Example 3: The partition matroid
Consider the partition matroid , where we have a partitioning of known as , and numbers the independence set consists of subsets which have at most elements in common with each .
The independence axioms are intuitively satisfied, since our constraints on picking edges are of the form , which will continue to hold as becomes smaller.
For the exchange axiom, let . Then, we can assert that for some index , it must be the case that . Hence, we can add an element in into whilst still maintaining independence.
§ Bases and Circuits
- Bases are the maximal independent sets of (ordered by inclusion). On adding an element into a basis element, they will become dependent. They are called bases by analogy with linear algebra.
- Circuits are minimal dependent sets of . This comes from analogy with trees: if we remove an element from any circuit (loop) in a graph, what we are left with is a tree.
A matroid can be completely categorized by knowing either the bases or the circuits of that matroid.
§ Unique Circuit property
- Theorem : Let be a matroid, and let such that .
Then, there exists a unique circuit .
That is, when we go from independent to dependent by adding an element, we will have a single, unique circuit . For example, when we add an edge into a forest to create a cycle, this cycle will be unique!
§ Proof
Let be circuits created when was added into , where is the largest circuit of , and is the smallest circuit of .
Notice that must contain --- if they did not, then would be circuits in , contradicting the assumption that is independent.
Recall that are both circuits, which means that removing even a single element from them will cause them to become independent sets.
Let us contemplate . Either in which case we are done.
Otherwise, , .
Otherwise, consider .
- , since .
- is an independent set, all of whose subsets are independent by definition. So is an independent set.
- , .
Now, we consider . Clearly, this is a dependent set, since , and is a dependent set.
Since, , this means that is a maximally independent set. Since does not contain , .
§ Rank functions
A rank function of a matroid is a function:
That is, for any subset , is the cardinality of the largest independent subset of .
- In the matroid of linearly independent sets of vectors, the rank of a set of vectors is the dimension of their spanning set.
In this matroid, the
TODO: picture
§ Intersection of matroids is not necessarily a matroid:
M1 = < d {[(a) (b)] c}>M2 = < {d [(a) (b)]} c>The intersection of these two matroids will be:
M1 cap M2 = < d [(a) (b)] c>This is not a matroid because the exchange property fails. There's no
way to go from [a, b] to < d a b c > by exchanging one element.
§ Bipartite matching as matroid intersection
Matchings in a bipartite graph with partition arise as the intersection of the independent sets of two matroids. We will denote by the function which takes a vertex to the set of edges incident on that vertex.
Let be a partition matroid : where is:
That is, in , every independent set has for each vertex of , at most one edge incident. We need to check that this is an independent set. The empty set of no edges is independent. If some collection of edges are such that they have at most one edge incident, then removing edges can only decrease incidence. Hence, it's also downward closed.
TODO: add picture
Similarly, we define :
Now, notice that any collection of edges is a legal matching, since the edges cover all vertices of and at most once. The largest element of is the maximum matching that we are looking for.
§ Largest common independent set
Given two matroids , , with rank functions and . Let and let .
- .
§ References:
- Michel Goeman's standalone notes on matroids
- Michel Goeman's standalone notes on matroid intersection
- Lecture 11 of Michel Goeman's lecture on Advanced Combinatorial Optimisation
- Video lecture on fixed-parameter tractability and matroid interesction
- FTP Lecture 25: introduction to matroids
- FTP lecture 26: Faster matroid intersection