§ 10. Matrices
1. Definition of matrices
Definition 1
Let be three sets; a matrix of type with elements in (or a matrix of type over ) is any family of elements of whose indexing set is the product . For all , the family is called the row of of index ; for all , the family is called the column of of index .
If (resp. ) is finite, is said to be a matrix with a finite number of rows (resp. columns). The set of matrices of type over is identified with the product .
The names "row" and "column" arise from the fact that, in the case where and are intervals of , the elements of the matrix are envisaged as set out in a rectangular array with rows (arranged horizontally) and columns (arranged vertically):
When and are explicit integers sufficiently small for it to be practicable, it is a convention that the above array is a symbol effectively denoting the matrix in question; this notation enables us to dispense with the use of indices, it being understood that the indices of an element are determined by its place in the array; for example, when we speak of the matrix
we mean the matrix such that
Instead of matrix of type , we also say matrix of type , or matrix with rows and columns, if no confusion arises; the set of matrices of type over is sometimes denoted by .
Every matrix over for which one of the indexing sets is empty is identical with the empty family of elements of ; it is also called the empty matrix. When (resp. ) is a set consisting of a single element, is called a row matrix (resp. column matrix) and the row (resp. column) index can then be suppressed in the notation; when and are both sets with one element, a matrix of type is often identified with the unique element in this matrix.
A subfamily of a matrix , whose indexing set is the product of a subset of and a subset of , is called a submatrix of the matrix ; it is said to be obtained by suppressing in the rows of index and the columns of index ; conversely, is said to be obtained by bordering with the rows of index and the columns of index .
Definition 2
The transpose of a matrix* , denoted by , is the matrix over given by for all .
It follows from this definition that the transpose of a matrix of type is a matrix of type and that
(1)
2. Matrices over a commutative group
Let be a commutative group (written additively). The set of matrices over , with the given indexing sets , has a commutative group structure since it is the set of mappings from to ; this group is written additively, so that if and are two of its elements, then
The sum of two matrices is thus only defined if the indexing sets of the rows and the columns are the same for the two matrices.
Let be two sets, a commutative group (written additively) and a mapping from to . Given two matrices
The above definition supposes that the indexing set of the columns of is equal to the indexing set of the rows of ; in particular the product has no meaning if . In formula (3) the elements of the same row of figure multiplied on the right by the elements of the same column of ; the multiplication is said to be made "rows by columns".
Let be the mapping of to ; it follows immediately from the definitions that
When and are themselves commutative groups (written additively) and is -*bilinear* (§ 3, no. 1), the distributivity formulae
Now let and be commutative groups (written additively), mappings and
The two sides of (6) are also denoted by . Analogous conventions are made for products of more than three factors.
Remark
The above formulae extend to a more general situation. To be precise:
(a) Suppose where each is a commutative group written additively; then the sum may be defined when, for each ordered pair , and .
(b) Let I, K, L be three sets with K assumed finite and let , , be three sets; suppose that each is a commutative group written additively and for each triple let
3. Matrices over a ring
The most important matrices in Mathematics are matrices over a ring A. The set of matrices over A corresponding to indexing sets I, K then has canonically an (A, A)-bimodule structure (§ 1, no. 14).
For every ordered pair , let be the matrix such that and for ; the are called the matrix units in the set of matrices ; if I and K are finite, they form the canonical basis of this set for its left or right A-module structure (§ 1, no. 11). Clearly
Unless otherwise mentioned, the product of two matrices over A (assumed to be defined) will always be understood to be relative to the multiplication in A (or, as is also said, will be "calculated in A"). Then we have (no. 2) the associativity and distributivity formulae
(7)
(8)
In particular, if (resp. ) are the matrix units in (resp. ) respectively, with , we obtain the formulae
Let be the opposite ring of A and let denote the product of a and b in ; then, for two matrices X, Y over A whose product is defined,
where on the right hand side and are considered as matrices with elements in ; when is commutative, then
Proposition 1
Let be two rings and and*
If is taken to be the matrix unit with for , and the matrix unit with for , the products and are matrices with a single element respectively equal to and .
Let be two rings and a homomorphism.
For every matrix over , we shall denote by the matrix over ; clearly , for , also and
Consider in particular an anti-endomorphism of , that is a homomorphism of to the opposite ring , or a mapping of into itself such that
4. Matrices and linear mappings
Let be a ring and a (right or left) *-module* admitting a basis . For every element , the matrix of with respect to the basis , denoted by or (or sometimes simply when no confusion can arise), is the column matrix consisting of the components of with respect to (§ 1, no. 11); in calculations it will sometimes be convenient, in order to remember that the index is a row index, to adjoin to it a column index taking only one value and write the matrix as .
We now consider two (left or right) A-modules E and F with bases and respectively; let be the family of coordinate forms corresponding to . For a linear mapping of E into F, we shall define the matrix of u with respect to the bases in each of the following cases:
(D) E and F are right A-modules, is A-linear. (G) E and F are left A-modules, is A-linear.
In what follows, we shall attach the letter (D) (resp. (G)) to formulae applying to right (resp. left) modules.
Definition 3
In each of the above two cases, the matrix of u with respect to the bases* is the matrix *such that
which is written respectively as
(14 D)
The column of of index is therefore equal to .
Clearly if are two linear mappings of E into F and their matrices with respect to the same bases, then
Proposition 2
Suppose I and K are finite. For every element* , the matrix with respect to the basis *is given by the formula
(17 D)
We verify for example (17 G). Let with ; then ; whence y_{k0} = \sum_i x_{i0} u_{ki}. In order to bring the two indices along side one another, we consider the transpose matrices , where and
When A is commutative, (17 G) reduces to (17 D) by formula (4) of no. 2.
Corollary
Let E, F, G be three right (resp. left) modules over a ring A, , , respective finite bases of E, F, G, , two linear mappings, the matrix of u relative to the bases , , the matrix of v relative to the bases , and the matrix of relative to the bases , ; then
(18 D)
We prove for example (18 G). For all , by (17 G):
Remark (1). Formula (17 D) can be considered as a special case of (18 D). For there corresponds canonically to every the linear mapping mapping every to (§ 2, no. 1). It is immediate that the matrix with respect to the basis 1 of and the basis of E is just the matrix ; similarly and formula (17 D) can therefore be considered as a translation of the relation
Proposition 3
Let E, F be two right (resp. left) A-modules and , finite bases of E and F respectively. For every linear mapping u of E into F, let be the matrix of u with respect to the bases and . Then the matrix of with respect to the dual bases and is equal to .
E is canonically identified with its bidual and with the dual basis of ; then (supposing for example that E and F are right modules)
Remark
(2) Let E and F be two left A-modules with bases and respectively. For every A-linear mapping , by (14 G), ; these relations can also be interpreted by saying that the column matrix with elements in F is equal to the product , where is considered as a column matrix with elements in F and the product is calculated for the mapping defining the law of action on the A-module F (no. 2).
(3) Let A, B be two commutative rings and a ring homomorphism. In the notation of Proposition 3, and are respective bases of and (§ 5, no. 1, Proposition 4); moreover, if and are respectively the dual bases of and , then and are respectively the dual bases of and (§ 5, no. 4). For every A-linear mapping , let and be the matrix of with respect to and and the matrix of the B-linear mapping with respect to and . It follows from § 5, no. 4, formula (20) that
Consider a system of a finite number of right scalar linear equations in a finite number of unknowns
Let be the canonical bases of and ; the system (19) is equivalent to the equation , where , and is the linear mapping such that the matrix with respect to the bases and are equal to . This matrix is called the matrix of the system of linear equations (19). Recall (§ 2, no. 8, Remarks 2 and 3), that, writing , the system (19) is equivalent to the unique vector equation
We leave to the reader the task of formulating the analogous definitions and remarks for systems of left linear equations.
5. Block products
The definitions of no. 4 can be generalized as follows. Let E be a (right or left) A-module, the direct sum of a family of submodules. For all , let with for all ; we shall say that the column matrix with elements in E is the matrix of x with respect to the decomposition of E as a direct sum.
Let F be another A-module (E and F being both right A-modules or both left A-modules) and suppose that F is the direct sum of a family of submodules. For all and all , let with for all ; then ; we shall say that the matrix of type with elements in the set H the sum of the is the matrix of u with respect to the decompositions and of E and F as direct sums.
With these definitions, it is obvious that if are two A-linear mappings of E into F then, for matrices with respect to the same decompositions as direct sums
for every element of the centre of A (no. 2, Remark).
Moreover, the definition of the shows that, if K is finite, we can write
where is the matrix of with respect to the decomposition , the product on the right hand side of (22) being calculated for the mappings of into (no. 2, Remark).
Let G be a third A-module, the direct sum of a family of submodules, so that there corresponds to every A-linear mapping a matrix with respect to the decompositions and . If I, K and L are finite, then
where the left hand side is the matrix of with respect to the decomposition and and the product on the left hand side is calculated for the mappings of into (no. 2, Remark). This is just formula (32) of § 1, no. 8, expressed in terms of matrices.
Finally, if I and K are assumed to be finite, (resp. ) is canonically identified with the direct sum of the modules (resp. ) (§ 2, no. 6, Proposition 10). Then it is immediately verified that the matrix of with respect to the decompositions and is just .
Suppose now that I and K are finite and further that each of the E_i (resp. F_k) admits a finite basis. It amounts to the same to say that E (resp. F) admits a basis (e_r)_{r \in R} (resp. (f_s)_{s \in S}) and that R (resp. S) admits a partition (R_i)_{i \in I} (resp. (S_k)_{k \in K}) such that for all i \in I (resp. k \in K), (e_r)_{r \in R_i} is a basis of E_i (resp. (f_s)_{s \in S_k} is a basis of F_k). Then, if X = M(u) is the matrix of u with respect to the bases (e_r)_{r \in R} and (f_s)_{s \in S}, the matrix X_{kt} = M(u_{kt}) with respect to the bases (e_r)_{r \in R_i} and (f_s)_{s \in S_k} is just the submatrix of X obtained by suppressing the rows of index s \notin S_k and the columns of index r \notin R_i. Thus we define a one-to-one correspondence
between the set of matrices of type (S, R) with elements in A and the set of matrices of matrices of type K \times I, where each X_{kt} is a matrix over A of type (S_k, R_i). Suppose that further G admits a finite basis (g_t)_{t \in T} and that T = (T_l)_{l \in L} is a partition of T such that, for each l \in L, (g_t)_{t \in T_l} is a basis of G_l; let Y = M(v) be the matrix of v with respect to the bases (f_s)_{s \in S} and (g_t)_{t \in T}, Y_{lk} = M(v_{lk}) that of v_{lk} with respect to the bases (f_s)_{s \in S_k} and (g_t)_{t \in T_l}, Z = M(w) the matrix of w = v \circ u with respect to the bases (e_r)_{r \in R} and (g_t)_{t \in T} and Z_{li} = M(w_{li}) that of w_{li} with respect to the bases (e_r)_{r \in R_i} and (g_t)_{t \in T_l}; then it follows from (23) that the submatrices Z_{li} of Z = YX are given by
in other words, the one-to-one correspondence (24) transforms products into products when all the products in question are defined (products of matrices of matrices being defined in the sense of no. 2, Remark); when the submatrices Z_{li} of the product YX are calculated thus, this product is said to be carried out "in blocks".
This name arises from the fact that, when I = {1, p} and K = {1, q}, the table representing the matrix X is envisaged as divided into "blocks" forming an "array of matrices"
which is considered as a symbol denoting X when p and q are specific integers sufficiently small for this to be practicable.
6. Matrix of a semi-linear mapping
Let A, B be two rings, \sigma : A \to B a homomorphism of A into B, E a right (resp. left) A-module with basis (e_i)_{i \in I} and F a right (resp. left) B-module with basis . Let be a semi-linear mapping relative to and (resp. ), where the are therefore elements of B; by definition, the matrix of type is also called the matrix of u with respect to the bases and . By the same calculation as in Proposition 2 of no. 4, it is immediately verified that for all , if I and K are finite,
(26 D)
(26 G)
Let C be a third ring, a homomorphism, G a right (resp. left) C-module with basis and a semi-linear mapping of F into G relative to ; if is the matrix of with respect to and and the matrix of relative to and , then, if I, K and L are finite,
(27 D)
(27 G)
To show for example (27 D), note that for all , by (26 D),
Suppose finally that is an isomorphism; then recall that is a semi-linear mapping relative to (§ 2, no. 5); when I and K are finite, the matrix with respect to the dual bases and is given by
(28)
Remark
Let A be a ring and an anti-endomorphism of A (no. 3); consider the two following situations:
(GD) E is a left A-module, F a right A-module and a -linear mapping of E into F such that for ; in other words, is a semi-linear mapping relative to of the right -module E into the right A-module F.
(DG) E is a right A-module, F a left A-module and a -linear mapping of E into F such that for ; in other words, is a semi-linear mapping relative to of the left -module E into the left A-module F.
In the two cases, the matrix of relative to bases of E and F has its elements in A; if these bases are finite, then, for all , we have the respective formulae
(17 GD)
7. Square matrices
Definition 4
A matrix whose rows and columns have the same indexing set is called a square matrix.
A square matrix with rows and columns is called a matrix of order .
Remark
It should be noted that a matrix for which the indexing sets of the rows and columns have the same cardinal but are not identical, must not be considered as a square matrix; in particular, the product of two such matrices over a ring is not defined.
Clearly addition and multiplication of square matrices over A with a finite set as indexing set of the rows and columns, define on the set of these matrices a ring structure because of formulae (7), (8) and (9) (no. 3); the matrix , where is the Kronecker index (for ), is the unit element of this ring and is denoted by or when I has elements. When , the ring of matrices thus defined is denoted simply by ; the group of invertible elements of is denoted by or .
For a square matrix of order over A to be right (resp. left) invertible, it is necessary and sufficient that, for every system of elements of A, the system of equations in unknowns
(resp. )
have one solution in A.
Let I be a finite indexing set, A a ring and E a right (resp. left) A-module with basis . For every endomorphism of E, the matrix of with respect to the two bases identical with is a square matrix; more briefly, it is called the matrix of with respect to the basis .
Suppose that . The mapping (resp. ) is an isomorphism of the ring onto (resp. onto the opposite ring of , as follows from formulae (18 D) (resp. 18 G)) (no. 4). The invertible elements of the ring called invertible matrices, correspond under the mapping (resp. ) to the automorphisms of E; the group is therefore canonically identified with the group .
If is an automorphism of E, its contragredient is an automorphism of the left (resp. right) A-module , such that (§ 2, no. 5, Definition 6); if is the matrix of with respect to the dual basis , then, by virtue of Proposition 3 (no. 4),
For every invertible matrix , it therefore follows that ; this matrix is also denoted by and called the contragredient of the matrix .
Let be an automorphism of the ring ; for every semi-linear mapping relative to , the matrix of this mapping with respect to a basis of E is also a square matrix. It follows immediately from (27 D) (no. 6) that, if is bijective, then
Let E be an A-module which is the direct sum of a finite family of submodules; for every endomorphism of E, the matrix of with respect to the two decompositions of E identical with (no. 5) is a square matrix of linear mappings. In order that for all , it is necessary and sufficient that for . When , the relations
are equivalent to the relations for .
Examples of square matrices.* I. Diagonal matrices. In a square matrix
the elements both of whose indices are equal are called diagonal elements and the family is called the diagonal of ; a square matrix over a ring, whose elements other than the diagonal elements are zero, is called a diagonal matrix. For every family of elements of a ring , the diagonal matrix such that for all is denoted by (or when ). In the set of square matrices of order over , the unit matrix is a diagonal matrix and also every multiple of this matrix by a scalar (the diagonal matrix (called scalar) all of whose diagonal elements are equal to ).
For every family of elements of and every matrix of type (resp. ) over , writing ,
In particular, for two diagonal matrices of order ,
The diagonal matrices therefore form a subring of isomorphic to the product ring ; the scalar matrices form a subring isomorphic to .
II. Permutation matrices; monomial matrices. Let be any permutation of a finite set and let be the canonical basis of the -module ; there exists one and only one endomorphism of such that, for all , (§ 1, no. 11, Corollary 3 to Proposition 17). For all , the column of index in the matrix with respect to the basis has all its elements zero except the one in the row of index , which is equal to 1. By an abuse of language, is called the matrix of the permutation . It is immediate that for any two permutations of , and that for the identity permutation , is the identity; the mapping is therefore an isomorphism of the symmetric group onto the group of permutation matrices.
Each row and each column of a permutation matrix contains only a single element . A finite square matrix over a non-zero ring , with this property, is called a monomial matrix; let be the unique element in the column of of index and let be the index of the row where this element is; clearly is a permutation of the indexing set and , where .
III. Triangular matrices. In the ring of square matrices of order over a ring , any matrix such that for (resp. ) is called an upper (resp. lower) triangular matrix; it is also said that such a matrix has only zeros below (resp. above) its diagonal. It is immediately established that the upper (resp. lower) triangular matrices form a subring (resp. ) of , being obviously the ring of diagonal matrices.
The set (resp. ) of matrices in (resp. ) whose diagonal elements are invertible is a multiplicative group of matrices called the upper (resp. lower) total triangular group, this follows immediately from § 1, no. 11, Remark 5. The set (resp. ) of matrices in (resp. ) whose diagonal elements are all equal to 1 is a subgroup of the above group, called the upper (resp. lower) strict triangular group, and every matrix (resp. ) whose diagonal is , may be written as , where and and matrices belonging to (resp. ).
IV. Diagonal and triangular matrices of matrices. Let be a partition of the finite set ; every square matrix over a ring with indexing set can be written in the form of a square matrix of matrices corresponding to the same partition of the indexing set of the rows and the indexing set of the columns (no. 5)
where each is a square matrix with as indexing set of the rows and columns.
With this notation, (32) will be called a diagonal (resp. upper triangular, resp. lower triangular) matrix of matrices if all the matrices such that (resp. , resp. ) are zero. The interpretation of endomorphisms whose matrix is a diagonal, resp. triangular, matrix of matrices has been seen earlier, by considering the corresponding matrix of linear mappings. The lower triangular (resp. upper triangular, diagonal) matrices of matrices for a given partition of I form subrings of the ring of matrices . In particular, the ring of diagonal matrices of matrices relative to the partition is isomorphic to the product .
8. Change of bases
Proposition 4
Let E be a right A-module with finite basis of n elements. For a family of n elements to be a basis of E, it is necessary and sufficient that the square matrix of order n be invertible.
is just the matrix, with respect to the basis of the endomorphism of E defined by . Now, for to be an automorphism of E, it is necessary and sufficient that be a basis of E (§ 1, no. 11, Corollary 3 to Proposition 17); whence the proposition.
The invertible matrix is called the matrix of passage from the basis to the basis . It can also be interpreted as the matrix of the identity mapping with respect to the bases and (in that order); then clearly the matrix of passage from the basis to the basis is the inverse of .
Proposition 5
Let be two bases of n elements of E and P the matrix of passage from to . If and are the respective dual bases of and , the matrix of passage from to is the contragredient of P.
The transpose of the identity mapping is the identity mapping ; by Proposition 3, no. 4, the matrix of with respect to the bases and (in that order) is the transpose of the matrix of with respect to the bases and (in that order), that is the transpose of .
Proposition 6
Let E and F be two right A-modules, and two bases of E* with elements, and two bases of with elements, the matrix of passage from to and the matrix of passage from to . For every linear mapping of into , let be the matrix of with respect to the bases and and the matrix of with respect to the bases and ; then
We may write . Formula (33) follows immediately from no. 4, Corollary to Proposition 2 when the matrix of is taken with respect to and , that of with respect to and and that of with respect to and .
Corollary 1
If is an endomorphism of and and its matrices with respect to the bases and respectively, then
Corollary 2
If and are the matrices with one column of the same element with respect to the bases and respectively, then
This is a special case of Proposition 6, applied to the mapping of to (no. 4, Remark 1).
Formula (35) is equivalent to
for the elements and of the matrices and respectively. Formulae (36 D) are called formulae of change of coordinates. Observe that they express the components of relative to the "old" basis as functions of the components of relative to the "new" basis and the elements of , that is the components of the "new" basis relative to the "old" basis.
Remark
(1) We now start with a left -module with two bases , each with elements; if we write , is also called the matrix of passing from to ; it is also the matrix of the automorphism of such that , with respect to the basis and also the matrix of with respect to the bases and in that order. The above results then hold with only the following modifications: formulae (33 D) to (36 D) are respectively replaced by
LINEAR ALGEBRA
(36 G)
(2) Under the hypotheses of Proposition 4, consider an element ; as the matrix of passage from to is (Proposition 5), for the matrices and of with respect to these two bases respectively,
or also
(37 D)
which is equivalent to the system of equations
(38 D)
for the elements and of the matrices and . The corresponding formulae for a left A-module E are
(37 G)
(38 G)
(3) Let A, B be two rings, a homomorphism of A into B, E a right (resp. left) A-module, , two bases with elements of E, F a right (resp. left) B-module, , two bases with elements of F and (resp. ) the matrix of passage from to (resp. from to ).
For every semi-linear mapping , relative to , let be the matrix of with respect to and and its matrix with respect to and . Then
(39 D)
The proof is the same as that for (33 D) and (33 G), this time using formulae (27 D) and (27 G) (no. 6).
9. Equivalent matrices; similar matrices
Definition 5
Two matrices* with m rows and n columns over a ring are called equivalent if there exists an invertible square matrix of order m and an invertible square matrix *of order n such that
(40)
Clearly the relation "X and X' are equivalent" is an equivalence relation (Set Theory, II, § 6, no. 1) on the set of matrices of type over A, which justifies the terminology.
With this definition, Proposition 6 of no. 8 can be stated by saying that when the bases are changed in two right A-modules E, F (with finite bases), the matrix of a linear mapping with respect to the new bases is equivalent to the matrix of with respect to the old bases.
Conversely, if relation (40) holds and is a linear mapping whose matrix is with respect to the respective canonical bases and of and , then is the matrix of with respect to the bases and such that is the matrix of passage from to and the matrix of passage from to .
Examples of equivalent matrices. (1) Two matrices and with rows and columns "differ only in the order of their rows" if there exists a permutation of the interval of , such that for every ordered pair of indices , (we also say that is obtained by performing the permutation on the rows of ). The matrices and are then equivalent, for , where is the matrix of the permutation (cf. no. 7, Example II).
Similarly and are said to differ only in the order of their columns if there exists a permutation of such that for every ordered pair of indices , and are also equivalent, for where is the matrix of the permutation .
Note that in the above notation is the matrix of passage from a basis to the basis and the matrix of passage from a basis to the basis .
(2) Let be distinct elements of and let .
Suppose that for , and for and ; is said to be derived from by adding to the column of of index the column of index multiplied on the right by . In this case and are also equivalent: for if (an invertible triangular matrix, as seen in no. 7), then .
Similarly, let be two distinct elements of and an element of ; if is derived from by adding to the row of of index the row of index multiplied on the left by , and are equivalent, for , where .
(3) Finally, if, for a given index , for , where is invertible and for and , and are equivalent; for , where is the matrix with , for . Then is said to be derived from by multiplying the column of of index on the right by .
Similarly, if is derived from by multiplying the row of of index on the left by an invertible element , and are equivalent, for where is the matrix with , for .
Definition 6
Two square matrices X, X' of order n over a ring A are called similar if there exists an invertible square matrix P of order n such that
Clearly the relation "X and X' are similar" is an equivalence relation on meaning that X and X' are transformed into one another by an inner automorphism of this ring.
With this definition, Corollary 1 to Proposition 6 of no. 8 can be stated by saying that when the basis of an A-module E (with a finite basis) is changed, the matrix of an endomorphism u with respect to the new basis is similar to the matrix of u with respect to the old basis.
Remark
(1) Two square matrices which differ only in the order of their rows (or the order of their columns) are equivalent, but in general not similar. A matrix similar to a square matrix can be obtained by performing the same permutation on the rows and columns, that is by considering the matrix , where for every ordered pair of indices; for if X is the matrix of an endomorphism u of with respect to a basis , is the matrix of u with respect to the basis .
(2) Let X and be two square matrices of order n which can be written in the form of diagonal matrices of square matrices (no. 7, Example IV):
corresponding to the same partition of the indexing set for X and . If, for , and are equivalent (resp. similar), then X and are equivalent (resp. similar): for, if for , then where
as follows from calculating the "block" product (no. 6). Moreover, if for all i, then .
10. Tensor product of matrices over a commutative ring
Let C be a commutative ring, E, F, U, V four C-modules and , two C-linear mappings. Suppose that E, F, U, V have respectively finite bases ; let be the matrix of with respect to and , that of with respect to and . For every ordered pair , let ; for every ordered pair let ; the then form a basis of and the a basis of (§ 3, no. 6, Corollary 2 to Proposition 7). The tensor product of by , denoted by , is the matrix whose elements are given by
Then is the matrix of with respect to the bases and . By definition (§ 3, no. 2, formula (3))
Definition (42) of the elements of shows that this matrix corresponds bijectively with the matrix of matrices and also the matrix (no. 5).
The fact that is a C-bilinear mapping and formula (9) of § 3, no. 5, can be expressed by the identities
when the operations appearing are defined. The transpose of a tensor product of matrices is given by
If and are invertible square matrices over , is invertible and
Let be another basis of and another basis of ; if is the matrix of passage from the basis to the basis and the matrix of passage from the basis to the basis , the matrix of passage from the basis to the basis is . If is equivalent (resp. similar) to and equivalent (resp. similar) to , then is equivalent (resp. similar) to .
The definition of tensor product of matrices can be generalized in an obvious way to an arbitrary finite number of matrices over ; in particular we have the associativity formula
for every partition of the finite indexing set .
11. Trace of a matrix
Let be a commutative ring; for every square matrix over corresponding to the finite indexing set , the trace of is the element
Let be a -module admitting a finite basis ; for every endomorphism of ,
being the matrix with respect to the basis ; this follows immediately from § 4, no. 3, formula (17), when this formula is applied to the endomorphism (where ) is the dual basis of ); from this we pass to the general case by linearity. Formula (49) shows that
for every basis of (cf. § 4, no. 3, formula (17)).
If is a matrix of type over and a matrix of type over , then
as follows from the above and Proposition 3 of § 4, no. 3; (52) can also be obtained directly, for if (), then
by (49). The latter formula proves moreover:
Proposition 7
Let be a commutative ring and for every matrix let be the linear form on ; the mapping is a -linear bijection of onto its dual.
Proposition 8
If is a linear form on the -module such that for all matrices in , there exists one and only one scalar such that for every matrix .
Since the proposition is trivial for , attention may be confined to the case where . Taking with , we obtain ; then taking with , we find ; the proposition follows immediately since the form a basis of .
12. Matrices over a field
The finite matrices with rows and columns over a field are in one-to-one correspondence with the linear mappings of the right vector space into the right vector space when the matrices of these mappings are taken with respect to the canonical bases of and . By definition, the rank of such a matrix is the rank of the linear mapping corresponding to it; as this number is by definition the dimension of the subspace of , it amounts to the same (identifying the columns of with the images under of the canonical basis of ) to give the following definition:
Definition 7
Given a matrix with rows and columns over a field , the dimension of the subspace of generated by the columns of is called the rank of with respect to and denoted by .
It can also be said that the rank of is the maximum number of linearly independent columns of (as elements of ). Obviously ; for every submatrix of , .
If and are two finite-dimensional vector spaces over and a linear mapping of into , the rank of the matrix with respect to any two bases is equal to the rank of .
Proposition 9
If the elements of a matrix with rows and columns belong to a subfield of a field , the rank of with respect to is equal to the rank of with respect to .
Let be the right vector -space generated by the canonical basis of the right vector -space ; by hypothesis the columns of belong to . Let (resp. ) be the vector sub--space of (resp. the vector sub--space of ) generated by these columns. Then (§ 8, no. 2, Proposition 2) and hence .
Proposition 10
The rank of a matrix over a field is equal to the rank of its transpose over the opposite field .
In the notation introduced before Definition 7, the rank of is equal to that of (§ 7, no. 5, Proposition 10) and the proposition therefore follows from no. 4, Proposition 3.
It is thus seen that the rank of can also be defined as the maximum number of linearly independent rows of (considering them as elements of the left vector -space ).
The square matrices of order over a field correspond bijectively with the endomorphisms of and form a ring isomorphic to the ring
End (E) (no. 7); corresponding to the automorphisms of E are the invertible square matrices.
Proposition 11
Let X be a square matrix of order n over a field K. The following properties are equivalent:
(a) X is invertible in . (b) X is right invertible in . (c) X is left invertible in . (d) X is of rank n.
This is just a translation of § 7, no. 4, Corollary to Proposition 9.
Proposition 12
For a system of m linear equations in n unknowns
over a field K to have at least one solution, it is necessary and sufficient that the matrix of the system and the matrix B, obtained by bordering A with an -th column equal to , be matrices of the same rank.
It has been seen (no. 4) that the existence of a solution of (54) is equivalent to the fact that the column is a linear combination of the columns of and the proposition therefore follows from § 7, no. 3, Corollary 4 to Proposition 4.
Note that the condition of Proposition 12 is always fulfilled when and is invertible, that is of rank (Proposition 11). If and then denote the matrices with one column and respectively, system (54) is equivalent to and its unique solution is .
13. Equivalence of matrices over a field
Proposition 13
Let E, F be two finite-dimensional vector spaces over a field K. If is a linear mapping of rank r, there exist bases of E and F such that, with respect to these bases,
Every matrix of type over K and of rank r is equivalent to a matrix of the form (55).
The second assertion is trivially equivalent to the first. To show the latter, let , . The kernel is of dimension (§ 7, no. 4, formula (11)); let V be a supplementary subspace of N in E and a basis of E such that is a basis of V and a basis of N. Then the form a basis of ; hence there exists a basis of F such that for (§ 7, no. 1, Theorem 2) and clearly with respect to the bases and the matrix is given by (55).
Corollary
For two matrices over a field, of type , to be equivalent, it is necessary and sufficient that they have the same rank.
We shall now recover Proposition 13 by another more explicit method. For every ring , every , every integer and every ordered pair of distinct integers in , we write
an invertible matrix of order by no. 8.
Lemma 1
Let be a matrix of type over a ring . Suppose that and that there exists an element in the first column of which is invertible in . Then there exist two invertible square matrices , and a matrix of type over such that (resp. ) is a product of matrices of the form of order (resp. ) and
The matrix is obtained by adding to the row of of index the row of index multiplied on the left by (no. 9, Example 2); if is invertible, then there exists such that, for the matrix , ; multiplying on the left by suitably chosen matrices of order (for ), a matrix is obtained such that , for . Then the matrix obtained is multiplied successively on the right by suitable matrices of order and a matrix is obtained of the form (57).
Proposition 14
Let be a matrix of type over a field . If is of rank , there exist two invertible square matrices , such that (resp. ) is a product of matrices of order (resp. ) of the form and
(a matrix all of whose terms are zero except the for , with for , ). *If or , it may also be assumed that .
The proposition is obvious if ; suppose therefore . If the proposition is obvious (with , , arbitrary). If , , we can apply Lemma 1 (since ), which gives the desired form (58) with , . We argue by induction on ; there exists an element in ; if , Lemma 1 can be applied and reduces the problem to the case where has the form (57). The induction hypothesis then applies to and there are therefore invertible matrices
which are products of matrices of the form of order (resp. ), such that is of the form (58). But, if belongs for example to , then
formula (58) then follows from the formula for block products writing
If finally , it would be sufficient to consider the matrix to reduce it to the above case.
Proposition 14 recovers Proposition 13 immediately.
Corollary 1
If is an invertible square matrix of order over a field , there exist three invertible matrices of order such that , and being products of matrices of the form and a diagonal matrix of the form
where (cf. Exercise 13).
Corollary 2
For every field , the group of invertible matrices is generated by the permutation matrices (no. 7, Example 2), the diagonal matrices ( in ) and the matrices ().
It has been seen (no. 9) that the right (resp. left) product of a matrix by the matrix of a suitable transposition exchanges any two columns (resp. rows). Then the matrix is equal to the product of and permutation matrices and every matrix is equal to the product of and permutation matrices, whence the corollary.
Remark
(1) In Chapter III, we shall see that, if and is commutative, then, for all choices of and satisfying the conditions of Proposition 14, the element is always the same and equal to the determinant of (III, § 8, no. 6).
(2) The argument of Proposition 14, slightly modified, shows that there is a permutation matrix such that (with the same conditions on )
if does not hold, and
otherwise. Observe also that the method of proof gives an explicit determination of the matrices when is given explicitly.
Exercises
See the exercises for § 10.