Hubbry Logo
Tensor product of graphsTensor product of graphsMain
Open search
Tensor product of graphs
Community hub
Tensor product of graphs
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Tensor product of graphs
Tensor product of graphs
from Wikipedia
The tensor product of graphs.

In graph theory, the tensor 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
  • vertices (g,h) and (g',h' ) are adjacent in G × H if and only if
    • g is adjacent to g' in G, and
    • h is adjacent to h' in H.

The tensor product is also called the direct product, Kronecker product, categorical product, cardinal product, relational product, weak direct product, or conjunction. As an operation on binary relations, the tensor product was introduced by Alfred North Whitehead and Bertrand Russell in their Principia Mathematica (1912). It is also equivalent to the Kronecker product of the adjacency matrices of the graphs.[1]

The notation G × H is also (and formerly normally was) used to represent another construction known as the Cartesian product of graphs, but nowadays more commonly refers to the tensor product. The cross symbol shows visually the two edges resulting from the tensor product of two edges.[2] This product should not be confused with the strong product of graphs.

Examples

[edit]

Properties

[edit]

The tensor product is the category-theoretic product in the category of graphs and graph homomorphisms. That is, a homomorphism to G × H corresponds to a pair of homomorphisms to G and to H. In particular, a graph I admits a homomorphism into G × H if and only if it admits a homomorphism into G and into H.

To see that, in one direction, observe that a pair of homomorphisms fG : IG and fH : IH yields a homomorphism

In the other direction, a homomorphism f : IG × H can be composed with the projections homomorphisms

to yield homomorphisms to G and to H.

The adjacency matrix of G × H is the Kronecker (tensor) product of the adjacency matrices of G and H.

If a graph can be represented as a tensor product, then there may be multiple different representations (tensor products do not satisfy unique factorization) but each representation has the same number of irreducible factors. Imrich (1998) gives a polynomial time algorithm for recognizing tensor product graphs and finding a factorization of any such graph.

If either G or H is bipartite, then so is their tensor product. G × H is connected if and only if both factors are connected and at least one factor is nonbipartite.[3] In particular the bipartite double cover of G is connected if and only if G is connected and nonbipartite.

The Hedetniemi conjecture, which gave a formula for the chromatic number of a tensor product, was disproved by Yaroslav Shitov (2019).

The tensor product of graphs equips the category of graphs and graph homomorphisms with the structure of a symmetric closed monoidal category. Let G0 denote the underlying set of vertices of the graph G. The internal hom [G, H] has functions f : G0H0 as vertices and an edge from f : G0H0 to f' : G0H0 whenever an edge {x, y} in G implies {f (x), f ' (y)} in H.[4]

See also

[edit]

Notes

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In graph theory, the tensor product of two graphs GG and HH, denoted G×HG \times H, is a graph product whose vertex set is the Cartesian product V(G)×V(H)V(G) \times V(H), and in which two vertices (u,v)(u, v) and (u,v)(u', v') are adjacent if and only if uu is adjacent to uu' in GG and vv is adjacent to vv' in HH. This operation, originally termed the Kronecker product, was introduced by Paul M. Weichsel in 1962 as a construction derived from the Kronecker product of the graphs' adjacency matrices, where the adjacency matrix of G×HG \times H is precisely the Kronecker product A(G)A(H)A(G) \otimes A(H). It is also known by several alternative names, including the direct product, categorical product, cardinal product, conjunction, and weak direct product, reflecting its roles in various categorical and algebraic contexts within graph theory. The is both commutative (G×HH×GG \times H \cong H \times G) and associative ((G×H)×KG×(H×K)(G \times H) \times K \cong G \times (H \times K)), properties that mirror those of the underlying matrix operation and facilitate the study of multiple graph products. A fundamental connectivity result states that G×HG \times H is connected at least one of GG or HH contains an odd-length cycle; conversely, if both graphs are bipartite (i.e., contain no odd cycles), then G×HG \times H consists of exactly two connected components. For instance, the G×K2G \times K_2 yields the bipartite double cover of GG, a construction with applications in distinguishing vertices via walks. Beyond basic structural properties, the tensor product plays a significant role in , where the eigenvalues of the product graph are all possible products of eigenvalues of the factors, aiding analysis of graph spectra and expanders. It also arises in the study of graph homomorphisms and , serving as the monoidal product in the category of graphs with homomorphisms as morphisms. Applications extend to , such as modeling on product graphs, and to algorithmic problems like factoring product graphs in polynomial time.

