In the last post, we talked about what the orthogonal complement of a set is and we showed why . This was kind of cool because for me, it’s hard to have a geometric understanding of the row space of matrix based on how matrix multiplication is usually defined ( is kind of hard to picture) but it’s not that hard for me to have a geometric understanding of the null space of a matrix. The fact that they are orthogonal means that if you can understand what it means to be in the null space, then to be in the row space just means that you are orthogonal to everything in the null space.

Now, let’s talk about how to connect the fact that the to the Rank-Nullity Theorem. As a reminder, the Rank-Nullity Theorem says that for an matrix , .

The first fact that we need to talk about before starting to understand why this is true is that for an matrix , . This should seem really surprising at first. The row space of lives in and the column space of lives in ! So, the dimension of the row and column spaces are the same, but they don’t even live in the same ambient dimensions! That’s pretty crazy, if you ask me.

Now, let’s look at an example to see why this makes sense. Consider the matrix . This represents a transformation from to , and every output is of the form , where represents any real number. In this case, the output lives in , but the output itself is only dimensional (since there’s only one vector that spans the output).

Now, let’s consider the matrix . This represents a transformation from to , and every output is of the form , where represents any real number. In this case, the output lives in , but the output itself is only dimensional (since there’s only one vector that spans the output).

So, even though the transformations given by and don’t map into the same dimension, the same number of vectors can still be used to represent their outputs! That’s so cool!

Now, let’s connect this to the Rank-Nullity Theorem. The Rank-Nullity Theorem gives a connection between the dimension of the column space of matrix and the dimension of the null space of a matrix. We just did an example that showed why dimension of the column space of a matrix is the same as the dimension of the row space of a matrix. So, if is an matrix, let’s rewrite the Rank-Nullity Theorem as . This has a nice geometric interpretation since any deficiency in the size of the row space is made up for by the size of the null space. It’s amazing how nicely they work together.

I hope this made you appreciate what it really means to be a matrix just a little bit more!