From an Ordered Basis to a Matrix
An ordered basis does more than describe which vectors can be used to build a space. The order tells us which coefficient belongs to which basis vector, so it also gives a consistent way to encode every vector by a column of coordinates. A matrix collects the basis vectors in that same order. Multiplying this matrix by a coordinate column rebuilds the vector from its basis ingredients.
Throughout, the vectors are in \(\mathbb{R}^n\) and are written as columns. An ordered basis of \(\mathbb{R}^n\) is an ordered list \(\mathcal{B}=(\mathbf{b}_1,\dots,\mathbf{b}_n)\) that is linearly independent and spans \(\mathbb{R}^n\). Because it spans, every \(\mathbf{v}\in\mathbb{R}^n\) can be written as a linear combination of its vectors; because it is linearly independent, that expression is unique. Its coordinate vector \([\mathbf{v}]_{\mathcal{B}}\) is the column of coefficients in that unique expression.
The column order is essential. If \([\mathbf{v}]_{\mathcal{B}}=(c_1,\dots,c_n)^{\top}\), then the first coefficient multiplies the first column of \(\mathbf{B}\), the second coefficient multiplies the second column, and so on. Thus, matrix multiplication is exactly the operation of forming the corresponding linear combination.
Proof. By the definition of the coordinate vector, there are unique scalars \(c_1,\dots,c_n\) such that \(\mathbf{v}=c_1\mathbf{b}_1+\cdots+c_n\mathbf{b}_n\), and \([\mathbf{v}]_{\mathcal{B}}=(c_1,\dots,c_n)^{\top}\). By the definition of matrix multiplication, multiplying \(\mathbf{B}\) by this column gives \(c_1\mathbf{b}_1+\cdots+c_n\mathbf{b}_n\). This equals \(\mathbf{v}\), as required. \(\square\)
Reconstructing a Vector
Worked Example: Reconstructing in \(\mathbb{R}^2\)
Let \(\mathcal{B}=(\mathbf{b}_1,\mathbf{b}_2)\), where \(\mathbf{b}_1=(1,0)^{\top}\) and \(\mathbf{b}_2=(2,1)^{\top}\). Reconstruct the vector whose \(\mathcal{B}\)-coordinate vector is \((3,-1)^{\top}\).
Place the basis vectors, in their stated order, in the columns of \(\mathbf{B}\):
Multiply the basis matrix by the coordinate column:
Therefore, \(\mathbf{v}=(1,-1)^{\top}\) in standard coordinates. Check: \(3\mathbf{b}_1-1\mathbf{b}_2=3(1,0)^{\top}-(2,1)^{\top}=(1,-1)^{\top}\), which agrees with the matrix product.
This calculation goes from basis coordinates to standard coordinates. The reverse task starts with the standard-coordinate column \(\mathbf{v}\) and asks for coefficients \(c_1,\dots,c_n\). The reconstruction theorem says exactly what those coefficients must satisfy: \(\mathbf{B}\mathbf{c}=\mathbf{v}\). In other words, finding basis coordinates is solving a linear system whose coefficient matrix is the basis matrix.
Worked Example: Finding Coordinates by Solving a System
Use the basis \(\mathcal{B}\) from the previous example to find \([\mathbf{w}]_{\mathcal{B}}\) for \(\mathbf{w}=(5,2)^{\top}\).
Write the unknown coordinate vector as \(\mathbf{c}=(c_1,c_2)^{\top}\). The reconstruction equation becomes
The second equation gives \(c_2=2\). Substituting it into the first gives \(c_1+2(2)=5\), hence \(c_1=1\). Therefore, \([\mathbf{w}]_{\mathcal{B}}=(1,2)^{\top}\).
Check by reconstruction:
Why the Basis Matrix Has an Inverse
For a basis matrix, the system \(\mathbf{B}\mathbf{c}=\mathbf{v}\) has exactly one solution for every \(\mathbf{v}\in\mathbb{R}^n\). Existence follows because the basis spans the space; uniqueness follows because the basis is linearly independent. These two facts imply that the matrix can be inverted, so one matrix operation can recover coordinates from standard coordinates.
Proof. Define \(T:\mathbb{R}^n\to\mathbb{R}^n\) by \(T(\mathbf{c})=\mathbf{B}\mathbf{c}\). The reconstruction theorem and the fact that the basis spans show that every \(\mathbf{v}\in\mathbb{R}^n\) equals \(T(\mathbf{c})\) for some \(\mathbf{c}\), so \(T\) is onto. If \(T(\mathbf{c})=T(\mathbf{d})\), then \(\mathbf{B}(\mathbf{c}-\mathbf{d})=\mathbf{0}\). This says that a linear combination of the basis vectors is zero, so linear independence forces every entry of \(\mathbf{c}-\mathbf{d}\) to be zero. Thus \(\mathbf{c}=\mathbf{d}\), and \(T\) is one-to-one. Hence \(T\) has an inverse map. Since \(T\) is represented by the square matrix \(\mathbf{B}\), this inverse map is represented by a matrix \(\mathbf{C}\) satisfying \(\mathbf{B}\mathbf{C}=\mathbf{I}_n\) and \(\mathbf{C}\mathbf{B}=\mathbf{I}_n\); this is the definition of \(\mathbf{B}^{-1}\). Now \(\mathbf{B}[\mathbf{v}]_{\mathcal{B}}=\mathbf{v}\). Multiplying by \(\mathbf{B}^{-1}\) gives \([\mathbf{v}]_{\mathcal{B}}=\mathbf{B}^{-1}\mathbf{v}\). \(\square\)
The inverse formula is not a different coordinate convention. It is the reconstruction equation solved for its coordinate column. In computation, one need not explicitly form \(\mathbf{B}^{-1}\): solving \(\mathbf{B}\mathbf{c}=\mathbf{v}\) directly can be more efficient. In either approach, the matrix whose columns are the ordered basis vectors is the matrix that acts on the basis-coordinate column.
Worked Example: Using the Inverse to Extract Coordinates
Let \(\mathcal{C}=(\mathbf{c}_1,\mathbf{c}_2,\mathbf{c}_3)\) with \(\mathbf{c}_1=(1,0,1)^{\top}\), \(\mathbf{c}_2=(0,1,1)^{\top}\), and \(\mathbf{c}_3=(1,1,0)^{\top}\). Find the coordinates of \(\mathbf{v}=(5,2,1)^{\top}\).
The basis matrix and the coordinate equations are
From the first two equations, \(x=5-z\) and \(y=2-z\). Substituting into the third gives \((5-z)+(2-z)=1\), so \(7-2z=1\), \(z=3\), \(x=2\), and \(y=-1\). Thus \([\mathbf{v}]_{\mathcal{C}}=(2,-1,3)^{\top}\).
Check by multiplying back:
For this example, the inverse matrix is \(\begin{bmatrix}\tfrac12&-\tfrac12&\tfrac12\\-\tfrac12&\tfrac12&\tfrac12\\\tfrac12&\tfrac12&-\tfrac12\end{bmatrix}\). Applying it gives \((2,-1,3)^{\top}\), the same coordinate column. The multiplication check above verifies the result without requiring the inverse calculation.
Order, Shape, and Interpretation
Three features of the basis-matrix rule are worth keeping distinct.
- Columns represent basis vectors. The \(j\)th column is \(\mathbf{b}_j\) in standard coordinates, not the coordinate vector of an arbitrary \(\mathbf{v}\).
- The input is a coordinate column. The entries of \([\mathbf{v}]_{\mathcal{B}}\) are coefficients, not generally the standard entries of \(\mathbf{v}\).
- Order fixes the coefficient positions. Reordering the basis vectors changes the corresponding basis matrix and also changes which coefficient belongs in each position.
For the standard basis \((\mathbf{e}_1,\dots,\mathbf{e}_n)\), the basis matrix is \(\mathbf{I}_n\). Therefore multiplying by the basis matrix changes nothing, and a vector's standard-coordinate column equals its coordinate column in the standard basis. For a nonstandard basis, the entries of \([\mathbf{v}]_{\mathcal{B}}\) may differ from the standard entries of \(\mathbf{v}\), even though both columns encode the same vector in different ways.
Common Mistake: Putting Basis Vectors in Rows
A frequent error is to put the basis vectors in the rows and then multiply that matrix by the coordinate column. With \(\mathbf{b}_1=(1,0)^{\top}\) and \(\mathbf{b}_2=(2,1)^{\top}\), the basis matrix has these vectors as columns:
For coordinates \((3,-1)^{\top}\), the correct reconstruction is \(\mathbf{B}\begin{bmatrix}3\\-1\end{bmatrix}=\begin{bmatrix}1\\-1\end{bmatrix}\). If the vectors are incorrectly placed in rows, the resulting matrix is \(\begin{bmatrix}1&0\\2&1\end{bmatrix}=\mathbf{B}^{\top}\), and the wrong product is
This does not reconstruct the vector represented by the stated coordinates. The correction is to use the basis vectors as columns, so that matrix multiplication forms \(3\mathbf{b}_1-\mathbf{b}_2\). Indeed, \(3(1,0)^{\top}-(2,1)^{\top}=(1,-1)^{\top}\).
Check the Direction by Reconstructing
A reliable way to check coordinate work is to substitute the proposed coordinate column into the reconstruction equation. If it returns the given standard-coordinate vector, the coefficients are in the correct order and produce the right vector. This check is especially useful when a problem gives several bases or when the coordinate column is found by solving equations.
Check Your Understanding
For each problem, write the relevant matrix equation and verify any proposed coordinates by reconstructing the vector.
- Let \(\mathcal{B}=((1,1)^{\top},(1,-1)^{\top})\). Find the standard coordinates of the vector with \(\mathcal{B}\)-coordinates \((2,1)^{\top}\).
- For the basis in Question 1, find the \(\mathcal{B}\)-coordinates of \((4,0)^{\top}\).
- Explain why a basis matrix has a unique solution to \(\mathbf{B}\mathbf{c}=\mathbf{v}\) for every \(\mathbf{v}\in\mathbb{R}^n\).
- What is the basis matrix of the standard basis of \(\mathbb{R}^3\), and what does its inverse do to a standard-coordinate column?
- For \(\mathbf{B}=\begin{bmatrix}1&2\\0&1\end{bmatrix}\), calculate the incorrect product obtained by using \(\mathbf{B}^{\top}\) with \((3,-1)^{\top}\). Compare it with the correct reconstruction.