Misplaced Pages

Graph product

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Binary operation on graphs

In graph theory, a graph product is a binary operation on graphs. Specifically, it is an operation that takes two graphs G1 and G2 and produces a graph H with the following properties:

  • The vertex set of H is the Cartesian product V(G1) × V(G2), where V(G1) and V(G2) are the vertex sets of G1 and G2, respectively.
  • Two vertices (a1,a2) and (b1,b2) of H are connected by an edge, iff a condition about a1, b1 in G1 and a2, b2 in G2 is fulfilled.

The graph products differ in what exactly this condition is. It is always about whether or not the vertices an, bn in Gn are equal or connected by an edge.

The terminology and notation for specific graph products in the literature varies quite a lot; even if the following may be considered somewhat standard, readers are advised to check what definition a particular author uses for a graph product, especially in older texts.

Even for more standard definitions, it is not always consistent in the literature how to handle self-loops. The formulas below for the number of edges in a product also may fail when including self-loops. For example, the tensor product of a single vertex self-loop with itself is another single vertex self-loop with E = 1 {\displaystyle E=1} , and not E = 2 {\displaystyle E=2} as the formula E G × H = 2 E G E H {\displaystyle E_{G\times H}=2E_{G}E_{H}} would suggest.

Overview table

The following table shows the most common graph products, with {\displaystyle \sim } denoting "is connected by an edge to", and {\displaystyle \not \sim } denoting non-adjacency. While {\displaystyle \not \sim } does allow equality, {\displaystyle \not \simeq } means they must be distinct and non-adjacent. The operator symbols listed here are by no means standard, especially in older papers.

Name Condition for ( a 1 , a 2 ) ( b 1 , b 2 ) {\displaystyle (a_{1},a_{2})\sim (b_{1},b_{2})} Number of edges
v 1 = | V ( G 1 ) | v 2 = | V ( G 2 ) | e 1 = | E ( G 1 ) | e 2 = | E ( G 2 ) | {\displaystyle {\begin{array}{cc}v_{1}=\vert \mathrm {V} (G_{1})\vert &v_{2}=\vert \mathrm {V} (G_{2})\vert \\e_{1}=\vert \mathrm {E} (G_{1})\vert &e_{2}=\vert \mathrm {E} (G_{2})\vert \end{array}}}
Example
with a n   rel   b n {\displaystyle a_{n}~{\text{rel}}~b_{n}}
abbreviated as rel n {\displaystyle {\text{rel}}_{n}}
Cartesian product
(box product)
G 1 G 2 {\displaystyle G_{1}\square G_{2}}
a 1 = b 1     a 2 b 2 {\displaystyle a_{1}=b_{1}~\land ~a_{2}\sim b_{2}}
{\displaystyle \lor }
a 1 b 1     a 2 = b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}=b_{2}}
= 1   2 {\displaystyle =_{1}~\sim _{2}}
{\displaystyle \lor }
1   = 2 {\displaystyle \sim _{1}~=_{2}}
v 1   e 2   +   e 1   v 2 {\displaystyle v_{1}~e_{2}~+~e_{1}~v_{2}}
Tensor product
(Kronecker product,
categorical product)
G 1 × G 2 {\displaystyle G_{1}\times G_{2}}
a 1 b 1     a 2 b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}\sim b_{2}} 1   2 {\displaystyle \sim _{1}~\sim _{2}} 2   e 1   e 2 {\displaystyle 2~e_{1}~e_{2}}
Lexicographical product
G 1 G 2 {\displaystyle G_{1}\cdot G_{2}} or G 1 [ G 2 ] {\displaystyle G_{1}}
a 1 b 1 {\displaystyle a_{1}\sim b_{1}}
{\displaystyle \lor }
a 1 = b 1     a 2 b 2 {\displaystyle a_{1}=b_{1}~\land ~a_{2}\sim b_{2}}
1 {\displaystyle \sim _{1}}
{\displaystyle \lor }
= 1   2 {\displaystyle =_{1}~\sim _{2}}
v 1   e 2   +   e 1   v 2 2 {\displaystyle v_{1}~e_{2}~+~e_{1}~v_{2}^{2}}
Strong product
(Normal product,
AND product)
G 1 G 2 {\displaystyle G_{1}\boxtimes G_{2}}
a 1 = b 1     a 2 b 2 {\displaystyle a_{1}=b_{1}~\land ~a_{2}\sim b_{2}}
{\displaystyle \lor }
a 1 b 1     a 2 = b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}=b_{2}}
{\displaystyle \lor }
a 1 b 1     a 2 b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}\sim b_{2}}
= 1   2 {\displaystyle =_{1}~\sim _{2}}
{\displaystyle \lor }
1   = 2 {\displaystyle \sim _{1}~=_{2}}
{\displaystyle \lor }
1   2 {\displaystyle \sim _{1}~\sim _{2}}
v 1   e 2   +   e 1   v 2   +   2   e 1   e 2 {\displaystyle v_{1}~e_{2}~+~e_{1}~v_{2}~+~2~e_{1}~e_{2}}
Co-normal product
(disjunctive product, OR product)
G 1 G 2 {\displaystyle G_{1}*G_{2}}
a 1 b 1 {\displaystyle a_{1}\sim b_{1}}
{\displaystyle \lor }
a 2 b 2 {\displaystyle a_{2}\sim b_{2}}
1 {\displaystyle \sim _{1}}
{\displaystyle \lor }
2 {\displaystyle \sim _{2}}
v 1 2   e 2   +   e 1   v 2 2     2   e 1   e 2 {\displaystyle v_{1}^{2}~e_{2}~+~e_{1}~v_{2}^{2}~-~2~e_{1}~e_{2}}
Modular product a 1 b 1     a 2 b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}\sim b_{2}}
{\displaystyle \lor }
a 1 b 1     a 2 b 2 {\displaystyle a_{1}\not \simeq b_{1}~\land ~a_{2}\not \simeq b_{2}}
1   2 {\displaystyle \sim _{1}~\sim _{2}}
{\displaystyle \lor }
1   2 {\displaystyle \not \simeq _{1}~\not \simeq _{2}}
Rooted product see article v 1   e 2   +   e 1 {\displaystyle v_{1}~e_{2}~+~e_{1}}
Zig-zag product see article see article see article
Replacement product
Homomorphic product
G 1 G 2 {\displaystyle G_{1}\ltimes G_{2}}
a 1 = b 1 {\displaystyle a_{1}=b_{1}}
{\displaystyle \lor }
a 1 b 1     a 2 b 2 {\displaystyle a_{1}\sim b_{1}~\land ~a_{2}\not \sim b_{2}}
= 1 {\displaystyle =_{1}}
{\displaystyle \lor }
1   2 {\displaystyle \sim _{1}~\not \sim _{2}}
v 1 v 2 ( v 2 1 ) / 2 + e 1 ( v 2 2 2 e 2 ) {\displaystyle v_{1}v_{2}(v_{2}-1)/2+e_{1}(v_{2}^{2}-2e_{2})}

