Bipartite Graphs

A bipartite graph is a graph whose vertex set can be divided into two disjoint subsets and , such that every edge connects a vertex in to a vertex in , and vice-versa. That is, no edge connects two vertices within the same subset, so that . As such, a graph can only be bipartite if it contains no cycles of odd length.

Complete bipartite graphs are denoted as .

Intuition

Although we can’t prove bipartition, we can think about as to why the sets and can be expressed using the two bipartite sets and :

  • The first fact is simply a union of the two groups of nodes, and .
  • The second fact states that is equal to or a subset of all possible combinations of edges between the two groups. **A graph where (every vertex from one group connects to all of the vertices from the other) be expressed as .

Example

Three Wells, Three Houses