ponderloop.com

System of Equations Calculator

Size of the system

Enter each equation as ax + by [+ cz] = d. Put 0 for a missing variable. Whole numbers, decimals like 0.75 and fractions like 3/4 all work.

Bigger systems, or a matrix to invert: use the matrix calculator.

2x + 3y = 7 · 4x − y = 5

x = 11/7, y = 9/7

Exactly one pair (x, y) satisfies both equations.

Solution as decimals
x ≈ 1.5714, y ≈ 1.2857
Determinant D = det(A)
−14
Dx (x column replaced by the constants)
−22
Dy (y column replaced by the constants)
−18
Cramer’s rule
x = Dx / D = −22 / −14 = 11/7; y = Dy / D = −18 / −14 = 9/7
Rank of A
2
Rank of [A | d]
2
Geometric reading
The two lines cross at exactly one point, (11/7, 9/7).

Graph of the two lines

Graph of the two lines in the systemGraph of the lines 2x + 3y = 7 and 4x − y = 5. The two lines cross at exactly one point, (11/7, 9/7).00.511.5−0.500.511.5xyEq 1Eq 2(11/7, 9/7)
Line 1 is solid and line 2 is dashed. A dot marks the point where they cross. Graph of the lines 2x + 3y = 7 and 4x − y = 5. The two lines cross at exactly one point, (11/7, 9/7).

The row reduction, step by step

  1. Write the system as an augmented matrix [A | d]: one row per equation, the coefficients of x, y first and the constant after the divider.
    Column 1Column 2Constant
    Equation 1237
    Equation 24−15
  2. R1 ← R1 ÷ 2, to make the pivot 1.
    Column 1Column 2Constant
    Equation 113/27/2
    Equation 24−15
  3. R2 ← R2 − 4·R1, to clear the pivot column.
    Column 1Column 2Constant
    Equation 113/27/2
    Equation 20−7−9
  4. R2 ← R2 ÷ (−7), to make the pivot 1.
    Column 1Column 2Constant
    Equation 113/27/2
    Equation 2019/7
  5. R1 ← R1 − (3/2)·R2, to clear the pivot column.
    Column 1Column 2Constant
    Equation 11011/7
    Equation 2019/7
  6. The left side is now the identity matrix, so the right column is the solution: x = 11/7, y = 9/7.
  7. Check by putting the solution back into each equation. Equation 1: 2·(11/7) + 3·(9/7) = 7, as required. Equation 2: 4·(11/7) + (−1)·(9/7) = 5, as required.
  8. Cramer’s rule uses the determinant D = ad − bc = 2·(−1) − 3·4 = −14.
  9. Replacing one column at a time by the constants gives Dx = −22, Dy = −18, so x = Dx / D = 11/7, y = Dy / D = 9/7: the same answer.