System of equations solver (2x2) with steps
Enter the two equations as ax + by = c and pick a method. The solver below shows every step with your numbers, tells you whether the system has one solution, none or infinitely many, and checks the answer in both equations.
Examples
2
x
1
y
One solution: the lines cross at a single point.
Your system
Number the equations so each step can say which one it uses.
(1) 2x + 3y = 7
(2) 4x − y = 7
Match the x coefficients
Multiply all of (1) by 2 and all of (2) by 1. Multiply the whole equation, not just the x term.
(1) × 2: 4x + 6y = 14
(2) × 1: 4x − y = 7
Subtract to eliminate x
The x terms have the same sign, so subtract (2) from (1). Subtract every term: a minus sign in front of a negative becomes a plus.
7y = 7
Solve for y
y = 7 / 7 = 1
Find x
Put y into equation (1) and solve for x.
2x + 3 · 1 = 7
2x = 4
x = 2
Check: put the solution into both original equations
(1) 2 · 2 + 3 · 1 = 7 ✓
(2) 4 · 2 + (−1) · 1 = 7 ✓
Solution: x = 2 · y = 1
Pick the method that fits the system
Substitution is easiest when one unknown already has coefficient 1 or −1, as in 4x − y = 7. Elimination (OpenStax calls it the addition method) suits systems where no coefficient is 1. Cramer's rule is a formula with determinants: quick for 2x2 systems, and the same idea scales to 3x3. All three give the same answer.
Elimination: make one unknown cancel
Multiply one or both equations so the x terms (or the y terms) have the same coefficient, then subtract; if they have opposite signs, add. Multiply the whole equation, the right-hand side too. That is the most common mistake: 2x + 3y = 7 times 2 is 4x + 6y = 14, not 4x + 6y = 7.
Substitution: isolate, then replace
Solve one equation for one unknown, for example y = 4x − 7, and put that expression in parentheses into the other equation: 2x + 3(4x − 7) = 7. The 3 multiplies both terms in the parentheses, so the sign of −21 matters. Solve for x, then put x back into y = 4x − 7.
Cramer's rule: three determinants
For a₁x + b₁y = c₁ and a₂x + b₂y = c₂, compute D = a₁b₂ − b₁a₂, Dx = c₁b₂ − b₁c₂ and Dy = a₁c₂ − c₁a₂. Then x = Dx / D and y = Dy / D. If D = 0 the rule can't give a single solution, and the system has none or infinitely many.
No solution or infinitely many
If both unknowns cancel and you get something false, like 0 = −1, the lines are parallel and the system is inconsistent: no solution. If you get 0 = 0, both equations are the same line and every point on it is a solution. Either way, check: a real solution makes both original equations true.
For one equation with an x² term, use the Quadratic formula calculator with steps
Sources
Snap the system from your worksheet
Take a photo of the system in SolvIQ and you get the worked steps for your own exercise, ending in x and y. If a step is unclear, such as why an equation was multiplied by 3, ask a follow-up question in the chat about that solution. Your first 2 full solutions are free; follow-up chat is part of SolvIQ Pro.

