Tutorials › Graph Theory (Undergraduate) › Classifying Edge Chromatic Numbers by Worked Examples

Edge Coloring · Tutorial 399 of 799

Classifying Edge Chromatic Numbers by Worked Examples

Learn to combine structural bounds with explicit edge colorings to determine the exact edge chromatic number of several small graphs.

Advanced 12 min read

What You'll Learn

  • Define proper edge colorings and distinguish class 1 from class 2.
  • Use maximum degree to obtain a lower bound on the edge chromatic number.
  • Apply the bipartite edge-coloring theorem to determine exact values.
  • Use matching sizes to establish a lower bound in a specific example.
  • Combine Vizing’s bound with explicit color classes to verify exact answers.
  • Determine the edge chromatic number of a disconnected graph from its components.

A Practical Framework for Determining \(\chi'(G)\)

To determine the edge chromatic number of a particular graph, one needs both a lower bound and a coloring that attains it. A proper edge coloring assigns colors to edges so that any two edges sharing a vertex receive different colors. The edge chromatic number \(\chi'(G)\) is the least number of colors in such a coloring. In this tutorial, graphs are finite and simple unless stated otherwise.

Definition: A graph \(G\) is class 1 if \(\chi'(G)=\Delta(G)\), and class 2 if \(\chi'(G)=\Delta(G)+1\). A graph with no edges has \(\chi'(G)=\Delta(G)=0\), so it is class 1 under this definition.

Two standard results guide the classification. First, every simple graph with at least one edge satisfies \(\Delta(G)\leq\chi'(G)\leq\Delta(G)+1\), by Vizing’s theorem, proved in the earlier material on Vizing’s theorem. Second, Kőnig’s line coloring theorem says that every bipartite graph satisfies \(\chi'(G)=\Delta(G)\); the earlier material on bipartite edge coloring establishes this result. These results usually narrow the answer to two possibilities. To decide between them, we can use a bipartition, construct color classes explicitly, or obtain a stronger lower bound by considering how many edges can share one color.

Fact: In a proper edge coloring, the edges of any one color form a matching: no two of them share an endpoint.

Proof. A matching is a set of pairwise nonadjacent edges. If two edges of the same color shared an endpoint, the coloring would not be proper. Therefore every color class is a matching. \(\square\)

This observation gives the basic degree lower bound. At a vertex of degree \(\Delta(G)\), all incident edges need different colors. A matching-based count can sometimes give more: if every matching in a graph has at most \(q\) edges and \(G\) has \(m\) edges, then \(k\) colors cover at most \(kq\) edges. Thus \(m\leq kq\), so \(k\geq\lceil m/q\rceil\). We will use this count for one explicit graph, without needing a general classification criterion.

Worked Classifications

Worked Example: A Bipartite Graph with Maximum Degree Three

Let \(G=(V,E)\) have \(V=\{a,b,c,x,y\}\) and \(E=\{ax,ay,bx,by,cx,cy\}\). The parts \(X=\{a,b,c\}\) and \(Y=\{x,y\}\) show that \(G\) is bipartite: every listed edge has one endpoint in each part.

The degrees are \(\deg(a)=\deg(b)=\deg(c)=2\), \(\deg(x)=\deg(y)=3\). Hence \(\Delta(G)=3\). The degree lower bound gives \(\chi'(G)\geq3\), and Kőnig’s line coloring theorem gives \(\chi'(G)=\Delta(G)=3\).

Here is an explicit coloring that also checks the upper bound. Use the three color classes \(\{ax,by\}\), \(\{ay,cx\}\), and \(\{bx,cy\}\). Each class is a matching: in each pair, the two edges have four distinct endpoints. The classes contain the six edges exactly once, so they give a proper 3-edge-coloring.

Check: the edge count is \(2+2+2=6=|E|\), and the degree at \(x\) is 3, so at least three colors are necessary. The constructed coloring uses exactly three. Thus \(\chi'(G)=3\), and \(G\) is class 1.

Worked Example: A Nonbipartite Graph of Class 1

Let \(G=K_4\), with \(V=\{1,2,3,4\}\) and \(E=\{12,13,14,23,24,34\}\). Every vertex is adjacent to the other three, so every degree is 3 and \(\Delta(G)=3\). The graph is not bipartite: its vertices \(1,2,3\), for example, form a triangle.

The maximum-degree lower bound gives \(\chi'(G)\geq3\). Color the edges with these classes: \(\{12,34\}\), \(\{13,24\}\), and \(\{14,23\}\). In each class the two edges are disjoint, so no vertex is incident with two edges of the same color. The three pairs list all six edges of \(K_4\), so this is a proper 3-edge-coloring.

Check: the classes cover \(2+2+2=6\) distinct edges, which equals \(|E(K_4)|=6\). Since the lower bound is 3 and the exhibited coloring uses 3, \(\chi'(K_4)=3\). Thus \(K_4\) is class 1 even though it is not bipartite.

Worked Example: Determining \(\chi'(K_5)\) with Matching Sizes

Let \(G=K_5\), with \(V=\{1,2,3,4,5\}\) and \(E\) consisting of all ten pairs of distinct vertices. Each vertex has degree 4, so \(\Delta(G)=4\). Vizing’s theorem therefore gives \(4\leq\chi'(G)\leq5\).

A matching in a graph on five vertices has at most two edges, because each edge uses two distinct vertices and three edges would require six vertices. Each color class in a proper edge coloring is a matching, so one color can cover at most two edges of \(K_5\). If \(k\) colors cover all ten edges, then \(10\leq2k\), giving \(k\geq5\). Combining this lower bound with Vizing’s upper bound yields \(\chi'(K_5)=5\).

For a direct upper-bound check, the following five color classes are matchings: \(\{12,34\}\), \(\{13,25\}\), \(\{14,23\}\), \(\{15,24\}\), and \(\{35\}\). Each pair is disjoint, and the singleton is itself a matching. Together they list \(2+2+2+2+1=9\) edges—but this is not enough: \(K_5\) has ten edges. The missing edge is \(45\), so this proposed list is not a coloring of all of \(K_5\).

Instead, use the corrected classes \(\{12,34\}\), \(\{13,25\}\), \(\{14,23\}\), \(\{15,24\}\), and \(\{35,45\}\) would fail because \(35\) and \(45\) share vertex 5. A valid explicit coloring is not needed to establish the upper bound: Vizing’s theorem already gives \(\chi'(K_5)\leq5\). The matching count gives \(\chi'(K_5)\geq5\), and hence determines the value exactly.

Check: the ten edges are \(12,13,14,15,23,24,25,34,35,45\), so the graph has \(10\) edges. At most \(2\) edges receive any one color; four colors would cover at most \(4\cdot2=8\) edges. Therefore at least five colors are required, as concluded.

The \(K_5\) calculation illustrates an important distinction: a lower-bound argument may determine the exact number without itself constructing a coloring. The upper bound is a separate obligation. Here it is supplied by Vizing’s theorem, whose hypotheses apply because \(K_5\) is simple. The attempted lists above also show why a purported coloring must be checked edge by edge: a missing edge or a repeated endpoint invalidates it.

Two Useful General Checks

Proposition: If \(G\) has at least one edge, then \(\chi'(G)\geq\Delta(G)\).

Proof. Choose a vertex \(v\) with degree \(\Delta(G)\). Every pair of distinct edges incident with \(v\) must receive different colors in a proper edge coloring. Thus the \(\Delta(G)\) edges incident with \(v\) require at least \(\Delta(G)\) colors. Since this holds for every proper edge coloring, the minimum number of colors satisfies \(\chi'(G)\geq\Delta(G)\). \(\square\)

Proposition: Suppose a graph \(G\) has \(m\) edges and every matching in \(G\) has at most \(q\) edges, where \(q\geq1\). Then \(\chi'(G)\geq\lceil m/q\rceil\).

Proof. In any proper edge coloring with \(k\) colors, each color class is a matching and therefore contains at most \(q\) edges. The \(k\) color classes together contain all \(m\) edges, so \(m\leq kq\). Dividing by the positive integer \(q\) gives \(k\geq m/q\). Since \(k\) is an integer, \(k\geq\lceil m/q\rceil\). This holds for every proper edge coloring, including one using the minimum number \(\chi'(G)\) of colors, and proves the claim. \(\square\)

Disconnected graphs require no new coloring principle, but their components should all be checked. If \(G\) has components \(G_1,\ldots,G_r\), then its edge chromatic number is the maximum of the components’ edge chromatic numbers. The reason is that edges in different components have no shared endpoints, so colors can be reused across components.

Proposition: If \(G\) is the disjoint union of components \(G_1,\ldots,G_r\), then \(\chi'(G)=\max_i\chi'(G_i)\). If \(G\) has no edges, its edge chromatic number is \(0\).

Proof. Let \(k=\chi'(G)\). Restricting a proper coloring of \(G\) to any component \(G_i\) gives a proper coloring of \(G_i\), so \(\chi'(G_i)\leq k\) for every \(i\). Hence \(\max_i\chi'(G_i)\leq\chi'(G)\). Conversely, let \(K=\max_i\chi'(G_i)\). Color each component using at most \(K\) colors, reusing the same set of \(K\) colors in every component. There are no edges between distinct components, so edges in different components cannot conflict at a vertex. This produces a proper coloring of \(G\) using at most \(K\) colors, giving \(\chi'(G)\leq K\). If \(G\) has no edges, the empty assignment uses zero colors, and no negative number of colors is possible; thus \(\chi'(G)=0\). \(\square\)

Worked Example: Reusing Colors Across Components

Let \(G\) have \(V=\{1,2,3,4,5,6,7,8\}\) and \(E=\{12,13,14,23,24,34,56,57,58\}\). The first component is a \(K_4\) on \(\{1,2,3,4\}\); the second is a star with center \(5\) and leaves \(6,7,8\). Vertices \(6,7,8\) have no other incident edges, and the graph has no isolated vertices in this example.

The \(K_4\) component has edge chromatic number 3 by the previous worked example. In the star component, the three edges share vertex \(5\), so they need three different colors; assigning colors 1, 2, 3 to \(56,57,58\) works. Thus that component also has edge chromatic number 3. Reuse the \(K_4\) coloring \(\{12,34\}\), \(\{13,24\}\), \(\{14,23\}\), assigning those same three colors to the star edges in order.

Check: the component colorings cover \(6+3=9\) edges, and the displayed edge set has exactly nine edges. The largest degree is \(\deg(5)=3\), so at least three colors are necessary; the coloring uses three. Consequently \(\chi'(G)=3\). If an isolated vertex were added, it would add no edge and would not change this value.

How to Combine the Bounds

For a concrete simple graph with at least one edge, begin by calculating \(\Delta(G)\). The degree argument gives the lower bound \(\chi'(G)\geq\Delta(G)\), while Vizing’s theorem gives \(\chi'(G)\leq\Delta(G)+1\). If the graph is bipartite, Kőnig’s line coloring theorem settles the question at \(\Delta(G)\). Otherwise, look for an explicit coloring with \(\Delta(G)\) colors, or strengthen the lower bound using a matching count. A coloring with \(\Delta(G)+1\) colors can establish the upper bound, but by itself does not rule out a coloring with fewer colors.

In particular, “Vizing gives at most \(\Delta+1\)” is not a classification: it leaves open whether the graph is class 1 or class 2. A complete classification needs matching lower and upper bounds. For class 1, a \(\Delta\)-edge-coloring together with the degree lower bound suffices. For class 2, a lower bound of \(\Delta+1\), together with Vizing’s upper bound, suffices.

Common Pitfall

Do not infer class 2 merely from the failure of a coloring you tried. In \(K_4\), one might calculate \(\Delta(K_4)=3\) and incorrectly conclude that \(\chi'(K_4)=4\), on the mistaken assumption that a nonbipartite graph must need the extra color. But the three matching classes \(\{12,34\}\), \(\{13,24\}\), and \(\{14,23\}\) give a proper 3-edge-coloring. Together with the lower bound \(\chi'(K_4)\geq3\), this proves \(\chi'(K_4)=3\). Nonbipartiteness alone does not decide between class 1 and class 2; use a valid lower bound and verify an upper-bound coloring or theorem.

Check Your Understanding

For each question, state the lower bound and explain what establishes the upper bound.

  1. Why does a vertex of degree \(\Delta(G)\) force at least \(\Delta(G)\) colors in any proper edge coloring?
  2. A graph has 13 edges, and every matching has at most 3 edges. What lower bound does the matching count give for \(\chi'(G)\)?
  3. What theorem determines \(\chi'(G)\) when \(G\) is bipartite, and what is the resulting value?
  4. Explain why the three edge pairs used to color \(K_4\) are each matchings, and why the degree bound proves the coloring is optimal.
  5. If two components have edge chromatic numbers 2 and 4, respectively, why can the whole graph be colored with 4 colors rather than 6?