Linear Algebra
Last updated
Last updated
You can think of an matrix as a set of row vectors, each having elements; or you can think of it as a set of column vectors, each having elements.
The rank of a matrix is defined as (a) the maximum number of linearly independent column vectors in the matrix or (b) the maximum number of linearly independent vectors in the matrix. Both definitions are equivalent.
For an matrix,
If is less than , then the maximum rank of the matrix is .
If is greater than , then the maximum rank of the matrix is .
The rank of a matrix would be zero only if the matrix had no elements. If a matrix had even one element, its minimum rank would be one.
For example, the following matrix has rank of 2.
A: Input data matrix
U: left singular vectors
V: Right singular vectors
(Columns are orthogonal unit vectors)
U: user-to-concept similarity matrix
V: movie-to-concept similarity matrix
matrix (e.g. m documents, n terms)
matrix (m documents, r concepts)
: Singular values
diagonal matrix (strength of each concept
) (r: rank of matrix A)
matrix (n terms, r concepts)
It is always possible to decompose a real matrix A into , where
: unique
: column orthonormal
; (I: identity matrix)
: diagonal
Entries (singular values) are positive, and sorted in decreasing order ()
: its diagonal elements strength
of each concept