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

    Singular Value Decomposition and Principal Component Analysis short notes for GATE DA: 8 study cards covering concepts, formulas, shortcuts and exam traps, pl

    singular value decomposition and principal component analysis short notes

    Worked Example: Eigenvalues Given by a Decreasing Formula

    Worked Example

    Worked Example: Eigenvalues Given by a Decreasing Formula

    Given

    A centered dataset in has covariance matrix .

    The eigenvalues of are

    Let be the unit direction of maximum variance.

    We need

    1

    Recognize the Expression

    For centered data,

    2

    Use the Maximum-Variance Direction

    Since is the direction of maximum variance,

    3

    Find the Largest Eigenvalue

    The sequence

    decreases as increases. Therefore, the maximum occurs at .

    Final Answer

    Trap: Total Variance Versus Maximum Directional Variance

    Trap

    Trap: Total Variance Versus Maximum Directional Variance

    Trap 1: Sum of Eigenvalues Is Not the Maximum

    Quantity Formula Meaning
    Total variance Variance spread over all directions
    Maximum directional variance Variance along the best single direction
    Explained variance ratio Fraction of total variance in direction

    If the problem asks for variance along the best direction, use only .

    If the problem asks for total variance, use the trace.

    Trap 2: Forgetting Centering

    If the mean is and

    then

    The extra term disappears only when .

    Safety Check

    • Data is centered.
    • is a unit vector.
    • is the maximum-variance direction.
    • The matrix involved is the covariance matrix.

    Exam Patterns: How Maximum Variance Questions Appear

    Pattern

    Exam Patterns: How Maximum Variance Questions Appear

    Pattern A: Direct Maximum-Variance Evaluation

    You see an expression like

    where is the maximum-variance direction.

    Then the answer is

    Pattern B: Explained Variance

    You are asked how much total variance is retained by the first directions.

    Use

    If the question asks for the smallest that retains a given fraction, compute cumulative ratios until the threshold is crossed.

    Pattern C: Norm Connection

    For a symmetric positive semidefinite covariance matrix,

    So if the largest variance direction is linked to a spectral norm question, the needed value is still the largest eigenvalue.

    Quick Decision Guide

    • If is the best direction, answer is .
    • If is an arbitrary unit vector, evaluate .
    • If all directions are involved, use .
    • If retained information is asked, use a ratio of eigenvalue sums.

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

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

    Worked Example: Eigenvalues Given by a Decreasing Formula

    Worked Example

    Worked Example: Eigenvalues Given by a Decreasing Formula

    Given

    A centered dataset in has covariance matrix .

    The eigenvalues of are

    Let be the unit direction of maximum variance.

    We need

    1

    Recognize the Expression

    For centered data,

    2

    Use the Maximum-Variance Direction

    Since is the direction of maximum variance,

    3

    Find the Largest Eigenvalue

    The sequence

    decreases as increases. Therefore, the maximum occurs at .

    Final Answer

    Trap: Total Variance Versus Maximum Directional Variance

    Trap

    Trap: Total Variance Versus Maximum Directional Variance

    Trap 1: Sum of Eigenvalues Is Not the Maximum

    Quantity Formula Meaning
    Total variance Variance spread over all directions
    Maximum directional variance Variance along the best single direction
    Explained variance ratio Fraction of total variance in direction

    If the problem asks for variance along the best direction, use only .

    If the problem asks for total variance, use the trace.

    Trap 2: Forgetting Centering

    If the mean is and

    then

    The extra term disappears only when .

    Safety Check

    • Data is centered.
    • is a unit vector.
    • is the maximum-variance direction.
    • The matrix involved is the covariance matrix.

    Exam Patterns: How Maximum Variance Questions Appear

    Pattern

    Exam Patterns: How Maximum Variance Questions Appear

    Pattern A: Direct Maximum-Variance Evaluation

    You see an expression like

    where is the maximum-variance direction.

    Then the answer is

    Pattern B: Explained Variance

    You are asked how much total variance is retained by the first directions.

    Use

    If the question asks for the smallest that retains a given fraction, compute cumulative ratios until the threshold is crossed.

    Pattern C: Norm Connection

    For a symmetric positive semidefinite covariance matrix,

    So if the largest variance direction is linked to a spectral norm question, the needed value is still the largest eigenvalue.

    Quick Decision Guide

    • If is the best direction, answer is .
    • If is an arbitrary unit vector, evaluate .
    • If all directions are involved, use .
    • If retained information is asked, use a ratio of eigenvalue sums.

    Topic Summary: PCA Eigenvalues and Maximum Variance

    Summary

    Topic Summary: PCA Eigenvalues and Maximum Variance

    Core Identities

    For centered data matrix with observations in rows:

    Projected variance along unit vector :

    If is an eigenvector:

    then

    Maximum variance direction:

    Total variance:

    Conditions to Remember

    • Data should be centered for the clean projected-variance identity.
    • The direction vector should have unit norm.
    • The covariance matrix is symmetric and positive semidefinite.
    • Its eigenvalues are real and nonnegative.

    Memory Hook

    Eigenvalue equals variance along the corresponding eigenvector.

    Largest eigenvalue equals maximum variance in one direction.

    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 short notes in this unit