Bipartite graph

From WikiMD's Food, Medicine & Wellness Encyclopedia

Simple_bipartite_graph;_two_layers
Simple_bipartite_graph;_no_crossings
Biclique_K_3_5_bicolor
Heawood_graph_bipartite_(bicolor)
Odd_Cycle_Transversal_of_size_2

Bipartite graph

A bipartite graph is a special type of graph in the field of graph theory. A graph is bipartite if its set of vertices can be divided into two disjoint sets such that no two graph vertices within the same set are adjacent. In other words, every edge in the graph connects a vertex in the first set to a vertex in the second set.

Definition[edit | edit source]

Formally, a graph \( G = (V, E) \) is bipartite if the vertex set \( V \) can be partitioned into two disjoint sets \( U \) and \( W \) such that every edge in \( E \) connects a vertex in \( U \) to a vertex in \( W \). This can be written as: \[ U \cup W = V \] \[ U \cap W = \emptyset \] \[ \forall (u, v) \in E, u \in U \text{ and } v \in W \]

Properties[edit | edit source]

  • A graph is bipartite if and only if it does not contain any odd cycles.
  • The chromatic number of a bipartite graph is 2, meaning it can be colored using two colors such that no two adjacent vertices share the same color.
  • Bipartite graphs are also known as 2-colorable graphs.

Examples[edit | edit source]

  • The simplest example of a bipartite graph is the complete bipartite graph \( K_{m,n} \), where every vertex in set \( U \) is connected to every vertex in set \( W \).
  • Trees are bipartite graphs because they do not contain any cycles, let alone odd cycles.

Applications[edit | edit source]

Bipartite graphs have numerous applications in various fields:

  • In computer science, they are used in matching problems and network flow algorithms.
  • In sociology, bipartite graphs can model relationships between two different classes of objects, such as people and the clubs they belong to.
  • In biology, they can represent interactions between two different species, such as plants and their pollinators.

Related Concepts[edit | edit source]

See Also[edit | edit source]

References[edit | edit source]

External Links[edit | edit source]

Wiki.png

Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD


Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD is not a substitute for professional medical advice. See full disclaimer.

Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD