As far as I know, in order to find a rank of any matrix you need to get 1's on the diagonal and zero's below the 1's, so how should I proceed if it's all zeros to begin with on the diagonal? The polynomial from where I derive the matrix is as follows, - f = x1x2 - x2x3. ( the numbers are obviously indices.) So there is no squared argument.