Gauss-Jordan Elimination Calculator
Solve linear systems and find reduced row echelon form with step-by-step solutions
Matrix Input
Choose matrix size. Use augmented matrices (like 3×4) for solving linear systems.
Enter real numbers for matrix elements
Results
Reduced Row Echelon Form
Step-by-Step Solution
Step 0: Initial Matrix
OperationStarting with the given matrix
Step 1: R1 ↔ R2
OperationSwap row 1 with row 2 to get pivot
Step 2: R1 → (1/2.000) × R1
OperationMake pivot in row 1, column 1 equal to 1
Step 3: R2 → R2 + (-1.000) × R1
OperationEliminate entry in row 2, column 1
Step 4: R3 → R3 + (-2.000) × R1
OperationEliminate entry in row 3, column 1
Step 5: R2 ↔ R3
OperationSwap row 2 with row 3 to get pivot
Step 6: R2 → (1/-2.000) × R2
OperationMake pivot in row 2, column 2 equal to 1
Step 7: R1 → R1 + (-2.000) × R2
OperationEliminate entry in row 1, column 2
Step 8: R3 → (1/0.500) × R3
OperationMake pivot in row 3, column 3 equal to 1
Step 9: R1 → R1 + (-5.500) × R3
OperationEliminate entry in row 1, column 3
Step 10: R2 → R2 + (4.000) × R3
OperationEliminate entry in row 2, column 3
Elementary Row Operations
1. Row Swapping: R₁ ↔ R₂ (interchange two rows)
2. Row Scaling: R₁ → c × R₁ (multiply a row by non-zero constant)
3. Row Addition: R₁ → R₁ + c × R₂ (add multiple of one row to another)
Example: Solving Linear System
System of Equations
x + 2y - 2z = 1
2x + 4y - 5z = 4
2x + 2y + 3z = 4
Augmented Matrix
| 1 2 -2 | 1 |
| 2 4 -5 | 4 |
| 2 2 3 | 4 |
Solution
x = 13, y = -8, z = -2
Unique solution found through Gauss-Jordan elimination
Key Concepts
RREF
Reduced Row Echelon Form
Row Operations
Elementary transformations
Rank
Number of non-zero rows
Applications
Solving linear systems
Finding matrix inverse
Computing matrix rank
Linear independence testing
Basis computation
Understanding Gauss-Jordan Elimination
What is Gauss-Jordan Elimination?
Gauss-Jordan elimination is an algorithm that uses elementary row operations to transform a matrix into reduced row echelon form (RREF). This method is used to solve systems of linear equations, find matrix inverses, and determine matrix properties.
Row Echelon Form vs RREF
- • REF: Leading entries in descending staircase pattern
- • RREF: Leading entries are 1, with zeros above and below
- • Uniqueness: RREF is unique, REF is not
Algorithm Steps
- Find pivot (leftmost non-zero entry)
- Swap rows to move pivot to top
- Scale row to make pivot equal 1
- Use row operations to make other entries in column zero
- Repeat for next column and row
Note: The process continues until all possible leading 1's are created and all entries above and below them are eliminated.