Matroids
Ref: CLRS section 16.4
They define matroid in an abstract manner. Here I just talk about two
examples in the book.
-
Let
AandBeach be a collection of linearly independent row vectors of a matrix, and|A| < |B|. Then it is possible to choose one row vectorxfromB - Asuch thatA ∪ {x}is still linearly independent.Proof:
Suppose otherwise, then every element of
B - Acan be expressed as linear combination of elements ofA, hence every element ofBcan be expressed as a linear combination of elements ofA(note thatB = B - A + B ⋂ Aand(A ⋂ B) ⊆ A), while still being linearly independent with each other. This is not possible, because|B| > |A|and you cannot make a large linearly independent set from a small set. -
Let
AandBbe a collection of edges of a graph such that neitherAnorBcontains a cycle, and|A| < |B|. Then it is possible to choose one edge fromB - Aand put it intoAsuch thatAstill does not contain a cycle.Proof:
Let’s do something “fancy”. Here I will try to use linear algebra to study graph theory. This is possible, since we can always embed a graph in high-dimensional (actually 3-dimension is enough) Euclidean space so that there is no crossing between edges.
A set of edges is called linearly dependent, if they form cycles. We call it exactly linearly dependent, if they form exactly one cycle, and every edge is one edge of this cycle.
A set of edges is called linearly independent, if there is no cycle within them.
We can form a new edge by connecting the beginning and end vertices of a path (if this edge does not exist yet). We call such an edge a linear combination of edges in the path.
Given
nlinearly independent edges, if they form a path, then by connecting the vertices there can ben(n-1)/2edges in total. But no matter which subset you choose, at mostnof them can be linearly independent. In other word, if you have more thannof them, you will have cycle(s). This statement is not really obvious, and needs to be proved (see Proof-A).Note that if they don’t form a path, say, for example, if the
nedges are disconnected from each other, you cannot do any “linear combination”.Now we see an exact mapping between this theorem and the first one, so we can use exactly the same argument.
Suppose otherwise, then every element of
B - Acan be expressed as a linear combination of edges ofA. Thus every element ofBis a linear combination of elements ofA. This is not possible since|B| > |A|.This proof is different from the one in the book because I don’t quite get that one…
The “mapping” with linear algebra may be superficial, but it really looks interesting. —————————
Proof-A: This amounts to proving that, for any
n-vertices complete graph, any subgraph with more thann - 1edges contains a cycle. Actually, for a tree, the number of edges is the number of vertices minus one. If the subgraph containskdisconnected trees, then the number of edges will be the number of vertices minusk. Hence in a graph with no cycle, the number of vertices is larger than the number of edges by at least one (this applies even with isolated vertices). Q.E.D.This proof is in the book.