Fundamentals

Definition

The tensor product of graphs, also referred to as the or categorical product, is a that constructs a new graph from two given graphs by combining their structures such that adjacency in the resulting graph requires simultaneous adjacency in both input graphs. This operation preserves the adjacency relations across components, providing a way to model interactions where edges emerge only from coordinated connections in the originals, which has applications in areas like network analysis and . Formally, for two undirected simple graphs G=(VG,EG)G = (V_G, E_G) and H=(VH,EH)H = (V_H, E_H), without loops or multiple edges, the tensor product G×HG \times H is defined as the graph with vertex set V(G×H)=VG×VHV(G \times H) = V_G \times V_H, consisting of all ordered pairs (u,v)(u, v) where uVGu \in V_G and vVHv \in V_H. The edge set is E(G×H)={((u,v),(u,v))(u,u)EG and (v,v)EH}E(G \times H) = \{ ((u,v), (u',v')) \mid (u,u') \in E_G \text{ and } (v,v') \in E_H \}, meaning two vertices (u,v)(u,v) and (u,v)(u',v') are adjacent if and only if uu is adjacent to uu' in GG and vv is adjacent to vv' in HH. This construction extends naturally to directed graphs by considering directed edges, but the standard definition assumes undirected simple graphs unless otherwise specified. As an operation on binary relations, the tensor product underlying this graph product was introduced by Alfred North Whitehead and Bertrand Russell in their Principia Mathematica. In the context of graph theory, the product was formalized by Weichsel, who established its basic properties including the adjacency matrix representation via the Kronecker product.

Historical background

The tensor product of graphs originated as an operation on binary relations introduced by and in their , a foundational work in published in three volumes from 1910 to 1913. In this context, the construction served to combine relations logically, providing an early combinatorial framework that later extended to graphs viewed as symmetric binary relations on vertex sets. Early applications in emerged in the mid-20th century amid growing interest in combinatorial structures. Gert Sabidussi formalized the —also termed the —in his 1959 paper "Graph Multiplication," where he defined it explicitly for graphs and explored its properties in relation to graph homomorphisms and automorphisms. Sabidussi's work highlighted naming variations, such as "categorical product" or "," reflecting its algebraic analogies, and established it as a key tool for studying graph symmetries and decompositions. Throughout the 1960s, the gained prominence in combinatorial and , with researchers adopting it to model complex relational structures. Sabidussi further advanced its categorical perspective in subsequent papers on graph homomorphisms, integrating it into the category of graphs where it serves as the categorical product. A pivotal milestone came in when Hedetniemi formulated his famous on the chromatic number of tensor products in his PhD thesis, positing that for any graphs GG and HH, χ(G×H)=min{χ(G),χ(H)}\chi(G \times H) = \min\{\chi(G), \chi(H)\}, which spurred decades of research into coloring properties. The remained unsolved for over 50 years until it was disproved in 2019 by the construction of counterexamples. This underscored the product's role in .

Examples

Basic examples

