ArticleslgStudy

science

Edge coloring

Edge coloring is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Edge coloring rather than just read about it. In short: In graph theory, a proper edge coloring of a graph is an assignment of "colors" to the edges of the graph so that no two incident edges have the same color. For example, the figure to the right shows an edge coloring of a graph by the colors red, blue, and green.

Edge coloring — main illustration
Edge coloring — illustration

Key takeaways

  • Edge coloring belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Edge coloring to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Edge coloring from memory before moving on to harder problems.

Reference excerpt

In graph theory, a proper edge coloring of a graph is an assignment of "colors" to the edges of the graph so that no two incident edges have the same color. For example, the figure to the right shows an edge coloring of a graph by the colors red, blue, and green. Edge colorings are one of several different types of graph coloring. The edge-coloring problem asks whether it is possible to color the edges of a given graph using at most k different colors, for a given value of k, or with the fewest possible colors. The minimum required number of colors for the edges of a given graph is called the chromatic index of the graph. By Vizing's theorem, the number of colors needed to edge color a simple graph is either its maximum degree Δ or Δ+1. For some graphs, such as bipartite graphs and high-degree planar graphs, the number of colors is always Δ, and for multigraphs, the number of colors may be as large as 3Δ/2. There are polynomial time algorithms that construct optimal colorings of bipartite graphs, and colorings of non-bipartite simple graphs that use at most Δ+1 colors; however, the general problem of finding an optimal edge coloring is NP-hard and the fastest known algorithms for it take exponential time. Many variations of the edge-coloring problem, in which an assignments of colors to edges must satisfy other conditions than non-adjacency, have been studied. Edge colorings have applications in scheduling problems and in frequency assignment for fiber optic networks.

Examples A cycle graph may have its edges colored with two colors if the length of the cycle is even: simply alternate the two colors around the cycle. However, if the length is odd, three colors are needed.

A complete graph Kn with n vertices is edge-colorable with n − 1 colors when n is an even number; this is a special case of Baranyai's theorem. Soifer (2008) provides the following geometric construction of a coloring in this case: place n points at the vertices and center of a regular (n − 1)-sided polygon. For each color class, include one edge from the center to one of the polygon vertices, and all of the perpendicular edges connecting pairs of polygon vertices. However, when n is odd, n colors are needed: each color can only be used for (n − 1)/2 edges, a 1/n fraction of the total. Several authors have studied edge colorings of the odd graphs, n-regular graphs in which the vertices represent teams of n − 1 players selected from a pool of 2n − 1 players, and in which the edges represent possible pairings of these teams (with one player left as "odd man out" to referee the game). The case that n = 3 gives the well-known Petersen graph. As Biggs (1972) explains the problem (for n = 6), the players wish to find a schedule for these pairings such that each team plays each of its six games on different days of the week, with Sundays off for all teams; that is, formalizing the problem mathematically, they wish to find a 6-edge-coloring of the 6-regular odd graph O6. When n is 3, 4, or 8, an edge coloring of On requires n + 1 colors, but when it is 5, 6, or 7, only n colors are needed.

Definitions As with its vertex counterpart, an edge coloring of a graph, when mentioned without any qualification, is always assumed to be a proper coloring of the edges, meaning no two adjacent edges are assigned the same color. Here, two distinct edges are considered to be adjacent when they share a common vertex. An edge coloring of a graph G may also be thought of as equivalent to a vertex coloring of the line graph L(G), the graph that has a vertex for every edge of G and an edge for every pair of adjacent edges in G. A proper edge coloring with k different colors is called a (proper) k-edge-coloring. A graph that can be assigned a k-edge-coloring is said to be k-edge-colorable. The smallest number of colors needed in a (proper) edge coloring of a graph G is the chromatic index, or edge chromatic number, χ′(G). The chromatic index is also sometimes written using the notation χ1(G); in this notation, the subscript one indicates that edges are one-dimensional objects. A graph is k-edge-chromatic if its chromatic index is exactly k. The chromatic index should not be confused with the chromatic number χ(G) or χ0(G), the minimum number of colors needed in a proper vertex coloring of G. Unless stated otherwise all graphs are assumed to be simple, in contrast to multigraphs in which two or more edges may be connecting the same pair of endpoints and in which there may be self-loops. For many problems in edge coloring, simple graphs behave differently from multigraphs, and additional care is needed to extend theorems about edge colorings of simple graphs to the multigraph case.

Relation to matching

… excerpt ends here. Continue reading the full article.

Illustrations

Edge coloring: A 3-edge-coloring of the Desargues graph. The edges can be colored by three colors but cannot be colored by two colors, so the graph has chromatic index of 3.
A 3-edge-coloring of the Desargues graph. The edges can be colored by three colors but cannot be colored by two colors, so the graph has chromatic index of 3.
Edge coloring: Geometric construction of a 7-edge-coloring of the complete graph K8. Each of the seven color classes has one edge from the center to a polygon vertex, and three edges perpendicular to it.
Geometric construction of a 7-edge-coloring of the complete graph K8. Each of the seven color classes has one edge from the center to a polygon vertex, and three edges perpendicular to it.
Edge coloring: This 3-regular planar graph has 16 vertices and 24 edges, but only 7 edges in any maximum matching. Therefore, it requires four colors in any edge coloring.
This 3-regular planar graph has 16 vertices and 24 edges, but only 7 edges in any maximum matching. Therefore, it requires four colors in any edge coloring.
Edge coloring: A Shannon multigraph with degree six and edge multiplicity three, requiring nine colors in any edge coloring
A Shannon multigraph with degree six and edge multiplicity three, requiring nine colors in any edge coloring
Edge coloring: The uniquely 3-colorable generalized Petersen graph G(9,2). One of its three color classes is shown by the light edges and the other two can be found either by rotating the light edges by 40° in each direction or by partitioning the dark Hamiltonian cycle into alternating edges.
The uniquely 3-colorable generalized Petersen graph G(9,2). One of its three color classes is shown by the light edges and the other two can be found either by rotating the light edges by 40° in each direction or by partitioning the dark Hamiltonian cycle into alternating edges.

Worked examples

Example 1 — a first encounter with Edge coloring

Start with the simplest possible case. Write down what Edge coloring claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Edge coloring before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Edge coloring ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Edge coloring

In research
Edge coloring appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Edge coloring in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Edge coloring is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph coloring, NP-complete problems, so understanding it makes those chapters shorter.
In everyday life
Look for Edge coloring outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Edge coloring” →

How to study Edge coloring in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Edge coloring means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Edge coloring out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Edge coloring in simple terms?

In graph theory, a proper edge coloring of a graph is an assignment of "colors" to the edges of the graph so that no two incident edges have the same color. For example, the figure to the right shows an edge coloring of a graph by the colors red, blue, and green.

Why does Edge coloring matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Edge coloring?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Edge coloring.

Tags

  • Graph coloring
  • NP-complete problems

Keep exploring