leading and free variables
In each row of a system, the first variable with a nonzero coefficient is the row’s leading (basic) variable.
A system is in Echelon form if each leading variable is to the right of the leading variable in the row above it, except for the leading variable in the first row, and any all-zero rows are at the bottom.
The above form we will call Upper Triangular form. Many software tools give the Reduced Echelon form, described a bit later, when Echelon form is called. There is little difference between the computational complexity of Echelon and Reduced Echelon form. There are multiple advantages to have the Reduced form at hand. In certain ways in the decomposition the Echelon form and not the Reduced Echelon form appears. This is subject for a different time.
The system of linear equations
is not in Echelon Form. Every equation has the same leading variable namely .
The augmented matrix of the above system of linear equations is
Lets identify the positions of leading variables with (meaning a non-zero value) and put a placeholder (this is any value) in place of all other coefficients.
The system of linear equations
is not in Echelon Form. First equation has leading variable . The leading variable of the second and third equations are both .
As before write the augmented matrix and substitute with and but write coefficients that are zeroes.
The system of linear equations
is in Echelon form. First equation has leading variable . The leading variable of the second is and the leading variable of the third equation is . There are no other leading variables.
As before write the augmented matrix and substitute with , and .
The dotted lines result in a inverted stair shape which indicates the system is in Echelon form.
The system of linear equations
is in Echelon form. First equation has leading variable . The leading variable of the second is and the leading variable of the third equation is . This system of linear equation is in Reduced Echelon form: each leading variable occurs with non-zero coefficient in exactly one row and every coefficient in front of the leading variable is one. Its shape is still an inverted stair shape but with extra zeroes.
In the last example the free variables and and . In Echelon form the number of leading variable plus the number of free variables equals the number of variables in the system of linear equations.