GATE / CS ARCHIVE

SIMILAR QUESTIONS / ENGINEERING MATHEMATICS & OTHER TOPICS

Track determinant sign under row permutations

2 questions solved the same way, newest first. Back to Engineering Mathematics & Other Topics

2 marks · MSQ
Report issue

Which matrix properties survive a row swap?

Linear Algebra

Question 47, GATE 2024: B is obtained by swapping two rows of a real n×n matrix A. Select true statements: A det(B)=−det(A); B invertibility of A implies invertibility of B; C symmetry of A implies symmetry of B; D zero trace of A implies zero trace of B.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, B

Approach: Use the determinant rule for the positive claims and small explicit matrices to refute universal claims.

1. Derivation. A single row swap negates the determinant, proving A. If det(A) is nonzero then det(B)=−det(A) is nonzero as well, proving B. Symmetry is not preserved: swapping rows of diag(1, 2) gives[[0, 2],[1, 0]], which is not symmetric. Zero trace is not preserved: A=[[1, 2],[3,−1]] has trace 0, but its row-swapped matrix has trace 5. Answer A, B.

2. Explanation and checks. A row swap is multiplication on the left by an invertible permutation matrix P, so B=PA and B−1=A−1 P−1 whenever A is invertible. This supplies another proof of B. In contrast symmetry would naturally be preserved by applying the same permutation to rows and columns, PAPT, not by a row permutation alone. Trace invariance also applies to similarity transformations, not arbitrary independent row operations. The two counterexamples in the derivation make these distinctions concrete.

Original paper, page 32 · Answer key

1 mark · MCQ
Report issue

Linear Algebra

Question 18, GATE 2023: Let A have rows (1,2,3,4),(4,1,2,3),(3,4,1,2),(2,3,4,1). Let B have rows (3,4,1,2),(4,1,2,3),(1,2,3,4),(2,3,4,1). Which holds? A det A=det B; B det B=−det A; C det A=0; D det(AB)=det A+det B.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

B is obtained from A by exchanging rows 1 and 3, which negates the determinant. Direct elimination gives det(A)=−160 and det(B)=160, so neither is zero or equal. Also det(AB)=det(A)det(B)=−25600, not their sum 0. Thus only B.

Teaching detail. A row swap reverses the alternating sign in the determinant definition. It does not depend on the actual values of the other rows, so the visible swap gives the answer immediately. To confirm the exclusions, subtract suitable multiples of row 1 to reduce the determinant to a 3×3 determinant: rows (−7,−10,−13),(−2,−8,−10),(−1,−2,−7) give −160. Determinants multiply under matrix multiplication; they do not add. The explicit nonzero check prevents mistakenly treating A as another true statement.

Original paper, page 15 · Answer key