Singular Value Decomposition and Principal Component Analysis Practice Questions for GATE DA
Solve 104+ Singular Value Decomposition and Principal Component Analysis practice questions for GATE DA with answers and detailed solutions. Free sample quest
Try a question
Answer it here to see how it works. Nothing is recorded until you sign in.
Question 1
Level 1: Warm-up
In Principal Component Analysis (PCA), the first principal component is defined as the direction that:
Question 2
Level 1: Warm-up
If v is an eigenvector of the covariance matrix C with corresponding eigenvalue λ, what is the variance of the data along the direction v (assuming v is normalized)?
Question 3
Level 1: Warm-up
In Principal Component Analysis, if a unit vector u is constrained to be orthogonal to the first principal component, what is the maximum possible variance of the data projected onto u?
Question 4
Level 1: Warm-up
Consider the following assertion and reason:
Assertion (A): If u=[34] and M=uuT, the sum of the singular values of M is 25.
Reason (R): The only non-zero singular value of uuT is constructed by taking the squared Euclidean norm of u.
Question 5
Level 1: Warm-up
Consider the following assertion and reason:
Assertion (A): If u=221 and M=uuT, the sum of the singular values of M is 3.
Reason (R): The only non-zero singular value of uuT equals ∥u∥2.
Question 6
Level 1: Warm-up
Let C be the covariance matrix of a dataset, and let w be a unit vector. Which expression represents the variance of the data when projected onto the direction w?
Question 7
Level 1: Warm-up
A centered dataset in Rd has a covariance matrix with eigenvalues given by λi=80⋅(1/2)i for i=1,2,…,d. What is the maximum possible variance of the data when projected onto any single unit direction?
Question 8
Level 1: Warm-up
To find the direction u that maximizes the variance uTCu, we must optimize this quadratic form subject to which constraint?
Question 9
Level 1: Warm-up
A dataset has a covariance matrix with eigenvalues 50, 30, and 20. What proportion of the total variance is captured by the first two principal components?
Question 10
Level 1: Warm-up
Let a and b be vectors in R3 such that ∥a∥≤2 and ∥b∥≤3. What is the maximum possible value of the largest singular value of the matrix A=abT?
Free preview ends here
Login to view the complete practice questions and solutions
Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.
Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.
Built around you, not around a syllabus PDF
Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.
Revision that hits your weak spots
We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.
Questions calibrated to the real exam
Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.
Notes written for recall, not for volume
Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.
One place for everything
Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.
Honest progress
No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.
Unlock the whole course
Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.
Singular Value Decomposition and Principal Component Analysis Practice Questions for GATE DA
Solve 104+ Singular Value Decomposition and Principal Component Analysis practice questions for GATE DA with answers and detailed solutions. Free sample questions below.
Chapter Roadmap: SVD and PCA
Orientation
Chapter Roadmap: SVD and PCA
Matrix Decompositions, with the current stop on PCA eigenvalues and the direction of maximum variance.
1
Current topic: PCA Eigenvalues and Maximum Variance Direction
Core idea: covariance eigenvalues measure variance along principal directions.
Goal: identify the direction that captures maximum variance.
Exam focus: direct use of the largest eigenvalue and the quadratic form.
Goal: connect singular values to rank-one constructions.
Exam focus: singular values of structured matrices.
The Goal: Finding the Direction of Maximum Spread
Concept
The Goal: Finding the Direction of Maximum Spread
Geometric Meaning
A centered data cloud can be spread differently along different directions. Principal Component Analysis asks:
Which unit direction keeps the largest spread when all points are projected onto it?
That direction is called the first principal component.
Algebraic Translation
If Σ is the covariance matrix of centered data, then the best direction is an eigenvector of Σ.
Σv=λv
The direction with the largest variance is the eigenvector corresponding to
λmax
Key Mapping
Geometry
Linear Algebra
Direction of projection
Unit vector u
Spread along that direction
uTΣu
Best direction
Eigenvector for λmax
Variance kept there
λmax
Singular Value Decomposition and Principal Component Analysis: Solved Questions with Step-by-Step Explanations (10 Problems)
Question 1 · Linear AlgebraMCQ
In Principal Component Analysis (PCA), the first principal component is defined as the direction that:
A.
Minimizes the reconstruction error of the data
B.
Maximizes the variance of the projected data
C.
Minimizes the trace of the covariance matrix
D.
Maximizes the determinant of the covariance matrix
Correct Answer:
B
Step-by-Step Solution
Key idea: This is a definition-based question about the primary objective of PCA.
Step 1: Recall that PCA seeks to find orthogonal directions (principal components) that capture the most information in the data.
Step 2: Information in this context is measured by variance. The first principal component is specifically the unit vector u that maximizes the variance of the data when projected onto it.
Answer: Maximizes the variance of the projected data.
Question 2 · Linear AlgebraMCQ
If v is an eigenvector of the covariance matrix C with corresponding eigenvalue λ, what is the variance of the data along the direction v (assuming v is normalized)?
A.
λ2
B.
λ
C.
λ
D.
1/λ
Correct Answer:
C
Step-by-Step Solution
Key idea: This question connects the spectral decomposition of the covariance matrix to statistical variance.
Step 1: The variance along a direction v is vTCv.
Step 2: Since v is an eigenvector, Cv=λv.
Step 3: Substitute this into the variance formula: vT(λv)=λ(vTv).
Step 4: Since v is normalized, vTv=1. Thus, the variance is λ.
Answer: λ
Question 3 · Linear AlgebraMCQ
In Principal Component Analysis, if a unit vector u is constrained to be orthogonal to the first principal component, what is the maximum possible variance of the data projected onto u?
A.
The largest eigenvalue of the covariance matrix
B.
The sum of all eigenvalues
C.
The second largest eigenvalue of the covariance matrix
D.
Zero
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a comparison question, recognizable because it asks for the maximum variance under an orthogonality constraint to the first PC.
Why it applies: The variational characterization of eigenvalues (Courant-Fischer theorem) states that the maximum variance in the subspace orthogonal to the first k−1 principal components is the k-th largest eigenvalue.
Step 1: The first principal component corresponds to the largest eigenvalue λ1.
Step 2: We are looking for the maximum variance in the subspace orthogonal to this first component.
Step 3: By definition of PCA, the direction that maximizes variance in this orthogonal subspace is the second principal component.
Step 4: The variance along the second principal component is the second largest eigenvalue, λ2.
Answer: The correct option is C.
Trap: Assuming the maximum variance is still the largest eigenvalue, ignoring the orthogonality constraint.
Question 4 · Linear AlgebraMCQ
Consider the following assertion and reason:
Assertion (A): If u=[34] and M=uuT, the sum of the singular values of M is 25.
Reason (R): The only non-zero singular value of uuT is constructed by taking the squared Euclidean norm of u.
A.
Both A and R are true and R is the correct explanation of A
B.
Both A and R are true but R is NOT the correct explanation of A
C.
A is true but R is false
D.
A is false but R is true
Correct Answer:
A
Step-by-Step Solution
Key idea: For a symmetric rank-one matrix M=uuT, the single non-zero singular value is ∥u∥2. The sum of all singular values is just this single value.
Step 1: Evaluate Reason (R).
The non-zero singular value of uuT is indeed ∥u∥2. So, R is true.
Step 2: Evaluate Assertion (A).
Calculate ∥u∥2 for u=[34].
∥u∥2=32+42=9+16=25.
Since there is only one non-zero singular value, the sum of the singular values is 25. So, A is true.
Step 3: Check the link.
R provides the exact formula needed to compute the value in A. Thus, R is the correct explanation for A.
Answer: Both A and R are true and R is the correct explanation of A
Question 5 · Linear AlgebraMCQ
Consider the following assertion and reason:
Assertion (A): If u=221 and M=uuT, the sum of the singular values of M is 3.
Reason (R): The only non-zero singular value of uuT equals ∥u∥2.
A.
Both A and R are true and R is the correct explanation of A
B.
Both A and R are true but R is NOT the correct explanation of A
C.
A is true but R is false
D.
A is false but R is true
Correct Answer:
D
Step-by-Step Solution
Key idea: This is an assertion-reason question on the special case M=uuT. The non-zero singular value is ∥u∥2 (the squared norm), not ∥u∥ (the norm).
Exam route: Evaluate R first (it states a general fact), then evaluate A by computation.
Step 1: Evaluate Reason (R).
For M=uuT, the eigenvalues are ∥u∥2,0,0,…,0. Since M is symmetric positive semidefinite, singular values equal eigenvalues. So the only non-zero singular value is ∥u∥2. R is true.
Step 2: Evaluate Assertion (A).
Compute ∥u∥2 for u=221.
∥u∥2=22+22+12=4+4+1=9.
The sum of the singular values is 9+0+0=9.
Assertion A claims the sum is 3. This is false.
Step 3: Determine the relationship.
A is false, R is true.
Wrong path: If you compute ∥u∥=4+4+1=9=3 and use that as the singular value, you would get the sum as 3 and conclude A is true. This is the unit mismatch trap: confusing ∥u∥ (length) with ∥u∥2 (squared length). The correct singular value for uuT is the squared length.
Generalization: For uuT, always use ∥u∥2 for the singular value, not ∥u∥. For a general outer product abT, use ∥a∥∥b∥.
Verification: Mu=u(uTu)=u∥u∥2=9u. So u is an eigenvector with eigenvalue 9. Since M is positive semidefinite, the singular value is 9. The sum of singular values is 9, not 3. Confirmed.
Answer: A is false but R is true
Question 6 · Linear AlgebraMCQ
Let C be the covariance matrix of a dataset, and let w be a unit vector. Which expression represents the variance of the data when projected onto the direction w?
A.
wTCw
B.
wTC−1w
C.
tr(Cw)
D.
det(C)
Correct Answer:
A
Step-by-Step Solution
Key idea: This question tests the algebraic formula for projected variance using the covariance matrix.
Step 1: The projection of a data point x onto a unit vector w is the scalar wTx.
Step 2: The variance of these projections is given by the quadratic form wTCw.
Answer: wTCw
Question 7 · Linear AlgebraMCQ
A centered dataset in Rd has a covariance matrix with eigenvalues given by λi=80⋅(1/2)i for i=1,2,…,d. What is the maximum possible variance of the data when projected onto any single unit direction?
A.
80
B.
20
C.
40
D.
10
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a sequence evaluation question, recognizable because it gives a formula for eigenvalues and asks for the maximum variance.
Why it applies: The maximum variance in any direction is the largest eigenvalue of the covariance matrix.
Step 1: The eigenvalues are given by λi=80⋅(1/2)i for i=1,2,…,d.
Step 2: Since (1/2)i is a decreasing sequence, the largest eigenvalue occurs at the smallest index, i=1.
Step 3: Calculate λ1=80⋅(1/2)1=40.
Step 4: The maximum possible variance of the data when projected onto any single unit direction is exactly this largest eigenvalue.
Answer: The correct option is C.
Trap: Evaluating the sequence at i=0 (which would give 80) or summing the series. The problem explicitly specifies i≥1.
Question 8 · Linear AlgebraMCQ
To find the direction u that maximizes the variance uTCu, we must optimize this quadratic form subject to which constraint?
A.
uTCu=1
B.
det(C)=1
C.
uTu=1
D.
tr(C)=1
Correct Answer:
C
Step-by-Step Solution
Key idea: This is an optimization constraint question, recognizable because it asks for the condition under which the variance is maximized.
Why it applies: Maximizing a quadratic form requires a constraint, otherwise the variance could be made arbitrarily large by scaling the vector.
Step 1: We want to maximize the variance uTCu.
Step 2: If we scale u by a constant k, the variance becomes k2uTCu, which can be infinitely large.
Step 3: To prevent this trivial scaling, we must restrict the length of u.
Step 4: The standard constraint in PCA is that u must be a unit vector, which is written as uTu=1 or ∥u∥2=1.
Answer: The correct option is C.
Trap: Confusing the objective function (uTCu) with the constraint. The constraint is strictly on the norm of the vector u, not on the variance itself.
Question 9 · Linear AlgebraNAT
A dataset has a covariance matrix with eigenvalues 50, 30, and 20. What proportion of the total variance is captured by the first two principal components?
Correct Answer:
0.8
Step-by-Step Solution
Key idea: This is a direct formula question, recognizable because it asks for the proportion of variance explained by a subset of principal components.
Why it applies: The proportion of variance explained by the first k components is the sum of their eigenvalues divided by the sum of all eigenvalues (total variance).
Step 1: Identify the eigenvalues: λ1=50, λ2=30, λ3=20.
Step 2: Calculate the total variance, which is the sum of all eigenvalues: 50+30+20=100.
Step 3: Calculate the variance captured by the first two principal components: 50+30=80.
Step 4: Compute the proportion: 80/100=0.8.
Answer: 0.8
Trap: Forgetting to divide by the total variance, or only taking the first eigenvalue.
Question 10 · Linear AlgebraMCQ
Let a and b be vectors in R3 such that ∥a∥≤2 and ∥b∥≤3. What is the maximum possible value of the largest singular value of the matrix A=abT?
A.
6
B.
5
C.
9
D.
36
Correct Answer:
A
Step-by-Step Solution
Key idea: The largest (and only non-zero) singular value of A=abT is σ1=∥a∥∥b∥. To maximize this, we maximize the product of the norms.
Step 1: Identify the bounds on the norms.
∥a∥≤2 and ∥b∥≤3.
Step 2: Maximize the product.
The maximum value of ∥a∥∥b∥ occurs when both norms are at their maximum possible values.