In graph theory, the Cartesian product of graphs and is a graph such that:
The Cartesian product of graphs is sometimes called the box product of graphs [Harary 1969].
The operation is associative, as the graphs and are naturally isomorphic.The operation is commutative as an operation on isomorphism classes of graphs, and more strongly the graphs and are naturally isomorphic, but it is not commutative as an operation on labeled graphs.
The notation 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.
\squaren | |
(K | |
2) |
=Qn.
Thus, the Cartesian product of two hypercube graphs is another hypercube: QiQj = Qi+j.
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.[1] However, describe a disconnected graph that can be expressed in two different ways as a Cartesian product of prime graphs:
(K1+K2+
2) | |
K | |
2 |
n{\square}(K1+
3) | |
K | |
2 |
=(K1+
2 | |
K | |
2 |
+
4) | |
K | |
2 |
n{\square}(K1+K2),
\begin{align} (1+x+x2)(1+x3)&=(1+x2+x4)(1+x)\\ &=1+x+x2+x3+x4+x5\\ &=(1+x)(1+x+x2)(1-x+x2) \end{align}
1+x3
1+x2+x4
A Cartesian product is vertex transitive if and only if each of its factors is.[2]
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
\chi(Gn{\square}H)=max\{\chi(G),\chi(H)\}.
\alpha(G)\alpha(H)+min\{|V(G)|-\alpha(G),|V(H)|-\alpha(H)\}\le\alpha(Gn{\square}H)\lemin\{\alpha(G)|V(H)|,\alpha(H)|V(G)|\}.
\gamma(Gn{\square}H)\ge\gamma(G)\gamma(H).
The Cartesian product of unit distance graphs is another unit distance graph.
Cartesian product graphs can be recognized efficiently, in linear time.[3]
Algebraic graph theory can be used to analyse the Cartesian graph product.If the graph
G1
n1
n1 x n1
A1
G2
n2
n2 x n2
A2
A1n{\square2}=A1 ⊗
I | |
n2 |
+
I | |
n1 |
⊗ A2
⊗
In
n x n
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]
G
H
According to, Cartesian products of graphs were defined in 1912 by Whitehead and Russell. They were repeatedly rediscovered later, notably by .