Linear Operators and Matrix Representations
A linear operator is the correct notion of a structure-preserving map between vector spaces: a function that sends sums to sums and scalar multiples to scalar multiples, . That single algebraic requirement — additivity together with homogeneity — is deceptively powerful, because in finite dimensions it forces the map to be rigid. A linear operator cannot do anything surprising once you know what it does to a basis; every other value is fixed by linearity. Specify the image vectors and the operator is completely determined. The payoff of that rigidity is the matrix representation. Expand each image in a basis of the target space and the coefficients assemble into a rectangular array whose -th column is the coordinate vector of . Abstract operators thereby acquire concrete coordinates, and every operator statement becomes a matrix statement: applying the map becomes a matrix–vector product , composing two maps becomes matrix multiplication , the identity operator becomes the identity matrix, and invertibility becomes nonsingularity. Heisenberg's matrix mechanics, a rotation of the sky, the derivative acting on polynomials, and a finite-difference Laplacian are all one idea wearing different clothes. The subtlety that organizes everything downstream is that the matrix depends on the chosen bases while the operator does not. Change the basis and the same operator is represented by a different matrix, related to the old one by a similarity transformation . The features that survive that conjugation — rank, trace, determinant, the characteristic polynomial, the spectrum — are the operator's genuine content, its physics; the individual entries are just one coordinate photograph. Diagonalization, the spectral theorem, and the Jordan form are all attempts to choose the basis in which that photograph is as simple as it can possibly be.
- A linear operator satisfies ; in finite dimensions it is fixed completely by its action on a basis.
- Stacking the images of the basis vectors as columns produces the matrix , so the abstract map becomes the concrete product .
- Composition of operators is matrix multiplication — the row-by-column rule is forced, not arbitrary — and the identity operator is the identity matrix .
- The matrix is basis-dependent: a change of basis conjugates it, (similarity) for an operator on one space, (equivalence) for a map between two.
- The set of linear maps is itself a vector space, of dimension .
- Rank, trace, determinant, and eigenvalues are invariants of the operator, unchanged by the representing basis.
- Key idea: a linear map is fixed by its action on a basis; writing those images in coordinates gives a matrix, so abstract operator algebra (composition, inverse, identity) becomes concrete matrix algebra (multiplication, inverse, identity) — yet the matrix is basis-dependent while the operator is not.
A linear map is fixed by its action on a basis; writing those images in coordinates gives a matrix, so abstract operator algebra (composition, inverse, identity) becomes concrete matrix algebra (multiplication, inverse, identity) — but the matrix is basis-dependent while the operator is not.
Where this lives today
The operator-and-representation dichotomy is not a historical curiosity — it is the working grammar of computational physics. When a quantum chemist solves for the electronic structure of a molecule, the Hamiltonian is an abstract operator on an infinite-dimensional Hilbert space; the practical calculation begins by choosing a finite basis of atomic orbitals, whereupon the operator becomes a finite Hermitian matrix and the energy levels become its eigenvalues, computed by exactly the diagonalization of Worked Example 2 scaled to thousands of dimensions. The same move drives lattice quantum chromodynamics, where the Dirac operator on a discretized spacetime is a sparse matrix whose spectrum encodes hadron masses, and it drives every finite-element and finite-difference PDE solver, where a differential operator like the Laplacian becomes the sparse matrix of Worked Example 1 generalized to a grid. In quantum computing, a circuit is literally a product of unitary matrices — composition as multiplication, equation (4), executed on hardware — and the entire enterprise of choosing a good basis to make a matrix sparse or block-diagonal is what modern numerical linear algebra, from Krylov solvers to tensor-network methods, exists to automate. Google's PageRank, a search for the dominant eigenvector of a web-link operator, is the same mathematics wearing a commercial suit.
The physical picture
A linear operator is a transformation that keeps grid lines straight, parallel, and evenly spaced while pinning the origin in place. Squares become parallelograms, never curved cells; the tiling stays a tiling. That rigidity is the whole reason a matrix suffices to describe the map: knowing where the edge vectors of one cell go tells you where every point goes, because the rest of the plane is just copies of that cell laid end to end. The first figure makes this concrete for a specific operator — the shear-and-stretch with columns (2,0) and (1,1) — and reads off the one number that measures how the operator distorts area.
The matrix is nothing more than a bookkeeping device for that picture: stack the image of each basis vector as a column, and multiplying the matrix by a coordinate column computes the image of the corresponding vector. Two features of the operator refuse to depend on which basis you chose to build the matrix. One is the area (or volume) scaling factor, the determinant, visible above as det A = 2. The other is the trace, and both are best seen for a rotation, where the operator is manifestly a geometric act — spinning the plane — that has nothing to do with coordinates. The second figure shows a 30° rotation and reads off its two invariants directly.
The core equations
Everything begins with the defining property. A linear operator is exactly a map that respects the two operations a vector space is built from — addition and scalar multiplication — and a single equation encodes both at once.
where: — linear operator from to ; — vectors in ; — scalars from the field (typically or ). Reading it: whatever combination you form before applying , you get the same combination of the images afterward — so never bends or curves the space, and in particular . Once bases of and of are fixed, the operator is pinned down by the coordinates of the images of the basis vectors. Those coordinates, arranged in columns, are the matrix.
where: — -th basis vector of (dimension ); — -th basis vector of (dimension ); — entry in row , column . Reading it: the -th column of is literally the image of the -th basis vector, written in the target basis. Transpose this convention by accident and every subsequent formula silently transposes with it. Because the map is linear and the matrix stores the basis images, applying to any vector reduces to a matrix–vector product on coordinates.
where: — coordinates of in ; — coordinates of in ; — the matrix representing . Reading it: coordinates in, coordinates out, with the abstract operator replaced by an entirely mechanical row-times-column computation. Composition of operators corresponds to matrix multiplication — and this correspondence is what defines the multiplication rule, rather than the other way around.
where: — the map applied first, matrix ; — the map applied second, matrix ; — the single matrix representing the composite. Reading it: "do , then " is one operator, so it must have one matrix; the row-by-column formula is the unique rule that makes that matrix. The matrix is not intrinsic to the operator — it changes when you change bases. For a map between two different spaces the transformation law is an equivalence; for an operator from a space to itself it specializes to a similarity.
where: — change-of-basis matrix in (its columns are the new basis vectors written in old coordinates); — change-of-basis matrix in ; — the old and new matrices of the same operator. Reading it: conjugation by is what "looking at the same operator from a different basis" does to its matrix. The linear maps between two fixed spaces do not merely exist one at a time — they can be added and scaled, so they form a vector space of their own, whose dimension counts the free entries of a matrix.
where: — the set of all linear maps ; , . Reading it: an matrix has independently choosable entries, and each choice is a distinct map, so the space of maps is -dimensional. Finally, the quantities that a change of basis leaves alone are the operator's true invariants — the numbers a physicist can quote without first agreeing on coordinates.
where: — the trace, sum of diagonal entries; — the determinant, the signed volume-scaling factor; — the dimension of the image. Reading it: each of these is unchanged under , so each is a property of itself; the eigenvalues and the whole characteristic polynomial join them.
The goal is to derive precisely how the matrix of an operator changes when we keep the operator fixed but swap the basis from to a new basis . This is the single most important computation in the subject, because it draws the line between what belongs to the operator and what belongs to a mere coordinate choice; every invariant we later trust — trace, determinant, spectrum — is trustworthy exactly because it survives this transformation. We define the change-of-basis matrix, track a vector's coordinates through old and new descriptions, and read off the new matrix.
Step 1. Define by writing each new basis vector in the old basis, ; the columns of are the new basis vectors in old coordinates. A vector with new coordinates then has old coordinates . Why: is exactly the dictionary that translates a coordinate list from the new language back into the old one.
Step 2. In the old basis the operator acts by its known matrix, , where is the image's old coordinates. Why: this is just the defining action of the representing matrix, equation (3), applied in the basis we already understand.
Step 3. Translate the image back into the new basis with the inverse dictionary, , and substitute the previous two steps: . Why: we want the action expressed entirely in new coordinates, so both the input and the output must be converted through .
Step 4. By definition the new matrix is whatever satisfies for every , so comparison gives . Why: two matrices that agree on every input coordinate vector are equal, which forces the boxed identity.
The general two-space version is .
Go deeper · Derivation B · 1 minThe trace is a similarity invariant
The goal is to prove that the trace depends only on the operator, never on the basis used to represent it, so that the diagonal sum — which looks hopelessly basis-specific — is in fact a genuine attribute of . This matters physically because the trace is the sum of eigenvalues and, in quantum mechanics, the tool behind expectation values and partition functions; if it changed with coordinates it would be useless. The engine is a single algebraic fact, the cyclic property of the trace, applied to the similarity law we just derived.
Step 1. Establish cyclicity: . Why: the double sum is symmetric under relabelling, so a product's trace is unchanged when the two factors swap places — the one identity the whole proof rests on.
Step 2. Apply it to the similarity form by grouping and , then cycling: . Why: cyclicity lets us move the rightmost factor around to the front, where it will meet its own inverse.
Step 3. Collapse the product: . Why: , so the change of basis leaves no trace of itself — the diagonal sum is identical in both bases.
The determinant is invariant by a multiplicative route instead: .
Go deeper · Derivation C · 1 minThe space of linear maps has dimension m times n
The goal is to show that is not just a set of maps but a vector space, and to compute its dimension by building an explicit basis for it out of the simplest possible operators. The result, , is the precise statement that the correspondence "operator to matrix" is a bijection onto the -dimensional space of arrays — the deepest justification for why matrices are the right bookkeeping device at all. We fix bases, define single-transition elementary maps, and check they span and are independent.
Step 1. Fix bases of and of , and define elementary maps by — the map that sends to and kills every other basis vector. Why: there is one such map for each row–column slot, the operator analogue of a matrix with a single 1.
Step 2. Show spanning: any equals , where are its matrix entries, because both sides send each to . Why: two linear maps that agree on a basis agree everywhere, so matching the basis action is enough to prove equality.
Step 3. Show independence: if , evaluate on to get , and since the are independent every . Why: only the trivial combination gives the zero map, which is exactly what linear independence demands.
Step 4. Conclude that the maps form a basis, so . Why: a spanning, independent set is a basis, and its cardinality is the dimension.
Limiting cases
Special operators, or specially chosen bases, collapse the matrix to a recognizable canonical form. Each row below is a sanity check the general theory must reproduce.
| Case | Result | Meaning |
|---|---|---|
| Identity operator | in every basis | the unique operator whose matrix is basis-independent; for all |
| Diagonalizable operator, eigenbasis | when a full basis of eigenvectors exists, the eigenbasis makes the matrix diagonal with eigenvalues on the diagonal | |
| Defective operator | too few eigenvectors to diagonalize; the simplest form is the Jordan block with off-diagonal 1's | |
| Projection | idempotent; splits the space into image and kernel, eigenvalues only 0 and 1 | |
| Nilpotent operator | for some | e.g. the derivative on degree- polynomials; strictly upper-triangular in a suitable basis, so trace and determinant vanish |
Worked examples
1 · The derivative as a matrix (fully worked)
Let be the space of real polynomials of degree at most 2, with the ordered basis . The differentiation operator maps . Build its matrix, read off its invariants, and use it to differentiate .
Step 1. Apply to each basis vector and expand the result in the basis. , , . In coordinates for , these images are , , and .
Step 2. Stack the images as the columns of the matrix, in order — column is the image of the -th basis vector (equation 2):
Step 3. Read the invariants. The matrix is strictly upper-triangular, so and ; its two nonzero, independent columns give (the image is the degree- polynomials, and the kernel is the constants). Cubing it gives : the operator is nilpotent, as it must be, since three derivatives annihilate any quadratic.
Step 4. Differentiate by matrix–vector multiplication. Its coordinate vector is , and
which is the polynomial . And indeed . The abstract operator "differentiate" is fully captured by one matrix, and calculus becomes matrix arithmetic.
2 · Diagonalizing by a similarity transformation (fully worked)
The operator on has, in the standard basis, the matrix — the very shear-scale of the first figure. Find a basis in which its matrix is diagonal, and confirm that trace and determinant are basis-independent.
Step 1. Find the eigenvalues from . Since is upper-triangular, , so and . Two distinct eigenvalues in two dimensions guarantee a full eigenbasis, hence diagonalizability.
Step 2. Find an eigenvector for each. For : gives . For : gives , so .
Step 3. Assemble the change-of-basis matrix from the eigenvectors as columns, and invert it:
Step 4. Apply the similarity law :
The matrix is now diagonal, with the eigenvalues on the diagonal — the eigenbasis is the coordinate system in which merely stretches by 2 along and does nothing along .
Step 5. Check the invariants against the two representations. Trace: for and for . Determinant: for and for . Both are unchanged, exactly as the invariance derivations promised — the diagonal form is a simpler photograph of the same operator.
Physics of the portrait
Matrices reached the world late. For decades a "linear substitution" was written out as a system of equations, and its composition was a laborious substitution by hand; it took a mathematician's eye to see that the array of coefficients was an object in its own right, with an algebra obeying rules of its own.
Origins · 1 minArthur Cayley and how this was discovered
Arthur Cayley was a Cambridge-trained mathematician who spent fourteen years as a conveyancing barrister — publishing some 250 papers in his spare time — before returning to a professorship in 1863. His decisive contribution to this subject is the 1858 "A Memoir on the Theory of Matrices," which for the first time treated a rectangular array of numbers as a single algebraic quantity that could be added, multiplied, and inverted. Crucially, Cayley did not define matrix multiplication arbitrarily: he defined it so that the product of two matrices would represent the composition of the two linear substitutions they stood for — precisely the reasoning behind equation (4) here. He recognized that this multiplication is associative but not commutative, isolated the identity and zero matrices, and stated what is now the Cayley–Hamilton theorem, that every matrix satisfies its own characteristic equation (he verified it in the 2×2 and 3×3 cases and declared the general case needless to prove). The word "matrix" itself was coined a few years earlier, in 1850, by his lifelong friend and collaborator James Joseph Sylvester, who meant it as the "womb" from which determinants are born. Cayley's abstraction lay largely dormant until the twentieth century, when Werner Heisenberg — unknowingly reinventing matrix multiplication — found that the non-commuting arrays of his 1925 quantum mechanics were exactly Cayley's objects, and the theory of linear operators became the language of physics.
Going further
Texts. Arfken & Weber, Mathematical Methods for Physicists, 7th ed., Ch. 3 (matrices and operators) · Hassani, Mathematical Physics, Ch. 3–4 (vectors, operators, matrices) · Stone & Goldbart, Mathematics for Physics, Ch. on linear operators · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 3–4 · Nakahara, Geometry, Topology and Physics, §2.2 (linear maps as a prelude to tensors) · Axler, Linear Algebra Done Right, Ch. 3 (the basis-free viewpoint) · Halmos, Finite-Dimensional Vector Spaces. The core results are: the column convention with induced action ; the composition rule representing ; the similarity law with trace and determinant invariant by cyclicity; and the dimension count . The two worked examples are exact: the derivative matrix on is with ; and for , , with trace 3 and determinant 2 in both bases. The figures assert only and, for , with .
Prerequisites. Vector Spaces and Subspaces · Linear Independence, Basis, and Dimension. Leads to. Change of Basis and Similarity Transformations · Rank, Nullity, and the Fundamental Theorem of Linear Maps · Eigenvalues, Eigenvectors, and the Characteristic Equation · Adjoint and Hermitian Operators.
Ask the tutor: ask me to build the matrix of any operator you name — a rotation, a projection, the derivative, a spin observable — and then diagonalize it and read off its invariants step by step.
Is there any difference between a linear operator and its matrix?
Yes, and keeping them distinct is the whole point of this article. The operator is the geometric or algebraic action itself — "rotate the plane," "differentiate the polynomial" — and it exists before any coordinates are chosen. The matrix is a numerical record of that action relative to a specific basis; change the basis and the record changes while the action does not. The relationship is like that between a physical rotation of an object and the list of numbers you would write down to describe it in a particular coordinate frame. This is why physicists care about invariants such as the trace, determinant, and spectrum: they are the features of the record that do not depend on the frame, so they describe the operator rather than your description of it.
Why exactly is matrix multiplication defined so strangely?
Because it has to represent composition of maps, and no other rule does. If is applied first (matrix ) and second (matrix ), the composite is a single linear operator and therefore has a single matrix. Tracking a basis vector through both maps, , and the coefficient in the parentheses is forced to be the entry of the product . The row-by-column rule is the unique definition consistent with "do one map, then the other." Entrywise multiplication, which looks more natural, corresponds to no operation on the underlying operators at all, which is why it plays no role in this theory.
What is the difference between similarity and equivalence?
Both describe how a matrix changes with a change of basis, but they apply to different situations. Equivalence, , is the general law for a map between two different spaces, where you may change the basis of the source () and independently the basis of the target (). Similarity, , is the special case where the map goes from a space to itself, , so there is only one basis to change and . The distinction matters because only similarity preserves eigenvalues, trace, and determinant — those concepts require a single space where inputs and outputs can be compared. Under mere equivalence only the rank survives, which is why the rank is the complete invariant classifying maps between distinct spaces.
If two matrices share their trace, determinant, and eigenvalues, are they the same operator?
Not necessarily. Equal invariants are necessary for two matrices to represent the same operator, but they are not sufficient. The classic counterexample is a pair of matrices both with eigenvalue twice: the diagonal matrix and the Jordan block have the same trace , determinant , and spectrum , yet they are genuinely different operators — one is diagonalizable and one is defective, and no invertible conjugates one into the other. The full invariant that decides similarity is the Jordan canonical form (equivalently, the list of elementary divisors), which records not just the eigenvalues but the sizes of the Jordan blocks.
How does an infinite-dimensional operator become a finite matrix in practice?
By truncation in a chosen basis. A differential operator on a function space is genuinely infinite-dimensional, but physics almost always proceeds by expanding functions in a finite set of basis functions — plane waves, atomic orbitals, finite-element bump functions, grid samples — and keeping only their coefficients. In that finite basis the operator's action is captured, approximately, by a finite matrix whose entries are the operator "sandwiched" between basis functions. The approximation improves as the basis grows, and the whole art of numerical physics is choosing a basis in which a modest matrix already captures the physics you care about. Worked Example 1 is the exact version of this: on the polynomials of degree at most two, the derivative is captured with no approximation at all by a matrix.
Is the identity operator the only operator with a basis-independent matrix?
Essentially yes, up to scaling. The identity has matrix in every basis because for all invertible . More generally, any scalar operator has the same matrix in every basis, since . These scalar multiples of the identity are exactly the operators that commute with everything, and they are the only ones whose matrix is a similarity invariant on the nose. Every other operator looks different in different bases — which is fortunate, because it is precisely by choosing a clever basis (the eigenbasis) that we simplify a non-scalar operator to diagonal form, as in Worked Example 2.