Skip to content

16.4 Matroids and greedy methods

16.4-1

Show that (S,Ik)(S, \mathcal I_k) is a matroid, where SS is any finite set and Ik\mathcal I_k is the set of all subsets of SS of size at most kk, where kSk \le |S|.

The first condition that SS is a finite set is a given. To prove the second condition we assume that k0k \ge 0, this gets us that Ik\mathcal I_k is nonempty. Also, to prove the hereditary property, suppose AIkA \in \mathcal I_k this means that Ak|A| \le k. Then, if BAB \subseteq A, this means that BAk|B| \le |A| \le k, so BIkB \in \mathcal I_k. Lastly, we prove the exchange property by letting A,BIkA, B \in \mathcal I_k be such that A<B|A| < |B|. Then, we can pick any element xB\Ax \in B \backslash A, then,

Ax=A+1Bk,|A \cup {x}| = |A| + 1 \le |B| \le k,

so, we can extend AA to A{x}IkA \cup \{x\} \in \mathcal I_k.

16.4-2 \star

Given an m×nm \times n matrix TT over some field (such as the reals), show that (S,I)(S, \mathcal I) is a matroid, where SS is the set of columns of TT and AIA \in \mathcal I if and only if the columns in AA are linearly independent.

Let c1,,cmc_1, \dots, c_m be the columns of TT. Suppose C={ci1,,cik}C = \{c_{i1}, \dots, c_{ik}\} is dependent. Then there exist scalars d1,,dkd_1, \dots, d_k not all zero such that j=1kdjcij=0\sum_{j = 1}^k d_jc_{ij} = 0. By adding columns to CC and assigning them to have coefficient 00 in the sum, we see that any superset of CC is also dependent. By contrapositive, any subset of an independent set must be independent.

Now suppose that AA and BB are two independent sets of columns with A>B|A| > |B|. If we couldn't add any column of AA to be whilst preserving independence then it must be the case that every element of AA is a linear combination of elements of BB. But this implies that BB spans a A|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 \star

Show that if (S,I)(S, \mathcal I) is a matroid, then (S,I)(S, \mathcal I') is a matroid, where

I={A:SA\mathcal I' = \{A': S - A' contains some maximal AI}A \in \mathcal I\}.

That is, the maximal independent sets of (S,I)(S, \mathcal I') are just the complements of the maximal independent sets of (S,I)(S, \mathcal I).

Condition one of being a matroid is still satisfied because the base set hasn't changed. Next we show that I\mathcal I' is nonempty. Let AA be any maximal element of I\mathcal I, then we have that SAIS - A \in \mathcal I' because S(SA)=AAS - (S - A) = A \subseteq A which is maximal in I\mathcal I.

Next we show the hereditary property, suppose that BAIB \subseteq A \in \mathcal I', then, there exists some AIA' \in \mathcal I so that SAAS − A \subseteq A', however, SBSAAS − B \supseteq S − A \subseteq A so BIB \in \mathcal I'.

Last, we prove the exchange property. That is, if we have B,AIB, A \in \mathcal I' and B<A|B| < |A|, we can find an element xx in ABA − B to add to BB so that it stays independent. We will split into two cases:

  • The first case is that AB=1|A - B| = 1. Let xABx \in A-B be the only element in ABA - B. Since A>B|A| > |B| and AB=1|A - B| = 1, it follows in this case BAB \subset A. We extend BB by xx and we have B{x}=AIB \cup \{x\} = A \in \mathcal I'.
  • The second case is if the first case does not hold. Let CC be a maximal independent set of I\mathcal I contained in SAS − A. Pick an aribitrary set of size C1|C| − 1 from some maximal independent set contained in SBS - B, 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 \star

Let SS be a finite set and let S1,S2,,SkS_1, S_2, \ldots, S_k be a partition of SS into nonempty disjoint subsets. Define the structure (S,I)(S, \mathcal I) by the condition that I={A:ASi1\mathcal I = \{A: \mid A \cap S_i \mid \le 1 for i=1,2,,k}i = 1, 2, \ldots, k\}. Show that (S,I)(S, \mathcal I) is a matroid. That is, the set of all sets AA that contain at most one member of each subset in the partition determines the independent sets of a matroid.

Suppose XYX \subset Y and YIY \in \mathcal I. Then (XSi)(YSi)(X \cap S_i) \subset (Y \cap S_i) for all ii, so

XSiYSi1|X \cap S_i| \le |Y \cap S_i| \le 1

for all 1ik1 \le i \le k. Therefore M\mathcal M is closed under inclusion.

Now Let A,BIA, B \in \mathcal I with A>B|A| > |B|. Then there must exist some jj such that ASj=1|A \cap S_j| = 1 but BSj=0|B \cap S_j| = 0. Let aASja \in A \cap S_j. Then aBa \notin B and (B{a})Sj=1|(B \cup \{a\}) \cap S_j| = 1. Since

(B{a})Si=BSi1|(B \cup \{a\}) \cap S_i| = |B \cap S_i| \le 1

for all iji \ne j, we must have B{a}IB \cup \{a\} \in \mathcal I. Therefore M\mathcal M 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 WW is the largest weight that any one element takes. Then, define the new weight function w2(x)=1+Ww(x)w_2(x) = 1 + W - w(x). This then assigns a strictly positive weight, and we will show that any independent set that that has maximum weight with respect to w2w_2 will have minimum weight with respect to ww.

Recall Theorem 16.6 since we will be using it, suppose that for our matriod, all maximal independent sets have size SS. Then, suppose M1M_1 and M2M_2 are maximal independent sets so that M1M_1 is maximal with respect to w2w_2 and M2M_2 is minimal with respect to ww. Then, we need to show that w(M1)=w(M2)w(M_1) = w(M_2). Suppose not to achieve a contradiction, then, by minimality of M2M_2, w(M1)>w(M2)w(M_1) > w(M_2).

Rewriting both sides in terms of w2w_2, we have

w2(M2)(1+W)S>w2(M1)(1+W)S,w_2(M_2) - (1 + W)S > w_2(M_1) - (1 + W)S,

so,

w2(M2)>w2(M1).w_2(M_2) > w_2(M_1).

This however contradicts maximality of M1M_1 with respect to w2w_2. So, we must have that w(M1)=w(M2)w(M_1) = w(M_2). So, a maximal independent set that has the largest weight with respect to w2w_2 also has the smallest weight with respect to ww.