Show the worked solution\[\boxed{\text{rank} = \text{number of non-zero rows in row echelon form}}\]\(R_3\to R_3+R_1\) makes row 3 zero (row 3 is \(-1\) times row 1):\[\begin{bmatrix}5&0&-5&0\\0&2&0&1\\0&0&0&0\\0&1&0&2\end{bmatrix}\]\(R_4\to R_4-\tfrac12R_2\) gives \((0,0,0,\tfrac32)\), and swapping \(R_3\leftrightarrow R_4\):\[\begin{bmatrix}5&0&-5&0\\0&2&0&1\\0&0&0&\tfrac32\\0&0&0&0\end{bmatrix}\]Three non-zero rows, so the rank is 3.Answer: C
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com