MatrixRank Command

MatrixRank( <Matrix> )

Returns the rank of given matrix.

  • MatrixRank({{2, 2}, {1, 1}}) yields 1.

  • MatrixRank({{1, 2}, {3, 4}}) yields 2.

  • Let A = {{1, 2, 3}, {1, 1, 1}, {2, 2, 2}} be a 3x3-matrix. MatrixRank(A) yields 2.

Note Hint: In the Menu view cas.svg CAS View this command also works with undefined variables.

MatrixRank({{1, 2}, {k*1, k*2}}) yields 1.