How to Calculate System of Equations
Solve 2×2 systems of equations by substitution or elimination.
The Formula
Gaussian eliminationThe system of equations formula uses the mathematical relationship: Gaussian elimination. Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the system of equations formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| a₁ (coeff of x, eq 1) | Input (you provide) | 2 |
| b₁ (coeff of y, eq 1) | Input (you provide) | 3 |
| c₁ (constant, eq 1) | Input (you provide) | 8 |
| a₂ (coeff of x, eq 2) | Input (you provide) | 1 |
| b₂ (coeff of y, eq 2) | Input (you provide) | -1 |
| c₂ (constant, eq 2) | Input (you provide) | 1 |
| Determinant (D) | Result (calculated) | — |
| x | Result (calculated) | — |
| y | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: a₁ (coeff of x, eq 1), b₁ (coeff of y, eq 1), c₁ (constant, eq 1), a₂ (coeff of x, eq 2), b₂ (coeff of y, eq 2), c₂ (constant, eq 2).
- 2Substitute your known values into the formula: Gaussian elimination.
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive System of Equations Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: a₁ (coeff of x, eq 1) = 1, with the other inputs at the typical values from the variables table above. Substituting into the formula gives determinant (d) = -4.0000, x = 2.750000, y = 1.750000. These numbers are solved by the same engine that powers the System of Equations calculator, so you can reproduce them exactly by entering the same inputs there.
| a₁ (coeff of x, eq 1) | Determinant (D) | x | y |
|---|---|---|---|
| 0.5 | -3.5000 | 3.142857 | 2.142857 |
| 1 | -4.0000 | 2.750000 | 1.750000 |
| 2 | -5.0000 | 2.200000 | 1.200000 |
| 3 | -6.0000 | 1.833333 | 0.833333 |
| 4 | -7.0000 | 1.571429 | 0.571429 |
| 5 | -8.0000 | 1.375000 | 0.375000 |
| 6 | -9.0000 | 1.222222 | 0.222222 |
| 8 | -11.0000 | 1.000000 | 0.000000 |
How each result changes as a₁ (coeff of x, eq 1) changes, holding the other inputs constant.
Practice Problems
1. 2x + 3y = 8, x - y = 1: Plug in a₁ (coeff of x, eq 1) 2, b₁ (coeff of y, eq 1) 3, c₁ (constant, eq 1) 8, a₂ (coeff of x, eq 2) 1, and 2 more more inputs. What is the answer?
Answer: Entering a₁ (coeff of x, eq 1) 2, b₁ (coeff of y, eq 1) 3, c₁ (constant, eq 1) 8, a₂ (coeff of x, eq 2) 1, and 2 more more inputs gives Determinant (D) -5.0000, x 2.200000, y 1.200000.
2. Given a₁ (coeff of x, eq 1) 3.75, b₁ (coeff of y, eq 1) 2, c₁ (constant, eq 1) 12, a₂ (coeff of x, eq 2) 1, and 2 more more inputs, what does it come out to?
Answer: The calculator returns Determinant (D) 13.0000, x 2.461538, y 1.384615 for a₁ (coeff of x, eq 1) 3.75, b₁ (coeff of y, eq 1) 2, c₁ (constant, eq 1) 12, a₂ (coeff of x, eq 2) 1, and 2 more more inputs.
Frequently Asked Questions
What is the formula for system of equations?
The formula is: Gaussian elimination. Solve 2×2 systems of equations by substitution or elimination.
What values do I need to calculate system of equations?
You need a₁ (coeff of x, eq 1), b₁ (coeff of y, eq 1), c₁ (constant, eq 1), a₂ (coeff of x, eq 2), b₂ (coeff of y, eq 2), c₂ (constant, eq 2). The calculator produces determinant (d), x, y from those inputs.
What is the system of equations when a₁ (coeff of x, eq 1) is 1?
With a₁ (coeff of x, eq 1) = 1, the result is determinant (d) = -4.0000, x = 2.750000, y = 1.750000. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free System of Equations calculator.
