CalcUnit Logo

How to Calculate System of Equations

Solve 2×2 systems of equations by substitution or elimination.

The Formula

Gaussian elimination

The 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:

VariableTypeExample 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)—
xResult (calculated)—
yResult (calculated)—

Step-by-Step Method

  1. 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).
  2. 2Substitute your known values into the formula: Gaussian elimination.
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 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)xy
0.5-3.50003.1428572.142857
1-4.00002.7500001.750000
2-5.00002.2000001.200000
3-6.00001.8333330.833333
4-7.00001.5714290.571429
5-8.00001.3750000.375000
6-9.00001.2222220.222222
8-11.00001.0000000.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

system of equationsalgebrasolve

Use the Interactive Calculator

Skip the manual math — get instant results with our free System of Equations calculator.

Open Calculator

Related Calculators