HOME

TheInfoList



OR:

In
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, the Cartesian product of graphs and is a graph such that: * the vertex set of is the
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is A\times B = \. A table c ...
; and * two vertices and are adjacent in
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
either ** and is adjacent to in , or ** and is adjacent to in . The Cartesian product of graphs is sometimes called the box product of graphs arary 1969 The operation is
associative In mathematics, the associative property is a property of some binary operations that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement for express ...
, as the graphs and are naturally
isomorphic In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
. The operation is
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
as an operation on isomorphism classes of graphs, and more strongly the graphs and are
naturally isomorphic In category theory, a branch of mathematics, a natural transformation provides a way of transforming one functor into another while respecting the internal structure (i.e., the composition of morphisms) of the categories involved. Hence, a natur ...
, 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.


Examples

* The Cartesian product of two edges is a cycle on four vertices: K2K2 = 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 In graph theory, a lattice graph, mesh graph, or grid graph is a Graph (discrete mathematics), graph whose graph drawing, drawing, Embedding, embedded in some Euclidean space , forms a regular tiling. This implies that the group (mathematics), g ...
. * The Cartesian product of ''n'' edges is a hypercube: :: (K_2)^ = Q_n. :Thus, the Cartesian product of two
hypercube graph In graph theory, the hypercube graph is the graph formed from the vertices and edges of an -dimensional hypercube. For instance, the cubical graph, cube graph is the graph formed by the 8 vertices and 12 edges of a three-dimensional cube. has ...
s is another hypercube: QiQj = 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 K2Cn. * 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, describe a disconnected graph that can be expressed in two different ways as a Cartesian product of prime graphs: :(K_1 + K_2 + K_2^2) \mathbin (K_1 + K_2^3) = (K_1 + K_2^2 + K_2^4) \mathbin (K_1 + K_2), where the plus sign denotes
disjoint union In mathematics, the disjoint union (or discriminated union) A \sqcup B of the sets and is the set formed from the elements of and labelled (indexed) with the name of the set from which they come. So, an element belonging to both and appe ...
and the superscripts denote exponentiation over Cartesian products. This is related to the identity that : \begin (1 + x + x^2)(1 + x^3) &= (1 + x^2 + x^4)(1 + x) \\ &= 1 + x + x^2 + x^3 + x^4 + x^5 \\ &= (1 + x)(1 + x + x^2)(1 - x + x^2) \end Both the factors 1+x^3 and 1+x^2+x^4 are not
irreducible polynomial In mathematics, an irreducible polynomial is, roughly speaking, a polynomial that cannot be factored into the product of two non-constant polynomials. The property of irreducibility depends on the nature of the coefficients that are accepted f ...
s, 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 In abstract algebra, a semiring is an algebraic structure. Semirings are a generalization of rings, dropping the requirement that each element must have an additive inverse. At the same time, semirings are a generalization of bounded distribu ...
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 :\chi (G \mathbin H) = \max \. 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 showed it satisfies the inequalities :\alpha (G) \alpha (H) + \min \ \le \alpha (G \mathbin H) \le \min \. The Vizing conjecture states that the
domination number Domination or dominant may refer to: Society * World domination, structure where one dominant power governs the planet * Colonialism in which one group (usually a nation) invades another region for material gain or to eliminate competition * Ch ...
of a Cartesian product satisfies the inequality :\gamma (G \mathbin 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.. For earlier polynomial time algorithms see and .


Algebraic graph theory

Algebraic graph theory can be used to analyse the Cartesian graph product. If the graph G_1 has n_1 vertices and the n_1\times n_1 adjacency matrix \mathbf A_1, and the graph G_2 has n_2 vertices and the n_2\times n_2 adjacency matrix \mathbf A_2, then the adjacency matrix of the Cartesian product of both graphs is given by : \mathbf A_ = \mathbf A_1 \otimes \mathbf I_ + \mathbf I_ \otimes \mathbf A_2, where \otimes denotes the
Kronecker product In mathematics, the Kronecker product, sometimes denoted by ⊗, is an operation on two matrices of arbitrary size resulting in a block matrix. It is a specialization of the tensor product (which is denoted by the same symbol) from vector ...
of matrices and \mathbf I_n denotes the n\times n
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
. 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 th
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 , H/math> 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 , Cartesian products of graphs were defined in 1912 by Whitehead and Russell. They were repeatedly rediscovered later, notably by .


Notes


References

*. *. *. *. *. *. *. *. *. *. *. *.


External links

*{{mathworld , title = Graph Cartesian Product , urlname = GraphCartesianProduct Graph products