Log in Sign up
Back to Discover
🔢

Chromatic polynomial

math Maturity 5-7

You can color dots and lines.

Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Some dots must have different colors. We can count how many ways to do this. This helps us solve puzzles. It is like a game with colors. Can you find a way to color them?

50 words

Imagine you have dots and lines.

Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex graphs BW with colorings.png
You want to color each dot. Some dots are joined by lines. Those dots must have different colors.

We can count every way to do this. We can use many colors or just a few. A special math rule helps us count them. This rule is called a chromatic polynomial.

George Birkhoff first used this idea. He wanted to solve a big color puzzle. He used math to study how we color shapes.

Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg
Some different shapes use the same math rule. This means they have the same number of ways to be colored. This makes math very neat.

116 words

Imagine you have dots connected by lines. These dots are called vertices. You want to color each dot. If two dots have a line between them, they must have different colors. This is called a proper coloring.

Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex graphs BW with colorings.png

How many ways can you color these dots? The answer changes based on how many colors you have. Mathematicians use a special tool to find this answer. It is a math rule called a chromatic polynomial.

Chromatic polynomial of all 3-vertex graphs BW.png
Chromatic polynomial of all 3-vertex graphs BW.png

George David Birkhoff first used this idea in 1912. He wanted to solve the four color problem. He hoped to use algebra to study coloring. Later, Hassler Whitney expanded this idea. He showed it works for all types of graphs.

Sometimes, two different shapes have the same rule. This means they have the same number of ways to be colored. We call these chromatically equivalent graphs.

Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg

One example is a tree. All trees with the same number of dots have the same rule. This shows how math finds patterns in different shapes.

184 words

Imagine you have a collection of dots connected by lines. In math, we call these dots vertices and the lines edges. A common puzzle is to color each dot so that no two dots connected by a line share the same color. This is called a proper coloring. The number of ways you can do this changes depending on how many colors you have available. To track these changes, mathematicians use a special tool called a chromatic polynomial. This rule acts like a math machine that takes the number of colors as an input. It then gives you the total number of valid coloring ways as an output.

Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex graphs BW with colorings.png

This math tool works by looking at the structure of the graph. One way to find the polynomial is through a method called deletion-contraction. This process involves looking at a single edge in your graph. You can either remove the edge entirely or merge the two dots it connects into one. By repeating these steps, you can break a hard graph down into much simpler pieces. Eventually, you end up with very basic shapes where the coloring rules are easy to see. The results from these simple shapes are then combined to build the full polynomial for the original graph.

Chromatic polynomial of all 3-vertex graphs BW.png
Chromatic polynomial of all 3-vertex graphs BW.png

History shows us how this idea grew over time. George David Birkhoff introduced the chromatic polynomial in 1912. He was trying to solve a famous puzzle called the four color theorem. He wanted to use algebra to prove that any flat map only needs four colors. Later, in 1932, Hassler Whitney expanded the idea. He showed that the polynomial works for all types of graphs, not just flat ones. In 1968, Ronald C. Read asked new questions about which graphs share the same polynomial. This helped mathematicians understand the deep connections between different shapes.

The chromatic polynomial holds many interesting facts and numbers. For a graph with a certain number of dots, the polynomial will always have that same degree. This means the highest power in the math rule matches the number of vertices. The coefficients, or the numbers in front of the powers, follow a specific pattern. They alternate between positive and negative signs. For example, if you use a graph with three dots in a triangle, the rule is k times k minus one, times k minus two. This formula tells you exactly how many ways to color that specific shape.

Chromatic polynomial of all 3-vertex graphs BW.png
Chromatic polynomial of all 3-vertex graphs BW.png

Sometimes, two shapes look very different but share the same rule. We call these chromatically equivalent graphs. For instance, all trees with the same number of dots will have the exact same chromatic polynomial. This means the math rule cannot tell them apart, even if their shapes are unique. However, some special shapes are chromatically unique. This means their math rule is so special that it can only belong to that one specific shape. This study helps us see the hidden patterns that link different parts of the math world together.

Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg

518 words

