Nepedia
Back to Discover
Advanced Reader
🔢

Bipartite graph

math Maturity 7-9 Next article →

{

"text": "In the mathematical field of graph theory, a bipartite graph is a specific way to organize vertices and edges. A bipartite graph, also called a bigraph, is defined by its ability to be divided into two distinct sets. These sets, known as the parts of the graph, are disjoint and independent. This means that every single edge in the graph must connect a vertex from the first set to a vertex in the second set. No edge is permitted to connect two vertices that belong to the same part.

Biclique K 3 5 bicolor
Biclique K 3 5 bicolor

\n\nThis structure can be understood through the concept of graph coloring. A graph is bipartite if it is 2-colorable, meaning its chromatic number is two or less. If you color all nodes in one set blue and all nodes in the other set red, every edge will connect endpoints of different colors. This is a requirement of the graph coloring problem. In contrast, a non-bipartite graph like a triangle makes this impossible. If you color one node blue and another red, the third vertex in a triangle connects to both colors. Therefore, it cannot be assigned a color without violating the rule.

Heawood graph bipartite (bicolor)
Heawood graph bipartite (bicolor)

\n\nA fundamental way to identify these graphs is by looking for cycles. An undirected graph is bipartite if and only if it does not contain any odd-length cycles. This characterization is often attributed to a 1916 paper by Dénes Kőnig. For infinite graphs, however, proving this result requires the axiom of choice. Another way to define them is through bonds. A graph is bipartite if every edge belongs to an odd number of bonds, which are minimal subsets of edges whose removal increases the number of components. Additionally, the spectrum of a bipartite graph is always symmetric.\n\nThere are several specialized types of bipartite graphs. A complete bipartite graph, denoted as $K_{m,n}$, occurs when every vertex in a set of size $m$ connects to every vertex in a set of size $n$. Such a graph contains exactly $m \times n$ edges.

Biclique K 3 5 bicolor
Biclique K 3 5 bicolor

If the two subsets have equal cardinality, the graph is called a balanced bipartite graph. If all vertices on one side of the partition have the same degree, the graph is called biregular. Other examples include crown graphs, which are formed by removing a perfect matching from complete bipartite graphs. Hypercube graphs, partial cubes, and median graphs also fall into the bipartite category.\n\nBipartite graphs appear frequently when modeling relations between two different classes of objects. For example, an affiliation network can map football players to their clubs. In this model, an edge exists only if a player has played for a specific club. Another complex application is the railway optimization problem. This is an NP-complete problem involving train schedules and stops. It can be modeled as a dominating set problem in a bipartite graph. In this version, one set of vertices represents trains and the other represents stations. An edge connects a train to a station if that train stops there.\n\nMathematical theorems provide deep insights into the properties of these graphs. Kőnig's theorem states that in bipartite graphs, the size of a minimum vertex cover equals the size of a maximum matching. An equivalent form says the size of the maximum independent set plus the maximum matching equals the total number of vertices. Bipartite graphs are also part of the class of perfect graphs. This perfection is easy to see because their chromatic number and maximum clique size are both two. The strong perfect graph theorem notes that bipartite graphs are characterized by having no odd cycles as subgraphs.\n\nResearchers use various algorithms to test for bipartiteness efficiently. Using a depth-first search (DFS) or a breadth-first search (BFS), one can test a graph in linear time. The process involves assigning colors to vertices in a way that differs from their parent in a search forest. If the algorithm finds an edge connecting two vertices of the same color, it has discovered an odd cycle. This proves the graph is not bipartite.

Odd Cycle Transversal of size 2
Odd Cycle Transversal of size 2

For intersection graphs of simple shapes in a plane, testing can be done in $O(m \sqrt{n})$ time. This allows mathematicians to quickly categorize complex networks and solve optimization problems.",

"media": [

"File:Biclique K 3 5 bicolor.svg",

"File:Heawood graph bipartite (bicolor).svg",

"File:Odd Cycle Transversal of size 2.png"

]

}

734 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Biclique K 3 5 bicolor.svg
Biclique K 3 5 bicolor.svg
File:Heawood graph bipartite (bicolor).svg
Heawood graph bipartite (bicolor).svg
File:Odd Cycle Transversal of size 2.png
Odd Cycle Transversal of size 2.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.