System of Equations Solver
Solve two linear equations in two unknowns by Cramer's rule — x and y, with the determinant and each step shown.
Solve a₁x + b₁y = c₁ and a₂x + b₂y = c₂.
Formula (Cramer's rule): D = a₁b₂ − a₂b₁; x = (c₁b₂ − c₂b₁) ÷ D; y = (a₁c₂ − a₂c₁) ÷ D.
How to use the system of equations
- Enter the six coefficients a₁, b₁, c₁, a₂, b₂ and c₂.
- Press “Solve system”.
- Read x and y, with the determinant and the substitution check for both equations.
System of equations example
2x + 3y = 12 and x − y = 1. From the second, x = y + 1. Substitute: 2(y + 1) + 3y = 12 → 5y = 10 → y = 2, then x = 3.
Tips for using the system of equations
- Elimination is often faster: multiply equations so one variable cancels when you add them.
- Check by putting the answer into both original equations.
- Parallel lines (same slope, different intercept) have no solution; the same line written twice has infinitely many.
System of equations: common questions
- What is a system of equations?
- Two equations with the same two unknowns, x and y. The solution is the pair (x, y) that satisfies both equations at once — the point where the two lines cross.
- What does it mean if the determinant is zero?
- The two lines are parallel or identical: there is no single solution. Parallel lines never meet (no solution); identical lines overlap (infinitely many solutions).
- How do I check the answer?
- Put the x and y values back into both equations. Each side must equal the right-hand side — the tool shows this check under the result.
- Is my input stored?
- No. The calculation runs in your browser.
- Can the solver handle three unknowns?
- Yes, enter three equations; it uses elimination (Cramer's rule / Gaussian elimination) to find x, y and z.