Lecturer: Barwick
Wednesday 2 March 2016
18.06.12: ‘Kernels and images’
Suppose we can apply some row operations:
( π΄ π΅ ) ( πΆ π· ) .
Here, π΄ and πΆ are π × π matrices, and π΅ and π· are π × π matrices. What this really means is that there’s an invertible π × π matrix π such that ππ΄ = πΆ and ππ΅ = π· . (And it turns out that any π can be built this way!)
18.06.12: ‘Kernels and images’
So you can use row operations to whittle your favorite matrix down, and then solve.
First, let’s apply row operations to
( π΄ |0) = (
−3 6 −1 1 −7 0
1 −2 2 3 −1 0
2 −4 5 8 −4 0
) ?
18.06.12: ‘Kernels and images’
When we get π΄ into reduced row echelon form (rref, as the cool kids say) we get
1 −2 0 −1 3 0
( πΆ |0) = ( 0 0 1 2 −2 0
0 0 0 0 0 0
) .
Why is this good? First, we haven’t changed the kernel . A vector π₯ ∈ R
5 is in ker ( π΄ ) if and only if π₯ is in ker ( πΆ ) = ker ( ππ΄ ) . (Why?)
18.06.12: ‘Kernels and images’
Second, we can use the rref above gives us this system of linear equations π₯
1 π₯
3
= 2 π₯
2
+ π₯
4
− 3 π₯
5
= −2 π₯
4
+ 2 π₯
5
So π₯
1 and π₯
3 can each be written in terms of π₯
2
, π₯
4
, π₯
5
, and there’s no dependence among π₯
2
, π₯
4 π₯
5
= π’ .
, π₯
5
. So pick variables π , π‘ , π’ , and let π₯
2
= π , π₯
4
= π‘ , and
18.06.12: ‘Kernels and images’
(
( π₯
1 π₯
2 π₯
3 π₯
4 π₯
5
) = π (
) (
2
1
1
0
0
) + π‘ (
−2
0
0
) (
1
0
) + π’ (
) (
−3
0
2
0
1
)
)
There’s your basis!
18.06.12: ‘Kernels and images’
Let’s find the kernel via row reduction
π΄ = (
2 2 −1 0 1
−1 −1 2 −3 1
1 1 −2 0 −1
0 0 1 1 1
)
18.06.12: ‘Kernels and images’
When we get ( π΄ |0) into rref, we obtain
(
1 1 0 0 1 0
0 0 1 0 1 0
0 0 0 1 0 0
0 0 0 0 0 0
)
18.06.12: ‘Kernels and images’
So if π₯
2
= π and π₯
5
= π‘ , then
(
( π₯
1 π₯
2 π₯
3 π₯
4 π₯
5
)
= π
(
) (
−1
1
0
0
0
)
+ π‘
(
) (
−1
0
−1
0
1
)
)
There’s your basis!
18.06.12: ‘Kernels and images’
Column operations work exactly dual to row operations. (Just think of transposing, doing row operations, and transposing back!) So suppose we can apply some column operations:
(
π΄
π΅
) (
πΆ
π·
) .
Here, π΄ and πΆ are π × π matrices, and π΅ and π· are π × π matrices. What this really means is that there’s an invertible π × π matrix π such that π΄π = πΆ and
π΅π = π· .
18.06.12: ‘Kernels and images’
Why is that a good idea? Well, we’re looking for vectors such that π΄ π₯ = β0 . So if we take
π΄
( )
πΌ where πΌ is the π × π identity matrix, then we can start using column operations to get it to some
πΆ
( )
π·
So π΄π· = πΆ . So if πΆ has a column of zeroes, then the corresponding column of
π· will be a vector in the kernel. Furthermore, if you get πΆ into column echelon form, then the nonzero column vectors of π· lying under the zero columns of πΆ form a basis of ker ( π΄ ) . (Properly speaking, to prove this, you need the
18.06.12: ‘Kernels and images’
Rank-Nullity theorem, which we’ll come to soon.)
18.06.12: ‘Kernels and images’
Let’s do this one:
π΄ = (
1 0 3 0 2 −8
0 1 5 0 −1 4
0 0 0 1 7 −9
0 0 0 0 0 0
)
Let us get the top of (
π΄
πΌ
) into column echelon form.
18.06.12: ‘Kernels and images’
We obtain
(
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 0 0 0
πΆ
π·
) =
1 0 0 3 −2 8
0 1 0 −5 1 −4
0 0 0 1 0 0
0 0 1 0 −7 9
0 0 0 0 1 0
( 0 0 0 0 0 1 )
The last three columns of π· are our basis.
18.06.12: ‘Kernels and images’
Dual to finding a basis of the kernel, we can find a basis of the image of a matrix, im ( π΄ ) . The image of π΄ is the span of the column vectors of π΄ .
If π΄ is an π × π matrix, then π΄ eats a vector of R π
, and it poops a vector of R π
.
The kernel of π΄ is thus a subspace of R π
, and the image of π΄ is a subspace of
R π
.
The way we compute a basis of the image is not wildly different from the way in which we compute a basis of the kernel, but the operations are dual, and that can get confusing. To clear up our confusion, we’ll need some theorems!!
18.06.12: ‘Kernels and images’
Theorem (Rank-Nullity Theorem) .
If π΄ is an π × π matrix, then dim ( ker ( π΄ )) + dim ( im ( π΄ )) = π .
We are going to spend some quality time with this result.