The calculator solves the systems of linear equations using the row reduction (Gaussian elimination) algorithm. The calculator produces step by step solution description.
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/3571/. Also, please do not modify any references to the original work (if any) contained in this content.
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]:
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.
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.
During this stage the elementary row operations continue until the solution is found. Finally, it puts the matrix into reduced row echelon form: