Handitab

Linear Algebra Calculator

Solve a system of linear equations by Gaussian elimination: type the augmented matrix and get the solution or learn why none exists.

About Linear Algebra Calculator

A system of linear equations can be written as an augmented matrix, where each row holds the coefficients of one equation followed by its constant term. This calculator reduces the matrix to reduced row echelon form with Gauss-Jordan elimination and partial pivoting. It then reports a unique solution, states that the system is inconsistent, or says that it has infinitely many solutions, and prints the reduced matrix so you can check the steps.

How to use Linear Algebra Calculator

  1. Type or paste into the "Augmented matrix (one equation per line: coefficients, then the constant)" box, or press "Use example" to try it with sample data.
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Linear Algebra Calculator

How do I enter the equations 2x + y = 5 and x − y = 1?

Type one row per equation with the coefficients in the same variable order, then the right-hand side: "2 1 5" on the first line and "1 -1 1" on the second. A missing variable is entered as 0.

When does a system have no solution?

When elimination produces a row whose coefficients are all zero but whose constant is not, such as 0 = 4. The equations contradict each other, as with two parallel lines that never meet.

Runs in your browser. Page last updated .

More math calculators

All 36 math calculators