GATE CS 2024 Set 2 — Question 47

MSQ+2 / -0MediumMatrices & DeterminantsLinear AlgebraEngineering Mathematics

Engineering Mathematics → Linear Algebra → Matrices & Determinants

Last updated

Question

Let AA be an n×nn \times n matrix over the set of all real numbers R\mathbb{R}. Let BB be a matrix obtained from AA by swapping two rows. Which of the following statements is/are TRUE?
A.
The determinant of BB is the negative of the determinant of AA
B.
If AA is invertible, then BB is also invertible
C.
If AA is symmetric, then BB is also symmetric
D.
If the trace of AA is zero, then the trace of BB is also zero

Correct answer

(A) The determinant of B is the negative of the determinant of A; (B) If A is invertible, then B is also invertible

Solution

Let's analyze each statement:
(A) TRUE: A fundamental property of determinants is that swapping any two rows of a square matrix multiplies the determinant by 1-1. Therefore, det(B)=det(A)\det(B) = -\det(A).
(B) TRUE: A matrix is invertible if and only if its determinant is non-zero. Since det(B)=det(A)\det(B) = -\det(A), if det(A)0\det(A) \neq 0, then det(B)0\det(B) \neq 0. Thus, if AA is invertible, BB is also invertible.
(C) FALSE: Swapping rows generally destroys symmetry. For example, let A=(1223)A = \begin{pmatrix} 1 & 2 \\ 2 & 3 \end{pmatrix}, which is symmetric. Swapping the two rows results in B=(2312)B = \begin{pmatrix} 2 & 3 \\ 1 & 2 \end{pmatrix}. Since B12=3B_{12} = 3 and B21=1B_{21} = 1, BB is not symmetric.
(D) FALSE: The trace is the sum of the diagonal elements. Swapping rows changes which elements are on the diagonal. For example, let A=(1231)A = \begin{pmatrix} 1 & 2 \\ 3 & -1 \end{pmatrix}. Trace(AA) =1+(1)=0= 1 + (-1) = 0. Swapping the rows gives B=(3112)B = \begin{pmatrix} 3 & -1 \\ 1 & 2 \end{pmatrix}. Trace(BB) =3+2=50= 3 + 2 = 5 \neq 0.

More questions on Linear Algebra

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free