A system is two lines, and solving it is finding where they meet
Two equations in x and y are two lines on the same plane. A pair (x, y) that satisfies both equations is a point that lies on both lines - so it is the crossing. That is the whole idea, and it explains every case at once: lines that cross once give one solution, parallel lines give none, and a line drawn twice gives infinitely many.
Elimination and substitution are just ways of finding that crossing without drawing it. This page does both halves: the picture, so you can see what the answer means, and the elimination written out line by line, so you can see how it was found. Most calculators give you one or the other.
The two special cases are named rather than reported as failures. "No solution" and "infinitely many solutions" are real answers with real meanings, and a solver that shrugs at them teaches you to fear the question. Here the shape is worked out from the coefficients, so the page can tell you which case you are in even when there is no single pair to print.
What to watch for in the steps
Elimination works by making the coefficients of one unknown match, then adding or subtracting the equations to remove it. The whole method is that one idea, repeated.
Whether you add or subtract depends on the signs. If the matched coefficients have the same sign, subtract; if they differ, add. Getting this backwards is the most common slip.
Once you have one unknown, put it back into either original equation to get the other. Either one - if you get different answers from the two, something earlier was wrong.
Parallel lines mean the same slope and a different intercept. In the algebra that shows up as an impossible line like 0 = -2, which is not an error message but the answer.
Three unknowns work the same way: eliminate one to get a 2x2 system, then finish. The picture stops helping there, because three unknowns are planes rather than lines.
How to use the system of equations calculator
1
Type one equation per line
Write them as you would on paper: 2x + y = 5 on the first line, x - y = 1 on the second. Fractions and decimals in the coefficients are fine.
2
Read the answer and the shape
The pair is at the top. Under it, a sentence says what the system is geometrically - one crossing, parallel, or the same line twice.
3
Look at the picture
The lines are drawn with the crossing marked. If the answer surprises you, the picture usually explains it faster than the algebra does.
4
Follow the elimination
The numbered steps show which unknown was removed, how, and what was left. That is the method you are being asked to reproduce.
The three cases
Every 2x2 system is one of these, and you can tell which from the lines before you do any algebra.
Case
The lines
Example
One solution
Cross once
2x + y = 5, x - y = 1 → (2, 1)
No solution
Parallel, different intercepts
x + y = 3, x + y = 5
Infinitely many
The same line twice
x + y = 3, 2x + 2y = 6
One equation only
A whole line of solutions
2x + 3y = 7
Three unknowns
Planes, not lines
x + y + z = 6, x - y = 0, z = 2
Worked examples
One crossing: 2x + y = 5 and x - y = 1
plain
2x + y = 5; x - y = 1
Adding the two equations removes y immediately, because +y and -y cancel: 3x = 6, so x = 2, and then y = 1 from either equation. The picture shows the two lines crossing at (2, 1) - one point, one answer.
Parallel lines: x + y = 3 and x + y = 5
plain
x + y = 3; x + y = 5
Subtract and you get 0 = -2, which no pair of numbers can fix. That is not the solver failing; it is the answer. The lines have the same slope and different intercepts, so they never meet and the system has no solution.
The same line twice: x + y = 3 and 2x + 2y = 6
plain
x + y = 3; 2x + 2y = 6
The second equation is the first one doubled, so it draws the same line. Every point on that line satisfies both, which means infinitely many solutions. In the picture you only see one line, because there is only one.
Three unknowns: x + y + z = 6, x - y = 0, z = 2
plain
x + y + z = 6; x - y = 0; z = 2
Substituting z = 2 and x = y turns three equations into one, giving x = y = 2. There is no picture here - three unknowns are planes rather than lines - but the elimination is the same procedure, one unknown at a time.
Common mistakes
Adding when you should subtract. Matched coefficients with the same sign have to be subtracted; only opposite signs cancel on addition.
Multiplying only part of an equation. If you scale an equation to match a coefficient, every term including the right-hand side has to be scaled.
Substituting back into the equation you just changed. Use one of the originals, or you can lose the second condition entirely.
Solving for one unknown and stopping. A 2x2 system has two answers, and only naming x is half a solution.
Reading 0 = -2 as an arithmetic mistake instead of as "no solution". Equally, 0 = 0 means infinitely many, not "anything goes wrong here".
Mixing up which line is which when checking. Put the pair into BOTH original equations; satisfying one of them proves nothing.
System of equations FAQ
How do I solve a system of equations?
Make the coefficients of one unknown match in the two equations, then add or subtract to eliminate it. Solve the single equation that is left, then substitute that value back into either original equation to find the other unknown. Finally check the pair in both equations.
What is the difference between elimination and substitution?
Elimination combines the equations to remove an unknown; substitution rearranges one equation for one unknown and puts that expression into the other. They always give the same answer. Elimination is usually shorter when the coefficients are tidy, substitution when one equation already has an unknown on its own.
What does "no solution" mean for a system?
That the two lines are parallel: they have the same slope and different intercepts, so there is no point on both. In the algebra it appears as an impossible statement like 0 = -2. It is a complete answer, not a failure to find one.
What does "infinitely many solutions" mean?
That the two equations describe the same line - one is a multiple of the other. Every point on that line satisfies both equations, so the solution is the whole line rather than a single pair. You will often be asked to write it in terms of one variable.
Can it solve three equations in three unknowns?
Yes, and the elimination is shown the same way: remove one unknown to get down to a 2x2 system, solve that, then work back. The graph is only drawn for two unknowns, because three unknowns are planes and a flat picture would mislead more than it explains.
Why does it draw the lines?
Because the picture is the meaning. Elimination is a reliable procedure that hides what is going on; two lines crossing at a point makes it obvious why there is exactly one answer, and why parallel lines have none.
Does it handle fractions and decimals?
Yes, and exactly. 0.5x + y = 3 is read as one half, and the answer to a system with fractional coefficients comes out as an exact fraction rather than a rounded decimal.