Covariance Matrices & Eigen Decomposition - Statistics Graduate Level
- Three standardized random variables have pairwise correlations and , where . What is the largest value of for which these correlations can define a valid correlation matrix? Answer: When you encounter a question about valid correlation structures, your first instinct should be to think about positive semi-definiteness. A correlation matrix is valid if and only if it is positive semi-definite (PSD), meaning all its eigenvalues must be non-negative. The correlation matrix for with the given structure is: For to be PSD, its determinant must be non-negative (a necessary condition that is also sufficient here alongside checking leading minors). Computing: Setting gives , so . This confirms answer B is correct — the largest valid is exactly . As for the distractors: A () is a valid correlation but is not the maximum — larger values up to are also achievable, so it fails the "largest" criterion. C () yields , making the matrix invalid. D () would force almost surely, directly contradicting . Study tip: Whenever a question asks for the feasible range of a correlation parameter, immediately write out the correlation matrix and apply the PSD conditions — start with the determinant, then check all leading principal minors.
- Which expression gives the first standardized principal-component score in terms of the original variables, together with its variance? Answer: The score is , and its variance is . When PCA is performed on standardized variables, you're working with the correlation matrix, not the original covariance matrix. The standardized variables are and (dividing by the standard deviations and ). The correlation between them is , giving correlation matrix . The eigenvalues of are and . The first eigenvector (for ) is . The first standardized principal component score is therefore , with variance equal to the eigenvalue . This confirms A is correct. B is wrong because it uses and directly without standardizing — it treats the original variables as if they already had unit variance. C applies the correct coefficients but uses a minus sign, corresponding to the second eigenvector (for ), not the first. D swaps the denominators — it divides by and by , reversing which standard deviation belongs to which variable. Study tip: Always remember that standardized PCA operates on the correlation matrix , not . Translate eigenvector scores back to original variables by dividing each by its own standard deviation — mixing up those denominators is the most common trap here.
- What are the largest eigenvalue and a corresponding unit eigenvector of the covariance matrix after adding the calibration error? Answer: The eigenvalue is , with eigenvector . When a rank-1 perturbation is added to a covariance matrix, you need to find the new eigenstructure. The updated covariance matrix is , where . Since , the perturbation mixes only the and subspace — the direction is unaffected, retaining eigenvalue 1. To find the new eigenvalues in the subspace, express restricted to that subspace. The original part contributes the diagonal matrix , and contributes . So the restricted matrix is . Its eigenvalues satisfy , giving , so or . For : , normalized to . This confirms answer B — eigenvalue 9 with eigenvector . Choice A assumes the perturbation direction itself is an eigenvector, but rank-1 updates to matrices with unequal existing eigenvalues generally rotate the eigenvectors. Choice C guesses remains an eigenvector, which fails once off-diagonal coupling is introduced. Choice D picks the correct functional form but wrong coefficients — the eigenvector for is , not for the largest eigenvalue. When you see a rank-1 update, always restrict the problem to the affected subspace and solve a small eigenvalue problem there — this avoids dimension-bloat and reveals exactly how eigenvectors rotate.
- As the relative orientation of their eigenvectors varies, what is the full possible range of the largest eigenvalue of ? Answer: The range is from through . When two symmetric matrices share the same eigenvalues but have different eigenvectors, their sum's eigenvalues depend critically on how their principal axes are aligned. This is a question about the Weyl inequalities and the geometry of eigenvalue addition. Start by noting that each has trace , so always has trace . This means the two eigenvalues of the sum always add to , so finding the largest eigenvalue tells you both. When eigenvectors are aligned, both matrices are simultaneously diagonalizable. The largest eigenvalue of the sum is simply , and the smallest is . This is the maximum possible for the largest eigenvalue. When eigenvectors are orthogonal (rotated relative to each other), one matrix "spreads" variance in the direction the other "compresses" it. You can verify explicitly: if and has its large eigenvector along the second axis, then , giving largest eigenvalue . This is the minimum. By continuity, as orientation varies continuously between these extremes, the largest eigenvalue achieves every value in , making D correct. A is wrong because it sets the lower bound at , which is impossible — the sum of two positive definite matrices must have eigenvalues larger than either individual matrix's minimum. B incorrectly claims the eigenvalues are always maximally aligned. C correctly identifies the minimum but wrongly claims it's the only possibility. Remember: for eigenvalue problems involving sums of matrices, trace constraints give you sum of eigenvalues for free, and extreme orientations (parallel vs. orthogonal eigenvectors) give you the range endpoints.
- For , which transformation both gives and makes the th component of a rescaled projection onto the th eigenvector? Answer: When whitening a random vector, you need a transformation such that . The spectral decomposition gives you everything you need — but the order of operations matters critically. Choice A, , is correct. Verify it: . Crucially, the th component of is — a rescaled projection of onto the th eigenvector . This is precisely the PCA score, normalized to unit variance. Choice B, , is the symmetric whitening (Mahalanobis) transform. While holds here too, the components of are not projections onto individual eigenvectors — they're linear combinations of all eigenvectors, failing the second requirement. Choice C, , reverses the order of and . Computing yields , which does not simplify to because and don't commute. Choice D, , uses instead of , which would amplify variance rather than normalize it, giving . Your strategy: always verify whitening candidates by computing explicitly, and separately check whether components correspond to individual eigenvector projections — both conditions must hold simultaneously.
- Along the eigenvector associated with the smallest eigenvalue of , what is the ratio of the sampling variance of the ridge coefficient to that of the ordinary least-squares coefficient? Answer: The variance ratio is . When comparing ridge and OLS variance along a specific eigendirection, the key is to work in the eigenspace of and track how each estimator scales the signal. For OLS, the covariance matrix is . Along an eigenvector with eigenvalue of , the OLS variance is . For ridge, the covariance is , giving variance along that same eigenvector. The variance ratio (ridge to OLS) is therefore: Now plug in the numbers. The smallest eigenvalue of is , and , so the corresponding eigenvalue of is . With : This confirms C is correct. Choice A () has no algebraic basis here — it might tempt you if you mistakenly take a cube rather than square. Choice B () is the ratio , which is only one factor of the correct squared expression — a common half-finished calculation error. Choice D () results from squaring the wrong base ratio, perhaps computing directly without correctly forming . Study tip: Always derive the ridge variance formula from scratch using the sandwich form — memorizing only the OLS formula and forgetting the extra in the numerator is the most frequent trap on problems like this.
- How many zero eigenvalues does the sample covariance matrix have? Answer: It has exactly zero eigenvalues because centering leaves rank . Whenever you see a question about eigenvalues of a sample covariance matrix, your first instinct should be to think about rank, not about the divisor or the population's properties. Here's the key chain of reasoning. You start with observations in dimensions. Stack these into a data matrix of size . Before centering, this matrix has rank at most . When you subtract the sample mean, you project the rows onto a subspace orthogonal to the all-ones vector, which reduces the row rank by exactly 1. So the centered data matrix has rank at most . The sample covariance matrix , where is the centered matrix, is an matrix with rank at most . By the rank-nullity theorem, a rank-4 matrix in has a null space of dimension , meaning exactly 4 zero eigenvalues. This confirms answer B. Choice A incorrectly uses the rank of the uncentered data matrix (rank 5), forgetting that centering costs one additional rank. Choice C confuses the denominator — that's just a scalar rescaling and has absolutely no effect on the number of zero eigenvalues. Choice D is a tempting trap: continuity of the population distribution guarantees the population covariance matrix is positive definite, but the sample covariance matrix is constrained by the geometry of finitely many observations, not the population. Remember: for sample covariance matrices, always think , and zero eigenvalues .
- For the generalized eigenproblem , which pair gives the nonzero generalized eigenvalue and a corresponding direction? Answer: The eigenvalue is , with direction proportional to . When you encounter a generalized eigenproblem in LDA, the key insight is that you can convert it to a standard eigenproblem by computing , then find eigenvalues and eigenvectors normally. Here, and , so: Since is rank-1, there is exactly one nonzero eigenvalue. The trace gives . For the eigenvector, solve : the system gives , so , yielding direction . This confirms answer A is correct. Answer B is tempting because is the mean-difference vector itself, but the LDA direction is , not . Plugging into the eigenproblem, , which is not a scalar multiple of , so it fails. Answer C uses direction with eigenvalue 1 — neither checks out against . Answer D offers a scaled version of with a fractional eigenvalue, which is simply numerically inconsistent with the trace calculation. A useful habit: always verify a candidate eigenpair by checking directly — it takes seconds and eliminates traps built around plausible-looking but incorrect directions.
- What are the eigenvalues of the conditional covariance matrix of given ? Answer: The conditional eigenvalues are and . When you see a question about conditional distributions in a jointly Gaussian setting, your first instinct should be the standard Gaussian conditioning formula. For a jointly Gaussian vector, the conditional covariance of given is: Here, , , and . Plugging in: The eigenvalues of are and , confirming answer D. Choice A (eigenvalues 3 and 1) corresponds to the eigenvalues of the unconditional , forgetting to subtract the correction term entirely. Choice B (eigenvalues 3/2 and 1/2) is a subtle trap: these are the diagonal entries of , which students sometimes confuse for eigenvalues — a common mistake when the matrix isn't diagonal. Choice C (eigenvalues 2 and 0) likely arises from incorrectly computing the correction term, perhaps treating as the full original matrix. As a study tip: always distinguish between diagonal entries and eigenvalues. For a symmetric matrix , eigenvalues are and — memorize this pattern to avoid the trap in choice B.
- Which statement correctly describes the leading principal-component eigenspace? Answer: It is the three-dimensional contrast space orthogonal to , with eigenvalue . When you encounter a question about PCA on an exchangeable correlation matrix, your first move should be to find the eigenvalues analytically using the known structure of . This matrix has exactly two distinct eigenvalues. The vector is an eigenvector with eigenvalue . Any vector orthogonal to (a "contrast vector") is an eigenvector with eigenvalue . Plugging in : Since , the leading principal component corresponds to , whose eigenspace is the three-dimensional space of all vectors orthogonal to — the contrast space. That confirms C is correct. Answer A gets the eigenspace wrong — it claims spans the leading component — and assigns it , which is actually the contrast eigenvalue. Answer B correctly identifies that has eigenvalue , but calling it the leading component is the critical error; it's actually the smallest eigenvalue here. Answer D correctly identifies the contrast space but assigns it the wrong eigenvalue, instead of . The key study tip: with negative , the roles of and the contrast space flip compared to the positive- case. Always compute both eigenvalues before deciding which dominates.