16

Prove that a $k$-regular bipartite graph has a perfect matching by using Hall's theorem.

Let $S$ be any subset of the left side of the graph. The only thing I know is the number of things leaving the subset is $|S|\times k$.

TheMathNoob
  • 2,101

4 Answers4

27

We want to use Hall’s theorem to guarantee a complete matching, and then show that the complete matching is actually a perfect matching. Let us first show the conditions for Hall’s theorem.

Since the graph is regular and edges go from $X$ to $Y$. Without loss of generality, consider $A \subseteq X$ to be an arbitrary subset, and denote by $N(A)$ the set of neighbors of elements of $A$.

Every edge with an endpoint in $A$ has an endpoint in $N(A)$, let $E_A$ and $E_{N(A)}$ denote the respective edge sets.

Then since $G$ is $k$-regular ($k$ is the degree of each vertex), $|E_A| = k |A|$ and $|E_{N(A)}| = k |N(A)|$. But $E_A \subseteq E_{N(A)}$, hence $|A| \leq |{N(A)}|$. By Hall’s theorem there is a complete matching.

But $|X| = |Y|$, so every vertex in $Y$ is also matched to a vertex in $X$, which together match every vertex in the graph. Thus the complete matching is a perfect matching. $\blacksquare$


Remark: This answer originally used the letter $d$ for what the author of the question denoted $k$. Thus the comments use these interchangeably.

Robin
  • 6,201
Ken
  • 810
  • 2
    how do you conclude this $|A| \leq |N(A)|$? – TheMathNoob May 30 '16 at 02:13
  • 10
    Because the total number of edges from $A$ to $N(A)$ is $d |A|.$ On the other hand, the total number of edges from $N(A)$ to $X$ is $d | N(A)|.$ But notice that the set of edges from $N(A)$ to $X$ contains the previous edges (edges $A$ to $N(A)$) , too. So $d | N(A)|$ is greater than or equal to $d | A|.$ – Ken May 30 '16 at 02:21
  • Does that make sense? – Ken May 30 '16 at 02:22
  • 1
    ohhhhhhhhhhhh. Finally yes. So $d|A| \leq d|N(A)|$. Thanks!!! – TheMathNoob May 30 '16 at 02:27
  • How do you know that |X|=|Y|? – Cantor Oct 10 '21 at 09:27
  • 1
    @Cantor The number of edges from X to Y is $k|X|$ and the number of edges from Y to X is $k |Y|$. As $G$ is bipartite we have $k |X|=k|Y|$, that is $|X|=|Y|$. – Kumar Aug 30 '22 at 10:11
  • Remark: In these comments $d=k$ - the author of the answer and the author of the question used these different letters respectively. – Robin Nov 04 '23 at 17:55
5

As you have noted, there are $|S| \cdot k$ edges leaving $S$. Suppose the neighborhood set $N(S)$ of $S$ is smaller than $S$. Then there are $|N(S)| \cdot k < |S| \cdot k$ edges leaving $N(S)$, a contradiction.

angryavian
  • 93,534
3

Let $S$ be any subset of vertices in the left vertex set of the $k$-regular bipartite graph. The number of edges adjacent to vertices in $S$ is exactly $|S|~ k$. Since the number of edges incident to each vertex in the right vertex set of the bipartite graph is exactly $k$, any set of $|S|~k$ edges in the bipartite graph will be incident to $|S|$ or more vertices in the right vertex set. (For example, fewer than $|S|$ vertices in the right vertex set can `accomodate' at most $(|S|-1)k$ edges.) Thus, the number of neighbors of $S$ is at least $|S|$. By Hall's theorem, the graph has a perfect matching.

svsring
  • 1,262
0

Note that for $k=1$ what you have is precisely a perfect matching (, proving that $|A|=|B|$). And note that the number of edges in a k-regular graph is $k|V|/2$ and for $k+1: (k+1)|V|/2$ meaning that we are adding $|V|/2$ edges. Now suppose $k=2$ or inductively $n+1$ (note that $|V|/2 = |A| = |B| > n $ since every vertex of $A$ is connected to n+1 vertices of $B$ and vice versa), if we are not adding these edges in the form of a perfect matching then two edges will share a vertex and one vertex will have degree $3$ (or $n+2$) and the graph in contrary to assumption will not be $2$ or $n+1$ regular. thus since all edges added are distinct, we end up with $2$ or $n+1$ distinct matchings.