What this calculator does
System of two linear equations works out solves a₁x+b₁y=c₁ and a₂x+b₂y=c₂ for x and y. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.
The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.
The formula
FormulaD = a₁b₂ − a₂b₁; x = (c₁b₂ − c₂b₁)/D; y = (a₁c₂ − a₂c₁)/D
The inputs explained
| Field | What to enter |
|---|---|
| a₁ | A number. Starts at 2. |
| b₁ | A number. Starts at 3. |
| c₁ | A number. Starts at 8. |
| a₂ | A number. Starts at 1. |
| b₂ | A number. Starts at -1. |
| c₂ | A number. Starts at 1. |
Worked examples
Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.
How the answer changes with a₁
Every other input is held at the calculator’s starting values while a₁ varies. Select any row to load that scenario into the calculator.