The rank of a matrix is the maximum number of independent rows (or, the maximum number of independent columns).
A square matrix $A_{~ n ~ \times ~ n}$ is non-singular only if its rank is equal to n.
Source
Consider a quadratic matrix $A \in \mathbb{R}^{~ n ~ \times ~ n}$
- with in total $p$ linearly dependent rows (or columns) and otherwise no zero-rows/-columns, which equals to $n-(p-1)$ linearly independent rows/columns, e.g.
$$A_1 = \begin{bmatrix} 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 \\ 0 & 1 & 2 & 3 & 4 \\ 5 & 0 & 6 & 7 & 8 \\ 9 & 8 & 0 & 7 & 6 \end{bmatrix} \quad \rightarrow \quad n = 5, ~ p = 2; ~ n-(p-1) = 4$$ $$ \hookrightarrow \lambda_1 = 0; ~ \lambda_2, \lambda_3, \lambda_4, \lambda_5 \neq 0 \quad \rightarrow ~ Rank(A_1) = 4$$
$$A_2 = \begin{bmatrix} 1 & 0 & 0 & 0 & 0 \\ 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \end{bmatrix} \quad \rightarrow \quad n = 5, ~ p = 2; ~ n-(p-1) = 4$$ $$ \hookrightarrow \lambda_1 = 0; ~ \lambda_2, \lambda_3, \lambda_4, \lambda_5 \neq 0 \quad \rightarrow ~ Rank(A_2) = 4$$
- or with exactly $p-1$ zero-rows/-columns and otherwise $n-(p-1)$ linearly independent rows/columns, e.g.
$$A_3 = \begin{bmatrix} 0 & 0 & 0 & 0 & 0 \\ 1 & 1 & 1 & 1 & 1 \\ 0 & 1 & 2 & 3 & 4 \\ 5 & 0 & 6 & 7 & 8 \\ 9 & 8 & 0 & 7 & 6 \end{bmatrix} \quad \rightarrow \quad n = 5, ~ (p-1) = 1; ~ n-(p-1) = 4$$ $$ \hookrightarrow \lambda_1 = 0; ~ \lambda_2, \lambda_3, \lambda_4, \lambda_5 \neq 0 \quad \rightarrow ~ Rank(A_3) = 4$$
$$A_4 = \begin{bmatrix} 0 & 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 1 \end{bmatrix} \quad \rightarrow \quad n = 5, ~ (p-1) = 1; ~ n-(p-1) = 4$$ $$ \hookrightarrow \lambda_1 = 0; ~ \lambda_2, \lambda_3, \lambda_4, \lambda_5 \neq 0 \quad \rightarrow ~ Rank(A_4) = 4$$
Are the following statements true?
- $det(A) = 0$
- The rank of $A$ is $rank(A) \leq n-(p-1)$, $rank(A) = n-m = k$,
$m$ being the number/multiplicity of zero-eigenvalues and
$k$ the number of non-zero-eigenvalues (counting multiplicity).
Or should it be $rank(A) = n-(p-1) = n-m = k$? - The multiplicity of zero as an eigenvalue is at least $p-1$ (or should it be exactly $p-1$?), i.e.
- $\lambda_1 = 0$
- $\dots$
- $\lambda_{p-1} = 0$
- $\lambda_{p} = ~ ?$
- $\dots$
- $\lambda_{n} = ~ ?$