# Gaussian elimination

The calculator solves the systems of linear equations using row reduction (Gaussian elimination) algorithm. The calculator produces step by step solution description.

The systems of linear equations:

could be solved using Gaussian elimination with aid of our calculator.

In Gaussian elimination, the linear equation system is represented as an augmented matrix, i.e. the matrix containing the equation coefficients and constant terms with dimensions [n:n+1]:

## Gaussian elimination

The method is named after Carl Friedrich Gauss, the genious German mathematician of 19 century. Gauss himself did not invent the method. The row reduction method was known to ancient Chinese mathematicians, it was described in The Nine Chapters on the Mathematical Art, Chinese mathematics book, issued in II century.

## Forward elimination

The first step of Gaussian elimination is row echelon form matrix obtaining. The lower left part of this matrix contains only zeros, and all of the zero rows are below the non-zero rows:

The matrix is reduced to this form by the elementary row operations: swap two rows, multiply a row by a constant, add to one row a scalar multiple of another.

Our calculator gets the echelon form using sequential subtraction of upper rows , multiplied by from lower rows , multiplied by , where i - leading coefficient row (pivot row).

It is impotant to get non-zero leading coefficient. If it becomes zero, the row get swapped with lower one with non zero coefficient in the same position.

## Back substitution

During this stage the elementary row operations continue until the solution is found.Finally, it puts the matrix into reduced row echelon form:

,

.

## Comments