Vector Coordinates Explained


Vector Coordinates Explained

Michael
Hey Anna, today I want to talk about something really foundational in linear algebra: coordinate systems and basis vectors. It's a concept that helps us understand how we describe vectors in space.

Anna
Oh, that sounds interesting! So, when we talk about a vector in 2D space, like one with coordinates (3, 2), we're essentially saying we move three units right and two units up from its tail to its tip, right?

Michael
Exactly. But in linear algebra, we think of those numbers, 3 and 2, as scalars. They scale our fundamental basis vectors. We're talking about i-hat, which is a unit vector pointing right, and j-hat, a unit vector pointing up.

Anna
So, (3, 2) means 3 times i-hat plus 2 times j-hat. These i-hat and j-hat vectors essentially define our standard coordinate system, including direction and unit of distance. They're our implicit assumptions.

Michael
Precisely. Any method to translate between vectors and numbers is a coordinate system, and i-hat and j-hat are our standard basis vectors. But what if we used different basis vectors? That's where things get really cool.

Anna
Different basis vectors? So, like, a friend, let's call her Jennifer, might use a completely different set to describe the same vector? How would that even work?

Michael
Well, let's say Jennifer has her own basis vectors, b1 and b2. B1 might point up and right, and b2 might point left and up. The same vector we see as (3, 2) could be (5/3, 1/3) in her system.

Anna
Wow, those are very different numbers! So, if a vector is (5/3, 1/3) in Jennifer's system, it means 5/3 times her b1 vector plus 1/3 times her b2 vector. It's the same spatial vector, just a different description.

Michael
Exactly. From her perspective, her basis vectors b1 and b2 are her (1,0) and (0,1). We describe her b1 as (2,1) and her b2 as (-1,1) in our system, but for her, they define her system. We're speaking different numerical languages.

Anna
That's a great way to put it. So, while we both see the same vector in space, our numerical labels for it are different because our underlying reference points, our basis vectors, are different. That makes sense.

Michael
And it's important to remember that the grid we visualize is just a tool for our specific coordinate system. Jennifer would have her own grid, equally valid, based on her b1 and b2, though everyone agrees on the origin (0,0).

Anna
Right, the origin is absolute, but the axes directions and grid spacing depend entirely on the chosen basis. So, the big question is, how do we translate between these different coordinate systems?

Michael
That's the core of it. If Jennifer describes a vector as (-1, 2), what does that look like in our system? Her coordinates mean -1 times b1 plus 2 times b2. We know what b1 and b2 are in our language.

Anna
So, we'd take -1 times our representation of b1, which is (2,1), and add it to 2 times our representation of b2, which is (-1,1). That would give us the vector in our standard coordinates.

Michael
Precisely! (-1)*(2,1) + (2)*(-1,1) gives us (-2,-1) + (-2,2), which sums to (-4,1). So, the vector she calls (-1,2) is actually (-4,1) for us. This process is a matrix-vector multiplication!

Anna
Ah, I see! The matrix would have Jennifer's basis vectors as its columns when expressed in our coordinate system. And multiplying a vector from her system by this matrix translates it into our system.

Michael
Exactly. This matrix is essentially a transformation. It takes our perception of what her (1,0) and (0,1) mean, which are our i-hat and j-hat, and transforms them into her actual basis vectors, b1 and b2.

Anna
So, it takes a vector described in our system, based on how we *misinterpret* her coordinates, and transforms it into the true vector she meant by those coordinates. That's a clever way to think about it.

Michael
It can feel a bit backwards at first. Geometrically, this matrix transforms our grid into Jennifer's grid, but numerically, it translates a vector from her language into ours. It resolves our misconception.

Anna
That distinction is important. It's like taking our understanding of her numbers and applying a transformation to get to what she actually meant in space. What about going the other way, from our system to hers?

Michael
To go from our system to Jennifer's, you use the inverse of that change of basis matrix. If the first matrix translates her language to ours, its inverse performs the opposite operation, translating ours to hers.

Anna
So, we take our vector (3,2), multiply it by the inverse of the matrix that had Jennifer's basis vectors as columns, and that gives us (5/3, 1/3) in her system. That's neat how the inverse works.

Michael
It is. The inverse matrix, in this specific example, would have columns (1/3, -1/3) and (1/3, 2/3). Multiplying (3,2) by this inverse matrix yields (5/3, 1/3). So that's how we convert individual vectors.

Anna
This makes sense for vectors, but what about transformations? If we have a 90-degree counter-clockwise rotation, which we represent with a matrix, how would Jennifer represent that same rotation in her system?

Michael
Great question. We represent our rotation matrix by seeing where i-hat and j-hat land: (0,1) and (-1,0). But Jennifer needs to know where *her* basis vectors land, described in *her* language.

Anna
So, we can't just translate the columns of our rotation matrix into her language. That would be describing where *our* basis vectors land, but with her words, which isn't what she needs for her own transformation matrix.

Michael
Exactly. Here's how it works: first, take a vector written in Jennifer's language. Use the change of basis matrix to translate it into our language. This is 'A' in the A-inverse M A expression.

Anna
Okay, so now we have the vector in our familiar coordinates. Then, we apply our rotation matrix, 'M', to this vector. This gives us the rotated vector, but still expressed in our language.

Michael
And as the final step, we apply the inverse change of basis matrix, 'A inverse', to this rotated vector. This translates it back into Jennifer's language. The entire sequence is A-inverse times M times A.

Anna
So, that product, A-inverse M A, is the transformation matrix for the same 90-degree rotation, but represented in Jennifer's coordinate system. It takes her vector input and gives her rotated vector output, both in her language.

Michael
Precisely. The product of these three matrices creates Jennifer's rotation matrix. It takes a vector described in her system and outputs the rotated version, also described in her system.

Anna
That's a powerful idea. This 'A-inverse M A' structure seems to pop up often. It's essentially translating a transformation from one perspective to another, right?

Michael
Absolutely. It's often called a similarity transformation. The middle matrix 'M' is the transformation as *we* see it, and the 'A inverse' and 'A' matrices are the

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