Home / Learn / Exam prep / IIT JAM Physics / Lesson 1.8
All lessons

Module 1: Mathematical methods · Lesson 1.8 · about 45 min

Matrices, determinants and eigenvalues

Matrix algebra, determinants, inverse and rank, then eigenvalues and eigenvectors with the trace and determinant shortcuts, Hermitian, unitary and orthogonal matrices, Cayley-Hamilton and functions of matrices, the way JAM tests them.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 1 · about 45 minutes. By the end you will be able to find eigenvalues of small matrices in your head, use the trace and determinant to skip whole calculations, recognise Hermitian, unitary and orthogonal matrices and what their eigenvalues must be, and compute powers and exponentials of matrices the quick way.

A matrix is a machine that moves vectors. Its eigenvectors are the special directions it only stretches, and its eigenvalues are how much: know those, and you know everything the matrix does.

1. Matrices as machines

A 2×2 matrix takes a vector and returns another:

(abcd)(xy)=(ax+bycx+dy)

Multiplying two matrices means doing one machine after the other, which is why order matters: in general AB≠BA. The rules that follow from “one after the other”:

  • (AB)T=BTAT and (AB)−1=B−1A−1: undoing reverses the order, like taking off socks and shoes.
  • det⁡(AB)=det⁡Adet⁡B, and for an n×n matrix det⁡(kA)=kndet⁡A (every one of the n rows gets the factor k).
  • The trace (sum of the diagonal) obeys tr(AB)=tr(BA).

2. Determinant, inverse and rank

The determinant measures how much the machine scales areas (in 2D) or volumes (in 3D). If it is zero, the machine squashes space flat, and nothing can undo that: the matrix has no inverse (it is singular).

det⁡(abcd)=ad−bc,(abcd)−1=1ad−bc(d−b−ca)

For the 2×2 inverse: swap the diagonal, negate the off-diagonal, divide by the determinant. Do not swap the off-diagonal entries (that gives the transpose of the right answer, a favourite wrong option).

Useful facts for 3×3 and bigger:

  • A triangular matrix has determinant equal to the product of its diagonal.
  • Swapping two rows flips the sign; adding a multiple of one row to another changes nothing.
  • The rank is the number of independent rows. A square matrix has full rank exactly when its determinant is not zero. A system Ax→=b→ has a unique solution exactly when det⁡A≠0.

3. Eigenvalues and eigenvectors

Most vectors change direction when a matrix acts on them. A few special ones do not: they come out along the same line, just stretched by a number λ.

Av→=λv→(v→≠0→)

Watch it happen. The grey arrow is a unit vector v→ going round the circle; the coloured arrow is Av→. They line up only along the dashed eigenvector lines:

The unit circle (dashed) is sent to an ellipse (solid). Along each eigenvector, Av is parallel to v. The rotation has no real eigenvectors; the shear has only one.

How to find them. Av→=λv→ means (A−λI)v→=0 has a non-zero solution, so A−λI must be singular:

det⁡(A−λI)=0

For a 2×2 matrix this is always

λ2−(trA)λ+det⁡A=0

and for any size:

λ1+λ2+⋯+λn=trA,λ1λ2⋯λn=det⁡A

These two lines are the biggest time-savers in the whole topic. “Sum of eigenvalues” is just the trace; “product” is just the determinant; “is 0 an eigenvalue?” is just “is the determinant 0?”.

Eigenvector v
a direction the matrix does not turn, only stretches (or flips)
Eigenvalue λ
the stretch factor along that direction; negative means flipped
tr A
the sum of all eigenvalues
det A
the product of all eigenvalues; zero means some direction is squashed to nothing
Physical meaning
Normal modes of coupled oscillators, principal axes of a spinning body, and the allowed energies of a quantum system are all eigenvalue problems.

Worked example. Find the eigenvalues and eigenvectors of A=(2112).

  1. Trace 4, determinant 3, so λ2−4λ+3=0: λ=1 or 3.
  2. For λ=3: (A−3I)v→=(−111−1)v→=0 gives v1=v2, so v→=(1,1).
  3. For λ=1: v1=−v2, so v→=(1,−1).
  4. Check: 1+3=4 (trace) and 1×3=3 (determinant) ✓. The two eigenvectors are perpendicular, as they always are for a real symmetric matrix.

Two special cases to spot at once: a triangular matrix has its eigenvalues on the diagonal, and a block-diagonal matrix has the eigenvalues of its blocks.

Not every matrix has enough eigenvectors

A repeated eigenvalue may come with only one eigenvector. The shear (1101) has eigenvalue 1 twice, but A−I=(0100) has rank 1, so there is only one eigenvector, (1,0). Such a matrix cannot be diagonalised. Count eigenvectors for an eigenvalue λ as n−rank(A−λI).

When there are n independent eigenvectors, put them as the columns of P; then P−1AP=D is diagonal with the eigenvalues on its diagonal. Matrices related this way (similar matrices) share eigenvalues, trace and determinant, but not eigenvectors.

4. The special matrices of physics

