If and , then . Hence their product is a symmetric matrix exactly when they commute. For example, and are symmetric but have nonsymmetric product . This criterion differs from asking whether an arbitrary matrix can be factored as a product of symmetric matrices.