Math Bytes · Linear algebra · Episode 6 · Alternate coordinate systems (bases)
Change of basis
A basis is a pair of arrows that builds every point of the plane, and a point's address is how many of each arrow you need. On the usual grid, built from (1, 0) and (0, 1), the point (5, 1) has address (5, 1). On the grid built from v = (1, 1) and w = (1, −1), the same point is 3v + 2w, so its address there is (3, 2). Switching addresses between grids is a change of basis.
The usual grid and its basis
On the usual grid, the point (5, 1) means: five steps along (1, 0), then one step along (0, 1).
(5, 1) = 5(1, 0) + 1(0, 1)
The two arrows (1, 0) and (0, 1) are the usual (standard) basis. Every point of the plane can be built from them in exactly one way, and the two numbers you need are the point's usual coordinates.
A new grid from v and w
Any two arrows that do not lie on the same line also work as building blocks. Take
v = (1, 1)w = (1, −1)
Their whole-number combinations draw a new, tilted grid of diamonds over the plane. The points themselves do not move; only the grid we measure them with changes.
Worked example: the address of (5, 1) on the v, w grid
From lessons 1 and 2, (5, 1) = 3v + 2w. So on the v, w grid, the same point's address is (3, 2): three steps along v, then two steps along w.
Check it by adding the arrows back up:
3(1, 1) + 2(1, −1) = (3, 3) + (2, −2) = (5, 1) ✓
| Grid | Basis | Address of the point | |---|---|---| | Usual | (1, 0), (0, 1) | (5, 1) | | v, w | (1, 1), (1, −1) | (3, 2) |
Going from one address to the other is a change of basis.
- From a v, w address
(a, b)to the usual grid: work outa·v + b·w. - From the usual grid to a v, w address: find the numbers
aandbwitha·v + b·wequal to the point (as we did for(5, 1)in lesson 2).
Try it yourself
- On the v, w grid (with
v = (1, 1)andw = (1, −1)), a point's address is(2, 3). Where is it on the usual grid? - What is the address of the usual point
(4, 2)on the v, w grid?
(Answers: 1. 2(1, 1) + 3(1, −1) = (2, 2) + (3, −3) = (5, −1). 2. You need a + b = 4 and a − b = 2, so a = 3 and b = 1: the address is (3, 1). Check: 3(1, 1) + 1(1, −1) = (4, 2) ✓.)
Good to know
- A basis of the plane is two arrows that are linearly independent (lesson 2) and span the plane (lesson 1). "The building blocks for every point" is the short version.
- Because the arrows are independent, each point has exactly one address in a basis. That is what makes the address well defined.
- "Address" is our everyday word; textbooks say the point's coordinates (or coordinate vector) in that basis.
- The matrix with columns
vandw(rows1 1and1 −1) turns a v, w address into usual coordinates: it sends(3, 2)to3(1, 1) + 2(1, −1) = (5, 1). Its inverse matrix goes the other way. - When writing addresses on another grid, always say which grid.
(3, 2)on the v, w grid and(3, 2)on the usual grid are different points. - This is lesson 6 of the Linear algebra course.
Answer to the comment question
On the grid built from v = (1, 1) and w = (1, −1), a point's address is (4, 1). Where is it on the usual grid? (5, 3). The address means four steps along v and one step along w: 4(1, 1) + 1(1, −1) = (4, 4) + (1, −1) = (5, 3).
Test your knowledge
Quick quiz: Change of basis
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "2.8 Bases as Coordinate Systems": a basis works as a coordinate system; each vector is a combination of the basis vectors in exactly one way, and the coefficients are its coordinates in that basis
- Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "2.7 Basis and Dimension": a basis is a linearly independent set that spans; the standard basis of the plane is (1, 0) and (0, 1)
- MIT OpenCourseWare, "18.06 Linear Algebra (Spring 2010)", Gilbert Strang: lecture 31, "Change of Basis; Image Compression"
- Wolfram MathWorld, "Basis": definition (cross-check)
Video transcript
Can the same point have two different addresses?
On the usual grid, this point is (5, 1): five steps along (1, 0), and one step along (0, 1).
Those two arrows are a basis: the building blocks for every point.
Now build a new grid from v = (1, 1) and w = (1, −1).
Remember, (5, 1) is 3v + 2w. So on the new grid, the same point's address is (3, 2).
Check: 3 times (1, 1), plus 2 times (1, −1), is (5, 1).
Switching addresses between grids is called a change of basis.
Your turn. On the v, w grid, a point's address is (4, 1). Where is it on the usual grid? Comment your answer below!
That's your byte.
More from Linear algebra
- Linear algebra EP1Linear combinations and span
- Linear algebra EP2Linear independence
- Linear algebra EP3A matrix moves space
- Linear algebra EP4The determinant