What is it?
In Mathematics, the Gaussian elimination method is used in Linear Algebra as a row reduction algorithm for solving Linear Systems. All operations are made on the matrix of coefficients.
The objective is to reduce the matrix to a upper triangular matrix, with the first element being equal to . That way, each equation can be rewritten in a way that is possible to solve for each variable. This is done using the Elementary Operations of Matrix.
How does it work?
Given a linear system, let’s apply the Gaussian elimination method, in a matrix-based way:
We can apply two Elementary Operations of Matrix, one on each row. The first will transform the first element to be equal to . The second will transform the the matrix to a upper triangular matrix.
Now, we can write to a linear system of equations again:
A simple replacement of on the first equation would reveal that .
Other methods
One could also consider the Gauss-Jordan Elimination Method, which is an improvement over the Gaussian method.