Equicorrelation covariance matrix 2026-10-14
This unit-variance covariance matrix has eigenvalue on the constant-vector direction and eigenvalue on its orthogonal complement. It is positive semidefinite exactly when . For positive , the first population principal component is the normalized sum of the centered variables.
Explained variance of a principal component 2026-10-14
A population principal component explains the displayed fraction of total variance. The first components explain . Comparing covariance and correlation analyses requires different denominators: the original variance sum for the former and the number of nonconstant standardized variables for the latter.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 3 a Solution Created 2026-10-03 Updated 2026-10-14
Principal component analysis replaces the original coordinates by orthogonal linear combinations, ordered so that the first few retain as much variance as possible. It gives a lower-dimensional summary for visualization or compression and reveals the main directions of variation. A direction of large variance need not be the direction most useful for classification.
Write . For a unit vector , the centered score has varianceMaximizing this Rayleigh quotient with a Lagrange multiplier givesThus a maximizing direction must be an eigenvector of the covariance matrix. To identify the maximum, use the spectral theorem for real symmetric matrices to choose an orthonormal basis of eigenvectors , with eigenvalues . Writing givesEquality is attained at . Consequently the first population principal component isFor each subsequent principal component, maximize the same variance over unit coefficient vectors orthogonal to all the previously chosen ones. Restricting the expansion above to the remaining eigenvectors gives , then , and so on. ThusThe principal components are uncorrelated; they need not be independent unless additional distributional assumptions, such as joint Gaussianity, hold. Their total variance is . Signs of eigenvectors are arbitrary, and a repeated eigenvalue permits any orthonormal basis in its eigenspace. In sample principal component calculations, replace by the sample mean and by the sample covariance matrix.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 47 3 a Solution Created 2026-10-03 Updated 2026-10-14
Principal component analysis replaces correlated measurements by uncorrelated linear compounds ordered by decreasing variance. Keeping the leading compounds gives a low-dimensional summary that preserves as much variance as possible under orthonormal projection. It is an unsupervised description of variation, rather than a guarantee that the high-variance directions are best for classification or prediction.
Write . For a unit loading vector , the variance of is . The spectral theorem gives an orthonormal eigenbasis with eigenvalues . If and , thenEquality is attained at . Requiring the next loading to be orthogonal to the first excludes its eigendirection, so the same argument gives and variance , and continues inductively. Repeated eigenvalues permit any orthonormal basis of the tied eigenspace. These are the population principal components.
With , set . ThenIn particular the components are uncorrelated. They need not be independent unless, for example, is multivariate normal. FinallyThe trace equality follows from and cyclicity of trace, so the rotation preserves total variance. The explained variance of a principal component is its eigenvalue divided by this total.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 47 3 b Solution Created 2026-10-03 Updated 2026-10-14
The given equicorrelation covariance matrix can be writtenOn , the rank-one matrix acts as multiplication by four. On the three-dimensional orthogonal complement it acts as zero. Hence the eigenvalues are and with multiplicity three.
For , the largest eigenvalue is and its normalized eigenvector is . Therefore the first population principal component isOmitting the centering merely changes the component by a constant and has no effect on its variance. Since , its explained fraction isIt rises from one quarter towards one as the positive common correlation increases. Outside the specified range, a valid covariance requires ; for negative the sum direction is no longer the leading one.
Population principal component 2026-10-14
The population principal components are centered linear compounds along an orthonormal eigenbasis of the covariance matrix, ordered by decreasing eigenvalue. They are uncorrelated and have variances . Each successive direction maximizes variance subject to unit length and orthogonality to earlier directions. Uncorrelatedness does not imply independence unless additional distributional assumptions hold.