Skip to content
GATEiit

GATE All 17 EM papers & ES · Linear Algebra

Eigenvalues, Eigenvectors, Diagonalisation and Cayley–Hamilton

Characteristic equation, trace and determinant shortcuts, spectral mapping (A^k, A^-1), algebraic vs geometric multiplicity, diagonalisation, and Cayley–Hamilton theorem.

Before you start

  • Matrices and determinants →

    Eigenvalues are roots of det⁡(A−λI)=0; you need fast 2 by 2 and 3 by 3 determinants.

  • Homogeneous systems and rank →

    Eigenvectors are non-zero solutions of (A−λI)x=0; their number is n minus the rank.

  • Roots of polynomials

    Sum and product of roots give the trace and determinant checks.

  • Rank →

    The number of independent eigenvectors for λ is n−rank(A−λI).

This topic comes before: Transformation of stress (Mohr’s circle), Principal Component Analysis (PCA), Solution of state equations of LTI systems, State space model, Higher-Order Linear ODEs (Complementary Function and Particular Integral), Maxima and Minima

Concept notes

1. Definition and the characteristic equation

For a square matrix A (n×n), a scalar λ is an eigenvalue and a non-zero vector x is a corresponding eigenvector if

Ax=λx.

So A only stretches (or flips) x; it does not turn it off its line.

Rewrite as (A−λI)x=0. A non-zero solution exists only when A−λI is singular, giving the characteristic equation det⁡(A−λI)=0. It is a degree-n polynomial, so A has exactly n eigenvalues counted with multiplicity (possibly complex).

Method:

  1. Solve det⁡(A−λI)=0 for the eigenvalues.
  2. For each λ, solve (A−λI)x=0. The solutions (minus the zero vector) are its eigenvectors; any non-zero multiple of an eigenvector is also one.

2 by 2 shortcut: λ2−(tr⁡A)λ+det⁡A=0.

Triangular or diagonal matrix: the eigenvalues are the diagonal entries.

λ=0 is an eigenvalue exactly when A is singular.

vAv = 3vuAuA = [2 1; 1 2]v = (1, 1), Av = (3, 3)u = (1, 0), Au = (2, 1)v stays on its line, only stretched:v is an eigenvector, eigenvalue 3.u is turned off its line:u is not an eigenvector.
An eigenvector keeps its direction under A; a general vector is turned.

2. Trace, determinant and related matrices

For eigenvalues λ1,…,λn of A:

  • λ1+⋯+λn=tr⁡(A) (sum of diagonal entries)
  • λ1λ2⋯λn=det⁡A

If Ax=λx, the same eigenvector x works for these, with the eigenvalue shown:

Matrix Eigenvalue
kA kλ
A+kI λ+k
Am λm
A−1 (if invertible) 1/λ
p(A), a polynomial p(λ)
adj⁡(A) (if invertible) det⁡A/λ

AT has the same eigenvalues as A (same characteristic polynomial) but in general different eigenvectors. Similar matrices P−1AP also share eigenvalues.

Use these to avoid computing powers: for example det⁡(A2+I)=∏(λi2+1) and tr⁡(A5)=∑λi5.

3. Multiplicity, independence and diagonalisation

  • Algebraic multiplicity (AM) of λ: how many times it is a root of the characteristic equation.
  • Geometric multiplicity (GM): the number of independent eigenvectors for λ, which is n−rank⁡(A−λI).
  • Always 1≤GM≤AM.

Eigenvectors for distinct eigenvalues are linearly independent. So an n×n matrix with n distinct eigenvalues has n independent eigenvectors.

A is diagonalisable, A=PDP−1 with D diagonal, exactly when it has n independent eigenvectors, that is when GM=AM for every eigenvalue. The columns of P are the eigenvectors and D holds the eigenvalues in the same order. Then Am=PDmP−1.

Example of failure: has λ=2 with AM 2, but A−2I has rank 1, so GM 1. It is not diagonalisable.

