Linear Algebra MA2033
Linear Algebra MA2033
Definition 1 (Basis).
If { } is a set of vectors in a finite-dimensional vector space, then is called a basis for
if:
(a) spans .
(b) is linearly independent.
Examples.
i. The standard unit vectors,
( ) ( ) ( )
form a basis for that we call the standard basis for .
By equating corresponding components on the two sides, these two equations can be expressed as the
linear systems
and
Thus, we have reduced the problem to showing that the homogeneous system has only the trivial
solution and that the non-homogeneous system is consistent for all values of , , and .
[ ]
so it follows from parts (b), (e), and (g) of Equivalent Statements Theorem provided in Lecture Note 2,
that we can prove both results at the same time by showing that ( ) .
Since ( ) , the vectors , , and form a basis for .
From Example 1 and 2 you can see that a vector space can have more than one basis.
1|Page
Bases and Dimension, Rank of a Matrix
iii. Show that the matrices
[ ] [ ] [ ] [ ]
form a basis for the vector space of 2 × 2 matrices.
Solution. We must show that the matrices are linearly independent and span .
To prove that the matrices span we must show that every 2 × 2 matrix
[ ]
can be expressed as ( )
More generally, the different matrices whose entries are zero except for a single entry of 1 form a
basis for called the standard basis for .
2|Page
Bases and Dimension, Rank of a Matrix
Proof.
Suppose that some vector can be written as
and also as
that is,
Note. Observe that in , for example, the coordinates ( ) of a vector are precisely the
coefficients in the formula that expresses as a linear combination of the
standard basis vectors for .
Definition 2.
If { } is a basis for a vector space , and
is the expression for a vector in terms of the basis , then the scalars are called the
coordinates of with respect to the basis .
The vector ( ) in constructed from these coordinates is called the coordinate vector of
with respect to ; it is denoted by ( ) .
Solution.
3|Page
Bases and Dimension, Rank of a Matrix
(a) We must first express as a linear combination of the vectors in ; that is, we must find values of
, and such that
( ) ( ) ( ) ( )
Equating corresponding components gives
(b) ( ) ( )( ) ( ) ( ) ( )
Theorem 2.
All bases for a finite-dimensional vector space have the same number of vectors.
Theorem 3.
Let be an -dimensional vector space, and let { } be any basis.
a) If a set in has more than vectors, then it is linearly dependent.
b) If a set in has fewer than vectors, then it does not span .
Proof.
Definition 2 (Dimension).
The dimension of a finite-dimensional vector space ( ( )) is the number of vectors in a basis
for . In addition, the zero-vector space is defined to have dimension zero.
Examples.
i. Dimensions of Some Familiar Vector Spaces
( ) [The standard basis has vectors.]
( ) [The standard basis has vectors.]
( ) [The standard basis has vectors.]
4|Page
Bases and Dimension, Rank of a Matrix
Definition 3.
For an matrix [ ]
the vectors,
, - and the vectors,
, -
[ ] [ ] [ ]
, -
in that are formed from the rows of are in formed from the columns of are called
called the row vectors of , the column vectors of .
The following definition defines two important vector spaces associated with a matrix.
Theorem 4.
If a matrix is in row echelon form, then the row vectors with the leading 1’s (the nonzero row vectors)
form a basis for the row space of , and the column vectors with the leading 1’s of the row vectors form
a basis for the column space of .
The proof is omitted.
Example. Since the matrix [ ] is in row echelon form, it follows from Theorem
[ ] [ ] [ ]
Theorem 5. Elementary row operations do not change the row space of a matrix.
Notes.
Suppose is the matrix obtained by applying one of elementary row operations on a matrix :
Interchange and ; Replace by ; Replace by
Then each row of is a row of or a linear combination of rows of . Hence, the row space of is
contained in the row space of .
On the other hand, we can apply the inverse elementary row operation on to obtain . Hence, the row
space of A is contained in the row space of .
Accordingly, and have the same row space. This will be true each time we apply an elementary row
operation. Thus, we have proved the above theorem.
This Theorem does not imply that elementary row operations do not change the column space of a
matrix.
To see why this is not true, compare the matrices [ ] and [ ].
The matrix can be obtained from by adding the first row to the second.
However, this operation has changed the column space of , since that column space consists of all
scalar multiples of [ ] whereas the column space of consists of all scalar multiples of [ ] and the two
are different spaces.
[ ]
Solution. Since elementary row operations do not change the row space of a matrix, we can find a basis
for the row space of by finding a basis for the row space of any row echelon form of .
Reducing to row echelon form, we obtain (verify)
[ ]
By Theorem 4, the nonzero row vectors of form a basis for the row space of and hence form a basis
for the row space of . These basis vectors are
6|Page
Bases and Dimension, Rank of a Matrix
, -
, -
, -
[ ]
Solution.
A row echelon form of is given by,
[ ]
Keeping in mind that and can have different column spaces, we cannot find a basis for the column
space of directly from the column vectors of .
However, it follows from Theorem 6 that if we can find a set of column vectors of that forms a basis
for the column space of , then the corresponding column vectors of will form a basis for the column
space of .
Since the first, third, and fifth columns of contain the leading 1’s of the row vectors, the vectors
[ ] [ ] [ ]
form a basis for the column space of . Thus, the corresponding column vectors of , which are
[ ] [ ] [ ]
More Examples.
i. Find a basis for the row space of [ ] consisting entirely of row vectors
from .
7|Page
Bases and Dimension, Rank of a Matrix
Solution. We will transpose , thereby converting the row space of into the column space of ; then
we will use the method of above Example to find a basis for the column space of ; and then we will
transpose again to convert column vectors back to row vectors.
The first, second, and fourth columns contain the leading 1’s, so the corresponding column vectors in
form a basis for the column space of ; these are
[ ] [ ] [ ]
Transposing again and adjusting the notation appropriately yields the basis vectors
, - , - , -
for the row space of .
Solution.
Note that, * + col( ) where
The leading 1’s occur in columns 1, 2, and 4, so, * , , + is a basis for the ( ) and
consequently, * , , + is a basis for the ( ).
We can simply express and in terms of basis vectors with smaller subscripts;
8|Page
Bases and Dimension, Rank of a Matrix
Theorem 7. The row space and the column space of a matrix have the same dimension.
Proof is omitted.
Definition 5 (Rank).
The common dimension of the row space and column space of a matrix is called the rank of
( ( )).
Examples.
i. Find the rank of the matrix
Solution.
The reduced row echelon form of is Since this matrix has two leading 1’s, its row
and column spaces are two dimensional and
rank( ) = 2.
ii. What is the maximum possible rank of an matrix that is not square?
Solution.
Since the row vectors of lie in and the column vectors in , the row space of is at most -
dimensional and the column space of is at most -dimensional.
Since the rank of is the common dimension of its row and column space, it follows that the rank is at
most the smaller of and . That is, rank( ) min( ).
Exercises.
1. Show that the vector space of of all polynomials with real coefficients is infinite dimensional by
showing that it has no finite spanning set.
Solution.
If there were a finite spanning set, say * +, then the degrees of the polynomials in
would have a maximum value, say ; and this in turn would imply that any linear combination of the
polynomials in would have degree at most .
Thus, there would be no way to express the polynomial as a linear combination of the polynomials
in , contradicting the fact that the vectors in span .
5. Consider the vector space . Replace the polynomial ( ) in ( ( )) such that it becomes
a basis for that vector space. Calculate the coordinates of ( ) relative to the chosen basis.
6. Let be a finite dimensional vector space and let be a subspace of . Prove that
( ) ( ).
7. Let be the set of all possible infinite tuples of real numbers. That
means *( )| +. Assuming that is a vector space, prove that is
infinite dimensional.
8. Find a basis for the solution space of the system of equations when
(a) ( )
(b) ( )
10. Find a basis for the subspace of consisting of all matrices such that . What is
the dimension of the subspace of consisting of all matrices such that ?
11. Suppose that a set of vectors * + is a spanning set of a vector space . Prove or
disprove if is another vector in , then the set * + is a spanning set for .
12. Suppose that are linearly dependent set of vectors in a vector space . For any
vector , prove that the set of vectors are linearly dependent as well.
11 | P a g e