A point stays exactly where it is while the grid behind it changes. Watch its coordinates change, though it never moves.
Same point, new coordinates
One point, two grids: the point stays, its coordinates change.
The point x = (5, 1) on the usual grid: 5 steps along e_{1} and 1 along e_{2}.
Describe this picture
One panel with a dot at on the usual square grid. Over 4 s the grid slides into the slanted grid of the two arrows and , while the dot stays where it is. Readouts give the dot’s coordinates on the usual grid and on the current grid; the second runs from to . Then the matrix of the eigenvectors page acts, and its card appears in the corner. The arrow shrinks to half and grows to double, and a second dot travels along a dashed path from to . A third readout gives its slanted coordinates, : on this grid halves the first coordinate and doubles the second. The clip runs for about 11 s. One control after the clip: drag the dot, or move it with the arrow keys; all three readouts and the image dot follow.
Coordinates belong to a basis
The point in the picture is one place. Described on the usual grid, it is : 5 steps of and 1 of . Described on the grid of and , it is 1 step of and 2 of :
So its coordinates in that basis are . The point did not move; only the description changed. That is the lesson of Independence, basis and dimension, now turned into a method.
Going in and coming out
Put the basis vectors as the columns of . Coordinates in that basis rebuild the point:
To go the other way, from the point to its coordinates, undo with its inverse from The inverse matrix:
Here and , so , as the picture read.
Between two bases. To move from coordinates in the basis of to coordinates in the basis of another matrix , go out through and back in through . Write the two coordinate vectors as and :
With , sends to . Check: , the same point again.
A map in a new basis
A matrix describes a map in the usual coordinates. To describe the same map in the basis of , take three steps: come out of the new coordinates (), apply the map (), and go back in ():
That is the similar matrix of Similar matrices and the Jordan form. The point of choosing a basis is to make simple. The basis in the picture was not chosen at random: and are the eigenvectors of , with eigenvalues 0.5 and 2. So
In the eigenvector basis the map is two separate stretches, which is what the end of the clip shows. That is diagonalisation, from Diagonalisation and matrix powers, seen as a change of basis.
Follow the point through. In coordinates, . Back out: . Directly, . The same answer, by the long road and the short one.
Whatever basis you choose, some things never change: the trace, the determinant and the eigenvalues of are those of .
Orthonormal bases are the easy case
When the basis vectors are perpendicular and of length 1, , as in Orthonormal bases and Gram–Schmidt. Then each coordinate is a dot product: . For a frame turned by 53.13° (0.9273 rad), the angle whose cosine is 3/5, , the point has coordinates
and brings it back. No inverse to compute.
A transform is a change of basis
Four samples can be written in the basis of waves from Independence, basis and dimension. The impulse has coordinates there:
Which coordinates?
One signal, an impulse, in two bases.
The impulse (4, 0, 0, 0) in the standard basis: one tall bar.
Describe this picture
Two rows of bars for the same four-sample signal, an impulse, appearing one after the other. The top row shows its coordinates in the standard basis, : one tall bar. The bottom row shows its coordinates in the basis of waves , , and : . The caption ends: a transform is a change of basis. There is no control.
The signal is the same in both rows. A transform like the DFT does not change the signal; it changes the basis you describe it in, from single samples to waves.
In signal processing · transforms as a change of basis
From series to transform, in the signal processing course, describes a signal by how much of each frequency it contains instead of by its value at each moment. In this page’s words, that is a change of basis, and filtering becomes simple in the new basis, as the map above became two stretches. Signal samples count from , while vector entries count from 1.
Worked example
1. Coordinates. , , and has . Check: .
2. The map in the eigenbasis. , and the long road gives .
3. A basis that is not made of eigenvectors. With columns and , . It is not diagonal, but its trace is 2.5 and its determinant , the same as for : the eigenvalues are still 2 and 0.5.
4. Two bases. in the basis , .
5. A turned frame. has coordinates in the frame turned by 53.13°.
Try these before you read the answers.
- Coordinates of in the basis , ? .
- If , what changes? Nothing: the coordinates are the entries.
- has orthonormal columns. What is ? .
- In the eigenbasis, what does look like? .
Where you’ll meet this
Waves instead of samples. The Fourier transform and the cosine transform of a JPEG block describe the same data in a basis of waves, where smoothing and compression are simple.
Turning a phone. A phone reads its motion sensor in the sensor’s own axes and changes basis into the screen’s axes, as in the turned frame above.
Robot arms. Each joint of a robot arm has its own frame, and the position of the hand is found by changing basis from frame to frame.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Basis matrix | the new grid’s arrows as columns | |
| Point from coordinates | come out of the basis | |
| Coordinates from point | go into the basis | |
| Between bases | out through , in through | |
| A map | diagonal in an eigenvector basis | |
| Unchanged | trace, determinant, eigenvalues | same map, new description |
| Orthonormal basis | each coordinate is a dot product |