In this problem, graphs are simple.
A matching on a graph is a subset of such that no two edges in the subset share an end. The size of a matching is the number of edges in it.
A perfect matching on a graph is a matching whose size is ; that is, a matching that's as big as possible given the number of vertices.
For example, in the following image, the left graph shows a matching of size . It is not perfect, and in fact it doesn't have a perfect matching. Adding an edge to give the right graph, however, gives a matching of size and hence a perfect matching.
A -regular graph is a graph where every vertex has degree .
For , how many values of make this statement true: "all -regular graphs have a perfect matching"?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Call two edges that share an end to be adjacent . Let V , E be the set of vertices and edges of our graph respectively.
We claim that only k = 1 makes the statement true.
First, k = 1 is trivial: pick all the edges. Clearly no pair of edges will be adjacent. Additionally, by the degree sum formula , we have de g v = 1 for all v and thus ∣ E ∣ = 2 1 ∑ de g v = 2 1 ∣ V ∣ , which means our choice is indeed a perfect matching.
Next, k = 0 is also trivial: the graph of two vertices and no edge is clearly 0 -regular and has no matching of size 1 (there's not even enough edges), so no perfect matching.
The real meat lies on proving for k ≥ 2 that this doesn't hold either.
For even k , consider the union of two copies of K k + 1 . On a complete graph K n , the degree of each vertex is n − 1 , thus on our graph the degree of each vertex is indeed ( k + 1 ) − 1 = k , so our graph is k -regular. There are 2 ( k + 1 ) = 2 k + 2 vertices, thus there should be k + 1 edges in a perfect matching. However, clearly no edge can cross between the two copies (there are no edges between them), so each edge in our matching uses two vertices in the same copy. By Pigeonhole Principle, one copy has at least ⌈ 2 k + 1 ⌉ = 2 k + 1 edges of the matching, and together they use 2 ( 2 k + 1 ) = k + 2 vertices (each edge uses two vertices, and no vertex can be used twice since it's a matching), contradicting the fact that each copy only has k + 1 vertices. This rules out the even k .
For odd k , the situation is a little more complicated.
First, consider the complete graph K k + 1 again. We can easily obtain a perfect matching here (pick any edge not adjacent to previously selected edges; rinse and repeat until you're done). Now keep any one edge from the matching, and delete the rest. This makes k − 1 of the vertices to have degree k − 1 . Now introduce a new vertex u and connect it to each of these k − 1 vertices. Now we have a graph G ′ on k + 2 vertices, where k + 1 vertices have degree k and one (namely u ) has degree k − 1 .
Make k copies of G ′ and introduce one new vertex v . Join v with each of the k copies of u . Now each of the u 's has degree k , and v also has degree k , so our graph is k -regular.
We will prove this graph doesn't have a perfect matching.
The proof is quite simple. Note that there are ( k + 1 ) 2 vertices in total, which is even, so all vertices are used in the matching. Consider the vertex connected to v in the matching. This must be connected to one of the u vertices. Removing the two vertices breaks the graph into several components.
By our construction, there will be k − 1 copies of G ′ that are still intact. Since k ≥ 2 , we have k − 1 ≥ 1 , so there is at least one copy unused. Each of these copies have k + 2 vertices, an odd number, and thus one must remain unused in the matching. But as proved above, in order to have a perfect matching, all the vertices must be used, contradiction.
Thus all k ≥ 2 doesn't satisfy the statement. There is only 1 value of k that makes the statement true.