HomeCalculatorsMathLinear System Calculator
Math calculator

Linear System Calculator

Solve small linear systems Ax = b, plus determinant, inverse, and multiply. Same engine as the matrix workspace. Not a CAS. Runs locally.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary Engine tested · Specification checked · 10/10 tests · Production surface contract 3/3 · v1.0.0
Input interpretation
Enter values to calculate.
Result
Model
Small Ax=b, det, inverse, multiply, transpose.
Scope
Real matrices
Verification
Engine tested · 10/10 tests · Production surface contract 3/3 · Specification checked · v1.0.0
Named expert review
Optional · Not performed
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Specification basis
Evidence
3 golden · 2 boundary · 5 property · Production surface contract 3/3 · Artifact integrity PASS
Production
Embedded snapshot: unpublished · Build schema 1.0.0 ready · Semantic contract ✓ · Attestation report not published on origin · Live production status PASS (0 stale; 164 CURRENT) @ 2026-09-16T06:44:24.909Z
Semantic contract
PASS

Formulas

Core equations used by this calculator.

2×2 determinantdet = a₁₁a₂₂ − a₁₂a₂₁
Solvex = A⁻¹ b when det(A) ≠ 0
iNot a CAS. Not eigenvalue / SVD. Order ≤ 4. Inverse of a singular matrix is SINGULAR_MATRIX.

How to use

1

Choose solve, det, inverse, multiply, or transpose

Solve needs A and rhs b. Multiply needs square A and B of the same order.

2

Read x, y (and z) or the matrix

Open /workspace/matrix to keep a local matrix scenario.

Example calculations

Common configurations with formula and result.

ϟ

2×2

2x + y = 5, x + y = 3

x=2, y=1
unique
ϟ

det [[1,2],[3,4]]

1·4 − 2·3

−2
−2

Linear System calculator specification

Version 1.0.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
A linear system Ax = b has a unique solution when det(A) ≠ 0. This page is the 2×2 / 3×3 seed of the linear-algebra engine. Larger composition lives at /workspace/matrix.
What it calculates
Small Ax=b, det, inverse, multiply, transpose.
Inputs
  • mode
  • order
  • a11…
  • b1…
Outputs
  • x
  • y
  • z
  • det
  • status
Formula
Ax = b
Assumptions
  • Real matrices
  • Order ≤ 4
  • Not a CAS
Units
  • dimensionless
Boundary conditions
  • singular inverse → SINGULAR_MATRIX
  • unknown mode (including eigen) → INVALID_MODE
Example
2x+y=5, x+y=3 → x=2, y=1
Validation cases

2 published on this page · 10/10 tests · Production surface contract 3/3 · View evidence

  • mode=solve order=2 a11=2 a12=1 a21=1 a22=1 b1=5 b2=3 → x=2 y=1
  • mode=det a11=1 a12=2 a21=3 a22=4 → det=-2
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Calculation version
1.0.0

Other calculators in this family: Linear equation, Matrix workspace, Numerical root .

}

Frequently asked questions

Key distinctions behind the calculation.

Is this a computer-algebra system?

No. It is small real matrices (order ≤ 4).

Where is the workspace?

/workspace/matrix uses this same engine. Calculator URLs stay /calc/math/linear-system.