ArticleslgStudy

science

Cartesian product of graphs

Cartesian product of graphs 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 Cartesian product of graphs rather than just read about it. In short: In graph theory, the Cartesian product G □ H of graphs G and H is a graph such that: the vertex set of G □ H is the Cartesian product V(G) × V(H); and two vertices (u,v) and (u' ,v' ) are adjacent in G □ H if and only if either u = u' and v is adjacent to v' in H, or v = v' and u is adjacent to u' in G. The Cartesian product of graphs is sometimes called the box product of graphs.

Cartesian product of graphs — main illustration
Cartesian product of graphs — illustration

Key takeaways

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

Reference excerpt

In graph theory, the Cartesian product G □ H of graphs G and H is a graph such that:

the vertex set of G □ H is the Cartesian product V(G) × V(H); and two vertices (u,v) and (u' ,v' ) are adjacent in G □ H if and only if either u = u' and v is adjacent to v' in H, or v = v' and u is adjacent to u' in G. The Cartesian product of graphs is sometimes called the box product of graphs. The operation is associative, as the graphs (F □ G) □ H and F □ (G □ H) are naturally isomorphic. The operation is commutative as an operation on isomorphism classes of graphs, and more strongly the graphs G □ H and H □ G are naturally isomorphic, but it is not commutative as an operation on vertex-labeled graphs. The notation G × H has often been used for Cartesian products of graphs, but is now more commonly used for another construction known as the tensor product of graphs. The square symbol is intended to be an intuitive and unambiguous notation for the Cartesian product, since it shows visually the four edges resulting from the Cartesian product of two edges.

Examples The Cartesian product of two edges is a cycle on four vertices: K2□K2 = C4. The Cartesian product of K2 and a path graph is a ladder graph. The Cartesian product of two path graphs is a grid graph. The Cartesian product of n edges is a hypercube: (K2)◻n=Qn. Thus, the Cartesian product of two hypercube graphs is another hypercube: Qi□Qj = Qi+j. The Cartesian product of two median graphs is another median graph. The graph of vertices and edges of an n-prism is the Cartesian product graph K2□Cn. The rook's graph is the Cartesian product of two complete graphs.

Properties If a connected graph is a Cartesian product, it can be factorized uniquely as a product of prime factors, graphs that cannot themselves be decomposed as products of graphs. However, Imrich & Klavžar (2000) describe a disconnected graph that can be expressed in two different ways as a Cartesian product of prime graphs:

(K1+K2+K22)◻(K1+K23)=(K1+K22+K24)◻(K1+K2), where the plus sign denotes disjoint union and the superscripts denote exponentiation over Cartesian products. This is related to the identity that

(1+x+x2)(1+x3)=(1+x2+x4)(1+x)=1+x+x2+x3+x4+x5=(1+x)(1+x+x2)(1−x+x2) Both the factors 1+x3 and 1+x2+x4 are not irreducible polynomials, but their factors include negative coefficients and thus the corresponding graphs cannot be decomposed. In this sense, the failure of unique factorization on (possibly disconnected) graphs is akin to the statement that polynomials with nonnegative integer coefficients is a semiring that fails the unique factorization property. A Cartesian product is vertex transitive if and only if each of its factors is. A Cartesian product is bipartite if and only if each of its factors is. More generally, the chromatic number of the Cartesian product satisfies the equation

χ(G◻H)=max⁡{χ(G),χ(H)}. The Hedetniemi conjecture states a related equality for the tensor product of graphs. The independence number of a Cartesian product is not so easily calculated, but as Vizing (1963) showed it satisfies the inequalities

α(G)α(H)+min⁡{|V(G)|−α(G),|V(H)|−α(H)}≤α(G◻H)≤min⁡{α(G)|V(H)|,α(H)|V(G)|}. The Vizing conjecture states that the domination number of a Cartesian product satisfies the inequality

γ(G◻H)≥γ(G)γ(H). The Cartesian product of unit distance graphs is another unit distance graph. Cartesian product graphs can be recognized efficiently, in linear time. The number of edges |E(G □ H)| is equal to |V(G)||E(H)| + |V(H)||E(G)|.

Algebraic graph theory Algebraic graph theory can be used to analyse the Cartesian graph product. If the graph G1 has n1 vertices and the n1×n1 adjacency matrix 𝐀1, and the graph G2 has n2 vertices and the n2×n2 adjacency matrix 𝐀2, then the adjacency matrix of the Cartesian product of both graphs is given by

𝐀1◻2=𝐀1⊗𝐈n2+𝐈n1⊗𝐀2, where ⊗ denotes the Kronecker product of matrices and 𝐈n denotes the n×n identity matrix. The adjacency matrix of the Cartesian graph product is therefore the Kronecker sum of the adjacency matrices of the factors.

Category theory Viewing a graph as a category whose objects are the vertices and whose morphisms are the paths in the graph, the cartesian product of graphs corresponds to the funny tensor product of categories. The cartesian product of graphs is one of two graph products that turn the category of graphs and graph homomorphisms into a symmetric closed monoidal category (as opposed to merely symmetric monoidal), the other being the tensor product of graphs. The internal hom [G,H] for the cartesian product of graphs has graph homomorphisms from G to H as vertices and "unnatural transformations" between them as edges.

History According to Imrich & Klavžar (2000), Cartesian products of graphs were defined in 1912 by Whitehead and Russell. They were repeatedly rediscovered later, notably by Gert Sabidussi (1960).

Notes

… excerpt ends here. Continue reading the full article.

Illustrations

Cartesian product of graphs: A Cartesian product of two graphs
A Cartesian product of two graphs

Worked examples

Example 1 — a first encounter with Cartesian product of graphs

Start with the simplest possible case. Write down what Cartesian product of graphs 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 Cartesian product of graphs 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 Cartesian product of graphs 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 Cartesian product of graphs

In research
Cartesian product of graphs 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 Cartesian product of graphs 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
Cartesian product of graphs is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph products, so understanding it makes those chapters shorter.
In everyday life
Look for Cartesian product of graphs 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 “Cartesian product of graphs” →

How to study Cartesian product of graphs in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cartesian product of graphs 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 Cartesian product of graphs out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cartesian product of graphs in simple terms?

In graph theory, the Cartesian product G □ H of graphs G and H is a graph such that: the vertex set of G □ H is the Cartesian product V(G) × V(H); and two vertices (u,v) and (u' ,v' ) are adjacent in G □ H if and only if either u = u' and v is adjacent to v' in H, or v = v' and u is adjacent to u'…

Why does Cartesian product of graphs 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 Cartesian product of graphs?

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 Cartesian product of graphs.

Tags

  • Graph products

Keep exploring