Introduction to Matrices
Matrix Representations of Linear Maps
A matrix is a rectangular array of scalars arranged in rows and columns. Matrices can be used to represent linear maps between finite-dimensional vector spaces.
A matrix with rows and columns with elements from a field is called an matrix over .
Notation: Sets of Matrices
There are various ways to denote the set of all matrices over , most commonly:
If is a matrix, then denotes the element in the th row and th column of :
Notation: Column and Row Vectors
A column vector represents a vector in as an matrix, and a row vector represents a vector in as a matrix.
Example.
Despite the abstract notion of linear maps, by choosing bases for the domain and codomain vector spaces, we can represent linear maps concretely as matrices in familiar fields like and .
Definition 33: Standard Matrix of a Linear Map
Let and be finite-dimensional vector spaces over the same field , and let be a linear map. Let be an ordered basis for , and let be an ordered basis for .
The standard matrix of with respect to the bases and , denoted , is the matrix whose th column is the coordinate vector of with respect to the basis , where is the th basis vector in :
Corollary 15: Dimension of a Standard Matrix
Let be a linear map between finite-dimensional vector spaces. If and , then any standard matrix for is an matrix.
Example.
Let be the real vector space of all polynomials of degree at most 3 over the indeterminate with real coefficients. Also, consider the standard polynomial basis for .
Recall that differentiation is a linear map, so define by . The standard matrix of with respect to the standard polynomial basis is the matrix:
Example.
Let be a linear map defined by . The standard matrix of with respect to the standard bases for and ( and respectively) is the matrix:
In general, if is a linear map, we can use the standard basis for to construct a standard matrix for without needing to compute coordinate vectors. Since for all :
Furthermore, if , we can use the standard basis for to construct a standard matrix for based on only the standard basis vectors :
This specific standard matrix of is often simply called the standard matrix or coordinate matrix of , denoted .
Corollary 16: Standard Matrix of a Linear Map from to
Let be a linear map. Then the standard matrix of , denoted , with respect to the standard bases for and ( and respectively) is the matrix whose th column is the image of under . That is,
Now suppose and is a linear map. Also let and be bases for and respectively.
Definition 34: Matrix-Vector Product
Suppose has columns , and let be a column vector. That is:
The matrix-vector product of and , denoted , is the vector in defined by:
In other words, is the linear combination of the columns of whose weights are given by the entries of .
Example.
Let and . Then the matrix-vector product of and is:
Theorem 35: Fundamental Property of the Matrix-Vector Product
The matrix-vector product of the standard matrix of with respect to the bases and and the coordinate vector of with respect to the basis is:
Proof: Theorem 35.
Suppose is a linear map. Let be an ordered basis for , and let be an ordered basis for . Let be a vector with -coordinates , such that . Then:
as desired. ∎
Definition 35: Identity Matrix
The identity matrix, written , is the standard matrix of the identity map with respect to the standard basis :
Corollary 17
Let . Then .
Corollary 18
Let . Then .
Definition 36: Standard Transformation of a Matrix
The standard transformation of a matrix is the linear map defined by:
Proposition 7
Let be a matrix and let be the standard transformation of . Then the standard matrix of with respect to the standard bases for and is , i.e. .
Operations on Matrices
Definition 37: Matrix Multiplication
Let and be matrices. The matrix product of and , denoted , is the matrix whose th column is the matrix-vector product of and the th column of :
Theorem 36: Fundamental Property of Matrix Multiplication
Let be finite-dimensional vector spaces over a field , and let and be linear maps. Let , , and be ordered bases for , , and respectively. Then:
Proof: Theorem 36.
Let and be linear maps between finite-dimensional vector spaces, and let , , and be ordered bases for , , and respectively. Then:
as desired. ∎
Theorem 37: Alternative Formula for Matrix Multiplication
Let and be matrices. Denote as the th row of and as the th column of .
Define a function
1 by . Then the th entry of the matrix product is :
Definition 38: Transpose of a Matrix
Let be a matrix. The transpose of , denoted , is the matrix obtained by interchanging the rows and columns of :
Example.
The transpose of a matrix is a matrix:
Definition 39: Matrix Addition and Scalar Multiplication
Let be matrices. The matrix addition of and , denoted , is the matrix obtained by adding corresponding entries of and :
Let be a scalar. The scalar multiplication of by , denoted , is the matrix obtained by multiplying each entry of by the scalar :
Theorem 38: is a Vector Space
, the set of all matrices over the field , is an -dimensional vector space over under the matrix addition and scalar multiplication as defined in Definition 39.
Proof: Theorem 38.
Suppose is an arbitrary field, and .
Lemma 1: is a vector space over .
Lemma 2: .
Thus, is an -dimensional vector space over .
Subspaces Defined by Matrices
Definition 40: Column Space of a Matrix
Let be an matrix over a field . The column space of , denoted , is the subspace of spanned by the columns of :
Definition 41: Row Space of a Matrix
Let be an matrix over a field . The row space of , denoted , is the subspace of spanned by the rows of :
Important
Suppose . Then is a subspace of and is a subspace of .
Corollary 19
, and .
Corollary 20
, where is defined by .
Definition 42: Null Space of a Matrix
Let be an matrix over a field . The null space of , denoted , is the subspace of defined by:
Important
Suppose . Then is a subspace of .
Corollary 21
, where is defined by .
Definition 43: Rank and Nullity of a Matrix
Let be an matrix over a field . The rank of , denoted , is the dimension of the column space of :
The nullity of , denoted , is the dimension of the null space of :
Corollary 22
.
Theorem 39: Rank-Nullity Theorem for Matrices
Let be an matrix over a field . Then:
Exercises
Exercise 62.
Let and . Show that:
Exercise 63.
Exercise 64.
Exercise 65.
Let denote the vector space of all polynomials of degree at most over the indeterminate with real coefficients. Let be the standard polynomial basis for .
Define the integration map on polynomials of at most degree 3 by:
Show that is a linear map and find , the standard matrix of with respect to the standard polynomial bases for and .
- 1This is the dot product, which is redefined later