This proof requires, as a pre-requisite, the understanding of the concepts of Regular Graphs. I will introduce Regular Graphs and a Theorem concerning Regular Graphs in this section before I actually prove the statement.
Definitions:
1) G = (V,E) is said to be r-regular, iff, .
A r-regular graph G is denoted as
2) As before, a Graph G = (V, E) is 2-partite, iff, and , where, iff
Proof:
We are given that , so, and
The number of edges in this graph is
We shall simply assume that U and W have an arbitrary number of nodes each.
Let and
We have that, in a partite graph, the number of edges from the vertices in U are equal to the number of edges from the vertices in W. If this is not the case, then, for some vertex . This clearly is a contradiction to the basic structure of G.
Therefore, given our assumption that and and that the sum of the edges in both sets must be equal, we have that:
= where and
Now, as this is a regular graph, all vertices have the same degree.
Given that |U| = k, |W| = (n – k) , we have that:
and that,
.
Therefore,
Therefore, we have that and
This implies that
QED
Reference: Problem 2.27, Page-43, A First Course in Graph Theory, Gary Chartrand & Ping Zhang, Dover Books.