Characterization Bipartite graphs may be characterized in several different ways: • An undirected graph is bipartite
if and only if it does not contain an odd
cycle. • A graph is bipartite if and only if it is 2-colorable, (i.e. its
chromatic number is less than or equal to 2). • A graph is bipartite if and only if the
spectrum of the graph is symmetric.
Kőnig's theorem and perfect graphs In bipartite graphs, the size of
minimum vertex cover is equal to the size of the
maximum matching; this is
Kőnig's theorem. An alternative and equivalent form of this theorem is that the size of the
maximum independent set plus the size of the maximum matching is equal to the number of vertices. In any graph without
isolated vertices the size of the
minimum edge cover plus the size of a maximum matching equals the number of vertices. Combining this equality with Kőnig's theorem leads to the facts that, in bipartite graphs, the size of the minimum edge cover is equal to the size of the maximum independent set, and the size of the minimum edge cover plus the size of the minimum vertex cover is equal to the number of vertices. Another class of related results concerns
perfect graphs: every bipartite graph, the
complement of every bipartite graph, the
line graph of every bipartite graph, and the complement of the line graph of every bipartite graph, are all perfect. Perfection of bipartite graphs is easy to see (their
chromatic number is two and their
maximum clique size is also two) but perfection of the
complements of bipartite graphs is less trivial, and is another restatement of Kőnig's theorem. This was one of the results that motivated the initial definition of perfect graphs. It follows that any subgraph of a bipartite graph is also bipartite because it cannot gain an odd cycle.
Degree For a vertex, the number of adjacent vertices is called the
degree of the vertex and is denoted \deg v. The
degree sum formula for a bipartite graph states that :\sum_{v \in V} \deg v = \sum_{u \in U} \deg u = |E|\, . The degree sequence of a bipartite graph is the pair of lists each containing the degrees of the two parts U and V. For example, the complete bipartite graph
K3,5 has degree sequence (5,5,5), (3,3,3,3,3).
Isomorphic bipartite graphs have the same degree sequence. However, the degree sequence does not, in general, uniquely identify a bipartite graph; in some cases, non-isomorphic bipartite graphs may have the same degree sequence. The
bipartite realization problem is the problem of finding a simple bipartite graph with the degree sequence being two given lists of natural numbers. (Trailing zeros may be ignored since they are trivially realized by adding an appropriate number of isolated vertices to the digraph.)
Relation to hypergraphs and directed graphs The
biadjacency matrix of a bipartite graph (U,V,E) is a
(0,1) matrix of size |U|\times|V| that has a one for each pair of adjacent vertices and a zero for nonadjacent vertices. Biadjacency matrices may be used to describe equivalences between bipartite graphs, hypergraphs, and directed graphs. A
hypergraph is a combinatorial structure that, like an undirected graph, has vertices and edges, but in which the edges may be arbitrary sets of vertices rather than having to have exactly two endpoints. A bipartite graph (U,V,E) may be used to model a hypergraph in which is the set of vertices of the hypergraph, is the set of hyperedges, and contains an edge from a hypergraph vertex to a hypergraph edge exactly when is one of the endpoints of . Under this correspondence, the biadjacency matrices of bipartite graphs are exactly the
incidence matrices of the corresponding hypergraphs. As a special case of this correspondence between bipartite graphs and hypergraphs, any
multigraph (a graph in which there may be two or more edges between the same two vertices) may be interpreted as a hypergraph in which some hyperedges have equal sets of endpoints, and represented by a bipartite graph that does not have multiple adjacencies and in which the vertices on one side of the bipartition all have
degree two. A similar reinterpretation of adjacency matrices may be used to show a one-to-one correspondence between
directed graphs (on a given number of labeled vertices, allowing self-loops) and balanced bipartite graphs, with the same number of vertices on both sides of the bipartition. For, the adjacency matrix of a directed graph with vertices can be any
(0,1) matrix of size n\times n, which can then be reinterpreted as the adjacency matrix of a bipartite graph with vertices on each side of its bipartition. In this construction, the bipartite graph is the
bipartite double cover of the directed graph. ==Algorithms==