16.4 Matroids and greedy methods
16.4-1
Show that is a matroid, where is any finite set and is the set of all subsets of of size at most , where .
The first condition that is a finite set is a given. To prove the second condition we assume that , this gets us that is nonempty. Also, to prove the hereditary property, suppose this means that . Then, if , this means that , so . Lastly, we prove the exchange property by letting be such that . Then, we can pick any element , then,
so, we can extend to .
16.4-2
Given an matrix over some field (such as the reals), show that is a matroid, where is the set of columns of and if and only if the columns in are linearly independent.
Let be the columns of . Suppose is dependent. Then there exist scalars not all zero such that . By adding columns to and assigning them to have coefficient in the sum, we see that any superset of is also dependent. By contrapositive, any subset of an independent set must be independent.
Now suppose that and are two independent sets of columns with . If we couldn't add any column of to be whilst preserving independence then it must be the case that every element of is a linear combination of elements of . But this implies that spans a -dimensional space, which is impossible. Therefore, our independence system must satisfy the exchange property, so it is in fact a matroid.
16.4-3
Show that if is a matroid, then is a matroid, where
contains some maximal .
That is, the maximal independent sets of are just the complements of the maximal independent sets of .
Condition one of being a matroid is still satisfied because the base set hasn't changed. Next we show that is nonempty. Let be any maximal element of , then we have that because which is maximal in .
Next we show the hereditary property, suppose that , then, there exists some so that , however, so .
Last, we prove the exchange property. That is, if we have and , we can find an element in to add to so that it stays independent. We will split into two cases:
- The first case is that . Let be the only element in . Since and , it follows in this case . We extend by and we have .
- The second case is if the first case does not hold. Let be a maximal independent set of contained in . Pick an aribitrary set of size from some maximal independent set contained in , call it $$. Since $D$ is a subset of a maximal independent set, it is also independent, and so, by the exchange property, there is some $y \in C − D$ so that $D \cup \{y\}$ is a maximal independent set in $\mathcal I$. Then, we select $x$ to be any element other than $y$ in $A − B$. Then, $S − (B \cup \{x\})$ will still contain $D \cup \{y\}$. This means that $B \cup \{x\}$ is independent in $\mathcal I'$.
16.4-4
Let be a finite set and let be a partition of into nonempty disjoint subsets. Define the structure by the condition that for . Show that is a matroid. That is, the set of all sets that contain at most one member of each subset in the partition determines the independent sets of a matroid.
Suppose and . Then for all , so
for all . Therefore is closed under inclusion.
Now Let with . Then there must exist some such that but . Let . Then and . Since
for all , we must have . Therefore is a matroid.
16.4-5
Show how to transform the weight function of a weighted matroid problem, where the desired optimal solution is a minimum-weight maximal independent subset, to make it a standard weighted-matroid problem. Argue carefully that your transformation is correct.
Suppose that is the largest weight that any one element takes. Then, define the new weight function . This then assigns a strictly positive weight, and we will show that any independent set that that has maximum weight with respect to will have minimum weight with respect to .
Recall Theorem 16.6 since we will be using it, suppose that for our matriod, all maximal independent sets have size . Then, suppose and are maximal independent sets so that is maximal with respect to and is minimal with respect to . Then, we need to show that . Suppose not to achieve a contradiction, then, by minimality of , .
Rewriting both sides in terms of , we have
so,
This however contradicts maximality of with respect to . So, we must have that . So, a maximal independent set that has the largest weight with respect to also has the smallest weight with respect to .