| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168695Image: ubuntu2004
The minimum rank function calculation below takes a long time because it is iterating through almost 36 million matrices. To see this, off-diagonal nonzero entries can be one of two values, and diagonal entries can be one of three values, so we have:
35831808
However, we can interrupt the calculation after just a few seconds since we know that the minimum rank is at least 3 from zero forcing, and we quickly find a matrix with rank 3 over the finite field of size 3.
min rank example: rank 6
[0 1 1 1 1 0 0]
[1 0 1 1 1 0 0]
[1 1 0 1 1 0 0]
[1 1 1 0 1 1 0]
[1 1 1 1 0 1 1]
[0 0 0 1 1 0 1]
[0 0 0 0 1 1 0]
matrix(GF(3), [[0, 1, 1, 1, 1, 0, 0], [1, 0, 1, 1, 1, 0, 0], [1, 1, 0, 1, 1, 0, 0], [1, 1, 1, 0, 1, 1, 0], [1, 1, 1, 1, 0, 1, 1], [0, 0, 0, 1, 1, 0, 1], [0, 0, 0, 0, 1, 1, 0]])
min rank example: rank 5
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 0 1 1 0]
[1 1 1 1 0 1 1]
[0 0 0 1 1 0 1]
[0 0 0 0 1 1 0]
matrix(GF(3), [[1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 0, 1, 1, 0], [1, 1, 1, 1, 0, 1, 1], [0, 0, 0, 1, 1, 0, 1], [0, 0, 0, 0, 1, 1, 0]])
min rank example: rank 4
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 2 1 1 0]
[1 1 1 1 1 1 1]
[0 0 0 1 1 0 1]
[0 0 0 0 1 1 0]
matrix(GF(3), [[1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 2, 1, 1, 0], [1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 1, 1, 0, 1], [0, 0, 0, 0, 1, 1, 0]])
min rank example: rank 3
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 1 1 0 0]
[1 1 1 0 1 1 0]
[1 1 1 1 2 1 1]
[0 0 0 1 1 0 1]
[0 0 0 0 1 1 1]
matrix(GF(3), [[1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 0, 1, 1, 0], [1, 1, 1, 1, 2, 1, 1], [0, 0, 0, 1, 1, 0, 1], [0, 0, 0, 0, 1, 1, 1]])
5