The tensor product of two copies of the complete graph K2K_2 on two vertices each is a graph with four vertices, labeled as pairs (u,a)(u,a), (u,b)(u,b), (v,a)(v,a), (v,b)(v,b), where uu and vv are adjacent in the first K2K_2, and aa and bb are adjacent in the second. An edge exists between pairs only if both components are adjacent in their respective graphs, resulting in exactly two edges: (u,a)(v,b)(u,a)-(v,b) and (u,b)(v,a)(u,b)-(v,a). This yields two disjoint edges, or the matching 2K22K_2. Similarly, the of the P2P_2 (isomorphic to K2K_2) and K2K_2 produces the same structure: a graph on four vertices with two disjoint edges. The for vertices ordered as (1,a)(1,a), (1,b)(1,b), (2,a)(2,a), (2,b)(2,b) (where 121 \sim 2 in P2P_2) confirms edges only between (1,a)(2,b)(1,a)-(2,b) and (1,b)(2,a)(1,b)-(2,a). This simple case highlights how the tensor product requires simultaneous adjacency in both factors, leading to a disconnected graph with no cycles. The of two edgeless graphs (empty graphs Km\overline{K_m} and Kn\overline{K_n}, with no edges) results in another edgeless graph on mnmn vertices, as there are no adjacent pairs in either factor to generate edges in the product. In contrast, the of two complete graphs KmK_m and KnK_n forms a graph on mnmn vertices arranged in an m×nm \times n grid, where an edge connects (i,j)(i,j) to (k,l)(k,l) if and only if iki \neq k and jlj \neq l. This structure is the complement of the KmKnK_m \square K_n, featuring no edges within the same row or column, and thus exhibits complete bipartite-like connections between distinct rows excluding matching columns. For m=n=2m=n=2, it reduces to the two described above, a of complete bipartite graphs K1,1K_{1,1}. Each vertex has degree (m1)(n1)(m-1)(n-1).

Notable products

The tensor product of two cycle graphs, Cm×CnC_m \times C_n, yields a with mnmn vertices that inherits from its factors, particularly when gcd(m,n)=1\gcd(m,n)=1, in which case the product is itself circulant on the of order mnmn. This structure arises because cycles are s, and under coprimality, the connection sets combine to preserve the circulant form. For example, C3×C3C_3 \times C_3 forms a 4-regular on 9 vertices, distinct from the toroidal grid obtained via . The of the with itself produces a 9-regular graph on 100 vertices, as the is 3-regular and degrees multiply under the tensor operation. This resulting graph maintains high symmetry due to the of the . Although the nn-dimensional QnQ_n is constructed as the iterated of nn copies of K2K_2, it differs from the tensor product construction; specifically, QkQ_k can be expressed as a G×K2G \times K_2 GQk1G \cong Q_{k-1}, but iterated s of K2K_2 beyond dimension 2 do not yield hypercubes. For instance, K2×K2C4Q2K_2 \times K_2 \cong C_4 \cong Q_2, but C4×K2C_4 \times K_2 is a disconnected 2-regular graph on 8 vertices, contrasting the connected 3-regular Q3Q_3. The of two complete bipartite graphs, such as Km,n×Kp,qK_{m,n} \times K_{p,q}, is bipartite, as the absence of odd cycles in each factor ensures no odd cycles in the , which has vertex set size mnpqmn \cdot pq and edges only between appropriately partitioned subsets. This holds more generally for the of any two bipartite graphs, though the result is typically disconnected with two isomorphic components.

Structural properties

Connectivity and bipartiteness

The tensor product of two graphs GG and HH, denoted G×HG \times H, is bipartite if and only if at least one of GG or HH is bipartite. This property holds because the absence of odd cycles in the product depends on the factors: if both GG and HH contain odd cycles, then G×HG \times H contains an odd-length cycle, for instance, of length equal to the of the lengths of an odd cycle in GG and an odd cycle in HH, preserving the odd parity. Conversely, if at least one factor, say HH, is bipartite with partite sets XX and YY, then G×HG \times H can be properly 2-colored by assigning to each vertex (u,v)(u, v) the color of vv according to a proper 2-coloring of HH. The partite sets of G×HG \times H are then V(G)×XV(G) \times X and V(G)×YV(G) \times Y. No edges exist within these sets because HH has no edges within XX or YY, and edges in the product require adjacency in both factors, which would connect different partite sets in HH. Regarding connectivity, assuming GG and HH are connected graphs, G×HG \times H is connected if and only if at least one of GG or HH is non-bipartite. When both are bipartite, G×HG \times H is disconnected and consists of exactly two connected components. Each component is itself bipartite and isomorphic under certain automorphisms of the factors, such as those interchanging partite sets. A proof sketch for connectivity relies on analyzing the connected components via parity signatures from the bipartitions. Let GG have partite sets ABA \cup B and HH have CDC \cup D. Vertices in G×HG \times H can be grouped by the parity of their coordinates: one component consists of edges connecting vertices where both coordinates are in "even" sets (e.g., A×CA \times C to B×DB \times D) or both in "odd" sets, while the other connects A×DA \times D to B×CB \times C. No edges exist between these two groupings because an edge in the product flips the partite set in both factors simultaneously, preserving the relative parity within each group but not crossing between them. If at least one factor is non-bipartite, an odd cycle in that factor allows paths to bridge the parity groups, rendering the product connected. For example, consider the of two paths P3×P3P_3 \times P_3, where each P3P_3 is . This yields two disconnected components, each a isomorphic to a grid-like structure without odd cycles. Similarly, the product of two even cycles C4×C4C_4 \times C_4 is disconnected with two components, illustrating how the fails to connect when both factors lack odd cycles.

