chapter
    Singular Value Decomposition and Principal Component Analysis Notes for GATE DA

    Singular Value Decomposition and Principal Component Analysis notes for GATE DA: 9 study cards covering concepts, formulas, shortcuts and exam traps, plus sol

    singular value decomposition and principal component analysis notes

    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.

    2

    Next topic: Rank-One Matrices and Singular Values

    Core idea: outer products create simple matrices with clean spectral structure.

    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 .

    The direction with the largest variance is the eigenvector corresponding to

    Key Mapping

    Geometry Linear Algebra
    Direction of projection Unit vector
    Spread along that direction
    Best direction Eigenvector for
    Variance kept there

    Why Eigenvalues Equal Variance

    Concept

    Why Eigenvalues Equal Variance

    1

    Starting Point

    For a covariance matrix , suppose is an eigenvector:

    2

    Multiply by the Transpose

    Left-multiply by :

    3

    Use Unit Length

    Since is a unit vector,

    Hence,

    4

    Interpretation

    The expression is the variance of data projected onto .

    • If is an eigenvector, projected variance equals its eigenvalue.
    • If is the eigenvector for , projected variance is maximized.
    • Sorting eigenvalues sorts directions by captured variance.

    The first eigenvector gives the direction of maximum variance.

    Core Result

    6 more cards in this chapter

    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 is an eigenvector of the covariance matrix with corresponding eigenvalue , what is the variance of the data along the direction (assuming is normalized)?

    Question 3
    Level 1: Warm-up

    In Principal Component Analysis, if a unit vector is constrained to be orthogonal to the first principal component, what is the maximum possible variance of the data projected onto ?

    Question 4
    Level 1: Warm-up

    Consider the following assertion and reason:

    Assertion (A): If and , the sum of the singular values of is 25.

    Reason (R): The only non-zero singular value of is constructed by taking the squared Euclidean norm of .

    Question 5
    Level 1: Warm-up

    Consider the following assertion and reason:

    Assertion (A): If and , the sum of the singular values of is .

    Reason (R): The only non-zero singular value of equals .

    Question 6
    Level 1: Warm-up

    Let be the covariance matrix of a dataset, and let be a unit vector. Which expression represents the variance of the data when projected onto the direction ?

    Question 7
    Level 1: Warm-up

    A centered dataset in has a covariance matrix with eigenvalues given by for . 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 that maximizes the variance , we must optimize this quadratic form subject to which constraint?

    Question 9
    Level 1: Warm-up

    A dataset has a covariance matrix with eigenvalues , , and . What proportion of the total variance is captured by the first two principal components?

    Question 10
    Level 1: Warm-up

    Let and be vectors in such that and . What is the maximum possible value of the largest singular value of the matrix ?

    Free preview ends here

    Login to view the complete notes

    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.

    Why MastersUp

    Personalised first. High quality throughout.

    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 Notes for GATE DA

    Singular Value Decomposition and Principal Component Analysis notes for GATE DA: 9 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    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.

    2

    Next topic: Rank-One Matrices and Singular Values

    Core idea: outer products create simple matrices with clean spectral structure.

    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 .

    The direction with the largest variance is the eigenvector corresponding to

    Key Mapping

    Geometry Linear Algebra
    Direction of projection Unit vector
    Spread along that direction
    Best direction Eigenvector for
    Variance kept there

    Why Eigenvalues Equal Variance

    Concept

    Why Eigenvalues Equal Variance

    1

    Starting Point

    For a covariance matrix , suppose is an eigenvector:

    2

    Multiply by the Transpose

    Left-multiply by :

    3

    Use Unit Length

    Since is a unit vector,

    Hence,

    4

    Interpretation

    The expression is the variance of data projected onto .

    • If is an eigenvector, projected variance equals its eigenvalue.
    • If is the eigenvector for , projected variance is maximized.
    • Sorting eigenvalues sorts directions by captured variance.

    The first eigenvector gives the direction of maximum variance.

    Core Result

    Solving Maximum-Variance Problems Step by Step

    Method

    Solving Maximum-Variance Problems Step by Step

    Step Action Reason
    1 Check whether data is centered The clean variance identity needs zero mean
    2 Identify or its eigenvalues The answer usually comes from the spectrum
    3 Recognize the projection expression
    4 Use the maximum-variance condition If is optimal,
    5 Compute Use the given matrix, sequence, or formula

    Eigenvalues given directly

    Pick the largest one.

    Eigenvalues given by a formula

    Analyze the formula and find where it is maximum.

    Covariance matrix given explicitly

    Solve

    then choose the largest eigenvalue.

    Data matrix given

    If is an matrix with centered rows as observations, then

    Then find its largest eigenvalue.

    Singular Value Decomposition and Principal Component Analysis: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Linear Algebra MCQ

    In Principal Component Analysis (PCA), the first principal component is defined as the direction that:

    1. A.

      Minimizes the reconstruction error of the data

    2. B.

      Maximizes the variance of the projected data

    3. C.

      Minimizes the trace of the covariance matrix

    4. 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 that maximizes the variance of the data when projected onto it.

    Answer: Maximizes the variance of the projected data.

    Question 2 · Linear Algebra MCQ

    If is an eigenvector of the covariance matrix with corresponding eigenvalue , what is the variance of the data along the direction (assuming is normalized)?

    1. A.

    2. B.

    3. C.

    4. D.

    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 is .

    Step 2: Since is an eigenvector, .

    Step 3: Substitute this into the variance formula: .

    Step 4: Since is normalized, . Thus, the variance is .

    Answer:

    Question 3 · Linear Algebra MCQ

    In Principal Component Analysis, if a unit vector is constrained to be orthogonal to the first principal component, what is the maximum possible variance of the data projected onto ?

    1. A.

      The largest eigenvalue of the covariance matrix

    2. B.

      The sum of all eigenvalues

    3. C.

      The second largest eigenvalue of the covariance matrix

    4. 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 principal components is the -th largest eigenvalue.

    Step 1: The first principal component corresponds to the largest eigenvalue .

    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, .

    Answer: The correct option is C.

    Trap: Assuming the maximum variance is still the largest eigenvalue, ignoring the orthogonality constraint.

    Question 4 · Linear Algebra MCQ

    Consider the following assertion and reason:

    Assertion (A): If and , the sum of the singular values of is 25.

    Reason (R): The only non-zero singular value of is constructed by taking the squared Euclidean norm of .

    1. A.

      Both A and R are true and R is the correct explanation of A

    2. B.

      Both A and R are true but R is NOT the correct explanation of A

    3. C.

      A is true but R is false

    4. D.

      A is false but R is true

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: For a symmetric rank-one matrix , the single non-zero singular value is . The sum of all singular values is just this single value.

    Step 1: Evaluate Reason (R).

    The non-zero singular value of is indeed . So, R is true.

    Step 2: Evaluate Assertion (A).

    Calculate for .

    .

    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 Algebra MCQ

    Consider the following assertion and reason:

    Assertion (A): If and , the sum of the singular values of is .

    Reason (R): The only non-zero singular value of equals .

    1. A.

      Both A and R are true and R is the correct explanation of A

    2. B.

      Both A and R are true but R is NOT the correct explanation of A

    3. C.

      A is true but R is false

    4. 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 . The non-zero singular value is (the squared norm), not (the norm).

    Exam route: Evaluate R first (it states a general fact), then evaluate A by computation.

    Step 1: Evaluate Reason (R).

    For , the eigenvalues are . Since is symmetric positive semidefinite, singular values equal eigenvalues. So the only non-zero singular value is . R is true.

    Step 2: Evaluate Assertion (A).

    Compute for .

    .

    The sum of the singular values is .

    Assertion A claims the sum is . This is false.

    Step 3: Determine the relationship.

    A is false, R is true.

    Wrong path: If you compute and use that as the singular value, you would get the sum as and conclude A is true. This is the unit mismatch trap: confusing (length) with (squared length). The correct singular value for is the squared length.

    Generalization: For , always use for the singular value, not . For a general outer product , use .

    Verification: . So is an eigenvector with eigenvalue . Since is positive semidefinite, the singular value is . The sum of singular values is , not . Confirmed.

    Answer: A is false but R is true

    Question 6 · Linear Algebra MCQ

    Let be the covariance matrix of a dataset, and let be a unit vector. Which expression represents the variance of the data when projected onto the direction ?

    1. A.

    2. B.

    3. C.

    4. D.

    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 onto a unit vector is the scalar .

    Step 2: The variance of these projections is given by the quadratic form .

    Answer:

    Question 7 · Linear Algebra MCQ

    A centered dataset in has a covariance matrix with eigenvalues given by for . What is the maximum possible variance of the data when projected onto any single unit direction?

    1. A.

      80

    2. B.

      20

    3. C.

      40

    4. 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 for .

    Step 2: Since is a decreasing sequence, the largest eigenvalue occurs at the smallest index, .

    Step 3: Calculate .

    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 (which would give 80) or summing the series. The problem explicitly specifies .

    Question 8 · Linear Algebra MCQ

    To find the direction that maximizes the variance , we must optimize this quadratic form subject to which constraint?

    1. A.

    2. B.

    3. C.

    4. D.

    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 .

    Step 2: If we scale by a constant , the variance becomes , which can be infinitely large.

    Step 3: To prevent this trivial scaling, we must restrict the length of .

    Step 4: The standard constraint in PCA is that must be a unit vector, which is written as or .

    Answer: The correct option is C.

    Trap: Confusing the objective function () with the constraint. The constraint is strictly on the norm of the vector , not on the variance itself.

    Question 9 · Linear Algebra NAT

    A dataset has a covariance matrix with eigenvalues , , and . 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 components is the sum of their eigenvalues divided by the sum of all eigenvalues (total variance).

    Step 1: Identify the eigenvalues: , , .

    Step 2: Calculate the total variance, which is the sum of all eigenvalues: .

    Step 3: Calculate the variance captured by the first two principal components: .

    Step 4: Compute the proportion: .

    Answer: 0.8

    Trap: Forgetting to divide by the total variance, or only taking the first eigenvalue.

    Question 10 · Linear Algebra MCQ

    Let and be vectors in such that and . What is the maximum possible value of the largest singular value of the matrix ?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: The largest (and only non-zero) singular value of is . To maximize this, we maximize the product of the norms.

    Step 1: Identify the bounds on the norms.

    and .

    Step 2: Maximize the product.

    The maximum value of occurs when both norms are at their maximum possible values.

    .

    Answer: 6

    More notes in this unit