Matrix Calculator
🌐 English

System of Equations Matrix Calculator

Use this system of equations matrix calculator to solve linear systems in three ways: enter coefficients in Equations mode, enter the coefficient matrix A and vector b, or enter the full augmented matrix [A|b]. The calculator reduces the system to RREF, shows row-operation steps, supports fractions and decimals, and identifies whether the system has one solution, no solution, or infinitely many solutions.

A (3×3)
Rows: 3
Cols: 3
B (3×3)
Rows: 3
Cols: 3
Supports: fractions (1/2), decimals (0.5), constants (pi, e). Empty cells are treated as 0.

Calculation Results

Practice This Skill

Generate printable systems of equations practice problems with exact answer keys and detailed solutions.

Practice Systems of Equations →

How to Use the System of Equations Calculator

  1. Choose an input method.
  2. Enter the system.
  3. Click the matching solve button.
  4. Review the RREF, row-operation steps, and Solution Summary.

Equations

Use Equations mode when you want to enter the coefficients and constants row by row, as they appear in a system such as 2x + y = 5. This mode is for structured coefficient input, not free-form text parsing.

A and b

Use A and b when you already have the coefficient matrix A and the constant vector b for Ax = b. The calculator keeps the two inputs separate while it builds the augmented matrix internally.

Augmented Matrix

Use Augmented Matrix mode when your system is already written as [A|b]. The last column is treated as the constants column, and every earlier column is treated as a variable coefficient column.

How the Calculator Solves a Linear System

Each input method is converted to, or read as, an augmented matrix [A|b]. The calculator then applies Gauss-Jordan elimination to reduce the matrix to reduced row echelon form. RREF is the solving method here; it is not the page's main topic.

From the RREF, the calculator checks pivot columns, identifies free variables, detects inconsistent rows, and generates a Solution Summary. Depending on the row structure, the summary reports an exact unique solution, no solution, or a parameterized family of infinitely many solutions.

Need a step-by-step explanation? Learn how to solve systems of equations with matrices, including Ax = b, augmented matrices, and Gauss-Jordan elimination.

Understanding the Result

Unique Solution

A unique solution appears when the system is consistent and every variable column has a pivot. The Solution Summary lists one value for each variable.

No Solution

No solution is detected when RREF contains a contradictory row like this:

[0  0  ...  0 | c]

with c not equal to 0. That row means the original equations cannot all be true at the same time.

Infinitely Many Solutions

Infinitely many solutions occur when the system is consistent but at least one variable is free. The Solution Summary uses parameters such as t1, t2, and so on to describe all solutions.

Does the System Have to Be Square?

No. A linear system can have fewer equations than variables, more equations than variables, or the same number of equations and variables.

  • Underdetermined systems may have no solution or infinitely many solutions.
  • Overdetermined systems may be consistent or inconsistent.
  • RREF determines the actual result from the entered coefficients and constants.

Fractions and Decimals

The inputs support fractions such as 1/2 and -3/4, decimals such as 0.5, and constants such as pi and e. Empty cells follow the calculator's current behavior and are treated as 0.

Row reduction keeps values as exact as possible, and the result area lets you switch between Fraction and Decimal display. This page does not parse arbitrary equation strings; Equations mode uses structured coefficient fields.

Example: Solve a 2 x 2 System

Consider the system:

x + y = 3
x - y = 1

The corresponding A and b inputs are:

A = [ 1   1
      1  -1 ]

b = [ 3
      1 ]

The same system as an augmented matrix is:

[ 1   1 | 3
  1  -1 | 1 ]

The solution is x = 2 and y = 1.

Related Matrix Tools

These related tools serve different jobs, so the pages are not duplicates:

Frequently Asked Questions

How do I solve a system of equations with matrices?

Write the coefficients as matrix A and the constants as vector b, or enter the same information as an augmented matrix [A|b]. The calculator reduces the augmented matrix to RREF and reads the solution from the pivot structure.

What is the difference between A and b and an augmented matrix?

A and b keeps the coefficient matrix and constant vector in separate input areas. An augmented matrix places them in one matrix, with the final column representing b. Both forms describe the same linear system.

Can this calculator show row-reduction steps?

Yes. The calculator uses Gauss-Jordan elimination and shows the row operations that lead to reduced row echelon form. The steps appear with the RREF result and the Solution Summary.

Can a system have infinitely many solutions?

Yes. A consistent system has infinitely many solutions when at least one variable is free. In that case, the Solution Summary writes the answer with parameters such as t1 or t2.

How does the calculator detect no solution?

After row reduction, a row with zero coefficients and a nonzero constant means the equations contradict each other. The calculator reports that case as no solution.

Can I enter fractions?

Yes. You can enter fractions such as 1/2 and decimals such as 0.5. The result area also supports Fraction and Decimal display options.

Does the system need the same number of equations and variables?

No. The calculator can handle fewer equations than variables, more equations than variables, or the same number of each. RREF determines whether the actual system is consistent and how many solutions it has.


Copyright Notice: This article is original content from the Matrix Calculator website. Please credit the source when sharing or reproducing it. For more matrix computation tools, visit matrixcalcu.com.

Learn matrix multiplication more easily in just 2 minutes with this free game.

Matrix Multiplication Game