The rank of a matrix is a dimension of the spam of the its rows.

For example, consider:

The rows are:

1)

2)

3)

We want to find the dimension of .

Note that therefore .

And are linearly independent since they are not proportional.

Therefore, the dimension of is .

Therefore