Diagonalization and Similarity
Rewriting a matrix in a coordinate system aligned with its own natural directions, so that a messy repeated operation like matrix powers collapses into simple scalar arithmetic.
Prerequisites: Eigenvalues & Eigenvectors
Suppose you need to know what a matrix does when applied 50 times in a row — a Markov chain's transition probabilities after 50 steps, or a discretized differential equation propagated 50 periods forward. Multiplying the matrix by itself 50 times by hand is slow and the intermediate numbers get ugly fast. Diagonalization is a shortcut: if you can find the right coordinate system, the matrix's repeated action becomes nothing more than raising a handful of plain numbers to the 50th power.
An analogy: describing wind along its own direction
If wind blows diagonally across a field, describing its speed using "north" and "east" components is awkward — both numbers change every time you rotate your reference frame, and neither one alone tells you the true speed. But if you instead measure along the wind's own direction, one number captures everything, and it stays simple no matter how many times you re-measure. Diagonalization does the matrix equivalent: it finds the special directions (eigenvectors) along which the matrix acts as pure scaling, no rotation or shearing. Described along those directions, a matrix's repeated action is just repeated multiplication by a single scaling number per direction.
The math, one symbol at a time
A square matrix is diagonalizable if it can be written as
where is a diagonal matrix holding 's eigenvalues down the diagonal, and is the matrix whose columns are the corresponding eigenvectors. In words: equals "change into eigenvector coordinates" (), "scale each coordinate by its eigenvalue" (), "change back" (). Two matrices related this way — and — are called similar: they represent the same underlying linear transformation, just viewed in different coordinate systems, and similar matrices always share the same eigenvalues, determinant, and trace.
The payoff is powers: , and since is diagonal, just raises each diagonal entry to the -th power — no matrix multiplication required for the hard part.
Worked example 1: computing a matrix cube
Let . Its eigenvalues solve , giving , , with eigenvectors and . So , , and . Then with . Multiplying out gives — the same answer direct multiplication gives, but reached by cubing two numbers (27 and 1) instead of multiplying matrices twice.
Worked example 2: a two-state Markov chain after many steps
A trading signal flips between "on" (state 1) and "off" (state 0) with transition matrix (columns: probability of going from that state to each row's state). Its eigenvalues are and . Diagonalizing and raising to a high power , the term shrinks toward zero as grows, leaving only the contribution — this is exactly why Markov chains settle into a steady-state distribution: every eigenvalue below 1 dies out under repeated multiplication, and diagonalization makes that decay visible as ordinary exponential decay of a single number.
Drag the matrix entries and watch the ellipse the unit circle maps to; the two directions that stay fixed (only stretched, not rotated) are the eigenvectors — exactly the axes diagonalization measures along.
What this means in practice
Quants lean on diagonalization constantly: computing long-horizon transition probabilities in Markov models, solving linear systems of differential equations (interest-rate or population dynamics), and understanding principal component analysis, where diagonalizing a covariance matrix reveals the independent, uncorrelated risk directions in a portfolio. It's also the backbone of the The Matrix Exponential, which underlies continuous-time Markov chains and many pricing PDEs.
If , then — repeated matrix multiplication becomes repeated scalar exponentiation along the matrix's own eigenvector directions.
Not every matrix is diagonalizable. A matrix with a repeated eigenvalue can fail to have enough independent eigenvectors to fill — the classic example is the shear , which has only one eigenvector direction despite being . Symmetric matrices are always safely diagonalizable (with real eigenvalues and orthogonal ), which is why covariance and correlation matrices — always symmetric — are such friendly objects for this technique. Don't assume an arbitrary matrix shares that guarantee.
Related concepts
Practice in interviews
Further reading
- Strang, Introduction to Linear Algebra, ch. 6