Matrix Definition Eigenvalues Eigenvectors
real symmetric AT=A real can be chosen orthonormal
Hermitian H†=H († = conjugate transpose) real orthogonal for different λ
real antisymmetric AT=−A 0 or purely imaginary ±iω
orthogonal RTR=I modulus 1 (det⁡R=±1)
unitary U†U=I modulus 1 (|det⁡U|=1) orthogonal
projection P2=P 0 or 1

Why Hermitian eigenvalues are real, in one line: if Hv→=λv→, then λv→†v→=v→†Hv→=(Hv→)†v→=λ‾v→†v→, so λ=λ‾. That is why quantum mechanics represents measurable quantities by Hermitian matrices: measurements give real numbers.

A rotation by θ in the plane has eigenvalues e±iθ: modulus 1, but complex, which is why the rotation in the figure has no real eigenvector. A rotation in 3D has eigenvalues 1,eiθ,e−iθ (the 1 belongs to the axis), so its trace is 1+2cos⁡θ.

The Pauli matrices are the standard Hermitian, unitary, traceless examples:

σx=(0110),σy=(0−ii0),σz=(100−1)

Each has eigenvalues ±1, each squares to I, and σxσy=iσz (cyclic). For a real vector a→, (a→⋅σ→)2=|a→|2I, so a→⋅σ→ has eigenvalues ±|a→|.

“The eigenvalues of A + B are the eigenvalues of A plus those of B.” Only if A and B share eigenvectors (for example, if they commute). σx, σy and σz each have eigenvalues ±1, but σx+σy+σz has eigenvalues ±3, not ±3. What always adds is the trace: tr(A+B)=trA+trB.

5. Functions of a matrix and Cayley-Hamilton

If Av→=λv→, then A2v→=λ2v→, A−1v→=λ−1v→, and for any polynomial or power series f:

f(A)v→=f(λ)v→

So the eigenvalues of f(A) are f(λi), with the same eigenvectors. This turns many “compute this big matrix” questions into arithmetic:

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

  1. Eigenvalues of A2+I: 2,5,10. Determinant: 2×5×10=100.
  2. Eigenvalues of A−1: 1,12,13. Trace: 116.

Two famous consequences: det⁡(eA)=etrA for every square matrix, and eθJ=Icos⁡θ+Jsin⁡θ when J2=−I (the rotation matrix comes out of the exponential, just as eiθ=cos⁡θ+isin⁡θ).

Cayley-Hamilton theorem: every matrix satisfies its own characteristic equation. For a 2×2 matrix,

A2−(trA)A+(det⁡A)I=0

so any power of A can be reduced to a combination of A and I. For A=(1234) (trace 5, det −2): A2=5A+2I, and then A3=5A2+2A=27A+10I.

Two more shortcuts for powers: a nilpotent part stops the series early ((1101)10=(11001) because N2=0), and a diagonalisable matrix gives An=PDnP−1.

Physics example: normal modes. Two equal masses between three equal springs obey mx→¨=−k(2−1−12)x→. The eigenvectors (1,1) and (1,−1) are the two normal modes (moving together, moving opposite); the eigenvalues 1 and 3 give ω2=k/m and 3k/m. See it move in fibub’s coupled oscillators tool, and check any matrix with the matrix calculator or the matrix transform tool.

  • (AB)T=BTAT, (AB)−1=B−1A−1, det⁡(kA)=kndet⁡A. A matrix is invertible exactly when its determinant is non-zero.
  • Eigenvalues solve det⁡(A−λI)=0; for 2×2, λ2−(trA)λ+det⁡A=0. Their sum is the trace and their product the determinant.
  • Triangular: eigenvalues on the diagonal. A repeated eigenvalue may have only one eigenvector (then no diagonalisation).
  • Hermitian and real symmetric: real eigenvalues, orthogonal eigenvectors. Unitary and orthogonal: eigenvalues of modulus 1. Antisymmetric: 0 or imaginary. Projection: 0 or 1.
  • The eigenvalues of f(A) are f(λ); det⁡eA=etrA. Cayley-Hamilton: A2=(trA)A−(det⁡A)I for 2×2.
  • Eigenvalues of a sum do not add (unless the matrices commute); traces always do.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the matrices practice page.

Before this: lesson 1.7, differential equations. Next: lesson 1.9, complex numbers. Eigenvalues come back in coupled oscillations, rigid-body rotation and all of quantum mechanics. For GATE and CSIR NET, continue with Hermitian and unitary matrices and diagonalisation in the GATE Physics course.

Check yourself

1A 3 × 3 matrix has eigenvalues 2, −1 and 3. What is its determinant?
2Which kind of matrix always has real eigenvalues?
3If A has eigenvalue λ with eigenvector v, what is an eigenvalue of A² + 3A?

Sources

  • M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 3
  • G. Strang, Introduction to Linear Algebra, 5th ed. (2016), chapters 5 and 6
  • G. B. Arfken, H. J. Weber and F. E. Harris, Mathematical Methods for Physicists, 7th ed. (2013), chapter 6
  • IIT JAM Physics syllabus (Mathematical Methods section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.