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{\square} (K_1 + K_2^3) = (K_1 + K_2^2 + K_2^4) \mathbin{\square} (K_1 + K_2), where the plus sign denotes
disjoint union and the superscripts denote exponentiation over Cartesian products. This is related to the identity that : \begin{align} (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{align} Both the factors 1+x^3 and 1+x^2+x^4 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 :\chi (G \mathbin{\square} H) = \max \{ \chi (G), \chi (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 showed it satisfies the inequalities :\alpha (G) \alpha (H) + \min \{ |V(G)| -\alpha (G), |V(H)| - \alpha (H) \} \le \alpha (G \mathbin{\square} H) \le \min \{ \alpha (G) |V(H)|, \alpha (H) |V(G)| \}. The
Vizing conjecture states that the
domination number of a Cartesian product satisfies the inequality :\gamma (G \mathbin{\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. The number of edges is equal to . == Algebraic graph theory ==