Canonical: https://knowlpedia.com/algebra-rings/center-of-ring/

# Center of a ring

The subring of elements that commute with every element of the ring.

Let \(R\) be a [ring](https://knowlpedia.com/algebra-rings/ring/). The **center** of \(R\) is
\[
Z(R)=\{\,z\in R:\forall r\in R,\; zr=rz\,\}.
\]
It is a [subring](https://knowlpedia.com/algebra-rings/subring/) of \(R\), and in fact a [commutative ring](https://knowlpedia.com/algebra-rings/commutative-ring/).

## Remarks

The center measures how far \(R\) is from being commutative: \(R\) is commutative iff \(Z(R)=R\). The center also controls constructions like the [opposite ring](https://knowlpedia.com/algebra-rings/opposite-ring/) and scalar actions on modules and representations.

## Examples

- If \(k\) is a field and \(n\ge 1\), then \(Z(M_n(k))\) consists of scalar matrices and is isomorphic to \(k\).
- The center of the quaternion division ring \(\mathbb{H}\) is \(\mathbb{R}\).
- In \(M_2(k)\), the matrix \(\begin{pmatrix}0&1\\0&0\end{pmatrix}\) is not central since it does not commute with all matrices.
