Nepedia
Back to Discover
Advanced Reader
🔢

Graph homomorphism

math Maturity 11-13 Next article →

In the mathematical field of graph theory, a graph homomorphism is a mapping between two graphs that respects their underlying structure. A graph is defined as a collection of vertices, or dots, and edges, or lines connecting them. A homomorphism is a specific type of function between the vertex sets of two graphs. The fundamental rule is that if two vertices are adjacent in the first graph, their mapped images must also be adjacent in the second graph.

Graph homomorphism into C5
Graph homomorphism into C5

This mapping ensures that the connectivity of the original graph is preserved within the target graph.

This concept can be applied to many different types of mathematical structures. While the standard definition involves finite, undirected graphs without multiple edges, it can be extended to directed graphs. In a directed graph, edges are called arcs and have a specific direction. For a homomorphism between directed graphs, if an arc exists from vertex $u$ to vertex $v$ in the first graph, then an arc must exist from their images in the second graph. There are also more specialized versions of these mappings. For example, a covering map is a surjective homomorphism that is also locally bijective. This means the mapping acts as a bijection on the neighborhood of each vertex.

Homomorphisms are deeply connected to the study of graph coloring. A $k$-coloring is an assignment of $k$ different colors to the vertices of a graph so that no two adjacent vertices share the same color. This process is exactly the same as finding a homomorphism from the graph to a complete graph, denoted as $K_k$. In a complete graph, every vertex is connected to every other vertex. Because of this, mapping to $K_k$ forces adjacent vertices in the original graph to land on different vertices in $K_k$, which represents different colors.

Groetzsch-graph
Groetzsch-graph

This relationship allows mathematicians to use the language of homomorphisms to study complex coloring problems, such as circular or fractional colorings.

Some graphs possess a fundamental, irreducible structure known as a core. A core is a graph that does not have a homomorphism to any of its proper subgraphs. This means the graph cannot be simplified or compressed into a smaller version of itself without losing its essential connectivity. Every graph is homomorphically equivalent to a unique core, which is the most basic version of that graph's structure. For instance, all complete graphs, such as $K_7$, are cores.

Complete graph K7
Complete graph K7

Similarly, any cycle graph with an odd number of vertices is also a core. If two graphs can map to each other through homomorphisms, they are considered homomorphically equivalent.

Beyond pure theory, homomorphisms serve as a powerful tool for solving constraint satisfaction problems (CSPs). These are problems where you must assign values to variables while following specific rules. One practical application is in scheduling workshop courses. If a student attends two different courses, those courses are connected by an edge in a graph. To ensure a student does not have classes too close together, one can map this graph to a second graph representing time slots. In this second graph, edges only connect slots that are sufficiently distant in time.

Graph of non-adjacent weekdays
Graph of non-adjacent weekdays

This ensures the resulting schedule respects the required time gaps.

Another useful application is in wireless network frequency allocation. Transmitters in a network must choose frequency channels that do not cause interference. By creating a graph where edges connect transmitters located geographically close to one another, engineers can model the problem. They then map this graph to a graph of available channels, where edges connect frequencies that are far apart. This mapping provides a valid way to assign channels so that nearby transmitters do not interfere with each other. While these models are simplified, they allow for complex adjustments, such as removing edges to account for specific geographical features or harmonic interference.

Finally, the study of homomorphisms connects to broader algebraic and computational fields. Because homomorphisms can be composed, they create rich structures such as preorders, distributive lattices, and categories. From a computational perspective, finding a homomorphism between two arbitrary graphs is often very difficult and time-consuming for computers. This is known as being computationally prohibitive. However, researchers actively study the boundaries between tractable cases, which are solvable in polynomial time, and intractable cases, which are much harder to solve. This ongoing research helps improve the algorithms used for various real-world optimization problems.

722 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:Graph homomorphism into C5.svg
Graph homomorphism into C5.svg
File:Complete graph K7.svg
Complete graph K7.svg
File:Graph of non-adjacent weekdays.svg
Graph of non-adjacent weekdays.svg
File:Groetzsch-graph.svg
Groetzsch-graph.svg
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.