A topic in the Open Knowledge Graph — a free, open map of 15,495 topics and the order to learn them in.

Diagonalization

College Depth 98 in the knowledge graph ☐ I know this ☆ Set as goal
105topics build on this
396prerequisites beneath it
See this on the map →
Basis and DimensionEigenvalues and Eigenvectors+1 more→→Matrix Exponential MethodPrincipal Component Analysis+2 more
diagonalization similarity powers exponentials

Core Idea

Matrix A is diagonalizable if A = PDP⁻¹ where D is diagonal and P's columns are eigenvectors of A. Diagonalization simplifies computation: Aⁿ = PDⁿP⁻¹. An n × n matrix is diagonalizable iff it has n linearly independent eigenvectors, guaranteed if all eigenvalues are distinct.

How It's Best Learned

Work one example all the way to a power formula. For A = [[1,2],[2,1]], the eigenvalues are 3 and −1 with eigenvectors (1,1) and (1,−1). Build P and D, find P⁻¹, and multiply out PDⁿP⁻¹ to get a general formula for Aⁿ. Check it at n = 2 against A² = [[5,4],[4,5]] computed directly.

Common Misconceptions

Explainer

From your work with eigenvalues and eigenvectors, you know that a vector v is an eigenvector of matrix A if Av = λv — multiplying by A just scales v by the eigenvalue λ. Diagonalization asks: what if *all* our basis vectors were eigenvectors? Then the matrix would be incredibly easy to work with, because it would just scale each coordinate independently.

Here is the construction. Suppose A is n × n and you can find n linearly independent eigenvectors v₁, v₂, …, vₙ with eigenvalues λ₁, λ₂, …, λₙ. Build matrix P by placing these eigenvectors as columns: P = [v₁ | v₂ | … | vₙ]. Build diagonal matrix D by placing the corresponding eigenvalues on the diagonal: D = diag(λ₁, λ₂, …, λₙ). Then A = PDP⁻¹. To verify: PDP⁻¹vᵢ = PD(eᵢ) = P(λᵢeᵢ) = λᵢvᵢ = Avᵢ, where eᵢ are standard basis vectors. The matrix P is the change-of-basis matrix from your basis of eigenvectors back to the standard basis.

The payoff is computation. Squaring A naively requires multiplying two full matrices. But A² = (PDP⁻¹)(PDP⁻¹) = PD²P⁻¹, and D² just squares the diagonal entries. More generally, Aⁿ = PDⁿP⁻¹, and Dⁿ is trivial: just raise each diagonal entry to the nth power. This turns computing the 100th power of a matrix from a nightmare into three multiplications. The same trick extends to matrix exponentials: eAt = PeDtP⁻¹, which is the key to solving systems of differential equations.

The condition for diagonalizability is that A has n linearly independent eigenvectors — enough to form a full basis. This is guaranteed when all n eigenvalues are *distinct* (no repeated eigenvalues), because eigenvectors from distinct eigenvalues are always linearly independent. When eigenvalues repeat, diagonalizability is not guaranteed — you need to check whether the geometric multiplicity (dimension of the eigenspace) equals the algebraic multiplicity (number of times the eigenvalue appears as a root of the characteristic polynomial) for each eigenvalue. If any eigenspace is "too small," A is not diagonalizable — though it may still have a Jordan normal form, the closest diagonal-like structure available.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → Trigonometric Ratios Review → Vectors in Two Dimensions → Vectors in R^n → Scalar Multiplication of Vectors → Dot Product (Inner Product in R^n) → Matrix Multiplication → Determinants of 2×2 and 3×3 Matrices → Invertible Matrices and Matrix Inverses → Systems of Linear Equations and Matrix Form → Gaussian Elimination and Row Reduction → Row Echelon Form and Back Substitution → The Standard Matrix of a Linear Transformation → Composition of Linear Transformations → Change of Basis and Coordinate Systems → Diagonalization

Longest path: 99 steps · 396 total prerequisite topics

Prerequisites (3)

Leads To (4)