In linear algebra, two rectangular m-by-n matrices A and B are called equivalent if
for some invertible n-by-n matrix P and some invertible m-by-m matrix Q. Equivalent matrices represent the same linear transformation V → W under two different choices of a pair of bases of V and W, with P and Q being the change of basis matrices in V and W respectively.
The notion of equivalence should not be confused with that of similarity, which is only defined for square matrices, and is much more restrictive (similar matrices are certainly equivalent, but equivalent square matrices need not be similar). That notion corresponds to matrices representing the same endomorphism V → V under two different choices of a single basis of V, used both for initial vectors and their images.
Matrix equivalence is an equivalence relation on the space of rectangular matrices.
For two rectangular matrices of the same size, their equivalence can also be characterized by the following conditions
If matrices are row equivalent then they are also matrix equivalent. However, the converse does not hold; matrices that are matrix equivalent are not necessarily row equivalent. This makes matrix equivalence a generalization of row equivalence.[1]
The rank property yields an intuitive canonical form for matrices of the equivalence class of rank as
,
where the number of s on the diagonal is equal to . This is a special case of the Smith normal form, which generalizes this concept on vector spaces to free modules over principal ideal domains. Thus:
Theorem: Any mxn matrix of rank k is matrix equivalent to the mxn matrix that is all zeroes except that the first k diagonal entries are ones. [1] Corollary: Matrix equivalent classes are characterized by rank: two same-sided matrixes are matrix equivalent if and only if they have the same rank. [1]
2x2 matrices only have three possible ranks: zero, one, or two. This means all 2x2 matrices fit into one of three matrix equivalent classes:[1]
, ,
This means all 2x2 matrices are equivalent to one of these matrices. There is only one zero rank matrix, but the other two classes have infinitely many members; The representative matrices above are the simplest matrix for each class.
Matrix similarity is a special case of matrix equivalence. If two matrices are similar then they are also equivalent. However, the converse is not true.[2] For example these two matrices are equivalent but not similar:
,