다중선형대수학

Matrices

Definition and multiplication of matrices for free modules over a general ring

Posted Updated

This is basically the process of verifying that the two posts from [Linear Algebra], [Linear Algebra] §Matrices and [Linear Algebra] §Fundamental Theorem of Linear Algebra, hold in the case of a general \(A\)-module as well. Stating most definitions and theorems in a general setting is not difficult, but it can become somewhat complicated due to several issues, such as that \(A\) may not be commutative, or that we will also deal with infinite-dimensional free modules.

In this post, we define matrices and operations between them.

Basic Definitions of Matrices

As in [Linear Algebra], over a ring \(A\), an \(m\times n\) matrix is formed by writing from \(A\) the \(mn\) elements in an \(m\times n\) rectangular shape

\[X=\begin{pmatrix}x_{11}&x_{12}&\cdots&x_{1n}\\x_{21}&x_{22}&\cdots&x_{2n}\\\vdots&\vdots&\ddots&\vdots\\x_{m1}&x_{m2}&\cdots&x_{mn}\end{pmatrix}\tag{1}\]

The set of these is denoted by \(\Mat_{m\times n}(A)\). More generally, we define the following.

Definition 1 For arbitrary sets \(I, J\), an \(I\times J\) matrix means an \(I\times J\)-indexed family of elements of \(A\), \((x_{ij})_{(i,j)\in I\times J}\), and the collection of these is denoted by \(\Mat_{I\times J}(A)\).

The difference between this and the existing definition is that \(I,J\) can also be infinite sets. However, in order to define matrix multiplication and examine the relationship between matrices and linear maps, these must necessarily be finite sets, so the above definition is not a substantial generalization.

Definition 2 For an arbitrary \(I\times J\) matrix \(X\) and subsets of \(I,J\), \(I_0\subseteq I\) and \(J_0\subseteq J\), \(X\)’s \(I_0\times J_0\) submatrix is defined by taking, for \(i\in I_0\) and \(j\in J_0\), the \(x_{ij}\) to form the matrix \((x_{ij})_{(i,j)\in I_0\times J_0}\). In particular, of \(X\), the \(\{i\}\times J\) submatrix is called \(X\)’s \(i\)th row vector, and the \(I\times \{j\}\) submatrix is called \(X\)’s \(j\)th column vector.

We also define the following.

Definition 3 For an arbitrary \(I\times J\) matrix \(X=(x_{ij})_{(i,j)\in I\times J}\), the transpose of \(X\), \(X^t=(x^t_{ji})_{(j,i)\in J\times I}\), is the matrix given by the following equation

\[x_{ji}^t=x_{ij}\qquad\text{for all $(i,j)\in I\times J$}\]

In particular, when an \(m\times n\) matrix \(X\) as in (1) is given, the transpose of \(X\) means the matrix given by the following equation

\[X^t=\begin{pmatrix}x_{11}&x_{21}&\cdots&x_{m1}\\ x_{12}&x_{22}&\cdots&x_{m2}\\\vdots&\vdots&\ddots&\vdots\\ x_{1n}&x_{2n}&\cdots&x_{mn}\end{pmatrix}\]

, namely the \(n\times m\) matrix \(X^t\in\Mat_{n\times m}(A)\). From the definition, since \(((X^t)^t)_{ij}=(X^t)_{ji}=x_{ij}\), we obtain the following proposition.

Proposition 4 \((X^t)^t=X\).

Also, \(X\)’s \(i\)th row vector is \(X^t\)’s \(i\)th column vector, and \(X\)’s \(j\)th column vector is \(X^t\)’s \(j\)th row vector.

Operations on Matrices

The goal of this section is to show that \(\Mat_{I\times J}(A)\) defined above has the structure of an \(A\)-module.

First, let us show that \(\Mat_{I\times J}(A)\) has the structure of an abelian group. This can be done by defining, for two matrices in \(\Mat_{I\times J}(A)\)

