Problem Solving

Chromatic Number

Children select differently colored wooden counters from a tray.

Chromatic Number definition

The chromatic number of a graph is the smallest number of colors needed for a proper vertex coloring.

In Spanish
número cromático
Topic
Graph theory

Chromatic Number in a picture

Chromatic Number diagramA triangle needs three colors, and assigning one to each vertex achieves the bound.ABC
A triangle needs three colors, and assigning one to each vertex achieves the bound.

How it works

To establish the exact number, give a coloring using that many colors and show that fewer cannot work. A triangle forces at least three colors because its vertices are pairwise adjacent. A graph can sometimes require more colors than the size of its largest complete subgraph.

Worked examples

Find the chromatic number of a triangle.

Three. Each pair is adjacent.

Find it for a square with no diagonals.

Two. One edge forces at least two, and alternating colors works.

What is it for a nonempty graph with no edges?

One.

Common mistake

A coloring using four colors establishes an upper bound of four. You still need a reason why three colors cannot work before claiming the chromatic number is four.

Quick check

Does a triangle require at least three colors?

Show answer

Yes.

How many colors does K₅ require?

Show answer

Five.

What does a valid coloring with three colors show?

Show answer

The chromatic number is at most three.

Sources

Flashcard

Chromatic Number

Reveal the definition

The chromatic number of a graph is the smallest number of colors needed for a proper vertex coloring.

Effortless Math. “Chromatic Number.” Math Dictionary.