Gradient LabSign up free

Home / GATE DA / 2025 / Q.60

GATE DA 2025, Q.60: Variance along the top principal direction

Machine learningPCA variance2 marksNumerical answerFree

The question

Data x(1), …, x(n) in ℝ¹⁰⁰ have mean zero, and the covariance eigenvalues are λᵢ = 100^(2 − i), i = 1..100. u is the unit direction of maximum variance. Find (1/n) Σ (uᵀx(i))².

Watch it solved

Solve it step by step

  1. Zero mean. (1/n) Σ (uᵀx)² is the variance along u, uᵀCu.
  2. Best direction. It is maximised by the top eigenvector, giving the largest eigenvalue.
  3. Largest. λ₁ = 100^(2 − 1) = 100.

Answer: 100

Official IIT Roorkee answer key: 100.

Common mistake. Summing all eigenvalues (total variance) instead of taking the largest.

Remember. Variance along unit u = uᵀCu, maximised at λ_max.

See it move

Learn the idea behind this question in the free animated lesson PCA, then Mean, variance and the normal curve.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.