Key points, notes and past questions
Eigenvalues and Diagonalisation
Eigen-pairs, trace, determinant and rank: every later topic computes with them.
- Finding eigenvalues and eigenvectors
- $Av=\lambda v$ with $v\ne0$.
- $\det(A-\lambda I)=0$ gives the eigenvalues.
- Eigenvectors are fixed only up to a non-zero multiple.
- Triangular matrices show eigenvalues on the diagonal.
- Trace and determinant
- Trace = sum, determinant = product.
- $\det(cA)=c^n\det A$.
- $aa^T$ has eigenvalues $\lVert a\rVert^2$ and zeros.
- $\operatorname{tr}(AA^T)$ is the sum of squared entries.
- Rank, nullity and invertibility
- Singular $\iff$ 0 is an eigenvalue.
- rank + nullity = number of columns.
- Singular and non-diagonalisable are unrelated.
- $A^TA$ and $A$ have the same rank.
- Diagonalisation
- Diagonalisable needs $n$ independent eigenvectors.
- Distinct eigenvalues are enough.
- Hermitian: $A=U\Lambda U^*$.
- Check with $AP=PD$.
Notes10 past questions in this topic
Complex Matrices and Schur Form
Conjugate transpose, Hermitian and unitary matrices and the Schur form. SVD later needs unitary bases.
- Conjugate transpose and orthonormal vectors
- $A^*$ means transpose, then conjugate; $(AB)^*=B^*A^*$.
- $\lVert x\rVert^2=x^*x=\sum\lvert x_k\rvert^2$.
- Eigenvalues of $A^*$ are the conjugates of those of $A$.
- Orthonormal columns means $Q^*Q=I$.
- Testing for Hermitian
- Hermitian: $a_{kj}=\overline{a_{jk}}$.
- The diagonal must be real.
- Real symmetric matrices are Hermitian; complex symmetric ones need not be.
- $x^*Ax$ is real for every $x$.
- Eigenvalues of Hermitian matrices
- Hermitian eigenvalues are real.
- Different eigenvalues give orthogonal eigenvectors.
- $A=U\Lambda U^*$ always exists.
- A polynomial equation for $A$ restricts every eigenvalue.
- Unitary matrices
- Unitary: $U^*U=I$, so $U^{-1}=U^*$.
- $\lVert Ux\rVert=\lVert x\rVert$ for every $x$.
- Every eigenvalue has $\lvert\lambda\rvert=1$, and $\lvert\det U\rvert=1$.
- For $\tfrac1kM$: columns of $M$ orthogonal, then $\lvert k\rvert^2$ = column length squared.
- Sums, products and matrices in both families
- Products of unitaries are unitary; sums usually are not.
- Sums of Hermitians are Hermitian; products need $AB=BA$.
- Hermitian and unitary means $A^2=I$ and eigenvalues $\pm1$.
- Such a matrix need not be diagonal.
- Unitary diagonalisation and Schur form
- Normal $\iff$ unitarily diagonalisable.
- Schur works for every square matrix.
- The diagonal of $T$ holds the eigenvalues.
- $T$ is not unique; a triangular $A$ is already a Schur form of itself.
Notes28 past questions in this topic
Quadratic Forms and Definiteness
The matrix of a form and its definiteness. Covariance, AᵀA and the Hessian test depend on it.
- From polynomial to matrix
- $a_{ii}$ is the coefficient of $x_i^2$.
- Off-diagonal entries are half the cross coefficients.
- Only the symmetric part of a matrix affects $x^TAx$.
- Testing definiteness
- Symmetrise first.
- PD $\iff$ all eigenvalues positive $\iff$ all leading minors positive.
- ND: leading minors alternate, starting negative.
- Leading minors $\ge0$ do not prove PSD.
- Properties and Gram matrices
- $x^TA^TAx=\lVert Ax\rVert^2\ge0$.
- $A^TA$ is PD exactly when the columns of $A$ are independent.
- PD implies invertible, with a PD inverse.
- Singular values are never negative.
- Semidefinite forms and extrema
- $Q(tx)=t^2Q(x)$.
- PSD: minimum 0, no maximum unless $Q\equiv0$.
- NSD: maximum 0, no minimum unless $Q\equiv0$.
- On the unit sphere, extremes are the extreme eigenvalues.
Notes18 past questions in this topic
Week 4: Linear Algebra - Eigenvalues and eigenvectorsWeek 6: Linear Algebra - Singular value decomposition, Principal Component Analysis in Image ProcessingAll MLF topics and weeks