Perfect Graph — Definition & Example
A perfect graph is a graph in which, no matter which vertices you keep, the fewest colors needed to color what remains equals the size of its largest clique. The largest clique is the only obstacle to coloring, and that stays true in every piece of the graph.
A simple graph is perfect if for every induced subgraph of . Here is the chromatic number and is the clique number. By the Strong Perfect Graph Theorem (Chudnovsky, Robertson, Seymour, Thomas, 2006), is perfect if and only if it has no odd hole and no odd antihole. An odd hole is an induced cycle of odd length at least 5, and an odd antihole is the complement of one.
Worked Example
Problem: Graph is the disjoint union of a 5-cycle (vertices 1–5) and a complete graph (vertices 6–9). Show that , yet is not perfect.
Step 1: Check the whole graph. The is a clique of size 4, and has no triangle, so . The needs 4 colors. The needs only 3, and it can reuse those same colors. So .
Step 2: Now keep only vertices 1–5. This gives the induced subgraph . Its largest clique is a single edge, so . Two colors would have to alternate around the cycle, and that fails because the cycle has odd length. So .
Step 3: Perfection requires equality in every induced subgraph. breaks that rule, so is not perfect. is an odd hole, which is exactly what the Strong Perfect Graph Theorem forbids.
Answer: , but the induced 5-cycle has and . So is not perfect. Equality for the whole graph is not enough.
Why It Matters
Graph coloring and finding a maximum clique are NP-hard in general. For perfect graphs, both can be solved in polynomial time (Grötschel, Lovász, Schrijver). Interval graphs are perfect, so when you schedule meetings in rooms, the minimum number of rooms equals the largest number of meetings that overlap at one moment.
Common Mistakes
Mistake: Concluding that any graph containing an odd cycle is imperfect.
Correction: Triangles are odd cycles, yet is perfect because . Only induced odd cycles of length 5 or more (odd holes), or their complements, rule out perfection.
