# Gaussian elimination

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

The systems of linear equations:

can be solved using Gaussian elimination with the aid of the 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 genius German mathematician from 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, a Chinese mathematics book published in the 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 important to get a non-zero leading coefficient. If it becomes zero, the row gets swapped with a lower one with a 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:

,

#### Similar calculators

**

**PLANETCALC, Gaussian elimination

## Comments