# PlanetPhysics/Commutative Square Diagram

A square commutative diagram (as for example in an abelian category $\displaystyle {\A}$ ): $xy}"): {\displaystyle \begin{xy} *!C\xybox{ \xymatrix{ {A}\ar[r]^{f}\ar[d]_{k}&{B}\ar[d]^{g}\\ {C}\ar[r]_{h}&{D} } }\end{xy}$ is called commutative iff ${\displaystyle g\circ f=h\circ k,}$ where ${\displaystyle A,B,C}$, and ${\displaystyle D}$ are objects of a category ${\displaystyle {\mathcal {C}}}$, and ${\displaystyle f,g,h}$ and ${\displaystyle k}$ are, in general, arrows or "morphisms" (mappings, functions, homomorphisms, homeomorphisms, and so on) of ${\displaystyle {\mathcal {C}}}$.

One can intuitively understand commutativity as the equivalence of the two morphism paths involved, or as an internal, mirror-like symmetry property of the square diagram with respect to the top-right to bottom-left diagonal. The diagonal morphism, ${\displaystyle d:A\to D}$ (not shown) is thus equal to both ${\displaystyle g\circ f}$ and ${\displaystyle h\circ k}$. The concept of commutative diagram can be thus generalized for any polyhedron with "diagonal mirror symmetry" of morphisms oriented in the same direction of the type described for the square diagram shown above.