Enter an augmented matrix to solve systems of linear equations and obtain the row-echelon form with step-by-step calculations.
Related
This Gaussian Elimination Calculator helps solve systems of linear equations by converting an augmented matrix into row-echelon form using elementary row operations. It provides step-by-step solutions, making it useful for students, teachers, engineers, and anyone studying linear algebra. Whether you are verifying homework, preparing for exams, or solving real-world mathematical problems, this tool delivers fast and reliable results.
Gaussian Elimination is a systematic procedure used to solve systems of linear equations. It works by transforming the system’s augmented matrix into row echelon form (or reduced row echelon form) using elementary row operations.
The Gaussian elimination does not depend on a single formula to simplify an augmented matrix until it transforms to row-echelon form. Three formulas are used: Elementary Row Operations: The following three row operations are used in Gaussian elimination:
Swap the positions of two rows in the matrix.
Ri↔Rj
Where:
Ri = row i
Rj = row j
This operation is often used when the pivot element is zero or when a better pivot is needed.
Example:
Before:
$$ \begin{bmatrix} 0 & 2 & 5 \\ 1 & 3 & 4 \end{bmatrix} $$
After swapping R1 and R2:
$$ \begin{bmatrix} 1 & 3 & 4 \\ 0 & 2 & 5 \end{bmatrix} $$
Multiply every element in a row by a nonzero constant.
Ri→kRi
Where:
k ≠ 0
This is used to simplify calculations or generate a leading 1 in a pivot position.
Example:
Before:
R1→(1/2)R1
[2 4 6]
After:
[1 2 3]
Replace a row by adding a multiple of another row to it.
The row replacement operation is one of the most commonly used operations in Gaussian Elimination because it eliminates the entries below the pivot.
Example:
R2→R2−2R1
Before:
$$ \begin{bmatrix} 1 & 2 & | & 3 \\ 2 & 5 & | & 8 \end{bmatrix} $$
After:
$$ \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 2 \end{bmatrix} $$
Let’s understand the process step by step with a clear example.
Solve the following system of equations:
$$ 2x_1 + 4x_2 = 18 \\ 4x_1 + 6x_2 = 30 $$
First, write the system in augmented matrix form:
$$ \begin{bmatrix} 2 & 4 & 18 \\ 4 & 6 & 30 \end{bmatrix} $$
Step 1: Divide the first row by 2 to make the leading coefficient 1:
$$ \begin{bmatrix} 1 & 2 & 9 \\ 4 & 6 & 30 \end{bmatrix} $$
Step 2: Eliminate the first variable from the second row by subtracting 4 times the first row from the second row:
$$ \begin{bmatrix} 1 & 2 & 9 \\ 0 & -2 & -6 \end{bmatrix} $$
Step 3: Divide the second row by -2 to get a leading 1:
$$ \begin{bmatrix} 1 & 2 & 9 \\ 0 & 1 & 3 \end{bmatrix} $$
Step 4: Eliminate the second variable from the first row by subtracting 2 times the second row from the first row:
$$ \begin{bmatrix} 1 & 0 & 3 \\ 0 & 1 & 3 \end{bmatrix} $$
Now the left side of the matrix is the identity matrix. Therefore, the solution is:
$$ x_1 = 3, \quad x_2 = 3 $$
You can check your answer instantly using our matrix Gaussian elimination calculator.
It is commonly used to solve multiple linear equations with multiple unknowns efficiently.
Gaussian elimination is used by engineers to solve equations related to load distribution and structural stability in bridges, buildings, and mechanical systems.
It is used for scaling, rotation, and projection of 2D and 3D objects in computer graphics. This helps in rendering realistic images and animations.
It is used to analyze complex electrical circuits by solving systems of equations derived from Kirchhoff’s laws to determine current, voltage, and resistance.
It is used to solve matrix equations and estimate parameters accurately in data science, statistics, and machine learning models.
It is used in modeling physical systems such as motion, heat transfer, and fluid dynamics, where problems are represented using systems of linear equations/.
Key Differences:
| Feature | Gaussian Elimination | Gauss-Jordan Elimination |
| Final form | Row-echelon form (REF) | Reduced row-echelon form (RREF) |
| Back substitution | Required | Not required |
| Number of steps | Fewer | More |
| Complexity | Faster | Slightly longer |
| Result | Intermediate form | Direct solution |
The augmented matrix is the compact way to represent the system of linear equations in the form of a matrix. It combines the coefficients of the variables and the constants in a single matrix.
An augmented matrix has two parts:
A vertical line is often used to separate these two parts for clarity.
System of equations:
x + y + z = 6
2x − y + 3z = 14
x + 2y − z = 2
Augmented matrix form:
\( \left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6 \\ 2 & -1 & 3 & 14\\ 1 & 2 & -1 & 2 \end{array} \right] \)
For quickly analyzing an augmented matrix, try our Augmented Matrix Calculator.
Row-echelon form (REF) is the way of arranging a matrix in simple form so that it can be solved easily.
Conditions of Row-Echelon Form:
A matrix is in row-echelon form if it satisfies the following rules:
Example of Row-Echelon Form:
\( \left[ \begin{array}{ccc|c} 1 & 2 & -1 & 3 \\ 0 & 1 & 4 & 5\\ 0 & 0 & 2 & 6 \end{array} \right] \)
Key Differences Between REF and RREF
| Feature | REF | RREF |
| Full Name | Row-Echelon Form | Reduced Row-Echelon Form |
| Pivot Position | Moves to the right in each row | Moves to the right in each row |
| Entries Below Pivots | Must be zero | Must be zero |
| Entries Above Pivots | Can be nonzero | Must be zero |
| Pivot Values | Can be any nonzero number | Must be 1 |
| Back Substitution Required | Yes | No |
| Simplicity | Less simplified | More simplified |
Related
Links
Home Conversion Calculator About Calculator Online Blog Hire Us Knowledge Base Sitemap Sitemap TwoEmail us at
Contact Us© Copyrights 2026 by Calculator-Online.net
How was your experience today?
Not now
Awesome! Would you mind sharing that on Trustpilot?
Your review helps others find a tool that actually works.
Write a Review on TrustpilotNot now
Sorry to hear that
Tell us what went wrong — we read every message.
Not now
Thanks for your feedback!
We'll use it to make things better.