18.06.16: The four fundamental subspaces Lecturer: Barwick Monday 14 March 2016 18.06.16: The four fundamental subspaces Here it is again: Theorem (Rank-Nullity Theorem). If š“ is an š × š matrix, then dim(ker(š“)) + dim(im(š“)) = š. We saw a proof of this by reducing to rref or rcef, and then checking it there. There’s just one thing that might bug us here. If I think of the linear map šš“ ā¶ Rš Rš , then we see that ker(š“) is a subspace of the source Rš , but im(š“) is a subspace of the target Rš . So why should these spaces be related? 18.06.16: The four fundamental subspaces To answer this question, there’s another matrix we can contemplate, the transpose š“āŗ . This is an š × š matrix, and so it corresponds to a linear map in the other direction: šš“āŗ ā¶ Rš Rš . This is the map that takes a column vector ~š£ and builds the column vector š“āŗ~š£, but we can perform a trick here. Instead of thinking about transposing š“, we can think about transposing the vectors. 18.06.16: The four fundamental subspaces So (Rš )∨ will be the set of all š-dimensional row vectors; equivalently, the set of all 1 × š matrices; equivalently again, the set of all transposes š£ ā (~š£)āŗ ~ of vectors ~š£ ∈ Rš . We call (Rš )∨ the dual Rš . 1 0 ( ~ So, e.g., if š£ = −2 ), then š£ = ( 1 0 −2 1 0 ). ~ 1 ( 0 ) 18.06.16: The four fundamental subspaces The neat thing about row vectors is that they do stuff to column vectors. If ~š£ ∈ Rš and š¤ ∈ (Rš )∨ , then š¤~š£ is a number. (Question: How is this related to ~ ~ the dot product?) If š ⊆ Rš is a vector subspace, then we define š ā ā {š¤ ∈ (Rš )∨ | for any ~š£ ∈ š, š¤~š£ = 0} ⊆ (Rš )∨ . ~ ~ Dually, if š ⊆ (Rš )∨ is a vector subspace, then we define š ā ā {~š£ ∈ Rš | for any š¤ ∈ š, š¤~š£ = 0} ⊆ Rš . ~ ~ Fact: dim(š) = š − dim(š ā ), and dim(š) = š − dim(š ā ). (Why?) 18.06.16: The four fundamental subspaces Now, since (š“āŗ~š£)āŗ = (~š£)āŗ š“ = š£š“, ~ we can leave š“ just as it is, and we can consider the linear map šš“∨ ā¶ (Rš )∨ (Rš )∨ given by the formula šš“∨ (š£) ā š£š“. ~ ~ 18.06.16: The four fundamental subspaces So when we contemplate the kernel and image of š“āŗ , we can think about it via the map šš“∨ . For example, ker(š“āŗ ) is the set of all vectors š£ ∈ (Rš )∨ such that š£š“ = 0. This ~ ~ ~ space is also called the cokernel or the left kernel of š“. I write coker(š“). We also have the image of š“āŗ , which is the set of all row vectors š¤ ∈ (Rš )∨ ~ such that there exists a row vector š£ ∈ (Rš )∨ for which š¤ = š£š“. This space is ~ ~ ~ also called the coimage of š“, or, since its the span of the columns of š“āŗ , which is the span of the rows of š“, it is also called the row space of š“. I write coim(š“). 18.06.16: The four fundamental subspaces In all, we have four vector spaces that are what Strang call the fundamental subspaces attached to š“: ker(š“), im(š“), coker(š“) ā ker(š“āŗ ), coim(š“) ā im(š“āŗ ). 18.06.16: The four fundamental subspaces Here’s the abstract statement of the Rank-Nullity Theorem: (1) ker(š“) = coim(š“)ā , so that dim(ker(š“)) = š − dim(coim(š“)). (2) im(š“) = coker(š“)ā , so that dim(im(š“)) = š − dim(coker(š“)). (3) š“ provides a bijection coim(š“) ≅ im(š“), so that dim(coim(š“)) = dim(im(š“)).