The rational matrix algebra M2(Q)M_2(\mathbb Q) is the of 2×22\times 2 matrices with entries, with entrywise addition and scalar multiplication, and the associative product

(AB)ij=∑r=12AirBrj.(AB)_{ij}=\sum_{r=1}^{2} A_{ir}B_{rj}.

Its multiplicative unit is the identity matrix I2I_2.

Basis and dimensions

The matrix units EijE_{ij} form a rational basis of size 222^2, with EijErs=δjrEisE_{ij}E_{rs}=\delta_{jr}E_{is}. Thus its rational dimension is 4. The center consists of scalar matrices.

Endomorphism interpretation

After choosing a basis of Q2\mathbb Q^2, this algebra identifies with End⁡Q(Q2)\operatorname{End}_{\mathbb Q}(\mathbb Q^2), with matrix product corresponding to composition. Its units form GL2(Q)\mathrm{GL}_2(\mathbb Q). These are units of this algebra; an automorphism of the matrix algebra is a different sort of map.

Low-dimensional boundary

For size one, scalar matrices give M1(Q)≅QM_1(\mathbb Q)\cong\mathbb Q as unital rational algebras. For every size at least two, E11E_{11} and E22E_{22} are nonzero with zero product, so the matrix algebra is not a division algebra.

Quadratic-field example

Using the basis 1,i1,i identifies the rational-linear endomorphisms of with this matrix algebra. Multiplication by a+bia+bi corresponds to (a−bba)\left(\begin{smallmatrix}a&-b\\b&a\end{smallmatrix}\right), a two-dimensional subalgebra of the four-dimensional matrix algebra.