Gaussian Elimination Calculator - REF & RREF Linear Equation Solver
Free Gaussian elimination calculator. Solve linear systems, calculate row echelon form (REF) & reduced row echelon form (RREF) with step-by-step solutions. Our calculator uses elementary row operations including forward elimination and back substitution to transform matrices and solve systems of linear equations.
Last updated: December 15, 2024
Need a custom linear algebra calculator for your educational platform? Get a Quote
Enter coefficients for the system. The augmented column contains the constants.
Solution
Row Echelon Form (REF):
Reduced Row Echelon Form (RREF):
Step-by-Step Process:
- Forward elimination complete
- Back substitution complete
- Solution type: unique
Gaussian Elimination Steps:
- • Forward Elimination: Create zeros below pivots (REF)
- • Back Substitution: Create zeros above pivots (RREF)
- • Row Operations: Swap, scale, and add/subtract rows
- • Pivot: First non-zero element in each row
Gaussian Elimination Calculator Features
Process
Zeros Below Pivots
Create triangular form with row operations
Process
Identity Matrix Form
Solutions directly visible in final column
Operations
Swap, Scale, Add
Preserve solution set while simplifying
Goal
Upper Triangular
Eliminate entries below main diagonal
Goal
Diagonal Form
Eliminate entries above pivots
Types
1, ∞, or 0
Determined by pivot positions
Example System Solution
System: 2x + y - z = 8, -3x - y + 2z = -11, -2x + y + 2z = -3
x =
2
y =
3
z =
-1
How Gaussian Elimination Works
Gaussian elimination solves linear systems by systematically transforming the augmented matrix using elementary row operations. The algorithm proceeds in two phases: forward elimination to reach REF, and back substitution to reach RREF.
The Gaussian Elimination Algorithm
Phase 1: Forward Elimination (REF)
- Identify pivot in first column, swap rows if needed
- Eliminate all entries below the pivot
- Move to next column and repeat
- Result: upper triangular matrix (REF)
Phase 2: Back Substitution (RREF)
- Scale each row to make pivots equal to 1
- Starting from bottom, eliminate entries above pivots
- Result: identity matrix on left (RREF)
- Solution appears directly in augmented column
Mathematical Foundation
Elementary row operations preserve the solution set because they represent equivalent systems. The three operations (row swapping, row scaling, row addition) correspond to algebraic manipulations that don't change the equations' meaning, only their representation.
- Row operations preserve the solution set of the system
- REF reveals the rank of the coefficient matrix
- RREF provides solutions directly without back calculation
- Pivot positions determine free and basic variables
- Algorithm complexity: O(n³) for n×n matrices
- Forms the basis for matrix inversion and determinant calculation
Sources & References
- Linear Algebra and Its Applications - David C. Lay (6th Edition)Standard reference for Gaussian elimination and row reduction
- Introduction to Linear Algebra - Gilbert Strang (5th Edition)Comprehensive treatment of elimination methods
- Khan Academy - Linear Algebra CourseFree educational resources for row operations
Need other linear algebra tools? Check out our augmented matrix calculator and cross product calculator.
Get Custom Calculator for Your PlatformGaussian Elimination Example
Initial Augmented Matrix:
[ 2 1 -1 | 8 ]
[ -3 -1 2 | -11]
[ -2 1 2 | -3 ]
After Forward Elimination (REF):
[ 2 1 -1 | 8 ]
[ 0 * * | * ]
[ 0 0 * | * ]
Solution: x = 2, y = 3, z = -1
System has a unique solution (consistent and independent).
Row Operations Used
Multiple row additions and scalings to create zeros
Verification
Substitute back to verify: 2(2) + 3 - (-1) = 8 ✓
Frequently Asked Questions
Found This Calculator Helpful?
Share it with others who need help with linear systems
Suggested hashtags: #LinearAlgebra #Mathematics #GaussianElimination #Education #Calculator