Given two bases $\mathcal{V} = \{v_1, \ldots, v_n\}$ and $\mathcal{U} = \{u_1, \ldots, u_n\}$ for $\mathbb{R}^n$, this calculator computes the change of coordinates matrix $\mathbf{S}$ that converts coordinates from basis $\mathcal{V}$ to basis $\mathcal{U}$.
Want to see how change of basis works geometrically? Try the Coordinate Transform Visualizer for an interactive animated demonstration.
The matrix $\mathbf{V}$ has columns $v_1, \ldots, v_n$ (initial basis vectors) and $\mathbf{U}$ has columns $u_1, \ldots, u_n$ (final basis vectors).
Change of Coordinates Matrix:
$ \mathbf{S} = \mathbf{U}^{-1} \mathbf{V} $
If $[\mathbf{x}]_{\mathcal{V}}$ represents coordinates in basis $\mathcal{V}$, then:
$ [\mathbf{x}]_{\mathcal{U}} = \mathbf{S} \, [\mathbf{x}]_{\mathcal{V}} $
Key Ideas:
Enter the dimension n and click Generate Matrices to create the basis input grids.