\[X=(x_{ij})_{(i,j)\in I\times J},\qquad Y=(y_{ij})_{(i,j)\in I\times J}\]

their addition by

\[X+Y=(x_{ij}+y_{ij})_{(i,j)\in I\times J}\]

Then by the associativity and commutativity of addition in \(A\), we know that the above formula defines an abelian group structure on \(\Mat_{I\times J}(A)\). Here, the identity element for addition in \(\Mat_{I\times J}(A)\) is the matrix with all entries \(0\in A\) of size \(I\times J\), and the inverse of \(X\) is

\[-X=(-x_{ij})_{(i,j)\in I\times J}\]

Then we can verify the following equation:

\[(X+Y)^t=X^t+Y^t\]

Now we must give \(\Mat_{I\times J}(A)\) the structure of a left \(A\)-action. This can be done by defining, for any \(\alpha\in A\) and \(X\in\Mat_{I\times J}(A)\) as above,

\[\alpha X=(\alpha x_{ij})_{(i,j)\in I\times J}\]

and the properties this must satisfy as a left \(A\)-module follow from the fact that \(A\) is a left module over itself. Similarly, on \(\Mat_{I\times J}(A)\), a right \(A\)-action can be defined by

\[X\alpha=(x_{ij}\alpha)_{(i,j)\in I\times J}\]

Here, we can verify that \((\alpha X)^t=\alpha X^t\) and \((X\alpha)^t=X^t\alpha\).

Furthermore, when \(I,J\) are finite sets, \(\Mat_{I\times J}(A)\) is a free \(A\)-module, and their basis is given by the following matrices:

\[E_{ij}=(e_{kl})_{(k,l)\in I\times J},\qquad \text{$e_{kl}=0$ for all $(k,l)$ except for $e_{ij}=1$}\]

Strictly speaking, \(E_{ij}\) does not contain information about the size of the matrix, so there is a slight abuse of notation, but in most cases there is no danger of confusion, so we use it as is. Then we know that \((E_{ij})^t=E_{ji}\).

Matrix Multiplication

As in the definition in elementary linear algebra, for two matrices \(X\in\Mat_{I\times J}(A)\) and \(Y\in\Mat_{K\times L}(A)\), the matrix product \(XY\) is defined only when \(J=K\), and in this case \(XY\) will be an \(I\times L\) matrix. Following the expression for each entry of the matrix product examined after [Linear Algebra] §Matrices, ⁋Definition 2, in the general setting as well, \(XY\)’s \((i,l)\)-entry is defined by the following formula:

\[(XY)_{il}=\sum_{j\in J} X_{ij}Y_{jl}\tag{2}\]

However, since the right-hand side of the above formula need not be a finite sum in general, when speaking of the matrix product we always assume that \(J=K\) is a finite set.

Now, by calculating entrywise, we can verify the following equations:

\[(XY)Z=X(YZ),\quad X(Y+Z)=XY+XZ,\quad (X+Y)Z=XZ+YZ\]

However, unlike [Linear Algebra] §Matrices, ⁋Proposition 8, there is a point to be careful about when considering the relationship between the matrix product and the transpose: the equation

\[(XY)^t=Y^tX^t\]

does not hold in general. This can be verified immediately by writing out both sides entrywise, and what the issue is is also clear: namely, that \(A\) is not commutative. The above equation makes sense if we regard both matrices \(X^t, Y^t\) on the right-hand side as matrices defined over the opposite ring reversing the order of multiplication of \(A\) ([Ring Theory] §Artin-Wedderburn Theorem, ⁋Lemma 9), but since in most cases we will consider the case where \(A\) is commutative, this is not of great significance.


References

[Goc] M.S. Gockenbach, Finite-dimensional linear algebra, Discrete Mathematics and its applications, Taylor&Francis, 2011.
[Lee] 이인석, 선형대수와 군, 서울대학교 출판문화원, 2005.


Comments

  • Public repository: a deleted comment stays in the Git history.
  • The password and the email are encrypted and kept in Cloudflare KV alone.

No comments yet.

Leave a comment