Skip to content
GATEiit

GATE DA 2025 Q60: PCA: variance along the top principal direction

Question

Let D={x(1),…,x(n)}D = \{x^{(1)}, \ldots, x^{(n)}\} be a dataset of nn observations where each x(i)∈R100x^{(i)} \in \mathbb{R}^{100}. It is given that ∑i=1nx(i)=0\sum_{i=1}^{n} x^{(i)} = 0. The covariance matrix computed from DD has eigenvalues λi=1002−i\lambda_i = 100^{2-i}, 1≤i≤1001 \le i \le 100. Let u∈R100u \in \mathbb{R}^{100} be the direction of maximum variance with u⊤u=1u^{\top}u = 1.

The value of

1n∑i=1n(u⊤x(i))2=____\frac{1}{n} \sum_{i=1}^{n} \left(u^{\top}x^{(i)}\right)^2 = \_\_\_\_

(Answer in integer)

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 100 (official GATE 2025 final answer key)

Concept used: The variance along the first principal direction equals the largest eigenvalue of the covariance matrix.

First step: With zero-mean data, 1n∑(u⊤x(i))2=u⊤Σu\frac{1}{n}\sum (u^{\top}x^{(i)})^2 = u^{\top}\Sigma u, which is maximised by the top eigenvector. List the eigenvalues: λ1=1001\lambda_1 = 100^{1}, λ2=1000\lambda_2 = 100^{0}, and so on.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2025 DA question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key