IAE Academy

GATE 2022 CS Q.20: solution and answer

GATE 2022 · CSQ.20 · 1 mark · MCQ

Consider the following two statements with respect to the matrices , , and .

Statement 1:

Statement 2:

where represents the trace of a matrix. Which one of the following holds?

  1. (A)

    Statement 1 is correct and Statement 2 is wrong.

  2. (B)

    Statement 1 is wrong and Statement 2 is correct.

  3. (C)

    Both Statement 1 and Statement 2 are correct.

  4. (D)

    Both Statement 1 and Statement 2 are wrong.

See the question in the paper

Answer and solution

ANSWER

Option (C): both statements are correct.

Official answer: CSource: Official answer key, GATE 2022 CS (IIT Kharagpur)

  1. Sizes: is and is , so is and is . Both are square, so both traces are defined.

  2. The diagonal entries of the product are .

  3. Take the trace: .

  4. Similarly , so . Entries are numbers, so . This is the same finite double sum with the order of summation swapped, so and Statement 1 is correct.

  5. Statement 2 is the special case with and . Both are , so and Statement 2 is correct.

  6. Both statements are correct, which is option (C).

KEY IDEA

The trace of a product is unchanged by swapping the factors: whenever both products exist, even if or the two products have different sizes.

WATCH OUT FOR

Concluding that Statement 2 is wrong because matrix multiplication is not commutative. in general, but their traces are always equal.

From the GATE 2022 CS paper. Every question of this paper · Download the full paper · All 78 Linear algebra questions, with notes

More Linear algebra questions