Change of Basis Calculator
The same point has different coordinates in different bases. Convert between them exactly, find the transition matrix, and see the point on each grid.
Bases and coordinates
Enter basis B, basis C, and a point's coordinates in B. Each basis needs one vector per entry.
Result
Updates as you type.
Transition matrix
- Coordinates in C
- Standard coordinates
- Check
These all name one point. Only the grid it's measured on changes.
The way back
What a basis does
A basis is a set of independent vectors that can reach every point in the space, each in exactly one way. You can check independence with the Linear Independence and Span Calculator. A point's coordinates in a basis are the amounts of each basis vector that reach it:
The usual coordinates are coordinates in the standard basis, whose vectors point along the axes. Another basis gives the same point different numbers, in the same way that one distance has different values in miles and kilometers.
The transition matrix
To convert from basis to basis , write the basis vectors as the columns of matrices and . Both coordinate lists describe one point, so:
Solving for gives the transition matrix :
Each column of is one vector of written in the basis . Going the other way uses its inverse, which you can find with the Matrix Inverse Calculator.
Why change basis
A good basis can make a hard problem easy. Along the eigenvectors of a matrix, for example, the matrix only stretches, and that's the idea behind the Matrix Diagonalization Calculator. Other common uses:
- Computer graphics. Each object has its own coordinates, which are converted to those of the scene and the camera.
- Compression. JPEG images change basis so that most coefficients become small enough to drop.
- Physics. Choosing axes along a slope makes the forces on an object simpler to write.
The same idea applies to matrices. A Linear Transformation Visualizer shows what a matrix does in the standard basis, and describes that same transformation in another.
Related calculators
Keep working with vectors and matrices.
Eigenvalue and Eigenvector Calculator
Find eigenvalues and eigenvectors with exact fractions, square roots, and complex values, plus each multiplicity. Spin a vector until the matrix only stretches it.
Matrix Inverse Calculator
Invert a square matrix with exact fractions, step through [A | I] to [I | A⁻¹], and see the inverse undo the transformation.
Linear Independence and Span Calculator
Check whether vectors are linearly independent, with exact dependency relations like v₃ = 2v₁ − v₂. Find a basis for the span, and watch it grow from a line to a plane to space.
Linear Transformation Visualizer
Drag basis vectors to see a 2×2 or 3×3 matrix move the plane or space, with live determinant, rank, and eigen-directions, and a match-the-target game.