In linear algebra, two matrices are row equivalent if one can be changed to the other by a sequence of elementary row operations. Alternatively, two m × n matrices are row equivalent if and only if they have the same row space. The concept is most commonly applied to matrices that represent systems of linear equations, in which case two matrices of the same size are row equivalent if and only if the corresponding homogeneous systems have the same set of solutions, or equivalently the matrices have the same null space.
Because elementary row operations are reversible, row equivalence is an equivalence relation. It is commonly denoted by a tilde (~).
There is a similar notion of column equivalence, defined by elementary column operations; two matrices are column equivalent if and only if their transpose matrices are row equivalent. Two rectangular matrices that can be converted into one another allowing both elementary row and column operations are called simply equivalent.
An elementary row operation is any one of the following moves:
Two matrices A and B are row equivalent if it is possible to transform A into B by a sequence of elementary row operations.
See main article: Row space. The row space of a matrix is the set of all possible linear combinations of its row vectors. If the rows of the matrix represent a system of linear equations, then the row space consists of all linear equations that can be deduced algebraically from those in the system. Two m × n matrices are row equivalent if and only if they have the same row space.
For example, the matrices
\begin{pmatrix}1&0&0\ 0&1&1\end{pmatrix} and \begin{pmatrix}1&0&0\ 1&1&1\end{pmatrix}
\begin{pmatrix}a&b&b\end{pmatrix}
\begin{matrix}x=0\ y+z=0\end{matrix} and \begin{matrix}x=0\ x+y+z=0.\end{matrix}
ax+by+bz=0.
The fact that two matrices are row equivalent if and only if they have the same row space is an important theorem in linear algebra. The proof is based on the following observations:
This line of reasoning also proves that every matrix is row equivalent to a unique matrix with reduced row echelon form.