Bipartite Graph

Context: FIT1058_MOC · vertices split into two sides with edges only across · equivalent to 2-colourability and to having no odd cycle

Quick Revision

  • 🎯 Objective: , every edge crosses ➔ two-sided graph.
  • 📦 Core Components: three equivalent views — parts / 2-colouring / no odd cycle.
  • ⚡ Key Constraint: a single odd cycle disproves it; the triangle is the smallest non-bipartite graph.

📝 Core

1. The Definition

  • Bipartite with every edge one end in , one in .
  • Partition ➔ if has an edge, both parts nonempty (Set Partition).

2. Three Equivalent Views

  • Parts.
  • 2-colouring ➔ adjacent vertices differ; parts are colour preimages.
  • No odd cycle ➔ equivalently no odd closed walk.

3. Why No Odd Cycle

  • Walks alternate ⟹ a closed walk needs even length.
  • Distance-parity colouring ➔ colour by parity of distance from a ground vertex.

Key identities:

When It Flips: the distance-parity colouring works per component (pick a ground vertex in each); the no-odd-walk hypothesis guarantees consistency. Odd cycles are the sole obstruction (via the odd-closed-walk ⟺ odd-cycle equivalence).

📊 Exam Execution Trace

Manual Execution Trace

2-colour :

Step / StateVertexDistance parityColour
0 (Init)1 (ground)evenBlack
12oddWhite
23evenBlack
34oddWhite

⚠️ Common Mistakes

  • 💡 One odd cycle disproves it ➔ to prove bipartite exhibit the parts / 2-colouring; to disprove, exhibit an odd cycle (e.g. a triangle).

🧠 Active Recall