Vertex coloring assigns colors to vertices so that adjacent vertices receive different colors. Edge coloring assigns colors to edges so that edges sharing a common endpoint receive different colors.
This changes the nature of the problem. In vertex coloring, conflicts occur between adjacent vertices. In edge coloring, conflicts occur between incident edges.
Edge coloring models allocation problems in which edges represent tasks, connections, or interactions. Two edges that meet at a vertex cannot occur simultaneously if the shared vertex represents a limited resource.
67.1 Edge Colorings
Let be a graph. An edge coloring of is a function
where is a set of colors.
A coloring is proper if any two incident edges receive different colors. Thus, if edges and share a common endpoint, then
If , then the coloring is called a -edge-coloring.
A graph is -edge-colorable if it admits a proper edge coloring using at most colors.
67.2 Edge Chromatic Number
The edge chromatic number of a graph , denoted by
is the least number of colors needed for a proper edge coloring.
The notation distinguishes edge coloring from vertex coloring, whose chromatic number is denoted .
The edge chromatic number is also called the chromatic index.
67.3 First Examples
Consider the path graph
This graph has three edges. The middle edge touches both remaining edges, so it must receive a different color from each. However, the two outer edges are not incident, so they may share a color.
Thus two colors suffice:
| Edge | Color |
|---|---|
| 1 | |
| 2 | |
| 1 |
Therefore,
Now consider the triangle . Every edge touches the other two edges. Therefore all three edges require distinct colors:
Now consider the square . Opposite edges do not meet, so two alternating colors suffice:
These examples already suggest that parity plays an important role in edge coloring.
67.4 Matchings and Color Classes
In a proper edge coloring, all edges of the same color are pairwise nonincident. Such a set of edges is called a matching.
Therefore every color class in an edge coloring is a matching.
Conversely, if the edge set of a graph can be partitioned into matchings, then assigning one color to each matching produces a proper edge coloring.
Thus edge coloring is equivalent to partitioning the edge set into matchings.
| View | Description |
|---|---|
| Coloring view | Assign colors to edges |
| Matching view | Partition edges into matchings |
This connection is fundamental. Much of edge coloring theory is closely related to matching theory.
67.5 Lower Bounds
Let denote the maximum degree of .
At any vertex , all incident edges must receive distinct colors. Since has degree , at least colors are required locally.
Therefore
This lower bound is immediate and extremely important.
For example, in the complete graph ,
Thus at least four colors are required.
The surprising fact is that only one additional color is ever needed beyond this lower bound.
67.6 Vizing’s Theorem
One of the central results of edge coloring is Vizing’s Theorem.
If is a simple graph, then
This theorem shows that every simple graph belongs to one of two classes.
| Class | Condition |
|---|---|
| Class 1 | |
| Class 2 |
Thus the edge chromatic number is determined almost completely by the maximum degree.
This is very different from vertex coloring, where the chromatic number may be arbitrarily larger than the maximum degree.
For example:
| Graph | ||
|---|---|---|
| Even cycle | 2 | 2 |
| Odd cycle | 2 | 3 |
| 3 | 3 | |
| 4 | 5 |
Odd cycles provide the simplest Class 2 graphs.
67.7 Edge Coloring of Cycles
Cycles provide a clean illustration of parity effects.
If is even, then the cycle
may be colored by alternating two colors around the cycle.
Thus
If is odd, alternating colors fails when the cycle closes. The last edge conflicts with the first edge. Therefore a third color is required:
Hence:
Odd parity creates the obstruction.
67.8 Edge Coloring of Complete Graphs
The complete graph has
Its edge chromatic number depends on whether is even or odd.
Thus:
| Graph | Edge chromatic number |
|---|---|
| 3 | |
| 5 | |
| 5 | |
| 7 |
When is even, the edges may be partitioned into perfect matchings. When is odd, parity prevents this.
The odd case is closely related to tournament scheduling. If teams play pairwise matches, each round corresponds to a matching. An odd number of teams forces one team to remain idle each round.
67.9 König’s Line Coloring Theorem
A major theorem for bipartite graphs is König’s Line Coloring Theorem.
If is bipartite, then
Thus every bipartite graph is Class 1.
This theorem is important both theoretically and algorithmically. Bipartite structure eliminates the parity obstructions that occur in general graphs.
For example, consider the complete bipartite graph . Its maximum degree is
Therefore
67.10 Line Graphs
Edge coloring can be converted into a vertex coloring problem.
The line graph of a graph , denoted , is constructed as follows:
- each edge of becomes a vertex of ,
- two vertices of are adjacent if the corresponding edges of are incident.
Thus adjacency in the line graph represents edge incidence in the original graph.
Therefore:
Edge coloring becomes vertex coloring of the line graph.
This correspondence allows many edge-coloring problems to be studied through ordinary vertex coloring.
67.11 Edge Coloring and Scheduling
Edge coloring naturally models scheduling problems involving shared resources.
Suppose vertices represent processors and edges represent communication tasks. Two tasks sharing a processor cannot occur simultaneously. A proper edge coloring assigns time slots so that conflicting tasks occur at different times.
| Graph concept | Scheduling meaning |
|---|---|
| Vertex | Resource |
| Edge | Task |
| Incident edges | Conflicting tasks |
| Color | Time slot |
The edge chromatic number gives the minimum number of required time slots.
This model appears in communication networks, switch scheduling, and tournament design.
67.12 Regular Graphs
A graph is -regular if every vertex has degree .
For regular graphs, edge coloring interacts strongly with parity.
Suppose is -regular on vertices. Then
If is properly edge colored using colors, then each color class must form a perfect matching. Thus each color class contains exactly edges.
This immediately implies that must be even.
Therefore an -regular graph on an odd number of vertices cannot be edge colored with only colors.
This explains why
67.13 Edge Coloring Algorithms
A simple greedy algorithm colors edges one at a time.
At each step, assign to the current edge the smallest available color not used on adjacent edges.
Suppose an edge is being colored. At most
colors are forbidden by adjacent edges.
Since
at most
colors are excluded.
Thus greedy coloring gives the bound
Vizing’s Theorem greatly improves this bound, but its proof is more subtle.
67.14 Multigraphs
In a multigraph, multiple edges may join the same pair of vertices.
Edge coloring becomes more complicated because parallel edges are mutually incident. If parallel edges connect two vertices, then all edges require different colors.
Vizing’s Theorem applies only to simple graphs. For multigraphs, stronger bounds are needed.
One classical result is Shannon’s Theorem:
for multigraphs.
Edge coloring of multigraphs is substantially more difficult than edge coloring of simple graphs.
67.15 Comparison with Vertex Coloring
Vertex coloring and edge coloring share similar language but behave differently.
| Property | Vertex coloring | Edge coloring |
|---|---|---|
| Object colored | Vertices | Edges |
| Conflict relation | Adjacency | Incidence |
| Minimum number | ||
| Basic lower bound | Clique number | Maximum degree |
| General upper bound | ||
| Difficulty source | Global structure | Local incidence and parity |
The chromatic number of a graph may be arbitrarily large even when the maximum degree is small. Edge chromatic number behaves more rigidly because local degree structure dominates the problem.
67.16 Exercises
Find .
Find .
Prove that every matching gives a proper edge coloring with one color.
Prove that every color class in a proper edge coloring is a matching.
Find the edge chromatic number of .
Find the edge chromatic number of .
Construct the line graph of .
Prove that
Show that every bipartite graph with maximum degree 2 is edge colorable with two colors.
Give an example of a Class 2 graph.
Prove that every even cycle is 2-edge-colorable.
Prove that every odd cycle is 3-edge-colorable.
Determine the edge chromatic number of the star graph .
Explain why an odd regular graph cannot be decomposed into perfect matchings.
Describe a scheduling problem modeled naturally by edge coloring.