Real symmetric matrices (A=AT) are always diagonalisable: their eigenvalues are real and eigenvectors for distinct eigenvalues are orthogonal, so A=QDQT with Q orthogonal.

4. Cayley–Hamilton and special matrices

Cayley–Hamilton theorem: every square matrix satisfies its own characteristic equation. For a 2 by 2 matrix: A2−(tr⁡A)A+(det⁡A)I=0.

Uses: express A−1 or high powers of A as a short polynomial in A. If det⁡A≠0, A−1=(tr⁡A)I−Adet⁡A for 2 by 2.

Eigenvalues of special matrices:

Matrix Eigenvalues
Real symmetric all real
Real skew-symmetric zero or purely imaginary
Orthogonal (QTQ=I) modulus 1
Idempotent (A2=A) 0 or 1
Nilpotent (Ak=0) all 0
Rank 1, A=uvT vTu once, 0 repeated n−1 times
Positive definite all positive

A real matrix can have no real eigenvalue: the 90° rotation has eigenvalues ±i. Complex eigenvalues of a real matrix come in conjugate pairs.

Formulas to remember

Eigenvalue equation
Ax=λx,x≠0
Characteristic equation
det⁡(A−λI)=0
2 by 2 characteristic equation
λ2−(tr⁡A) λ+det⁡A=0
Sum of eigenvalues
∑iλi=tr⁡(A)
Product of eigenvalues
∏iλi=det⁡A
Eigenvalues of a polynomial in AIncludes Am, kA, A+kI; and A−1 gives 1/λ
p(A) x=p(λ) x
Geometric multiplicity
GM(λ)=n−rank⁡(A−λI)
Diagonalisation
A=PDP−1,Am=PDmP−1
Cayley–Hamilton (2 by 2)
A2−(tr⁡A)A+(det⁡A)I=0
2 × 2 shortcut
λ2−(trace A) λ+det⁡A=0

Common mistakes

  • Taking the zero vector as an eigenvector; eigenvectors must be non-zero.
  • Assuming A and AT share eigenvectors; they share only eigenvalues.
  • Calling a matrix diagonalisable because its characteristic polynomial factors; check that GM equals AM for each repeated eigenvalue.
  • Using det⁡(A+B)=det⁡A+det⁡B or adding eigenvalues of different matrices; eigenvalue rules apply to polynomials in one matrix A.
  • Forgetting that a triangular matrix's eigenvalues are just its diagonal entries, and expanding the determinant the long way.
  • Accepting the zero vector as an eigenvector; an eigenvector must be non-zero, though an eigenvalue can be zero.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Eigenvalues and eigenvectors of a 2 by 2 matrix

numerical

Find the eigenvalues and eigenvectors of .

  1. Step 1: Write the characteristic equation using trace and determinant.

    Try it on paper first.

Example 2: Using eigenvalues instead of computing the matrix

numerical

A 3 by 3 matrix A has eigenvalues 1, 2 and 3. Find det⁡(A2+A−1) and tr⁡(adj⁡A).

  1. Step 1: What are the eigenvalues of A² + A⁻¹?

    Try it on paper first.

Example 3: Repeated eigenvalue: is it diagonalisable?

numerical

For , find the eigenvalues, the number of independent eigenvectors, and whether A is diagonalisable.

  1. Step 1: Read the eigenvalues.

    Try it on paper first.

Example 4: Why a repeated eigenvalue need not block or allow diagonalization

conceptual

Compare and regarding eigenvalues and diagonalizability.

  1. Step 1: Find eigenvalues and AM.

    Try it on paper first.

Previous year questions

13 official GATE Engineering Mathematics questions mapped to this topic across published papers, newest first.

Topic test

10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE Engineering Mathematics (All 17 EM papers & ES) syllabus; being checked by a reviewer. Updated 2026-11-30. Spotted a mistake? Use Report an issue on any question, or contact us.