

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


The structures behind least squares, transformations and PCA Mathematics and Statistics | Undergraduate (Level 4) | December 2026
WHAT IS INSIDE
A vector space is a set closed under vector addition and scalar multiplication, satisfying the eight axioms. Span is the set of all linear combinations of a collection of vectors; a basis is a linearly independent spanning set, and the number of vectors in it is the dimension. A set is linearly dependent if some non-trivial combination equals zero, which is equivalent to one vector being expressible in terms of the others - the standard test in exam questions.
A subspace must contain the zero vector and be closed under both operations. For a matrix, the column space is the span of its columns, the null space is the set of vectors mapped to zero, and the rank is the dimension of the column space. The rank-nullity theorem states that rank plus nullity equals the number of columns, which links solvability of a linear system to the dimension of its solution set.
A matrix represents a linear transformation relative to chosen bases; matrix multiplication is composition of transformations, which is why it is not commutative. Gaussian elimination reduces a system to row echelon form, and the number of pivots gives the rank. Elementary matrices encode row operations, which is the mechanism behind both the inverse algorithm and LU factorisation.
Special matrices carry structure worth recognising: symmetric (A equals its transpose) has real eigenvalues and orthogonal eigenvectors; orthogonal matrices preserve length and angle; positive definite matrices have all positive eigenvalues and define a bowl-shaped quadratic form. Change of basis conjugates a matrix, and choosing the right basis - for instance the eigenvector basis - simplifies the transformation to a diagonal one.
The determinant measures the scaling factor of volume under the transformation and is zero exactly when the matrix is singular. It satisfies det(AB) equals det(A)det(B), det(A^T) equals det(A), and a row swap changes the sign. Cofactor expansion computes it by hand; row reduction is faster for larger matrices if you track the operations that scale the determinant.
The inverse exists if and only if the determinant is non-zero, and then A inverse equals the adjugate divided by the determinant. For solving systems, the inverse is rarely the right tool computationally: Gaussian elimination is cheaper and more numerically stable. The invertible matrix theorem collects the equivalences - non-zero determinant, full rank, trivial null space, columns forming a basis - and is the most efficient way to answer 'which of these is equivalent'.
An eigenvector of A is a non-zero vector whose direction is unchanged by the transformation, and its eigenvalue is the scale factor: Av equals lambda v. They are found from the characteristic polynomial det(A - lambda I) = 0. The trace equals the sum of eigenvalues and the determinant their product, which is a quick check on any computation and often a shortcut in exam questions.
Diagonalisation A = PDP inverse turns powers into powers of eigenvalues, which solves difference equations and systems of differential equations. Principal component analysis takes the eigenvectors of the covariance matrix as the directions of greatest variance, so the largest eigenvalue identifies the first component. Least squares solves the normal equations A^T A x = A^T b, and the projection interpretation is what an examiner wants to see rather than a formula alone.
For computation questions, show the row operations and the pivot positions. The method carries most of the marks; a correct final answer with no working is usually awarded a fraction.