Skip to content
GATEiit

GATE DA · Linear Algebra

Eigenvalues and eigenvectors

Eigenvalues and eigenvectors: the characteristic equation, trace and determinant shortcuts, eigenvalues of powers and polynomials, multiplicities and diagonalisation, and special matrices; a very frequent GATE DA topic.

Before you start

This topic comes before: Dimensionality reduction: principal component analysis (PCA), Linear discriminant analysis, LU decomposition and singular value decomposition (SVD), Matrices: projection, orthogonal, idempotent and partition matrices and their properties, Quadratic forms

Concept notes

1. Definition and the characteristic equation

A non-zero vector v is an eigenvector of the square matrix A with eigenvalue λ if Av=λv. A only stretches (or flips) v; it does not change its line.

Rewrite as (A−λI)v=0. A non-zero solution exists exactly when A−λI is singular, so the eigenvalues are the roots of the characteristic equation det⁡(A−λI)=0, a polynomial of degree n. Then each eigenvector is found from the null space of A−λI.

  • The eigenspace of λ is N(A−λI); it is a subspace (add 0 to the eigenvectors).
  • Algebraic multiplicity (AM): how many times λ is a root.
  • Geometric multiplicity (GM): dim⁡N(A−λI)=n−rank⁡(A−λI).
  • Always 1≤GM≤AM.

For a 2×2 matrix the characteristic equation is simply λ2−(tr⁡A)λ+det⁡A=0. λ=0 is an eigenvalue if and only if A is singular. A real matrix can have complex eigenvalues; they come in conjugate pairs, for example the rotation has λ=±i.

xAxA general vector changes directionvAv = 3vAn eigenvector is only stretched
An eigenvector keeps its direction under A

2. Shortcuts GATE expects you to know

With eigenvalues λ1,…,λn (counted with multiplicity):

  • ∑λi=tr⁡A and ∏λi=det⁡A.
  • Triangular or diagonal A: the eigenvalues are the diagonal entries.
  • AT has the same eigenvalues as A (eigenvectors may differ).

Functions of A (same eigenvector v):

Matrix Eigenvalue
Ak λk
A−1 (A invertible) 1/λ
A+cI λ+c
cA cλ
p(A), a polynomial p(λ)
adj⁡A (A invertible) det⁡A/λ

So det⁡p(A)=∏p(λi) and tr⁡p(A)=∑p(λi).

Rank-one matrices: A=uvT (n×n) has eigenvalue vTu (eigenvector u) and 0 repeated n−1 times. The all-ones matrix Jn has eigenvalues n,0,…,0, so Jn+cI has n+c and c (n−1 times).

AB and BA have the same non-zero eigenvalues.

Cayley–Hamilton theorem: every square matrix satisfies its own characteristic equation. For a 2×2 matrix, A2−(tr⁡A)A+(det⁡A)I=0. Use it to find A−1 or high powers without computing them directly.

3. Diagonalisation

A (n×n) is diagonalisable if A=PDP−1, where D is diagonal. Then the columns of P are eigenvectors and the diagonal of D holds the matching eigenvalues, in the same order.

  • A is diagonalisable if and only if it has n linearly independent eigenvectors, that is GM = AM for every eigenvalue.
  • n distinct eigenvalues guarantee diagonalisability (eigenvectors for distinct eigenvalues are independent).
  • A repeated eigenvalue may or may not cause trouble: I is diagonal, but has λ=1 with AM 2 and GM 1, so it is not diagonalisable (a defective matrix).

Why diagonalise? Powers become easy: Ak=PDkP−1, which is how GATE asks for A10 or the long-run behaviour of Akx. If ∣λ1∣ is strictly the largest, Akx lines up with the eigenvector of λ1 for large k (the idea behind power iteration).

Similar matrices B=M−1AM have the same eigenvalues, trace, determinant and rank. Diagonalisation is the special case where the similar matrix is diagonal.

Steps for a diagonalisation question: (1) find eigenvalues; (2) for each, find n−rank⁡(A−λI) independent eigenvectors; (3) if the total is n, build P and D; otherwise A is not diagonalisable.

4. Eigenvalues of special matrices

Many GATE questions only need the type of matrix:

Matrix Eigenvalues Eigenvectors
Real symmetric A=AT real orthogonal for distinct λ; always diagonalisable as QΛQT
Real skew-symmetric A=−AT 0 or purely imaginary —
Orthogonal QTQ=I ∣λ∣=1 —
Idempotent A2=A 0 or 1 —
Nilpotent Ak=0 all 0 —
Positive definite all >0 —
Row-stochastic (rows sum to 1) λ=1 is one (1,…,1) for λ=1

Spectral theorem. A real symmetric matrix can be written A=QΛQT=∑iλiqiqiT, with orthonormal eigenvectors qi. Each qiqiT is a rank-one projection. This is the basis of PCA (eigenvectors of the covariance matrix) and of the SVD.

For symmetric A, the largest eigenvalue is the maximum of xTAx over unit vectors, and the singular values of A are ∣λi∣.

A matrix whose every row sums to the same constant s has eigenvalue s with eigenvector (1,1,…,1), because A1=s1. This one-line check often finds an eigenvalue of a 3×3 matrix immediately; the other two then follow from the trace and determinant.

Formulas to remember

Characteristic equation
det⁡(A−λI)=0
Trace and determinant
∑iλi=tr⁡A,∏iλi=det⁡A
2 by 2 matrices
λ2−(tr⁡A) λ+det⁡A=0
Geometric multiplicity
GM(λ)=n−rank⁡(A−λI)
Diagonalisation and powers
A=PDP−1,Ak=PDkP−1
Polynomial of a matrix
p(A)v=p(λ)v
Cayley-Hamilton (2 by 2)
A2−(tr⁡A)A+(det⁡A)I=0
Spectral decompositionReal symmetric A
A=QΛQT=∑iλiqiqiT

Common mistakes

  • Taking det⁡A as the sum of eigenvalues; the sum is the trace, the product is the determinant.
  • Assuming a repeated eigenvalue always means not diagonalisable; check n−rank⁡(A−λI) against the multiplicity.
  • Reading eigenvalues off the diagonal of a matrix that is not triangular.
  • Putting eigenvalues in D in a different order from the eigenvector columns of P.
  • Assuming A and AT share eigenvectors; they share eigenvalues only (unless A is symmetric).

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: Use the trace and determinant.

    Try it on paper first.

Example 2: Eigenvalues of a polynomial in A

numerical

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

  1. Step 1: What are the eigenvalues of $p(A) = A^2 - 3A + I$?

    Try it on paper first.

Example 3: Algebraic vs geometric multiplicity

numerical

Is diagonalisable?

  1. Step 1: Read off the eigenvalues.

    Try it on paper first.

Example 4: Eigenvalues without the characteristic polynomial

numerical

Find the eigenvalues and determinant of the 4×4 matrix with 3 on the diagonal and 1 everywhere else.

  1. Step 1: Write it in terms of the all-ones matrix.

    Try it on paper first.

Previous year questions

5 official GATE DA questions on this topic, newest first.

Practise these 5 PYQs →

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 DA syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.