{ "text": "In algebraic graph theory, the chromatic polynomial is a vital mathematical tool. It is a polynomial that counts the number of proper vertex colorings for a given graph. A proper coloring occurs when every vertex is assigned a color such that no two adjacent vertices share the same color. The polynomial acts as a function where the input is the number of available colors, denoted as $k$ or $x$. The output is the total number of distinct ways to color the graph properly. This tool allows mathematicians to study the coloring properties of graphs through the lens of algebra and analysis.

Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex graphs BW with colorings.png
\n\nTo understand how these polynomials are built, we look at the deletion-contraction recurrence. This is also known as the Fundamental Reduction Theorem. It provides a recursive way to calculate the polynomial by focusing on a single edge in the graph. If you select an edge, you can either delete it to create a simpler graph or contract it by merging its two vertices into one. Deletion-contraction shows that the number of $k$-colorings of a graph is the sum of the colorings of the graph with the edge removed and the graph with the edge contracted. By repeating this process, any complex graph can eventually be broken down into basic, edgeless graphs.
Chromatic polynomial of all 3-vertex graphs BW.png
Chromatic polynomial of all 3-vertex graphs BW.png
\n\nThere are several specific types of graphs that yield predictable chromatic polynomials. For example, an edgeless graph with $n$ vertices has a polynomial of $k^n$, because every vertex can be any of the $k$ colors. A complete graph, where every vertex is connected to every other vertex, has a polynomial of $k(k-1)(k-2)...(k-n+1)$. Trees, which are connected graphs with no cycles, follow a specific pattern as well. Any tree with $n$ vertices will always have the same chromatic polynomial: $k(k-1)^{n-1}$. This demonstrates how the underlying structure of a graph dictates its algebraic representation.\n\nThe history of this concept is tied to one of the most famous puzzles in mathematics. George David Birkhoff introduced the chromatic polynomial in 1912. He was specifically studying planar graphs, which are graphs that can be drawn on a flat surface without edges crossing. His goal was to prove the four color theorem. He hoped to use the roots of polynomials to show that every planar graph could be colored with at least four colors. In 1932, Hassler Whitney expanded this work by generalizing the polynomial to all graphs, not just planar ones. Later, in 1968, Ronald C. Read introduced the idea of chromatically equivalent graphs.
Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg
\n\nChromatic polynomials possess several strict mathematical properties. For a graph with $n$ vertices, the polynomial is always monic, meaning its leading coefficient is 1. The degree of the polynomial is exactly equal to the number of vertices, $n$. The coefficients of the polynomial are integers that alternate in sign. Furthermore, the smallest positive integer that is not a root of the polynomial is the chromatic number of the graph. The chromatic number represents the minimum number of colors required for a proper coloring. If a graph has $c$ components, the coefficient of the $k^1$ term is zero if $c$ is greater than one.\n\nAn interesting concept in this field is chromatic equivalence. Two graphs are chromatically equivalent if they share the exact same chromatic polynomial. While isomorphic graphs—those with the same structure—always share a polynomial, the reverse is not always true. Many different-looking graphs can be chromatically equivalent. For instance, all trees with the same number of vertices share the same polynomial. However, some graphs are chromatically unique. This means their specific polynomial can only belong to one unique graph structure.
Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg
\n\nFinally, the study of chromatic roots connects graph theory to complex analysis. A chromatic root is a value of $x$ where the polynomial equals zero. Birkhoff originally studied these to tackle the four color theorem. While 0 and 1 are common roots, other roots can be found in the complex plane. W. T. Tutte discovered a fascinating connection between these roots and the golden ratio. He showed that for a planar triangulation of a sphere, chromatic roots exist very close to the value of $\phi + 1$, where $\phi$ is the golden ratio. This links the discrete world of graph coloring to deep, continuous mathematical constants.", "media": [ "File:Chromatic polynomial of all 3-vertex graphs BW with colorings.png", "File:Chromatic polynomial of all 3-vertex graphs BW.png", "File:Chromatically equivalent graphs.svg" ] }

739 words
🖼️ Images & Media (3)
File:Chromatic polynomial of all 3-vertex graphs BW.png
Chromatic polynomial of all 3-vertex graphs BW.png
File:Chromatic polynomial of all 3-vertex graphs BW with colorings.png
Chromatic polynomial of all 3-vertex...
File:Chromatically equivalent graphs.svg
Chromatically equivalent graphs.svg
Up Next
🔢
Matching polynomial
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.