Linear Algebra
![Question 22, GATE 2017: P=[[1,1,-1],[2,-3,4],[3,-2,3]] and Q=[[-1,-2,-1],[6,12,6],[5,10,5]]. Find rank(P+Q).](../../../assets/questions/CS-2017-S2-Q32-1.webp)
Answer & solution
Official answer: 2.0
Our answer: 2
1. Add corresponding entries to obtain A=P+Q=[[0,-1,-2],[8,9,10],[8,8,8]]. Rank concerns the number of independent rows or columns of this sum, not the sum of the separate ranks.
2. Row 3 equals row 1 plus row 2: (0,-1,-2)+(8,9,10)=(8,8,8). Therefore the three rows are dependent and rank(A)≤2.
3. Rows 1 and 2 are independent since the first coordinate of row 1 is zero while that of row 2 is 8, and row 1 is nonzero. Equivalently, the upper-left 2×2 minor has determinant 0·9-(-1)·8=8≠0. Thus rank(A)=2.
![Question 1.1, GATE 2002: Find the rank of the matrix [[1, 1], [0, 0]].
(A) 4; (B) 2; (C) 1; (D) 0.](../../../assets/questions/CS-2002-Q1-1.webp)

![Question 1.9, GATE 1994: Find the rank of [[0,0,3],[9,3,5],[3,1,1]].](../../../assets/questions/CS-1994-Q9-1.webp)
![Question 1.9, GATE 1994: Find the rank of [[0,0,3],[9,3,5],[3,1,1]].](../../../assets/questions/CS-1994-Q9-2.webp)