Knowledge / Mathematics / Matrices, eigenvalues and diagonalisation

Matrices, eigenvalues and diagonalisation

Mathematics (B.Sc) · Algebra · free study notes for exams, placements and interviews

In short

A matrix is a rectangular array of numbers that encodes a linear transformation or a system of linear equations; its eigenvalues and eigenvectors expose the directions the transformation merely stretches, and diagonalisation rewrites the matrix in the basis of those directions as a diagonal matrix. This machinery turns hard problems — matrix powers, systems of differential equations, quadratic forms, stability tests — into arithmetic on scalars. In Indian universities this is the core of B.Sc Algebra / Matrix Algebra papers under the UGC CBCS and NEP-aligned four-year LOCF syllabi, and it carries the largest single block of Linear Algebra marks in GATE MA, CSIR-UGC NET, JAM MA and IIT/CUET-PG entrance papers. It is examined again in placement technical rounds for data science, quantitative analysis and software roles (TCS Digital, Infosys, Mu Sigma, ZS, Goldman Sachs, Quadeye, ISRO/DRDO scientist posts), where PCA, Markov chains and Google-style ranking all reduce to eigen-problems.

Explained

Matrices: definitions, types and operations

Rank, elementary operations and systems of equations

Eigenvalues and eigenvectors

Similarity and diagonalisation

Quadratic forms and definiteness

Exam framing, Indian syllabi and practice

Key points

Formulas and examples

Characteristic equation: |A − λI| = 0 — λ is a scalar eigenvalue, I the identity of the same order as A
Order 3 expansion: λ³ − tr(A)λ² + (S₂)λ − |A| = 0 — S₂ = sum of the three 2×2 principal minors
Checks: Σ λ_i = tr(A) = Σ a_ii; Π λ_i = |A|
Eigen equation and eigenspace: A x = λ x, x ≠ 0; E_λ = null(A − λI), GM(λ) = dim E_λ = n − ρ(A − λI)
Multiplicity bound: 1 ≤ GM(λ) ≤ AM(λ); A diagonalisable ⟺ Σ GM(λ_i) = n
Diagonalisation: P⁻¹AP = D = diag(λ₁,…,λ_n), columns of P = corresponding independent eigenvectors
Powers and functions: Ak = P Dk P⁻¹; f(A) = P f(D) P⁻¹ (apply f to each diagonal λ)
Inverse: A⁻¹ = adj(A)/|A|, |A| ≠ 0; A·adj(A) = |A| I
Cayley-Hamilton: p(A) = O; hence A⁻¹ = −(1/|A|)·[An−1 − … ] obtained by multiplying p(A) = O by A⁻¹
Rank-nullity: ρ(A) + nullity(A) = n (A is m × n, n = number of columns)
Quadratic form: Q(x) = xᵗA x with A = Aᵗ; canonical form Q = λ₁y₁² + λ₂y₂² + … under x = Py, P orthogonal
Symmetric case: PᵗAP = D, PᵗP = I; Hermitian case: U*AU = D, U*U = I
Singular values: σ_i = √(λ_i of AᵗA), σ_i ≥ 0; A = UΣVᵗ

Example 1 — Eigenvalues, eigenvectors and diagonalisation of a 2×2 matrix. A = [[4, 1],[2, 3]].

Example 2 — A defective (non-diagonalisable) 3×3 matrix. A = [[2, 1, 0],[0, 2, 0],[0, 0, 3]] (upper triangular).

Example 3 — Cayley–Hamilton to find the inverse. A = [[1, 2],[3, 4]].

Example 4 — Consistency of a linear system. Solve 2x + 3y + z = 9, x − y + z = 2, 3x + 2y + 2z = 11.

Example 5 — Orthogonal diagonalisation and definiteness of a quadratic form. Q = 5x² + 5y² + 6xy, so A = [[5, 3],[3, 5]].

SituationTestConclusion
All n eigenvalues distinctCount distinct roots of p(λ)Diagonalisable (sufficient, not necessary)
Repeated eigenvalue, GM = AMρ(A − λI) = n − AMDiagonalisable
Repeated eigenvalue, GM < AMρ(A − λI) > n − AMDefective → use Jordan form
Real symmetricAᵗ = AOrthogonally diagonalisable, λ all real
Hermitian / normalA* = A / AA* = A*AUnitarily diagonalisable
Rectangular or ill-conditioned—Use SVD instead
PropertySimilar matrices (P⁻¹AP)Equivalent matrices (row/column ops)
RankPreservedPreserved
EigenvaluesPreservedNot preserved
DeterminantPreservedChanged (up to non-zero factor)
TracePreservedNot preserved
UseDiagonalisation, canonical formsRank, solving systems

Where it is used

Interview questions

Common mistakes

Related topics

Vector spaces and linear transformations · Systems of linear equations and numerical methods · Quadratic forms and conic sections · Group theory · Multivariable calculus: Hessian and optimisation · Probability and statistics: covariance and PCA

Open in the Knowledge reader →Find jobs →