Search for a tool
Rank of a Matrix

Tool to calculate the rank of a Matrix. In mathematics, The rank of a matrix M is the number of linearly independent rows or columns.

Results

Rank of a Matrix -

Tag(s) : Matrix

Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our community Discord for help requests!

Thanks to your feedback and relevant comments, dCode has developped the best Rank of a Matrix tool, so feel free to write! Thank you !

# Rank of a Matrix

## Matrix Rank Calculator

### Modular Rank of a Matrix

The modulus is only applicable to integer matrices, with N a prime number

Tool to calculate the rank of a Matrix. In mathematics, The rank of a matrix M is the number of linearly independent rows or columns.

### What is the matrix rank? (Definition)

The rank of a matrix (sometimes noted as Rk) is mainly defined as the maximum number of row vectors (or column vectors) which are linearly independent.

The rank of a matrix is also the dimension of the vector subspace created by the vectors (either rows or columns) of the matrix.

The rank can be calculated for both rows and columns, it will be the same value.

### How to calculate a matrix rank?

To calculate the rank of a $M$ matrix, compare each of the rows between them and each of the columns between them to verify that they are two-by-two linearly independent.

Example: $$M = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 2 & 2 & 4 \end{bmatrix}$$ The matrix $M$ has rank $2$ because line 2 is twice the line 1, they are not linearly independent.
NB: column 3 is the sum of columns 1 and 2, they are not linearly independent.

## Source code

dCode retains ownership of the source code of the script Rank of a Matrix online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Rank of a Matrix script for offline use on PC, iPhone or Android, ask for price quote on contact page !

## Need Help ?

Please, check our community Discord for help requests!