In general, a graph product is determined by any condition for ( a 1 , a 2 ) ( b 1 , b 2 ) {\displaystyle (a_{1},a_{2})\sim (b_{1},b_{2})} that can be expressed in terms of a n = b n {\displaystyle a_{n}=b_{n}} and a n b n {\displaystyle a_{n}\sim b_{n}} .

Mnemonic

Let K 2 {\displaystyle K_{2}} be the complete graph on two vertices (i.e. a single edge). The product graphs K 2 K 2 {\displaystyle K_{2}\square K_{2}} , K 2 × K 2 {\displaystyle K_{2}\times K_{2}} , and K 2 K 2 {\displaystyle K_{2}\boxtimes K_{2}} look exactly like the graph representing the operator. For example, K 2 K 2 {\displaystyle K_{2}\square K_{2}} is a four cycle (a square) and K 2 K 2 {\displaystyle K_{2}\boxtimes K_{2}} is the complete graph on four vertices.

The G 1 [ G 2 ] {\displaystyle G_{1}} notation for lexicographic product serves as a reminder that this product is not commutative. The resulting graph looks like substituting a copy of G 2 {\displaystyle G_{2}} for every vertex of G 1 {\displaystyle G_{1}} .

See also

Notes

  1. ^ Roberson, David E.; Mancinska, Laura (2012). "Graph Homomorphisms for Quantum Players". Journal of Combinatorial Theory, Series B. 118: 228–267. arXiv:1212.1724. doi:10.1016/j.jctb.2015.12.009.
  2. Bačík, R.; Mahajan, S. (1995). "Semidefinite programming and its applications to NP problems". Computing and Combinatorics. Lecture Notes in Computer Science. Vol. 959. p. 566. doi:10.1007/BFb0030878. ISBN 978-3-540-60216-3.
  3. The hom-product of is the graph complement of the homomorphic product of.

References

  • Imrich, Wilfried; Klavžar, Sandi (2000). Product Graphs: Structure and Recognition. Wiley. ISBN 978-0-471-37039-0.
Category: