Skip to main content

Graph Homomorphism

A graph homomorphism is a map from one graph to another that sends every edge to an edge. In Combinatorics, it shows when one graph structure can be represented inside another, especially in coloring and Ramsey problems.

Last updated July 2026

What is Graph Homomorphism?

A graph homomorphism in Combinatorics is a function between the vertex sets of two graphs that preserves adjacency. If two vertices are connected by an edge in the first graph, their images must also be connected by an edge in the second graph. That is the whole rule, and it is what makes the idea so useful in graph coloring and Ramsey theory.

The phrase “preserves structure” sounds abstract, but the condition is very concrete. You are not required to preserve non-edges, distances, or degrees. You only need to make sure that every edge in the source graph lands on an edge in the target graph. Because of that, a homomorphism can collapse several vertices of the first graph onto the same vertex of the second graph, as long as edges still go to edges.

A classic way to think about graph homomorphisms is through coloring. If the target graph is a complete graph K_n, then a homomorphism from G to K_n is exactly an n-coloring of G. Each color corresponds to one vertex of K_n, and adjacent vertices in G must go to different vertices, so they cannot share a color. This is why homomorphisms and chromatic number are so tightly connected.

Here is the useful consequence: if there is a homomorphism from G to H, then G cannot be harder to color than H. In particular, the chromatic number of G is at most the chromatic number of H. That gives you a quick way to compare graphs without checking every possible coloring by hand.

One common mistake is to think a homomorphism has to be an embedding or an isomorphism. It does not. An isomorphism is a perfect two-way structure match, while a homomorphism can be one-way and many-to-one. In Ramsey theory, that weaker flexibility is a feature, because the goal is often to show that a graph can be forced into a simpler pattern or mapped into a graph with a known property.

Why Graph Homomorphism matters in COMBINATORICS

Graph homomorphism matters in Combinatorics because it turns big graph questions into comparison questions. Instead of asking, “Can I color this graph directly?” you can ask, “Does it map into a graph whose coloring behavior I already know?” That shift is especially handy when you are working with chromatic number, since a homomorphism gives an immediate upper bound.

It also shows up naturally in Ramsey theory. Ramsey problems look for unavoidable structure inside large graphs, and homomorphisms help describe when one graph pattern can be forced into another. If you can map a graph into a target with a known clique or coloring structure, you can often turn that mapping into a bound or contradiction.

This concept is also a good bridge between pure structure and computation. In algorithmic graph theory, many coloring and constraint problems can be phrased as finding a homomorphism to a smaller template graph. That makes the idea useful well beyond a single theorem, because it gives you a language for reduction, comparison, and classification.

If you are reading a proof in topic 12.4 on Ramsey numbers for graphs, homomorphisms often appear as the quiet engine behind the argument. They let you say not just that a graph contains some pattern, but that it behaves like a simpler graph in the sense that matters for coloring and Ramsey bounds.

Keep studying COMBINATORICS Unit 12

How Graph Homomorphism connects across the course

Chromatic Number

A graph homomorphism gives you a direct way to compare chromatic numbers. If G maps to H, then G cannot require more colors than H does. That is why homomorphisms are often used as a shortcut in coloring arguments, especially when H is a complete graph or another graph with a known coloring structure.

Ramsey Theory

Ramsey theory asks when enough size forces order, and homomorphisms help formalize that order. They let you transfer structure from one graph to another and turn existence questions into bounds. In Ramsey-style proofs, a homomorphism can be the step that shows a complicated graph behaves like a simpler target graph.

Graph Isomorphism

Graph isomorphism is much stricter than graph homomorphism. An isomorphism must match edges and non-edges perfectly and go both directions, while a homomorphism only needs to preserve edges in one direction. If you confuse them, the main fix is to remember that homomorphisms can collapse vertices, but isomorphisms cannot.

clique

Cliques connect to homomorphisms through coloring and complete graphs. A clique is a fully connected subgraph, and complete graphs often serve as target graphs for homomorphisms when you are studying colorings. In Ramsey problems, forcing a clique is often one half of the story, while homomorphisms help describe the mapping side of the argument.

Is Graph Homomorphism on the COMBINATORICS exam?

A problem set question usually gives you two graphs and asks whether a homomorphism exists, or it asks you to use one to compare chromatic numbers. The move is to check whether adjacent vertices in the source can be assigned to adjacent vertices in the target without breaking the edge rule. If the target is K_n, you are really looking for an n-coloring.

On proof-based questions, you may need to justify why a homomorphism implies an inequality like χ(G) ≤ χ(H). In Ramsey theory problems, you may use a homomorphism as part of a bound or as a way to translate a graph configuration into a known template. The main habit is to track edges carefully, because one bad image of an edge destroys the whole map.

Graph Homomorphism vs Graph Isomorphism

These sound similar, but they mean very different things. A graph isomorphism is a perfect two-way match between graphs, while a graph homomorphism only preserves edges in one direction and can merge vertices together. If you are asked whether two graphs are homomorphic, you do not need the full one-to-one structure preservation that is required for isomorphism.

Key things to remember about Graph Homomorphism

  • A graph homomorphism is an edge-preserving map from one graph to another.

  • In Combinatorics, the most common use is turning graph coloring into a homomorphism problem.

  • If G maps to H, then the chromatic number of G is at most the chromatic number of H.

  • Homomorphisms are weaker than isomorphisms because they can collapse vertices and only need to preserve edges.

  • In Ramsey theory, homomorphisms help compare graph structure and build bounds.

Frequently asked questions about Graph Homomorphism

What is graph homomorphism in Combinatorics?

It is a map from the vertices of one graph to the vertices of another graph that sends every edge to an edge. In Combinatorics, that makes it a tool for comparing graph structure, especially coloring behavior and Ramsey-type arguments.

How is graph homomorphism related to graph coloring?

A homomorphism from a graph G to the complete graph K_n is the same thing as a proper n-coloring of G. Adjacent vertices must go to adjacent vertices, and in K_n that means they must land on different vertices. This is why homomorphisms are so useful for chromatic number questions.

Is a graph homomorphism the same as an isomorphism?

No. An isomorphism preserves the whole graph structure in both directions and must be one-to-one. A homomorphism is looser, since it only has to preserve edges from the source graph to the target graph, and different vertices can map to the same vertex.

How do graph homomorphisms show up in Ramsey theory?

They help translate a complicated graph problem into a simpler target graph with known properties. In Ramsey-style arguments, that can support bounds, comparisons, or forcing statements about cliques and colorings. The key idea is that preserving edges lets you carry structure across graphs.