Homework 6 Solutions
Homework 6 Solutions
1. Exhibit a Marriage System which has more than one stable marriage.
Solution: Let ({a, b}, {x, y}) be a bipartition of K2,2 and define a system of preferences as
follows:
a : x>y
b : y>x
x : b>a
y : a>b
Both perfect matchings of this graph are stable marriages: {ax, by} is stable since a and b
are both adjacent to the vertex they most prefer. On the other hand, {ay, bx} is stable since
y and x are both adjacent to the vertex they most prefer.
2. Use Theorem 11.2 (König Egerváry) to prove Theorem 9.2 (Hall’s Marriage Theorem).
Solution: The ”only if” direction is obvious. For the ”if” direction, Let G be bipartite
with bipartition (A, B). If there is a matching of size |A|, then this matching covers A
and we are finished. Otherwise, β(G) = α0 (G) < |A| so we may choose a vertex cover
Y ⊆ V (G) with |Y | < |A|. Since Y is a vertex cover, N (A \ Y ) ⊆ B ∩ Y . But then we have
|A \ Y | = |A| − |Y ∩ A| > |Y ∩ B| ≥ |N (A \ Y )|, which completes the proof. ¤
Recall that a permutation matrix is a square matrix with all entries 0 or 1 in which every
row and every column has exactly one 1.
3. Let Q be an n × n nonnegative real matrix, let t ∈ R, and assume that every row and
every column sum to t. Prove that there exist permutation matrices P1 , . . . , Pk and real
P
numbers x1 , . . . , xk so that Q = ki=1 xi Pi . (Hint: proceed by induction on the number of
nonzero entries in Q, and show that there is a suitable permutation matrix P ).
4. For every k ≥ 1 construct a simple graph in which every vertex has degree 2k which has
no perfect matching.
5. For every k ≥ 1 construct a simple graph in which every vertex has degree 2k + 1 which
has no perfect matching. (Hint: start with k = 1 and then generalize).
Solution: For every k ≥ 1 let Hk be the graph obtained from a copy of K2k,2k+1 by adding a
k-edge matching to the partite set of size 2k + 1. Then Hk has 2k vertices of degree 2k + 1
and 1 vertex of degree 2k. Now, form a graph Gk by taking 2k + 1 copies of Hk , then adding
one new vertex, say v, and then adding an edge between v and each vertex of degree 2k in
each copy of Hk . Then Gk is (2k + 1)-regular, but cannot have a perfect matching, since
odd(G − {v}) = 2k + 1 > 1 = |{v}|.
6. Prove that a tree T has a perfect matching if and only if odd(T − v) = 1 for every
v ∈ V (T ).
7. Let G be a simple graph in which every vertex has degree 3. Prove that G has a perfect
matching if and only if there is a decomposition of G into 3-edge paths.
Solution: First suppose that G has a decomposition into three edge paths P1 , . . . , Pk . Let
M be the collection of edges which appear as the middle edge in one of P1 , . . . , Pk . Now
P
2k = 6|E(G)| = 3 v∈V (G) d eg(v) = |V (G)|, so |M | = 21 |V (G)|. Since P1 , . . . , Pk form a
decomposition of G, it follows that no two edges of M share an endpoint. Since |M | =
1
2
|V (G)|, it then follows that M is a perfect matching.
Next suppose that M is a perfect matching of G, and let H = G − M . Then H is
2-regular, so every component of H is a cycle. Assign a ”clockwise” orientation to each cycle
of H. Now for each edge uv ∈ M , complete M to a 3-edge path by adding the two edges
which follow u and v in the clockwise ordering of the cycles in H. This gives a decomposition
of G into 3-edge paths as required.