Module 22 · 9 min read · Free chapter
Matrices, eigenvalues and tensors: matrix algebra, special matrices, eigenvalue problems, diagonalisation, Cayley-Hamilton theorem, Cartesian tensors
Start from zero: arrows that keep their direction
Stretch a rubber sheet with a grid drawn on it. Most arrows on the sheet change both length and direction. But a few special directions only get longer or shorter without turning. Those directions are the eigenvectors of the stretching, and the stretch factors are the eigenvalues.
Eigenvalue problems turn up everywhere in physics. The allowed energies of an atom are eigenvalues of the Hamiltonian (Schrödinger equation). The natural frequencies of a bridge or a molecule come from the same mathematics, and so do the principal axes of a spinning body.
Matrix algebra and special matrices
An m × n matrix is a rectangular array . The product has and in general : the commutator is central to quantum mechanics.
Inverse. , which exists only when (non-singular). Also and .
Trace , with .
| Type | Definition | Eigenvalues | Physics example |
|---|---|---|---|
| symmetric | real | inertia tensor, stiffness matrix | |
| orthogonal | modulus 1 (det = ±1) | rotation matrices | |
| Hermitian | real | observables: H, Pauli matrices | |
| anti-Hermitian | purely imaginary | iH, generators of rotations | |
| unitary | modulus 1 | {time evolution |
Here is the conjugate transpose.
Rotation matrix about the z-axis by angle θ:
It is orthogonal with determinant +1. Its trace is the same in every basis, which gives a quick way to read the rotation angle.
Pauli matrices:
They are Hermitian, unitary and traceless, with and (spin half).
Linear equations. has a unique solution when . The rank (number of independent rows) decides consistency when A is singular.
Eigenvalues, eigenvectors and diagonalisation
A non-zero vector is an eigenvector of A with eigenvalue λ if . Then has a non-zero solution only if
the characteristic equation, a polynomial of degree n.
Useful checks:
- and .
- Eigenvalues of a triangular matrix are its diagonal entries.
- Eigenvalues of are , and of are .
Worked example. . Characteristic equation gives λ = 1, 3 (sum 4 = trace, product 3 = det). For λ = 3: ; for λ = 1: . They are orthogonal, as expected for a symmetric matrix.
Theorem: Hermitian matrices have real eigenvalues and orthogonal eigenvectors.
Proof. Let . Then . Taking the conjugate transpose and using gives . Since , , so λ is real.
For two eigenvectors with : and also . So , giving . This is why measured quantities in quantum mechanics are real and different eigenstates are orthogonal.
Diagonalisation. If A has n independent eigenvectors, put them as columns of P. Then
A real symmetric matrix is diagonalised by an orthogonal P (a rotation to principal axes), and a Hermitian matrix by a unitary U. Then and , used for the time-evolution operator.
Similar matrices () share eigenvalues, trace and determinant, because these do not depend on the basis.
Cayley-Hamilton theorem and applications
Cayley-Hamilton theorem. If the characteristic polynomial of A is , then .
Worked example. For : . So . Multiplying by : , giving
Higher powers follow too: , and so on.
Coupled oscillators. Two equal masses m joined to walls and to each other by springs of constant k obey with
Trying gives the eigenvalue problem , so (masses in phase, eigenvector (1, 1)) and (out of phase, eigenvector (1, −1)). These normal modes are the eigenvectors; any motion is a mix of them. The same method gives vibration frequencies of CO₂ and of buildings in earthquakes.
Least squares and inversion. For an overdetermined system (more data than unknowns), minimising gives the normal equations
When is nearly singular, geophysicists use singular value decomposition . The ratio of largest to smallest singular value is the condition number; damped (Marquardt-Levenberg) inversion adds to stabilise it (least-squares fitting).
Cartesian tensors
Some physical quantities link two vectors in a way that depends on direction. In a crystal, current density need not be parallel to the electric field: (summation over repeated indices). The nine numbers form a second-rank tensor.
Definition by transformation. Under a rotation of axes (with orthogonal):
- scalar (rank 0): , 1 component;
- vector (rank 1): , 3 components;
- rank 2: , 9 components;
- rank n: components, each index transforming like a vector.
Special tensors.
- Kronecker delta (1 if i = j, else 0): an isotropic rank-2 tensor, the same in every frame.
- Levi-Civita symbol (+1 for even permutations of 123, −1 for odd, 0 if any index repeats): .
- Identity: , which proves every "BAC minus CAB" vector identity in one line.
Operations. Adding tensors of the same rank; outer product (rank adds: is rank 2); contraction (setting two indices equal and summing lowers the rank by 2: is a scalar, the trace).
Quotient rule. If is a vector for every vector , then is a tensor of rank 2.
Physical tensors:
| Tensor | Relation | Where |
|---|---|---|
| {inertia | inertia } | |
| {stress | stress } | force per area on face j along i |
| {strain | strain } | |
| conductivity, permittivity | , | anisotropic crystals |
| {elastic stiffness (rank 4) | elastic stiffness (rank 4)} |
Inertia tensor: . It is symmetric, so it can be diagonalised; its eigenvectors are the principal axes, along which is parallel to (moment of inertia). For an isotropic elastic solid, reduces to two Lamé constants λ and μ, which set the P-wave and S-wave speeds used in seismology.
Mains lens: how UPSC asks this
Matrices appear in quantum mechanics (Pauli matrices, Hermitian operators), rigid-body questions (inertia tensor, IFoS) and coupled oscillators in the CSE and IFoS papers. Geo-Scientist Geophysics asks eigenvalues, tensors and least-squares inversion directly (B1 and A4).
Expect:
- Find eigenvalues and eigenvectors of a 2 × 2 or 3 × 3 matrix and diagonalise it (10 marks).
- Prove that a Hermitian matrix has real eigenvalues and orthogonal eigenvectors.
- Verify the Cayley-Hamilton theorem and find .
- Show that is an isotropic tensor, or that gives the cross product.
- Find normal modes of two coupled pendulums.
Model answer plan: "Find the eigenvalues and normalised eigenvectors of and diagonalise it." (10 marks).
- Characteristic equation and roots 1, 3; check with trace and determinant.
- Eigenvectors and , orthogonal.
- Form orthogonal P from them; show .
- Remark: a 45° rotation to principal axes, as for coupled oscillators.
Quick revision
- Hermitian: real eigenvalues, orthogonal eigenvectors; unitary: eigenvalues of modulus 1.
- ; sum λ = trace, product λ = det; .
- Cayley-Hamilton: , gives and powers.
- Normal modes = eigenvectors; two coupled masses: , .
- Least squares ; SVD and damping for ill-conditioned inversion.
- Rank-n tensor: components; , ; inertia, stress, strain, .