Gauss-Jordan Calculator
Solve a 2×2 linear system using Gauss-Jordan elimination. Enter the coefficients of both equations and read the solution for x and y with steps shown.
Equation 1: a11·x + a12·y = b1
Equation 2: a21·x + a22·y = b2
Result
x = 2, y = 1
Quick Answer
A Gauss-Jordan calculator solves a 2×2 linear system by row-reducing the augmented matrix [A|b] to the identity matrix form [I|x]. For the system 3x + 2y = 12 and x − y = 1, the calculator reaches the solution x = 2.8, y = 1.8. Check: 3(2.8) + 2(1.8) = 12. 2.8 − 1.8 = 1. Both equations satisfied.
Gauss-Jordan Elimination: What the Method Does and What This Calculator Solves
Gauss-Jordan elimination is a systematic row-reduction method that transforms the augmented matrix of a linear system into reduced row echelon form (RREF). In RREF, each equation has exactly one leading variable with coefficient 1, and all other entries in that variable column are 0. The result reads off directly as the solution values without back-substitution. This calculator applies Gauss-Jordan elimination to 2×2 systems only: two equations in two unknowns.
The 2x2 Gauss-Jordan Procedure and the Augmented Matrix
Augmented Matrix: [a₁₁ a₁₂ | b₁] / [a₂₁ a₂₂ | b₂] Determinant: D = a₁₁a₂₂ − a₁₂a₂₁ x = (b₁a₂₂ − b₂a₁₂) / D y = (a₁₁b₂ − a₂₁b₁) / D
- Augmented matrix: [a₁₁ a₁₂ | b₁] / [a₂₁ a₂₂ | b₂]
- Goal: RREF [1 0 | x] / [0 1 | y]
- Determinant: D = a₁₁a₂₂ − a₁₂a₂₁
- Solution: x = (b₁a₂₂ − b₂a₁₂) / D, y = (a₁₁b₂ − a₂₁b₁) / D
Use the Gauss-Jordan Calculator in 3 Steps
Inputs
- Equation 1: coefficients a₁₁ (for x), a₁₂ (for y), and constant b₁
- Equation 2: coefficients a₂₁ (for x), a₂₂ (for y), and constant b₂
Steps
- Write each equation in standard form: [coefficient of x]x + [coefficient of y]y = [constant].
- Enter the six values: a₁₁, a₁₂, b₁ for equation 1; a₂₁, a₂₂, b₂ for equation 2.
- Read the solution x and y; substitute back into both equations to verify.
Gauss-Jordan Worked Example: Solving 3x + 2y = 12 and x − y = 1
Solving a 2×2 linear system with coefficients (3, 2, 12) and (1, −1, 1).
- Determinant D = (3)(−1) − (2)(1) = −5.
- Solve for x: x = (12 × (−1) − 1 × 2) / (−5) = −14 / (−5) = 2.8.
- Solve for y: y = (3 × 1 − 1 × 12) / (−5) = −9 / (−5) = 1.8.
- Verify: 3(2.8) + 2(1.8) = 12 and 2.8 − 1.8 = 1.
x = 2.8, y = 1.8 (exact values x = 14/5, y = 9/5).
When Gauss-Jordan Is the Right Method to Use
Gauss-Jordan is the standard row-reduction method taught in linear algebra for solving systems of equations. For 2×2 systems, it is equivalent to substitution or Cramer's rule and produces the same answer.
Assumptions
- The system has exactly 2 equations and 2 unknowns (x and y).
- All coefficients and constants are real numbers.
- The determinant D = a₁₁a₂₂ − a₁₂a₂₁ ≠ 0.
Limitations
- Solves 2×2 systems only; does not handle 3×3 or larger systems.
- Does not identify whether a D = 0 system is inconsistent or dependent.
- Does not solve non-linear systems.
In Practice
The most common entry error is writing equations in non-standard form before reading off coefficients. Always rearrange each equation to ax + by = c before entering coefficients. If x or y is missing from an equation (e.g., 3x = 9), set the missing coefficient to 0 (a₁₂ = 0 means y is absent from equation 1). Forgetting to account for a zero coefficient is the leading source of incorrect matrix entries.
Related Calculators
Related Guides
- How To Do Gauss Jordan Elimination
Learn how to do Gauss Jordan elimination with this simple step-by-step math guide. We cover how to build a matrix, use row operations, and solve the system.
- How To Average Percentages Without Common Mistakes
Learn when to average percentages directly, when to use a weighted average, and why mixed group sizes can make a simple average misleading result.
- How To Find Backwards Percentages From Final Values
Learn the backwards percentage method for finding an original value before an increase or decrease, with formulas, checks, and worked examples.
- Calculator Evolution From Abacus to Online Tools Today
Follow calculator evolution from abacus and slide rules to mechanical calculators, handheld electronics, software, and modern online tools today.
- How To Find A Percentage On A Calculator, Step By Step
Find a percentage on a calculator using the percent button or the decimal method, with worked examples for percentage of a number, increase and decrease.
- How To Calculate Architectural Scale
Learn how to calculate architectural scale with this simple step-by-step math guide. We cover how to read plans, find ratios, and measure real paper lines.
Frequently Asked Questions: Gauss Jordan Calculator
What is reduced row echelon form (RREF)?
Reduced row echelon form is the result of applying Gauss-Jordan elimination completely: each pivot is 1, all other entries in the pivot column are 0, and pivots appear in left-to-right, top-to-bottom order. For a 2×2 system, RREF looks like the identity matrix on the left and the solution values on the right.
What is the difference between Gaussian elimination and Gauss-Jordan?
Gaussian elimination (forward elimination only) reduces the matrix to upper triangular form, then uses back-substitution to find the solution. Gauss-Jordan goes further by also doing back-elimination, producing reduced row echelon form where the solution reads off directly without back-substitution.
What does a zero determinant mean?
If D = a₁₁a₂₂ − a₁₂a₂₁ = 0, the two equations are either parallel (inconsistent, no solution) or the same line (dependent, infinitely many solutions). In either case, there is no unique solution for x and y.
Can I use this to solve for three unknowns?
No. This calculator handles 2×2 systems (two equations, two unknowns) only. A 3×3 system requires a 3×3 augmented matrix and three rows of input coefficients.
How does Gauss-Jordan relate to matrix inversion?
For a 2×2 system, Gauss-Jordan applied to the augmented matrix [A|b] produces the solution. If you instead augment with the identity matrix [A|I] and row-reduce, the result is [I|A⁻¹], the inverse of A. For invertible matrices, the solution x = A⁻¹b matches the Gauss-Jordan result.
Sources
Last updated: . Reviewed for accuracy against the formula shown above.