There are other natural generalizations of bipartite graphs. A hypergraph is called
balanced if it is essentially 2-colorable, and remains essentially 2-colorable upon deleting any number of vertices (see
Balanced hypergraph). The properties of bipartiteness and balance do not imply each other. Bipartiteness does not imply balance. For example, let
H be the hypergraph with vertices {1,2,3,4} and edges:{ {1,2,3} , {1,2,4} , {1,3,4} }It is bipartite by the partition
X={1},
Y={2,3,4}. But is not balanced. For example, if vertex 1 is removed, we get the restriction of
H to {2,3,4}, which has the following hyperedges;{ {2,3} , {2,4} , {3,4} }It is not 2-colorable, since in any 2-coloring there are at least two vertices with the same color, and thus at least one of the hyperedges is monochromatic. Another way to see that
H is not balanced is that it contains the odd-length cycle C = (2 - {1,2,3} - 3 - {1,3,4} - 4 - {1,2,4} - 2), and no edge of
C contains all three vertices 2,3,4 of
C. Balance does not imply bipartiteness. Let
H be the hypergraph:{ {1,2} , {3,4} , {1,2,3,4} }it is 2-colorable and remains 2-colorable upon removing any number of vertices from it. However, it is not bipartite, since to have exactly one green vertex in each of the first two hyperedges, we must have two green vertices in the last hyperedge. == See also ==