What Is A System Of Equations?
A system of equations is a set of two or more equations that share the same variables. The solution is the collection of values for those variables that makes every equation in the system true simultaneously.
A typical two-variable linear system looks like this, each equation on its own line:
$$x + y = 5$$ $$x - y = 1$$
A solution is an ordered pair $(x, y)$ that satisfies both lines. Here it is $(3, 2)$, because $3 + 2 = 5$ and $3 - 2 = 1$ are both true. Geometrically, each linear equation is a line, and the solution is where the lines meet.
How many solutions can a system have?
A linear system in two variables has exactly one of three outcomes. Knowing which you are in before you start saves time.
One solution (consistent, independent): the lines cross at a single point. Different slopes.
No solution (inconsistent): the lines are parallel and never meet. Same slope, different intercepts.
Infinitely many solutions (consistent, dependent): the two equations describe the same line. Same slope, same intercept.
The Three Methods For Solving A System
Graphing
Plot each line and read off the intersection point. Graphing makes the meaning of a solution obvious — it is literally the crossing point — but it is imprecise when the answer is not a clean integer pair. Use it to understand, not to get exact non-integer answers.
Substitution
Solve one equation for one variable, then substitute that expression into the other equation. Best when one equation already has a variable isolated, or is easy to isolate.
Elimination
Add or subtract the equations so one variable cancels, leaving a single-variable equation. Best when the equations are in standard form $ax + by = c$ and the coefficients line up neatly.
Matrix methods (for larger systems)
Once a system grows past two variables, the matrix methods take over. A linear system can be written as a single matrix equation $AX = B$, where $A$ holds the coefficients, $X$ the variables, and $B$ the constants. From there, two standard tools solve it:
Cramer's rule uses determinants — each variable equals a ratio of two determinants. It is tidy for small systems with a non-zero coefficient determinant.
The inverse-matrix method solves $X = A^{-1}B$ directly when $A$ is invertible.
Gaussian elimination — the row-by-row form of the elimination method — is the engine computers actually use. These are previewed here and unpacked in their own articles; for two-variable work, graphing, substitution, and elimination are enough.
Which method should you use?
Choose substitution when a variable is already isolated; choose elimination when both equations are in standard form; reach for the matrix methods when the system has three or more variables. Either of the first two gives the same answer; picking the easier one just reduces the chance of an arithmetic mistake.
Examples of System of Equations
Example 1
Solve by substitution:
$$y = 2x + 1$$ $$3x + y = 11$$
The first equation gives $y$ directly. Substitute into the second:
$$3x + (2x + 1) = 11$$ $$5x + 1 = 11$$ $$5x = 10$$ $$x = 2$$
Back-substitute: $y = 2(2) + 1 = 5$. Final answer: $(2, 5)$.
Example 2 (where the first instinct goes wrong)
Solve:
$$2x + 3y = 12$$ $$2x + 3y = 7$$
The first instinct is to subtract the equations and start solving. Do it and watch:
$$(2x + 3y) - (2x + 3y) = 12 - 7$$ $$0 = 5$$
Both variables vanished and left a false statement, $0 = 5$. A beginner reads this as "I made an arithmetic error" and starts over. The arithmetic is fine — the result is the answer. When elimination collapses to a false statement, the lines are parallel and the system has no solution.
Check the geometry: both equations have the same left side, $2x + 3y$, but it cannot equal both $12$ and $7$. The lines are parallel. Final answer: no solution (inconsistent system).
Example 3
Solve by elimination:
$$x + y = 7$$ $$x - y = 3$$
Add the two equations so $y$ cancels:
$$(x + y) + (x - y) = 7 + 3$$ $$2x = 10$$ $$x = 5$$
Substitute into the first equation: $5 + y = 7$, so $y = 2$. Final answer: $(5, 2)$.
Example 4
Solve:
$$x + 2y = 4$$ $$2x + 4y = 8$$
The second equation is exactly twice the first. Divide it by $2$ and you get $x + 2y = 4$ again — the same line. Try eliminating:
$$2(x + 2y) - (2x + 4y) = 2(4) - 8$$ $$0 = 0$$
A true statement after both variables cancel means infinitely many solutions — every point on the line $x + 2y = 4$ works. Final answer: infinitely many solutions, all pairs satisfying $x + 2y = 4$.
Example 5
A coffee blend mixes a $$8$/lb bean and a $$12$/lb bean to make $10$ lb selling at $$9$/lb. How much of each?
Let $x$ = pounds of the cheaper bean, $y$ = pounds of the dearer bean.
$$x + y = 10$$ $$8x + 12y = 90$$
From the first equation $y = 10 - x$. Substitute:
$$8x + 12(10 - x) = 90$$ $$8x + 120 - 12x = 90$$ $$-4x = -30$$ $$x = 7.5$$
So $y = 10 - 7.5 = 2.5$. Final answer: $7.5$ lb of the $$8$ bean and $2.5$ lb of the $$12$ bean.
Example 6
Solve the three-variable system:
$$x + y + z = 6$$ $$x - y + z = 2$$ $$2x + y - z = 1$$
Add the first two to eliminate $y$:
$$2x + 2z = 8 \quad\Rightarrow\quad x + z = 4$$
Add the first and third to eliminate $z$:
$$3x + 2y = 7$$
Now use $x + z = 4$ with equation one. From equation one, $y = 6 - x - z = 6 - 4 = 2$. Substitute $y = 2$ into $3x + 2y = 7$:
$$3x + 4 = 7 \quad\Rightarrow\quad x = 1$$
Then $z = 4 - x = 3$. Final answer: $(x, y, z) = (1, 2, 3)$.
Why Systems Of Equations Matter
The reason systems exist is structural: one equation, two unknowns leaves the answer floating; a second equation locks it down. That principle scales far beyond two lines.
Two unknowns need two facts. Mixture problems, distance-rate-time with a current, supply-and-demand price points: each hides two quantities and supplies two relationships.
Elimination was built for the hard cases. Solving by elimination was never really about two variables; it comes into its own with three, four, and more, which is exactly where graphing and guess-and-check break down. Two-variable systems are the training wheels.
Whole industries are large systems. Circuit design (Kirchhoff's laws), structural engineering, and economic models are systems of dozens or thousands of linear equations solved by machine, on the same logic you use by hand. Pin down many unknowns by supplying as many independent facts.
Computers solve enormous systems for weather forecasts and aircraft design; the method scales, the idea does not change.
Where Students Trip Up On Systems Of Equations
Mistake 1: Misreading a true or false statement at the end
Where it slips in: When both variables cancel during elimination.
Don't do this: Treating $0 = 5$ as "I made a mistake" or $0 = 0$ as "$x = 0$".
The correct way: When both variables vanish, the leftover statement is the conclusion. A false statement ($0 = 5$) means no solution (parallel lines); a true statement ($0 = 0$) means infinitely many solutions (same line). The first instinct is to assume an arithmetic slip and restart — but the collapse is information, not an error.
Mistake 2: Only checking the answer in one equation
Where it slips in: After finding $(x, y)$, verifying it in just the equation you used last.
Don't do this: Plugging $(2, 5)$ into only the second equation and calling it solved.
The correct way: A solution must satisfy every equation. Substitute the pair back into both (or all three). The second-guesser who checks one equation and moves on is exactly the student who misses a sign error that only the other equation would have caught.
Mistake 3: Sign errors when subtracting equations
Where it slips in: Elimination by subtraction, especially with negative coefficients.
Don't do this: Subtracting only the first term and forgetting the rest change sign too.
The correct way: When you subtract one equation from another, every term on that side changes sign. Distributing the minus over all terms is the habit that prevents the most common elimination error — many students lose the second term's sign and get a wrong variable.
Conclusion
A system of equations is two or more equations in the same variables, solved so all are true at once.
A two-variable linear system has one solution, no solution, or infinitely many — set by whether the lines cross, run parallel, or coincide.
The three methods are graphing, substitution, and elimination; substitution suits an isolated variable, elimination suits standard form.
The solution of a two-variable system is the point where the lines intersect.
The most common mistakes are misreading a collapsed $0 = 5$ or $0 = 0$, checking only one equation, and dropping signs while subtracting.
Practice Questions on Systems of Equations
Solve or classify each, then check your answers below.
Solve by elimination: $x + y = 8$ and $x - y = 2$.
Solve by substitution: $y = 3x$ and $x + y = 8$.
Classify $2x + y = 4$ and $4x + 2y = 9$ by solution type.
Classify $x - y = 1$ and $2x - 2y = 2$ by solution type.
Solve by any method: $3x + 2y = 16$ and $x - 2y = 0$.
Answers
Adding gives $2x = 10$, so $x = 5$, $y = 3$: $(5, 3)$.
Substituting, $x + 3x = 8$, so $x = 2$, $y = 6$: $(2, 6)$.
The second equation is twice the left side of the first but the constants disagree ($8 \neq 9$): parallel lines, no solution.
The second equation is exactly twice the first — the same line: infinitely many solutions.
Adding the equations cancels $y$: $4x = 16$, so $x = 4$, and $y = 2$: $(4, 2)$.
Your Next Move
If you get stuck on the classification, come back to Examples 2 and 4. From here, drill the two main techniques in the elimination method and the substitution method, review the foundation in linear equations, and see the special all-zeros case in the homogeneous system of linear equations. Want a live Bhanzu trainer to walk through more system of equations problems? Book a free demo class.
Was this article helpful?
Your feedback helps us write better content