GATE 2024 CS (CS2) – Question 47
Let $A$ be an $n\times n$ matrix over the set of all real numbers $\mathbb{R}$. Let $B$ be a matrix obtained from $A$ by swapping two rows. Which of the following statements is/are TRUE?
Practise this question in The GATE Grind →
Show answer and explanation
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
Explanation
**A — True.** Interchanging two rows changes a determinant’s sign: det B = −det A, including when the determinant is zero.
**B — True.** If A is invertible, det A ≠ 0. Its negative is also nonzero, so B remains invertible. Equivalently, a row swap is multiplication by an invertible permutation matrix.
**C — False.** Take the symmetric matrix $A=\begin{pmatrix}1&0\\0&2\end{pmatrix}$. Swapping rows gives $B=\begin{pmatrix}0&2\\1&0\end{pmatrix}$, which is not symmetric.
**D — False.** $A=\begin{pmatrix}1&2\\3&-1\end{pmatrix}$ has trace zero, but swapping its rows gives diagonal entries 3 and 2, hence trace 5. **Answers: A,B.** A row swap alone is not a similarity transformation.