Coordinate Vectors and Matrix Action
How do you actually compute with an abstract vector like a polynomial or a function? You must use nothing but arithmetic on lists of numbers. The answer is to fix a basis. Translate every vector into a column of coordinates. Then translate every linear map into a matrix. Applying the map becomes multiplying the matrix by the column. This translation is not a vague analogy. It is a precise, structure-preserving correspondence. This article proves exactly what it preserves and why. The idea matters because it is the hinge on which all of computational linear algebra turns. Without it, "linear map" and "matrix" are related only by example. With it, they become two names for the same object. They are viewed through two different lenses, abstract and concrete. Every time you solve , diagonalize a matrix, or run a numerical algorithm, you are secretly working with an abstract linear map on some vector space . The matrix arithmetic faithfully simulates the action of . This happens because of the theorem proved here. The big picture is a dictionary with three ingredients. First, a basis of produces a coordinate map . Second, a basis pair produces a matrix for a linear map . Third, a single identity glues them together,
This article states that identity as a theorem and proves it in full. It builds the geometric intuition behind it. It works two nontrivial examples — one with polynomials, one with a genuinely non-diagonal, non-square-friendly setup. This ensures the mechanism is transparent rather than memorized. This article delivers a complete, self-contained proof of the coordinate-matrix identity. It discusses exactly which hypotheses are load-bearing (finite dimensionality, a fixed choice of ordered bases). It offers a worked counterexample showing what fails without an ordered basis. Finally, it bridges forward to how this identity turns itself into a matrix space. It also turns composition of maps into matrix multiplication.
- Fixing an ordered basis of gives a linear bijection , the coordinate map.
- Given The Matrix of a Linear Map built from bases (domain) and (codomain), the identity holds for every .
- This identity is exactly what lets you replace an abstract computation () with concrete matrix-vector multiplication.
- The correspondence and are both linear bijections (isomorphisms), so no information is lost.
- Changing the ordered basis changes the coordinate vector and the matrix, but never breaks the identity — it is basis-independent in form even though its numerical output is basis-dependent.
- Key idea: coordinates and matrices are simultaneously constructed translation devices, and the theorem says the translation commutes with applying the map.
Where this lives today
Every numerical linear algebra library (LAPACK, NumPy, MATLAB) is, under the hood, an implementation of this dictionary: an abstract linear operator on function spaces, signals, or images is discretized by choosing a basis, and all subsequent computation is matrix arithmetic on coordinate vectors, justified exactly by this theorem. In quantum mechanics, states are abstract vectors in a Hilbert space, but physical predictions require expanding a state in a chosen basis (position, momentum, energy eigenbasis) and representing operators as matrices in that same basis — the coordinate-matrix identity is the mathematical content of "changing representation." In computer graphics and robotics, points and orientations are abstract geometric objects, but rendering and control require coordinatizing them relative to a frame and applying transformation matrices, again governed by this identity, including its behavior under a change of frame. In finite element methods for differential equations, an infinite-dimensional function space is approximated by a finite-dimensional subspace with a chosen basis of simple functions, converting a differential operator into a finite matrix acting on coefficient vectors — the entire discretization step is an application of this theorem. In data science and machine learning, feature vectors, principal component coordinates, and learned linear layers all rely on the same fact: a linear transformation of feature space is a matrix acting on coordinate vectors relative to a fixed basis (or fixed feature encoding). This identity is also the precise justification for why composing linear maps corresponds to multiplying matrices, which is the content of Matrix Multiplication as Composition, and it is the starting point for showing that the set of all linear maps is itself a vector space isomorphic to a matrix space, the subject of The Space L(V,W) as Matrices.
:::quiz[If , , and is , what is the size of for ?]
- ✓
:::quiz[Which statement correctly describes the coordinate map for a finite-dimensional with ordered basis ?]
- It is linear but generally not injective
- It is a linear bijection ✓
- It is a bijection but not linear
- It depends only on the set , not its ordering
Ask the tutor: How does the coordinate-matrix identity change if I switch from basis to a different basis — what exactly is the change-of-basis matrix, and how does it interact with ?
Let be a vector space of dimension over a field , and let
be an ordered basis of (a basis together with a fixed listing order). For , the unique scalars satisfying
are called the coordinates of relative to . The coordinate vector of relative to is the column
The map sending is the coordinate map determined by . Given finite-dimensional vector spaces (dimension , ordered basis ) and (dimension , ordered basis ), and a linear map , recall that the matrix of relative to , written , is the matrix whose -th column is , i.e.
Intuition
Think of an ordered basis as a set of measuring rods laid down in : once you fix them, every vector gets an address, a list of numbers telling you how far to go along each rod. That address is the coordinate vector. The coordinate map is nothing more than the act of reading off that address. Because a basis representation is unique (existence and uniqueness of basis coordinates is inherited from the definition of a basis), the coordinate map is a genuine function, well-defined and single-valued. Now suppose moves vectors around inside , or sends them into a different space entirely. If you know the addresses of the basis vectors' images — that is, you know where each rod's tip lands, expressed in the -address system — then linearity forces you to know where every vector lands, because every vector is a specific combination of the rods. Encoding "where the rods' tips land" as the columns of a matrix is precisely the construction of . The theorem below is the formal statement that reading off an address commutes with moving the point: address of image = matrix times address of original point. Multiplying a matrix by a column vector is literally simulating linear combination, so this is really just linearity written out in coordinates.
The central theorem
Let be a field, let be a vector space over with and ordered basis , and let be a vector space over with and ordered basis . Let be a linear map, and let be the matrix of relative to and , as in The Matrix of a Linear Map. Then for every ,
where the right-hand side is ordinary matrix-vector multiplication in . Equivalently, the following diagram commutes: the composite equals the composite , as functions . Moreover, both coordinate maps and are linear bijections.
With as above, the coordinate map is a linear bijection.
Well-defined. Since is a basis of , every can be written as for some scalars , because spans . These scalars are unique: if also , then
and linear independence of forces for all . Hence is a well-defined single element of for each , and is a genuine function.
Linear. Let with , , and let . Then
using distributivity and associativity of scalar multiplication in . By the uniqueness just established, these are the coordinate representations of and , so
Thus is linear.
Injective. Suppose , i.e., all coordinates of are . Then . Since is linear, its kernel is , which is equivalent to injectivity for a linear map between vector spaces (if then , so ).
Surjective. Given any , set ; this is a legitimate element of since is closed under linear combinations. By construction . Hence every element of is hit. Injective and surjective together give bijective.
∎Proof of the main theorem. Step 1: Reduce to basis vectors using linearity of and of the coordinate map. Fix and write it in coordinates relative to :
This representation exists and is unique because is a basis, exactly as used in the Lemma. Apply and use linearity of :
This step uses only that is a linear map, i.e. and , extended to finite sums by induction on . Step 2: Take -coordinates of both sides and use linearity of the coordinate map on . By the Lemma applied to with basis , the coordinate map is linear. Apply it to the identity from Step 1:
where the last equality is linearity of applied repeatedly (additivity across the sum, then scalar homogeneity on each term). Step 3: Identify with the -th column of . By the definition of , the -th column of is exactly , i.e.
This is not an extra assumption; it is the literal content of how was constructed in The Matrix of a Linear Map — the columns of are defined to be the -coordinate vectors of the images of the -basis vectors. Step 4: Assemble and recognize matrix-vector multiplication. Combining Steps 2 and 3,
Now recall the definition of the matrix-vector product for and : the -th entry of is , which is precisely the statement that is the linear combination of the columns of with coefficients :
Since by definition of , we conclude
which is the desired identity. It holds for the arbitrary fixed at the start of Step 1, so it holds for all . Diagram commutativity is a restatement: the two functions given by and agree at every input, hence are equal as functions. The final clause (both coordinate maps are linear bijections) is exactly the Lemma applied once with and once with . Proof technique used: direct computation via the defining properties of a basis (existence/uniqueness of coordinates) combined with linearity of and of the coordinate maps; no result depending on this theorem was invoked, so the argument is non-circular.
∎With hypotheses as in the theorem, if is the identity map and is used on both sides, then (the identity matrix), and for every , , consistent with the theorem. More generally, if are linear maps between finite-dimensional spaces with ordered bases respectively, applying the theorem twice gives
for all , foreshadowing the identification of matrix multiplication with composition of linear maps.
Worked examples
Example 1 (Differentiation on polynomials, non-square matrix). Let , real polynomials of degree at most , with ordered basis
Let with ordered basis
Let be differentiation, . This is linear because and for polynomials, standard facts from calculus. Compute the matrix. We need applied to each basis vector of , expressed in -coordinates:
Stacking these as columns,
Now test the theorem on a specific, asymmetric vector. Let
Its coordinate vector is
Directly, by calculus,
Now via the matrix:
Both computations agree exactly, confirming , as guaranteed by the theorem.
Example 2 (A linear map on with a non-standard basis, showing the identity is not tied to standard coordinates). Let , and let be given in standard coordinates by
This is linear: writing etc., each output coordinate is a linear combination of , and sums/scalar multiples check out immediately from the formula (linear in each coordinate separately, hence linear on ). Instead of the standard basis, use the non-standard ordered basis
First check is a basis: the matrix with these as columns,
has determinant , so the three vectors are linearly independent, and three independent vectors in a -dimensional space form a basis. Compute :
Now express each of these as combinations of to get -coordinates. Solve :
From the first, . Substitute into the third: . Substitute into the second: . Then , . Check: ✓, ✓, ✓. So . Solve : , , . From second, . Third: . First: . Then , . Check: ✓, ✓, ✓. So . Solve : , , . From second . Third: . First: . Then , . Check: ✓, ✓, ✓. So . Assembling columns,
Now test the theorem on a vector that is not one of the basis vectors: let , in standard coordinates. First find : solve : , , . From second . Third: . First: . Then , . Check: ✓, ✓, ✓.
Direct computation: . Express in -coordinates: solve , , . From second . Third: . First: . Then , . Check: ✓, ✓, ✓.
Now via the matrix:
First entry: Second entry: Third entry: So , matching computed directly. The identity holds even with an entirely non-standard, non-orthogonal, fraction-producing basis, confirming that the theorem is genuinely basis-independent in form.
Drop the requirement that is an ordered basis and instead treat it as an unordered set, or worse, let the "basis used to build " silently differ from the "basis used to build ." Take , , and the standard basis . Build using the ordering for the codomain and for the domain:
Now suppose, when computing a specific coordinate vector, someone instead lists the domain basis in the swapped order — the same set, different order — and still writes the coordinate vector of using this swapped listing convention, getting (coefficient of first, then ), while continuing to use the matrix that was built assuming the order . Direct computation gives the true answer:
But multiplying the mismatched pairing,
The identity fails, not because linearity broke, but because was computed relative to a different ordered basis than the one used to construct 's columns. The theorem's hypothesis that a single, fixed, ordered basis is used consistently on both sides of the identity is not decorative: violate it and the arithmetic silently computes the wrong vector while looking exactly like a valid matrix-vector product.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| or infinite-dimensional | Coordinate vectors and matrices as finite columns/arrays are not defined this way; the theorem as stated requires |
| Using the same basis for domain and codomain when | Allowed and common (); the identity still reads |
| Reordering a basis without rebuilding | Breaks the identity, as shown in the counterexample; order is part of the data of an ordered basis |
| Zero vector | ; identity gives , consistent with for linear |
| not linear | Theorem's proof breaks at Step 1 (cannot pull the sum through ); no matrix representation of this kind exists |
| or a general field | Proof goes through verbatim; nothing used -specific structure (no inner product, no ordering of ) |
The mathematician behind it
Origins · 1 minHermann Günther Grassmann and how this was discovered
Grassmann was a schoolteacher in Stettin (then Prussia, now Szczecin, Poland) who worked largely outside the professional mathematical establishment of his time. His 1844 treatise Die lineale Ausdehnungslehre ("The Theory of Linear Extension") introduced, in essence, abstract vector spaces, linear independence, dimension, and bases decades before these notions were standard — laying the conceptual groundwork that makes a statement like "fix an ordered basis, then every vector has unique coordinates" a theorem rather than an assumption. His work was written in dense, idiosyncratic notation and largely ignored during his lifetime; he was better known then for contributions to comparative linguistics and Sanskrit studies. Only after his death did mathematicians such as Giuseppe Peano recognize the full generality of his ideas and recast them in the language that eventually became modern linear algebra.
Why do we need an ordered basis instead of just a basis?
A basis as a set has no notion of "first coordinate" or "second coordinate" — coordinates only make sense once you fix an order for listing the basis vectors, because the coordinate vector's entries are matched positionally to that list. Two different orderings of the same set of basis vectors give two different, though related (permuted), coordinate vectors for the same , and correspondingly two different matrices for the same map (with permuted rows or columns). The theorem's identity is only guaranteed when the ordering used to build the coordinate vectors matches the ordering used to build the matrix's rows and columns, as the counterexample demonstrates explicitly.
Does the theorem require ?
No. The theorem is stated for a general linear map between possibly different finite-dimensional spaces, with independently chosen ordered bases for and for . The matrix is then where and , generally non-square. Example 1 in this article (differentiation from to ) is exactly such a case, with a matrix, and the identity holds without any modification.
What breaks if is infinite-dimensional?
The construction of a coordinate vector as a finite column, and of as a finite array, relies on a finite ordered basis so that every vector is a finite linear combination with a fixed, bounded list of coefficients. In infinite dimensions, one can still define coordinates relative to a Hamel basis, but the "matrix" would need infinitely many rows or columns, and multiplying an infinite matrix by an infinite coordinate vector requires infinite sums, which may not converge without extra structure (like a topology or an inner product, as in Hilbert space theory). The clean finite-dimensional identity proved here does not directly generalize without such additional machinery.
Is the correspondence itself linear and bijective, like the coordinate map is?
Yes — this is the natural next fact built on top of this theorem. Fixing and , one shows and by checking columns, and one shows is a bijection from onto by explicitly inverting the construction (any matrix defines a unique linear map via the coordinate identity). This upgrades the present pointwise identity into a full isomorphism of vector spaces, which is exactly the content of The Space L(V,W) as Matrices.
How does this identity relate to matrix multiplication representing composition of maps?
Applying the theorem twice, once for and once for , shows that for every , as derived in the Corollary above. Separately, one shows for every column , which is just associativity of matrix multiplication baked into its definition. Comparing, follows because both matrices send every coordinate vector to the same output and the coordinate map is a bijection (so matrices agreeing on all coordinate vectors of a spanning-and-independent set of columns, namely all of , must be equal). This is exactly the substance of Matrix Multiplication as Composition.
Can I use this theorem with the standard basis only, and ignore ordered/non-standard bases?
You certainly can restrict attention to the standard basis of for computational purposes, and in that case coordinate vectors equal the vectors themselves. But the power of the theorem is its validity for any ordered basis, including highly non-standard ones (as in Example 2, with fractional coordinates and a skewed basis). Many applications — change of basis, diagonalization, choosing an eigenbasis, finite element bases — crucially rely on using a non-standard basis where the matrix of becomes simple (e.g., diagonal), and the theorem guarantees the same coordinate-matrix identity holds in that basis too.
What is the practical shortcut for remembering the identity's direction?
Read left to right: "coordinates of the image, in the codomain's basis, equal the matrix times coordinates of the input, in the domain's basis." The matrix always eats a domain-basis coordinate vector and produces a codomain-basis coordinate vector, matching its shape with and . If your matrix multiplication doesn't type-check dimensionally, you have mismatched a basis to the wrong side.