Linear Algebra

Linear System Solver

Solve A·x = b by Gaussian elimination.

Formula

Formula
x = A−1 b

Variables

SymbolDefinitionType & rangeUnitsRole
A coefficient matrix real matrix input
b right-hand side list of real numbers input
x solution computed result result

Try it yourself

Interactive calculator
rows separated by ';' , values by commas
comma or space separated numbers
Result

Worked examples

Example 1
GivenA = 2, 1, -1; -3, -1, 2; -2, 1, 2, b = 8, -11, -3
Result[ 2, 3, -1 ]
Example 2
GivenA = 1, 1; 1, -1, b = 5, 1
Result[ 3, 2 ]