Change of Basis
Problem
Express v = [5, 3] in the basis B = {[1,1], [1,−1]}. Find the new coordinates and show the relationship between the two coordinate grids.
Explanation
Coordinates depend on the basis
In the standard basis of , a vector means . The numbers are the coordinates of with respect to the standard basis.
In a different basis , the same geometric vector has different coordinates: , and the pair is called .
The change-of-basis formulas
Let be the matrix with basis vectors as columns. Then
converts -coordinates back to standard; converts standard to -coordinates.
Step-by-step
in standard coords; .
Step 1 — Build .
Step 2 — Compute .
.
Step 3 — Multiply: .
Verification:
So in the basis , the vector has coordinates .
Change of basis for linear transformations
Given a linear map with matrix in the standard basis, its matrix in a new basis is
Same map, different coordinate system. Diagonalization is exactly this: pick = eigenvectors, and the map becomes diagonal — stretching along the new axes.
Why change basis?
- Simpler representations. Rotations simplify in aligned axes; covariance is diagonal in PCA coordinates; linear ODEs decouple in eigenbases.
- Computational speedup. Diagonal matrices are trivial to exponentiate, invert, multiply.
- Conceptual clarity. Principal components, symmetry axes, natural frequencies — all are bases adapted to the problem.
When is painless?
- Orthogonal basis ( is orthogonal): — cheap.
- Orthonormal basis: even better; entries are dot products .
- Upper/lower triangular bases: comes from back-substitution.
Our has orthogonal (not orthonormal) columns: . Their lengths are both , not 1. For dot-product-based formulas, scale the basis to orthonormal first.
Orthonormal variant
. Then
Different numbers for the same vector — coordinates always depend on basis.
Common mistakes
- Inverting the wrong direction. converts -coords to standard; converts standard to .
- Forgetting the basis needs to be linearly independent. If columns of are dependent, doesn't exist.
- Conflating "vector" with "coordinates." A geometric vector is basis-independent; its coordinates change with the basis. Keep them conceptually separate.
Try it in the visualization
Two coordinate grids are overlaid: the standard – axes (gray) and the new -basis axes (gold). A single vector is drawn; its coordinates are read in both grids and displayed.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.