Basematriser
Basematriser, or basis matrices, are a convenient way to package a basis of a finite-dimensional vector space into a square matrix. If V is an n-dimensional vector space over a field, and B = {b1,...,bn} is a basis, the basis matrix B is the n×n matrix whose columns are the basis vectors expressed in a fixed reference basis (often the standard basis). In R^n this is B = [b1 ... bn], and B is invertible because the vectors form a basis.
The basis matrix serves as a bridge between coordinate representations. A vector x in V can be
Change of basis: Given two bases B and C, the change-of-basis matrix from B to C is
Example: Let B = { (1,2), (-1,1) } in R^2, so B = [[1,-1],[2,1]] with det 3. Then B^{-1} = (1/3)
Applications: Basematriser are widely used in linear algebra, computer graphics, and engineering to change representations, diagonalize