Solution

ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2024/paper-1/e8/b/solution

Place observations in rows of the data matrix . Since the coordinate sample means are zero, the Gram matrix of its columns is
The sample covariance matrix is ; using divisor three instead changes eigenvalues by a common factor and leaves principal component loadings unchanged. For , the characteristic polynomial is
For the larger eigenvalue , the eigenvector equation gives , so . Normalize to unit Euclidean norm and choose . An orthogonal unit eigenvector for is . Therefore
The sample variances of these principal components are and , respectively. Their principal component scores for observations are
Either eigenvector may be multiplied by without changing its principal component direction or its variance. No coordinate standardization is applied here: that would instead be principal component analysis on a correlation matrix.

New to topics? Read the docs here!