Study Vault Search notes, aliases and full text
Graph
ConceptLinear Algebra used inMSIAI-written · not yet proofread

Matrix Rank

Also Rank · Rang · Rang einer Matrix

The rank of a matrix is the maximal number of linearly independent columns (equivalently, rows), i.e. the dimension of its column space.

Know these firstLinear Map

Properties#

  • Row rank = column rank: rank⁡(A)=rank⁡(A⊤)\operatorname{rank}(A) = \operatorname{rank}(A^\top). So the rank is also the maximal number of linearly independent rows.
  • Upper bound: rank⁡(A)≤min⁡(m,n)\operatorname{rank}(A) \le \min(m, n). With equality, AA has full rank:
    • rank⁡(A)=n\operatorname{rank}(A) = n: full column rank, i.e. the columns are linearly independent (only possible if m≥nm \ge n).
    • rank⁡(A)=m\operatorname{rank}(A) = m: full row rank, i.e. the rows are linearly independent (only possible if m≤nm \le n).
  • Rank–nullity theorem: rank⁡(A)+dim⁡ker⁡(A)=n\operatorname{rank}(A) + \dim \ker(A) = n, with ker⁡(A)={x∈Rn∣Ax=0}\ker(A) = \{x \in \mathbb{R}^n \mid Ax = 0\}. Full column rank   ⟺  ker⁡(A)={0}\iff \ker(A) = \{0\}.
  • Gram matrix: rank⁡(A⊤A)=rank⁡(A)\operatorname{rank}(A^\top A) = \operatorname{rank}(A). So the n×nn \times n matrix A⊤AA^\top A (always PSD) is invertible iff AA has full column rank. MSI uses this for least squares: (Φ⊤Φ)−1(\Phi^\top \Phi)^{-1} exists iff rank⁡(Φ)=d\operatorname{rank}(\Phi) = d.
  • Via SVD: rank⁡(A)\operatorname{rank}(A) equals the number of nonzero singular values of AA.
  • Computation: bring AA into row echelon form by Gaussian elimination. The rank is the number of nonzero rows (pivots). Row operations don’t change the rank.

Example#

Sources#

  • Standard linear algebra. There’s no textbook in the subject’s sources: yet.
  • Use in MSI: MSI script p. 30 (pseudo inverse needs rank⁡(Φ)=d\operatorname{rank}(\Phi) = d), MSI script p. 34 (SVD of AA with rank⁡(A)=r\operatorname{rank}(A) = r)
  • Exercise: MSI Sheet 00, task 1 (not published) (rank of a 3×33 \times 3 system matrix)

Search

Type In
↑ ↓ move ↵ open ⇥ next section Ctrl↵ results page Prefix # to search text only