“No one can be told what the matrix is. You have to see it for yourself.”
―Morpheus
Definition13.59.Matrix of Free Module Homomorphism.
Let \(R\) be a non-zero commutative ring and let \(V,W\text{,}\) be \(R\)-modules of finite rank \(n\) and \(m\text{,}\) respectively. Let \(B=\{b_1, \dots, b_n\}\) and \(C=\{c_1, \dots, c_m\}\) be ordered bases of \(V\) and \(W\text{.}\) Given an \(R\)-module homomorphism \(f: V \rightarrow W\text{,}\) we define elements \(a_{i j} \in R\) for \(1 \leqslant i \leqslant m\) and \(1 \leqslant j \leqslant n\) by the formulas
is said to represent the homomorphism \(f\) with respect to the bases \(B\) and \(C\text{.}\) In the case that \(V\) and \(W\) are \(F\)-vector spaces, the matrix \([f]_{B}^{C}\) is called the matrix of the linear transformation\(f\) with respect to the bases \(B\) and \(C\text{.}\)
Remark13.60.
The notion that a homomorphism between finitely generated free modules can be represented as a matrix is extremely important! It allows us to translate information we know about matrices into information we know about homomorophisms and linear transformations, and vice versa.
Example13.61.Identity Automorphism of Free \(R\)-Module.
If \(\id_V: V \to V\) is the identity automorphism of an \(n\)-dimensional free \(R\)-module \(V\text{,}\) then for any basis \(B\) of \(V\) we have \(\id_V(b_i) = b_i\) for all \(i\) and hence
Example13.62.Matrix Representing the Derivative Operator.
Let \(P_{3}\) denote the the \(F\)-vector space of polynomials of degree at most \(3\) (including the zero polynomial) and consider the linear transformation \(d: P_{3} \rightarrow P_{3}\) given by taking the derivative \(d(f)=f^{\prime}\text{.}\) Let \(B=\left\{1, x, x^{2}, x^{3}\right\}\text{.}\) Then
Lemma13.63.Linear Transformation between Vector Spaces is Matrix Multiplication.
Let \(F\) be a field and consider a linear transformation \(f: V \rightarrow W\text{,}\) where \(V=F^{n}\) and \(W=F^{m}\text{.}\) Consider also the standard ordered bases \(B\) and \(C\text{,}\) i.e. \(b_{i}=e_{i} \in V\) and \(c_{i}=e_{i} \in W\text{.}\) Then for any
and \([f]_{B}^{C} \cdot v\) denote the usual rule for matrix multiplication.
This says that any linear transformation \(f: F^{n} \rightarrow F^{m}\) is given by multiplication by a matrix, since we noticed above that \(f(v)=[f]_{B}^{C} \cdot v\text{.}\) The same type of statement holds for free modules over commutative rings, and we will show it below in Theorem 2.32.
Theorem13.64.\(R\)-map Bewteen Free Modules is Matrix Multiplication.
Let \(R\) be a commutative ring with \(1 \neq 0\text{.}\) Let \(V\) and \(W\) be finitely generated free \(R\)-modules of ranks \(n\) and \(m\) respectively. Fixing ordered bases \(B\) for \(V\) and \(C\) for \(W\) gives an isomorphism of \(R\)-modules
\begin{equation*}
\operatorname{Hom}_{R}(V, W) \cong \mathrm{M}_{m, n}(R) \quad f \mapsto[f]_{B}^{C}
\end{equation*}
If \(V=W\text{,}\) so that in particular \(m=n\text{,}\) and \(B=C\text{,}\) then the above map is an \(R\)-algebra isomorphism \(\operatorname{End}_{R}(V) \cong \mathrm{M}_{n}(R)\text{.}\)
Proof.
Let \(\varphi: \operatorname{Hom}_{R}(V, W) \rightarrow \mathrm{M}_{m, n}(R)\) be defined by \(\varphi(f)=[f]_{B}^{C}\text{.}\) We need to check that \(\varphi\) is a homomorphism of \(R\)-modules, which translates into \([f+g]_{B}^{C}=[f]_{B}^{C}+[g]_{B}^{C}\) and \([\lambda f]_{B}^{C}=\lambda[f]_{B}^{C}\) for any \(f, g \in \operatorname{Hom}_{R}(V, W)\) and \(\lambda \in R\text{.}\) Let \(A=[f]_{B}^{C}\) and \(A^{\prime}=[g]_{B}^{C}\text{.}\) Then
Finally, the argument described in Example 2.31 also works for any ring \(R\text{,}\) and it can be adapted for any two chosen basis \(B\) and \(C\text{,}\) showing that \(\varphi\) is a bijection.
SubsectionChange of Basis
“Change brings opportunity.”
―Nido R. Qubein
As we noted in Section 13.2, bases of free modules are rarely unique. Each basis provides its own individual “langauge” of constucting elements of the module. Different bases may lend themselves to different situations and mathematicians, and thus being able to “translate” between these langauges is extremely important.
Definition13.65.Change of Basis Matrix.
Let \(V\) be a finitely generated free module over a commutative ring \(R\text{,}\) and let \(B\) and \(C\) be bases of \(V\text{.}\) Let \(\operatorname{id}_{V}\) be the identity map on \(V\text{.}\) Then \(\left[\operatorname{id}_{V}\right]_{B}^{C}\) is a matrix called the change of basis matrix from \(B\) to \(C\text{.}\)
Remark13.66.
In Theorem 13.71 we will show that \(\left[\mathrm{id}_{V}\right]_{B}^{C}\) is invertible with inverse \(\left(\left[\mathrm{id}_{V}\right]_{B}^{C}\right)^{-1}=\left[\mathrm{id}_{V}\right]_{C}^{B}\text{.}\)
If \(V, W, U\) are finitely generated free \(R\)-modules spaces with ordered bases \(B\text{,}\)\(C\text{,}\) and \(D\text{,}\) and if \(f: V \rightarrow W\) and \(g: W \rightarrow U\) are \(R\)-module homomorphisms, then
so \([f \circ g]_{B}^{B}=[f]_{B}^{B}[g]_{B}^{B}\text{.}\)
Definition13.69.Similar Matrices.
Let \(F\) be a finitely generated free module over a commutative ring \(R\text{.}\) Two \(R\)-module homomorphisms \(f, g: F \rightarrow F\) are similar if there is an \(R\)-module isomorphism \(h: V \rightarrow V\) such that \(g=h \circ f \circ h^{-1}\text{.}\)
Two \(n \times n\) matrices \(A\) and \(B\) with entries in \(R\) are similar if there is an invertible \(n \times n\) matrix \(P\) such that \(B=P A P^{-1}\text{.}\)
The notion of similar matrices aligns with the idea of moving between bases. Translate your data into the language using your new basis (using \(P\)), perform the desired transformations (using \(A\)), and then translate this new data back into the original basis (using \(P\inv\))
Remark13.70.
For elements \(A, B \in \mathrm{GL}_{n}(R)\text{,}\) the notions of similar and conjugate are the same.
Theorem13.71.Similar CoB Matrices.
Let \(V, W\) be finitely generated free modules over a commutative ring \(R\text{,}\) let \(B\) and \(B^{\prime}\) be bases of \(V\text{,}\) let \(C\) and \(C^{\prime}\) be bases of \(W\text{,}\) and let \(f: V \rightarrow W\) be a homomorphism. Then
Setting \(V=W, B=C, B^{\prime}=C^{\prime}\text{,}\) and \(f=\mathrm{id}_{V}\) we have \(\left[\mathrm{id}_{V}\right]_{B^{\prime}}^{B^{\prime}}=\left[\mathrm{id}_{V}\right]_{B}^{B^{\prime}}\left[\operatorname{id}_{V}\right]_{B}^{B}\left[\operatorname{id}_{V}\right]_{B^{\prime}}^{B}\text{.}\) Notice that \(\left[\operatorname{id}_{V}\right]_{B}^{B}=\left[\operatorname{id}_{V}\right]_{B^{\prime}}^{B^{\prime}}=I\) is the identity matrix, so the previous formula says that
Setting \(P=\left[\mathrm{id}_{V}\right]_{B}^{B^{\prime}}\text{,}\) we notice that the previous identity gives \(P^{-1}=\left[\mathrm{id}_{V}\right]_{B^{\prime}}^{B}\text{.}\)
Now set \(V=W, B=C, B^{\prime}=C^{\prime}\) and \(f=g\) to obtain
Let \(R\) be a commutative ring with \(1 \neq 0\text{,}\) let \(M\) be a free \(R\)-module of finite rank \(n\text{,}\) and let \(B = \{b_1,\dots ,b_n\}\) be an ordered basis for \(M\text{.}\) An elementary basis change operation on the basis \(B\) is one of the following three types of operations:
(Type I) Replacing \(b_i\) by \(b_i + rb_j\) for some \(i \neq j\) and some \(r\in R\text{.}\)
(Type II) Replacing \(b_i\) by \(ub_i\) for some \(i\) and some unit \(u\) of \(R\text{,}\)
(Type III) Swapping the positions of \(b_i\) and \(b_j\) for some \(i \neq j\text{.}\)
Definition13.73.Elementary Row Operations.
Let \(R\) be a commutative ring with \(1 \neq 0\text{.}\) An elementary row (column) operation on a matrix \(A \in \Mat_{m,n}(R)\) is one of the following three types of operations:
Type I.
Adding an element of \(R\) times a row (column) of \(A\) to a different row column of \(A\text{.}\)
Type II.
Multiplying a row (column) of \(A\) by a unit of \(R\text{.}\)
Type III.
Interchanging two rows (columns) of \(A\text{.}\)
Definition13.74.Elementary Matrix.
Let \(R\) be a commutative ring with \(1 \neq 0\text{.}\) An elementary matrix over \(R\) is an \(n \times n\) matrix obtained from \(I_n\) by applying a single elementary column operation (or, equivalently, a single elementary column operation). In more detail:
Type I.
For \(r \in R\) and \(1 \leq i,j \leq n\) with \(i \neq j\text{,}\) let \(E_{i,j}(r)\) be the type I elementary matrix with \(1\)’s on the diagonal, \(r\) in the \((i,j)\) position, and \(0\) everywhere else.
Type II.
For \(u \in R^\times\) and \(1\leq i \leq n\) let \(E_i(u)\) be the type II elementary matrix with \((i,i)\) entry \(u\text{,}\)\((j,j)\) entry \(1\) for all \(j \neq i\text{,}\) and \(0\) everywhere else.
Type III.
For \(1 \leq i,j \leq n\) with \(i \neq j\text{,}\) let \(E_{(i,j)}\) be the type III elementary matrix with \(1\) in the \((i,j)\) and \((j,i)\) positions and in the \((l,l)\) positions for all \(l\not \in \{i,j\}\text{,}\) and 0 in all other entries.