Switching to a new coordinate basis
Changing the basis from xy-coordinates to a different coordinate plane
When we first learned to graph, we defined points in space using coordinates.
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
For instance, the point told us to move units from the origin horizontally toward the positive direction of the -axis, and units vertically toward the positive direction of the -axis.
We’ve also learned how to define the same point with vectors. The vector will point us to the same point . So the graph of is
And we know that the same spot can be represented as a combination of the standard basis vectors and . The vector is the vector that points to and the vector is the vector that points to . So we can take of and of and again get to the same point. So the graph of is
In other words, up to now, plotting points has always been done using the standard basis vectors and , or , , and in three dimensions. Even when we were originally learning to plot back in an introductory Algebra class, and we knew nothing about vectors, we were really learning to plot in terms of the standard basis vectors, we just didn’t know it yet.
In this lesson, we want to see what it looks like to define points using different basis vectors. In other words, instead of using and , can we use different vectors as the basis instead?
Changing the basis
Well, let’s say is a subspace of . And let’s say we wanted our basis vectors to be and , such that is basis for , and we want to figure out how to use these vectors to plot the same point we’ve been working with, .
First, we could mark off a new set of axes. Realize that in the standard basis coordinate system, the perfectly horizontal -axis is marked off in increments of , and the perfectly vertical -axis is marked off in increments of .
Now we want to create a new set of axes, with one axis marked off in increments of , and the other axis marked off in increments of . Because and are not perfectly horizontal or vertical, the - and -axes won’t be perfectly horizontal or vertical either. Instead, the -axis will lie along , and the -axis will lie along .
With the new axes sketched in, notice how we’ve marked them off in increments of and , such that we can count how many s we’re moving out along the -axis, and how many s we’re moving out along the -axis.
Now we could sketch in a grid pattern that shows the whole “ coordinate system.”
Now to reach , we can see that we need of and of . We can either go out one unit of toward the positive direction of the -axis, and then move one unit of toward the positive direction of the -axis, or we can go the opposite way, moving out one unit of toward the positive direction of the -axis and then one unit of toward the positive direction of the -axis. Either way, we end up at .
So the vector can be expressed uniquely as , and the coordinate vector of in the basis is
Change of basis matrix
So now that we understand the concept of changing from the standard basis vectors and to another set of basis vectors, like and , let’s talk about how we’d actually go about doing that.
If we have the vectors that form the basis for the subspace, then we can use them to create a transformation matrix, called the change of basis matrix, that will change a vector from one basis to another.
For instance, earlier we changed from and to and . Let’s say that and form the basis for the subspace , , and some vector can be expressed uniquely as . Then
are the coordinates of relative to the basis . We can then set up an equation in the form , where is the transformation matrix (the change of basis matrix from the standard basis to the basis ), and is the vector represented in terms of the basis .
So if we want to know how the vector will be represented by the new basis given by and , then we plug into the equation.
To figure out how would be represented in , we’ll solve the augmented matrix given by this equation.
This tells us that the solution to the equation is , or
In other words, if we want to represent in terms of the standard basis vectors and , then we need . But if we want to represent in terms of the alternate basis and , then we need , or just . Which matches what we already found earlier when we sketched in the alternate basis.
And you can convert the other way, too. If you know you need to get to in the alternate basis, you can do the matrix multiplication to find out the right combination of and in the standard basis.
How to create a change of basis matrix to change from xy-coordinates into a more convenient basis
Take the course
Want to learn more about Linear Algebra? I have a step-by-step course for that. :)
Finding the combination of basis vectors
Example
Find the combination of basis vectors and , where and are a basis for , and give .
The vector is given in terms of the standard basis, and we need to transform it into an alternate basis that’s defined by and .
In other words, we’re trying to figure out how we would represent , if we were doing it in terms of and . So let’s plug the values we’ve been given into the matrix equation.
To find the representation of in the alternate basis, , we’ll solve the augmented matrix.
This tells us that
In other words, we need of and of in order to get to , in the alternate basis space defined by and . So if we want to sketch this result, we first sketch in our - and -axes.
Then we move out -units in the positive direction of the -axis, and -units along the -axis (which means we don’t move anywhere at all), and we arrive at .
If we have the vectors that form the basis for the subspace, then we can use them to create a transformation matrix, called the change of basis matrix, that will change a vector from one basis to another.
When is invertible
If the basis transformation matrix is invertible (if it has an inverse), then we can multiply by both sides of .
Now we have an equation that calculates directly the expression of in the alternate basis.
So if we were to use the values from the last example, we could have first found from .
Now that the left side of the augmented matrix is in reduced row-echelon form, the right side is the inverse matrix , so
Now to find the representation of in , we simply multiply the inverse matrix by the vector.
This confirms the result we found before.