Why is there an error when I don't put unit and no error when I put something similar in matrix?

As in the picture, when I compute X the first time, I didn't put any units(because there is no unit), and it gave me error. I resolve the problem by put its unit as lbf/lbf, which is also unitless, same as previous, but now it worked. Why does this occur? Also, if I would like to change the result unit in the matrix, is there a way to do it? Or I can only do it explicitly.


