I know that one can factor integers as a product of prime numbers. Is there an analog of it to matrices? Can we define prime matrices such that every matrix is a product of prime matrices? Is there any applications of factorization of matrices?


in the ring $D_n (\Bbb{Z})$ of diagonal matrix, we can try to define a prime matrix as follows: $(d_i)$ is prime if $(d_i)$ not null matrix , not unit matrix and all non zero $d_i$ are prime numbers in $\Bbb{Z}$. this type of matrix ring is commutative ring but not integre, and that matrix is decomposed into prime matrix, this decomposition is induced by the decomposition in $\Bbb{Z}$


There are many ways to do so. We can view prime numbers in two different ways to consider their generalizations to other rings, including matrix rings.

The first uses the notion of ideals. Given a commutative ring $R$, an ideal is a subgroup $I$ of $R$ such that $aI\subset I$ for all $a\in R$.

  • A prime ideal is an ideal $\mathfrak{p}$ such that for all $a,b\in R$ we have $ab \in R$ if and only if $a\in R$ or $b\in R$.
  • An irreducible element is an element $\alpha\in R$ such that for all $a,b\in R$ we have $ab =\alpha$ if and only if $a\in R^ \times$ or $b\in R^\times$.

For the integers $\mathbb{Z}$, an number $p$ is a prime number if and only if $p$ is irreducible if and only if $p\mathbb{Z}$ is a non-zero prime ideal. The fundamental theorem of arithmetic states that every non-zero ideal $I$ can be written uniquely as $$ I=\prod_{\mathfrak{p}_i \text{ prime ideal}}\mathfrak{p_i}^{n_i}.$$

This theorem holds for any Dedekind domain, so we can view factorisation into primes in greater commutative rings as well.

In the ring $\mathbb{Z}$ an integer can also be written uniquely as a product of irreducible elements. In greater rings this need not be the case however. In the ring $R=\mathbb{Z}[\sqrt{-5}]$ (which is a Dedekind domain), we have $$ (1-\sqrt{-5})(1+\sqrt{-5})=6=2\cdot 3$$ with all stated factors being irreducible. In fact in other rings, for example $R=\mathbb{Z}[\sqrt{-17}]$, there exist numbers that can be written as product of both 2 and 3 irreducible elements. (Theorem 5.16)

This notion of irreducible elements also applies to the matrix rings. Provided we consider matrix rings over a ring and not a field. For example, in the ring $R=M_2(\mathbb{Z})$, we have $$\begin{pmatrix} 2 & 0\\ 0 & 2\end{pmatrix}=\begin{pmatrix} 2 & 0\\ 0 & 1\end{pmatrix}\cdot \begin{pmatrix} 1 & 0\\ 0 & 2\end{pmatrix},$$

with the two stated matrices being irreducible. Since $\mathbb{Z}$ is a principal ideal domain, in fact any other irreducible factor will be of the form $U_1AU_2$ where $A$ is any of the matrices above, and $U$ is an invertible matrix (i.e. a matrix of determinant $\pm 1$). (Theorem 5.19) In other rings this is not necessarily the case. Let $K$ be a field and consider the ring $M_2(K[X,Y,Z])$. Then the matrix $$A=\begin{pmatrix}X^2 & XY+Z\\ XY-Z & Y^2\end{pmatrix}$$ is irreducible of determinant $Z^2$ (Example 5.21), hence so is its adjugate matrix. Thus, we have $$A\text{Adj(A)}=\begin{pmatrix} Z^2 & 0\\ 0 & Z^2\end{pmatrix}=\begin{pmatrix} Z & 0\\ 0 & 1\end{pmatrix}^2\cdot \begin{pmatrix} 1 & 0\\ 0 & Z\end{pmatrix}^2,$$ with the matrices on the left and right side of the equation being irreducible.

The theory of factorisations of ideals into prime ideals in commutative rings is a well studied topic in Number Theory, and can be found in almost any book covering that topic. Factorisation theory in non-commutative rings is not as well studied, but a summary can be found here.