1
$\begingroup$

There is a matrix that we try to find its rref. In its rref, some floating point numbers exist. My question is that all denominators of floating point numbers in rref matrix are same always? Can be there different something like?

[1/2,0,0,1]
[0,0,0,3/5]

I use the information to multiple each row the denominator to get minimum integer.

I assume all denominators are 2 for the example. Even though, I multiply by 2 each row, I don't understand how the result is obtained, the integer one.

It is original matrix, enter image description here Fractional number rref, enter image description here Integer numbered rref

[ 1  0  0  0  0  1  0  0  0  0  0  0  0  0]
[ 0  1  0  0  0  1  0  0  1  0  0 -1 -1  1]
[ 0  0  1  0  0  0  0  0  0  0  0  0  1  0]
[ 0  0  0  1  0  1  0  0  1  0  0  0  0  1]
[ 0  0  0  0  1  0  0  0  0  0  0  1  1 -1]
[ 0  0  0  0  0  2  0  0  0  0  0 -1  0  1]
[ 0  0  0  0  0  0  1  0  0  0  0  1  0  0]
[ 0  0  0  0  0  0  0  1  1  0  0  0  0  0]
[ 0  0  0  0  0  0  0  0  2  0  0  0 -1  1]
[ 0  0  0  0  0  0  0  0  0  1  0 -1 -1  1]
[ 0  0  0  0  0  0  0  0  0  0  1  0  0  1]
$\endgroup$
1
  • $\begingroup$ If the second black matrix is indeed the rref of the first one, you cannot get the integer one. The rref is unique. The last one is not rref, since the leading entry of each row must be $1$. $\endgroup$
    – KittyL
    Jan 23, 2018 at 10:15

0

You must log in to answer this question.

Browse other questions tagged .