Enter the coefficients of your two linear equations to find the solution for x and y.
This tool solves systems of linear equations in the form ax + by = c.
Explore these examples to see how the calculator works with different systems of equations.
A standard system of equations with one unique solution.
2x + 3y = 7
1x + -1y = 1
Another example leading to integer solutions for x and y.
3x + -2y = 0
4x + 1y = 11
An example where the solution involves fractional values.
2x + 1y = 4
3x + -2y = -1
A system with larger coefficients that still has a unique solution.
5x + -4y = 9
1x + -2y = -3
x = 2y - 1
into 3x + 4y = 7
, you must multiply the entire expression by 3: 3(2y - 1) + 4y = 7
. Forgetting the parentheses is a common error.The expression in the denominator, (a₁b₂ - a₂b₁), is the determinant of the coefficient matrix. The formulas derived through substitution are the same as those from Cramer's Rule, which provides a formulaic way to solve systems using determinants. x = (c₁b₂ - c₂b₁) / (a₁b₂ - a₂b₁) y = (a₁c₂ - a₂c₁) / (a₁b₂ - a₂b₁)