Matrices as Linear Maps
A matrix is a coordinate representation of a linear map after bases have been chosen. The linear map is the object; the matrix is how that object acts on coordinate columns.
This page is the bridge between abstract linear maps and the matrices used in finite-dimensional quantum mechanics, spin systems, numerical diagonalization, and operator representations.
Matrix of a Linear Map
Section titled “Matrix of a Linear Map”Let
be a linear map. Choose a basis
for and a basis
for .
The matrix of in these bases is written
Its th column is the coordinate column of in the basis :
Thus the matrix entries record what the map does to each basis vector.
For the index conventions behind expressions such as , see Index Notation and Summation Conventions.
Acting on Coordinates
Section titled “Acting on Coordinates”If
then linearity gives
In coordinate-column notation,
This is the precise meaning of multiplying a matrix by a column vector: it computes the coordinates of the output vector in the chosen output basis.
Matrix Multiplication Is Composition
Section titled “Matrix Multiplication Is Composition”Let
Choose bases for , for , and for . Then
Matrix multiplication appears because composition appears. The rightmost matrix acts first on coordinate columns.
This is also why matrix multiplication is generally not commutative. The maps and may have different meanings, different domains, or different results.
Operators and Square Matrices
Section titled “Operators and Square Matrices”When maps a vector space to itself, it is represented by a square matrix after one basis of is chosen:
Finite-dimensional quantum operators are often introduced this way. For example, a two-level Hamiltonian, a spin component, or a quantum gate can be represented by a matrix after a basis is chosen.
The matrix is basis-dependent. The operator is not.
Change of Basis and Similarity
Section titled “Change of Basis and Similarity”Let be a linear operator. Suppose is an old basis and is a new basis.
Use the convention that has as its columns the -coordinates of the new basis vectors:
Then coordinate columns satisfy
If is the old matrix and is the new matrix, consistency requires
This is a similarity transformation. It changes the matrix representation but not basis-independent information such as eigenvalues, trace, determinant, and the abstract operator itself.
The canonical mathematical convention for this transformation is developed in Change of Basis. Quantum pages often use unitary overlap matrices for orthonormal bases; the physics-facing passive convention is explained in Change of Basis.
Worked Example
Section titled “Worked Example”Define by
In the standard basis , ,
These output coordinate columns become the matrix columns:
Then
as required.
Why Quantum Mechanics Needs This
Section titled “Why Quantum Mechanics Needs This”Matrix mechanics represents states and operators in chosen bases. A Hamiltonian matrix is not merely an array of numbers; it is the coordinate representation of a linear operator. A gate matrix represents a unitary map in a computational basis. A change to an energy basis, spin basis, or position-momentum representation changes the concrete form while preserving the underlying linear map.
This is why the same operator can appear as a Pauli matrix, a diagonal matrix, a differential expression, or an integral kernel depending on the representation.
Common Mistakes
Section titled “Common Mistakes”- Treating matrices as primary and linear maps as optional interpretation.
- Forgetting to specify the input and output bases for a matrix.
- Multiplying matrices in the wrong order because composition order was ignored.
- Changing a state-coordinate column without changing the operator matrix consistently.
- Applying a function to matrix entries when the intended operation is a function of the linear operator.
- Thinking similar matrices are different operators rather than different representations of the same operator.
Cross-Links
Section titled “Cross-Links”- Linear Maps
- Bases and Coordinates
- Index Notation and Summation Conventions
- Change of Basis
- Diagonalization
- Eigenvalues and Eigenvectors
- Spectral Decomposition
- Matrix Diagonalization
- Operator Representations
- Change of Basis
References
Section titled “References”- S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
- G. Strang, Linear Algebra and Its Applications, 4th ed., Brooks/Cole, 2006.
- P. R. Halmos, Finite-Dimensional Vector Spaces, 2nd ed., Springer, 1974.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
Exercises
Section titled “Exercises”- Let be . Find the matrix of in the standard basis.
Solution
Compute the images of the standard basis vectors:
These become the columns:
- If , why is the consistent matrix for the same operator in the basis?
Solution
Start with
But also . Hence
so
- Explain why matrix multiplication is not just a computational rule but a representation of composition.
Solution
If is applied first and second, then the output is . In coordinates, applying gives one matrix multiplication, and applying gives the next. The combined matrix is therefore the product representing .