System of Equations Solver
Solve the system a₁x + b₁y = c₁ and a₂x + b₂y = c₂
How Solving a System of Equations Works
A system of linear equations pairs two equations that share the same two unknowns, usually written x and y. In the form a₁x + b₁y = c₁ and a₂x + b₂y = c₂, each equation describes a straight line on a graph. Solving the system algebraically means finding the values of x and y that satisfy both equations at once, and graphically that is exactly the point, or points, where the two lines meet. The graph above draws both lines directly from your inputs, so you can see that meeting point instead of only calculating it.
One reliable way to solve a system algebraically is the elimination method. The idea is to combine the two equations so that one variable cancels out, leaving a single equation in a single unknown. To eliminate y, you multiply each equation by a number chosen so the y terms match, then subtract one equation from the other. What remains is an equation in x alone, which you solve directly, then substitute back into either original equation to find y. The calculator above performs this sequence of multiplication, subtraction, and substitution automatically, showing every intermediate value.
The graph makes the three possible outcomes easy to recognize. When the two lines have different slopes, they cross at exactly one point, the unique solution the elimination method calculates, marked on the graph with its coordinates. When the lines share the same slope but have different y-intercepts, they run side by side and never touch: that is the no-solution case, shown as two clearly parallel lines. When the lines share both the same slope and the same intercept, they are not really two lines but one line described twice, which is why the graph draws a dashed line directly over the solid one, standing in for the infinitely many points they share.
Try changing any coefficient and watch the steps, the result, and the graph update together. Seeing the algebra and the geometry move in sync is one of the fastest ways to build real intuition for how a system’s coefficients determine whether it has one solution, no solution, or infinitely many.
