Question

Let P=[11−12−343−23]P = \begin{bmatrix} 1 & 1 & -1 \\ 2 & -3 & 4 \\ 3 & -2 & 3 \end{bmatrix} and Q=[−1−2−161265105]Q = \begin{bmatrix} -1 & -2 & -1 \\ 6 & 12 & 6 \\ 5 & 10 & 5 \end{bmatrix} be two matrices.

Then the rank of P+QP + Q is

Official answer and solution
Official answer
2
From
Official GATE 2017 answer key

Solution

Compute the sum matrix P+QP + Q and perform elementary row operations to determine the number of linearly independent rows.

Compute matrix P+QP + Q entry by entry:

P+Q=[11−12−343−23]+[−1−2−161265105]=[0−1−28910888]P + Q = \begin{bmatrix} 1 & 1 & -1 \\ 2 & -3 & 4 \\ 3 & -2 & 3 \end{bmatrix} + \begin{bmatrix} -1 & -2 & -1 \\ 6 & 12 & 6 \\ 5 & 10 & 5 \end{bmatrix} = \begin{bmatrix} 0 & -1 & -2 \\ 8 & 9 & 10 \\ 8 & 8 & 8 \end{bmatrix}

Perform elementary row operations to find the row echelon form:

  1. Subtract Row 3 from Row 2 (R2→R2−R3R_2 \to R_2 - R_3):
R2−R3=[8−8, 9−8, 10−8]=[0, 1, 2]R_2 - R_3 = [8-8,\ 9-8,\ 10-8] = [0,\ 1,\ 2]
  1. Notice that Row 1 is [0,−1,−2][0, -1, -2].
  2. Add Row 1 to the new Row 2 (R1→R1+(R2−R3)R_1 \to R_1 + (R_2 - R_3)):
[0,−1,−2]+[0,1,2]=[0,0,0][0, -1, -2] + [0, 1, 2] = [0, 0, 0]

Row 1 is an exact linear combination of Row 2 and Row 3: R1=R3−R2R_1 = R_3 - R_2.

Rows 2 and 3 ([8,9,10][8, 9, 10] and [8,8,8][8, 8, 8]) are not scalar multiples of each other, so they are linearly independent.
Thus, the row echelon form of P+QP + Q has exactly 2 non-zero rows, meaning rank(P+Q)=2\text{rank}(P + Q) = 2.

Final answer

2

Common trap

Computing rank(P)+rank(Q)\text{rank}(P) + \text{rank}(Q) instead of rank(P+Q)\text{rank}(P + Q).

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2017 Computer Science and Information Technology (CS) Session 2
Question
22 of 65, printed as CS Q.22
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.