Professional Documents
Culture Documents
Lecture 12
Linear Transformations and Bases
July 6, 2016
Change of Basis
Suppose we have two different bases B = {b1 , , bn } and
C = {c1 , , cn } then the coordinates of a vector v in the two bases are
related by
[v]C = PCB [v]B
The matrix PCB is called the change of basis matrix. If
v = 1 b1 + + n bn
then
[v]C = 1 [b1 ]C + + n [bn ]C
So the columns of the change of basis matrix are just the coordinates of
the basis you are changing from in the basis you are changing to.
For example: Find the components of
the basis B
1
b1 = 0
b2 =
1
2
1
1
3
b3 = 1
0
15
1 2 3
v1
1 = PEB [v]B = 0 1 1 v2
v3 B
2
1 1 0
E
v1
1 2 3
15
v2 = 0 1 1 1
v3 B
1 1 0
2
1 3
5
15
2
1
1 3 1 1 = 4
=
4
1
1 1
2
3
Checking
1
2
3
15
2 0 + 4 1 + 3 1 = 1
1
1
0
2
as it should.
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016
and Bases
4 / 18
1
2
1 1
4 6
0
2
a basis for
1
2
7
1
R4 .
3
1
1
3
2
1 4 2
1 1 6 0
B=
1 2 7 1
3
1
1 3
We could take the determinant but that wont tell us how many of the
vectors are linearly independent.
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016
and Bases
5 / 18
R2 R1
1 1
6
0
R1 2R2 R2
0 3 16 2
0 1
R3 + R2 R3
1 1
R4 3R2 R4
0 4 17 3
1 1
6
0
R3 R2
0 1
1
1
R2 3R3 R3
0 0 13 1
R4 4R3 R4
0 0 13 1
1 1
6
0
0 1
1
1
R4 R3 R4
0 0 13 1
0 0
0
0
So only three of the vectors are linearly independent and they dont form a
basis for R4 ..
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016
and Bases
6 / 18
3
1
1
2
2 5 2 4
1 1 1 1
0 3 4 6
3 0 3 1
x1
x2
x3
x4
x5
0
=
0
R2 R1
1
0
R1 3R2 R2
0
R3 R1 R3
R4 2R1 R4
0
1
(1)R2 R2
0
R2 R3 R3
0
R4 + R2 R4
0
1 1 1
1
1 2 1 1
1 2 3
5
1
2
1 1
1 1 1 1
1 2 1 1
0 0 4 4
0 0 0 0
The pivot columns are those in the echelon matrix that have the first
nonzero element in the row. The variables corresponding to those columns
can be written in terms of the other (free) variables.
In our example the free variables are x3 and x5 and the reduced system can
be back solved
x1 = 3x3 2x5
x2 = 2x5 2x3
3
2
x = x3
1
0
0
of the form
+ x5 0
1
1
x4 = x5
and so the null space is the 2 dimensional space spanned by the two
vectors above.
Another example
Find the null space and range of the matrix A
1 1 1
2 3 1
3 5 1
First the null space
1 1 1
x1
0
2 3 1 x2 = 0
3 5 1
x3
0
Gaussian elimination gives the reduced matrix
1 1 1
x1
0
2
0 1 1 x2 = 0 x = x3 1
0 0 0
x3
0
1
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016and Bases
11 / 18
1 1
2 3
3 5
Row reduction leads to the
1
0
0
1 b1
1 b2
1 b3
matrix
1 1
b1
b2 2b1
1 1
0 0 b3 + b1 2b2
1
0
0
b = b1
+ b2 1
1
2
3 2
1 1
A=
1 0
2 3
homogeneous equation Ax = 0
5 2 4
1 1 1
3 4 6
0 3 1
1 1 1
0 1 2
E=
0 0 0
0 0 0
1 1
1 1
1 1
0 0
and we found that the dimension of the null space of A was 2 and the
dimension of the range of A was 3.
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016and Bases
13 / 18
Row Space
A linear function from Rn Rm gives an m n matrix, A say. The row
space is the subspace of Rn spanned by the columns of AT . The row rank
of a matrix is the number of linearly independent rows (or linearly
independent columns of AT ) there are in the matrix, which of course is
equal to the number of non zero rows in the equivalent echelon matrix. In
our example the row rank is 3 and the row space is the subspace of R5
spanned by
1
0
0
1 1 0
1 2 0
1 1 1
1
1
1
Column Space
The column space is the subspace spanned by the linearly independent
columns of the matrix. For an m n matrix, A, the column space is just
the range of A and the linearly independent column vectors are a basis for
the range.
The column rank is the dimension of this space. It is the number of
linearly independent columns in the matrix. It is the same as the number
of pivot columns. Since the number of pivot columns has to be equal to
the number of non zero rows the column rank is equal to the row rank and
we can just refer to the rank.
We cant use row operations to find a basis for the column space directly
Unfortunately row operations do not preserve the span of the columns.
But we can find them indirectly.
Ex = 0
will have the same solutions. If we choose only x values with the free
variables put equal to zero. The solution for the rest of the variables has
only the trivial solution (all the pivot columns in the echelon matrix are
linearly independent). So the same is true for the matrix A. The columns
in A that correspond to the pivot columns in the echelon matrix must also
be linearly independent, thus they are a basis for the range of A.
In our example the columns that correspond to the pivot columns give the
basis for the column space and thus for the range of A.
3
2
2
1 1 1
1 0 4
2
3
3
Linear Algebra and Differential EquationsLecture 12Linear Transformations
July 6, 2016and Bases
16 / 18
r + (n r ) = n