I'm slightly confused by the definition of row echelon form. For example, is this matrix considered to be in row echelon form?
$\begin{pmatrix} 1 & 2 & 5 & 8 \\ 0 & 0 & 1 & 3 \\ 0 & 0 & 0 & 1 \\ \end{pmatrix}$
I'm slightly confused by the definition of row echelon form. For example, is this matrix considered to be in row echelon form?
$\begin{pmatrix} 1 & 2 & 5 & 8 \\ 0 & 0 & 1 & 3 \\ 0 & 0 & 0 & 1 \\ \end{pmatrix}$
Yes, that matrix is indeed in row echelon form. There are three conditions for row echelon form
Your matrix satisfies 1. because there are no zero rows. It satisfies 2. because all the entries begin with leading $1$s. It also satisfies 3. The leading entry of the second row is in position $3$ which is to the right of the leading entry in row $1$. The leading entry of row $3$ is also to the right of the leading ones above it.
Many matrices, especially if they are not square, will not have all the leading ones along the main diagonal, and that's perfectly O.K. As long as they satisfy the definition give above, they will be in row echelon form.