Professional Documents
Culture Documents
Bipartite Graph
Bipartite Graph
LECTURE 26
VIVEK DHAND
1. Bipartite Graphs
A graph G = (V, E) is bipartite if we can split up the vertices into two sets X and Y so
that every edge has one endpoint in X and the other endpoint in Y . In other words,
no two vertices in X are adjacent, and no two vertices in Y are adjacent. We will refer
to the sets X and Y as the partite sets of the bipartite graph.
shorter path to v). The same goes for P2 : it is the shortest path from x2 to v 0 . Now,
the length of the routes that P1 and P2 take from v to v 0 must be the same. If one was
shorter than the other, we would be able to shorten either P1 or P2 . Therefore, we may
assume that v 0 = vi = wi for some i. This implies that (v 0 , vi+1 , . . . , x1 , x2 , . . . , wi+1 , v 0 )
is an odd cycle.
The same proof works for adjacent vertices y1 , y2 ∈ Y , except that P1 and P2 will have
odd length.
We have shown that each connected component of G is bipartite, so G is bipartite.
Example. Kn,m is the complete bipartite graph. It is the bipartite graph of maximal
size with |X| = n and |Y | = m.