⎣ ⎢ ⎡ x 1 x 2 x 3 y 1 y 2 y 3 1 1 1 ⎦ ⎥ ⎤
If the points ( x 1 , y 1 ) , ( x 2 , y 2 ) and ( x 3 , y 3 ) are collinear, then what is the maximum rank of the matrix above?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If the above three points (x1, y1), (x2, y2), and (x3, y3) are collinear, then they each lie on some line y = mx + b. We can then rewrite these points as:
(x1, m x1 + b); (x2, m x2 + b); (x3, m*x3 + b) (i).
Let us now express the columns of the above matrix as the vectors:
v1 = [x1 x2 x3]^T; v2 = [m x1 + b m x2 + b m*x3 + b]^T; v3 = [1 1 1]^T (ii)
It becomes apparent that v2 = m v1 + b v3 => v2 is linearly dependent on v1 and v3. Hence the maximum rank of the matrix is 2.
They could all lie on the same vertical line.
Problem Loading...
Note Loading...
Set Loading...
The condition is that the points all lie on some line a x + b y + c = 0 , where a , b are not both zero. In this case, ⎣ ⎡ x 1 x 2 x 3 y 1 y 2 y 3 1 1 1 ⎦ ⎤ ⎣ ⎡ a b c ⎦ ⎤ = ⎣ ⎡ 0 0 0 ⎦ ⎤ , so the matrix has a nontrivial nullspace. By rank-nullity , the matrix has rank at most 2 .
On the other hand, the matrix ⎣ ⎡ 1 2 3 0 0 0 1 1 1 ⎦ ⎤ has rank 2 , so the answer is 2 .