Upgrade to access all content for this subject

A ring $R$ is commutative if for each $x, y \in R$, we have $xy = yx$.

Which of the following rings are commutative?

Select ALL that apply.

$\mathbb{H}$ (the quaternions)

$\mathbb{Z}$

$\mathbb{Z}/n\mathbb{Z}$

The matrix ring $M_2(\mathbb{Z})$

The $2 \times 2$ diagonal matrices over $\mathbb{Z}$