Calculators.Life Calculator
Math

Augmented Matrix Calculator

Input Parameters

Scenarios

Computed Results

System Classification
Consistent & Independent (Unique Solution)
Rank of Coefficient Matrix (A)3
Rank of Augmented Matrix [A|B]3
Solution (Reduced Row Echelon Form)x1 = 2, x2 = 3, x3 = -1
Determinant of Matrix A-1

The augmented matrix calculator solves systems of linear equations by converting them into an augmented matrix and applying Gauss-Jordan elimination. It determines whether a 2x2 or 3x3 system has a unique solution, infinitely many solutions, or no solution, while also calculating the matrix rank and determinant.

How to Use the Augmented Matrix Calculator

Follow these steps to analyze and solve your system of linear equations:

  1. Select the System Size: Choose whether you are solving a 2x2 (two variables, two equations) or 3x3 (three variables, three equations) system.
  2. Enter the Coefficients: Input the values for the variables in each row (e.g., Row 1, X₁). These form the coefficient matrix (A).
  3. Enter the Constants: Input the constant term for each equation (e.g., Row 1 Constant). These form the constant column vector (B).
  4. Review the Results: The calculator will output the system classification, the ranks of the matrices, the determinant, and the final solution in Reduced Row Echelon Form (RREF).

Formula and Calculation Method

An augmented matrix combines the coefficient matrix (A) and the constant vector (B) into a single matrix, written as [A|B]. For a 3x3 system, it looks like this:

[ a₁₁ a₁₂ a₁₃ | b₁ ]
[ a₂₁ a₂₂ a₂₃ | b₂ ]
[ a₃₁ a₃₂ a₃₃ | b₃ ]

The calculator uses Gauss-Jordan elimination to transform this matrix into Reduced Row Echelon Form (RREF). It then applies the Rouché-Capelli theorem to classify the system based on the rank of the coefficient matrix (Rank A) and the rank of the augmented matrix (Rank AB):

Inputs and Outputs Reference

FieldTypeDescription
System SizeInputThe dimensions of the system (2x2 or 3x3).
Row Coefficients (a)InputThe multipliers for each variable (X₁, X₂, X₃) in the equations.
Row Constants (b)InputThe result of each linear equation.
System ClassificationOutputStates whether the system has a unique solution, infinite solutions, or no solution.
Rank of Matrix (A)OutputThe number of linearly independent rows in the coefficient matrix.
Rank of Augmented Matrix [A|B]OutputThe number of linearly independent rows in the combined matrix.
Solution (RREF)OutputThe calculated values for the variables, or a summary of the solution state.
Determinant of Matrix AOutputA scalar value that helps determine if the matrix is invertible.

Verified Scenario Walkthroughs

Here are examples of how different systems are evaluated by the calculator:

Default 3x3 System (Unique Solution)

If you input a 3x3 system with Row 1: 2, 1, -1 (Constant 8); Row 2: -3, -1, 2 (Constant -11); and Row 3: -2, 1, 2 (Constant -3), the calculator determines the determinant is -1. Because Rank A (3) equals Rank AB (3), the system is Consistent & Independent. The unique solution is x1 = 2, x2 = 3, x3 = -1.

3x3 System with Infinitely Many Solutions

Consider a system where Row 1 is 1, 2, 3 (Constant 6); Row 2 is 2, 4, 6 (Constant 12); and Row 3 is 1, 1, 1 (Constant 3). The determinant is 0. Rank A is 2 and Rank AB is 2. Since the rank is less than the number of variables (3), the system is Dependent, yielding infinitely many solutions with 1 free variable.

Inconsistent 3x3 System (No Solution)

If Row 1 is 1, 1, 1 (Constant 2); Row 2 is 1, 1, 1 (Constant 3); and Row 3 is 2, 3, 4 (Constant 5), the determinant is 0. Rank A is 2, but Rank AB is 3. Because Rank A is less than Rank AB, the system is Inconsistent, meaning no solution exists due to a contradiction.

Practical Use Cases

Augmented matrices are fundamental tools in linear algebra with several practical applications:

Frequently Asked Questions

What is an augmented matrix?

An augmented matrix is a matrix formed by appending the columns of the constant vector to the coefficient matrix of a system of linear equations. It allows you to perform row operations on both the coefficients and the constants simultaneously.

What does it mean if the determinant is zero?

If the determinant of the coefficient matrix is zero, the matrix is singular (non-invertible). This means the system of equations does not have a single unique solution; it either has infinitely many solutions or no solution at all.

How does matrix rank determine the type of solution?

According to the Rouché-Capelli theorem, if the rank of the coefficient matrix equals the rank of the augmented matrix, the system is consistent (has at least one solution). If these ranks are equal to the number of variables, there is exactly one solution. If the rank of the coefficient matrix is less than the rank of the augmented matrix, the system is inconsistent and has no solution.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.