Linear Transformations Between Dimensions


Linear Transformations Between Dimensions

Maria
Hi Simon! Today we're diving into something that's always intrigued me: non-square matrices and what they actually mean geometrically. We usually talk about 2D to 2D or 3D to 3D transformations, but what happens when the dimensions change?

Simon
That's a fantastic point, Maria. It's a common question, and it's perfectly reasonable to think about transformations that take vectors from one dimension to another, like from 2D to 3D space. The core idea of linearity still applies: gridlines stay parallel and evenly spaced, and the origin maps to the origin.

Maria
So, we're essentially mapping an input space, say 2D, into an output space, like 3D. It's not just a lazy animation choice that we don't see the inputs move into the outputs; it's because these are fundamentally different kinds of vectors in separate spaces, right?

Simon
Exactly! They're distinct. But encoding these transformations with a matrix works the same way as before. You just look at where the basis vectors land in the output space and write their coordinates as the columns of your matrix. It's very intuitive once you get past the initial conceptual jump.

Maria
That makes sense. So, if i-hat maps to (2, -1, -2) and j-hat maps to (0, 1, 1), we'd get a matrix with three rows and two columns. That's a 3x2 matrix. The number of rows corresponds to the dimensions of the output space, and the columns to the input space?

Simon
Precisely. The three rows tell you each basis vector's landing spot is described with three coordinates, meaning it lands in 3D. The two columns indicate two basis vectors in the input, so it's a 2D input space. This 3x2 matrix maps 2D vectors to 3D vectors.

Maria
And the column space of this 3x2 matrix would be a 2D plane passing through the origin in 3D space. It's still full rank because the number of dimensions in the column space, which is two, matches the number of dimensions in the input space.

Simon
Spot on. So, a 3x2 matrix always means a transformation from two dimensions to three dimensions. What if we flipped it? What would a 2x3 matrix signify? If you see that in the wild, what's your first thought about its geometric meaning?

Maria
Hmm, a 2x3 matrix... three columns means we're starting with three basis vectors, so it's a 3D input space. And two rows mean the landing spots for those three basis vectors are described with only two coordinates. So, it must be a transformation from 3D space to 2D space!

Simon
You've got it! It's a transformation that squishes 3D objects onto a 2D plane. That probably feels a bit uncomfortable to imagine, all that information getting compressed. It's a fundamental concept in understanding data projection or dimensionality reduction.

Maria
That's wild. What about even more extreme changes? Could we go from two dimensions to one dimension? Like, 2D vectors spitting out just numbers on a line? A 1x2 matrix, perhaps?

Simon
Absolutely. One-dimensional space is just a number line, so a transformation from 2D to 1D takes 2D vectors and outputs single numbers. The linearity here means if you have evenly spaced dots on a line in 2D, they'd still be evenly spaced after mapping onto the number line.

Maria
And for that, a 1x2 matrix would make sense. Two columns for the two input basis vectors, and each column just has one entry because they land on the one-dimensional number line. That's actually quite elegant in its simplicity.

Simon
It really is. This type of 2D to 1D transformation, represented by a 1x2 matrix, is surprisingly significant and has close ties to the dot product, which we'll definitely delve into next time. It's a great example of how these abstract matrices have concrete geometric meanings.

Maria
That's something to look forward to! So, non-square matrices aren't just mathematical curiosities; they represent transformations between different dimensional spaces. It gives a whole new perspective on matrix multiplication and linear systems. Thanks, Simon!

Ask anything
We've read this whole study set, so questions about it get the best answers.