There are four elementary row operations for producing equivalent matrices:
1. RowSwap Interchange any two rows.
2. Row+ Row addition; add a row to any other row.
3.*RowScalar multiplication; multiply (or divide) all the elements of a row by the
same nonzero real number.
4.*Row+Multiply all the entries of a row (pivot row) by a nonzero real number and
add each resulting product to the corresponding entry of another
specified row (target row).
These elementary row operations are used together in a process called pivoting: which means
1. Divide all entries in the row in which the pivot appears (called the pivot row) by the nonzero
pivot element so that the pivot entry becomes a 1. This uses elementary row operation 3.
2. Obtain zeros above and below the pivot element by using elementary row operation 4.