Degree and order

The order of the tensor product G×HG \times H of two graphs GG and HH is the product of their individual orders, given by V(G×H)=V(G)×V(H)|V(G \times H)| = |V(G)| \times |V(H)|. This follows directly from the vertex set construction V(G×H)=V(G)×V(H)V(G \times H) = V(G) \times V(H). Similarly, the size of G×HG \times H, or the number of edges E(G×H)|E(G \times H)|, is the product of the sizes of GG and HH, expressed as E(G×H)=E(G)×E(H)|E(G \times H)| = |E(G)| \times |E(H)|. This arises because each edge in G×HG \times H corresponds uniquely to a pair of edges, one from GG and one from HH. The degree of a vertex (u,v)(u, v) in G×HG \times H is the product of the degrees of uu in GG and vv in HH, so degG×H((u,v))=degG(u)×degH(v)\deg_{G \times H}((u, v)) = \deg_G(u) \times \deg_H(v). Consequently, the minimum degree δ(G×H)\delta(G \times H) and maximum degree Δ(G×H)\Delta(G \times H) are δ(G)×δ(H)\delta(G) \times \delta(H) and Δ(G)×Δ(H)\Delta(G) \times \Delta(H), respectively. If GG is rr-regular and HH is ss-regular, then G×HG \times H is (rs)(r s)-regular, preserving regularity under the product operation. These formulas highlight how the tensor product scales the structural measures multiplicatively, influencing applications in network modeling and combinatorial analysis.

Algebraic properties

Adjacency matrix

The adjacency matrix of the tensor product G×HG \times H of two graphs GG and HH is the Kronecker product of their individual adjacency matrices, denoted A(G×H)=A(G)A(H)A(G \times H) = A(G) \otimes A(H). This representation captures the edges in G×HG \times H, where vertices are pairs (u,v)(u, v) with uV(G)u \in V(G) and vV(H)v \in V(H), and an edge exists between (u1,v1)(u_1, v_1) and (u2,v2)(u_2, v_2) if and only if there are edges u1u2u_1 u_2 in GG and v1v2v_1 v_2 in HH. The of two matrices A=(aij)A = (a_{ij}) of size m×nm \times n and BB of size p×qp \times q is a of size mp×nqmp \times nq, where the (i,j)(i, j)-th block is the scalar aija_{ij} times the entire matrix BB. For adjacency matrices, this structure ensures that the resulting matrix encodes the combined adjacency relations precisely, preserving the binary nature of graph edges (0 or 1 entries). A key spectral implication is that the eigenvalues of A(G×H)A(G \times H) are all products λμ\lambda \mu, where λ\lambda ranges over the eigenvalues of A(G)A(G) and μ\mu over those of A(H)A(H), with algebraic multiplicities given by the product of the individual multiplicities. This property facilitates the analysis of features in product graphs without direct computation of the large matrix. For example, consider the P2P_2 on two vertices, with A(P2)=(0110)A(P_2) = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, whose eigenvalues are 11 and 1-1. The P2×P2P_2 \times P_2 consists of two disjoint copies of K2K_2 on four vertices, with adjacency matrix A(P2×P2)=(0001001001001000),A(P_2 \times P_2) = \begin{pmatrix} 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 \end{pmatrix},
Add your contribution
Related Hubs
User Avatar
No comments yet.