What It Means to Solve a System of Equations
Understand what a solution of a system is, how to test one, what the graph shows, and which moves keep the answers unchanged.
Key takeaways
- A solution of a system must satisfy every equation in it, not just one.
- For two unknowns, a solution is an ordered pair (x, y), and it is a single answer with two parts.
- On a graph, solutions are the points the curves have in common.
- A system of two linear equations in two unknowns has exactly one solution, none, or infinitely many.
- Solving methods replace a system with a simpler one that has exactly the same solutions.
A system of equations is a set of equations that must all be true at the same time. Solving it means finding every assignment of values to the unknowns that satisfies each equation, with the same values used throughout.
Take the pair x + y = 10 and x - y = 4. The values x = 7 and y = 3 make both true, so the ordered pair (7, 3) is a solution. In fact it is the only one. The rest of this article explains what that claim involves and how you can be sure of it.
Why one equation is not enough
The equation x + y = 10 alone has endless solutions: (0, 10), (4, 6), (7, 3), (12, -2), (2.5, 7.5) and so on. Each is a pair that adds to 10.
A second equation is a second demand. The equation x - y = 4 also has endless solutions: (4, 0), (7, 3), (10, 6) and more. The system asks for pairs on both lists at once. Only (7, 3) appears on both.
You can think of each equation as a filter. The first lets through all pairs with sum 10, the second all pairs with difference 4, and the solution set is what passes through both. Adding more equations can only shrink that set or leave it the same. It can never enlarge it.
If you want to firm up the idea with one unknown first, see what a solution to an equation really is.
Testing a proposed solution
Checking is easier than solving: substitute and evaluate. Consider this system.
2x + y = 11
x - 3y = -5 | Pair | 2x + y | x - 3y | Solution? |
|---|---|---|---|
| (3, 5) | 11 | -12 | no, fails the second |
| (4, 3) | 11 | -5 | yes |
| (1, 2) | 4 | -5 | no, fails the first |
| (3, 4) | 10 | -9 | no, fails both |
The first and third rows are the tempting ones, because each pair passes one test. That is not enough.
Order matters too. The pair (3, 4) means x = 3 and y = 4, which is a different statement from (4, 3). By convention the variables are listed alphabetically unless stated otherwise.
The picture: shared points
Each linear equation in x and y, with at least one of the coefficients nonzero, has a straight line as its graph. The line is the set of all pairs that satisfy the equation. A pair satisfying both equations is therefore a point lying on both lines.
Two lines in a plane can be arranged in only three ways.
For the opening example, the line x + y = 10 falls to the right and the line x - y = 4 rises. They cross at (7, 3). Drawing the lines is a method in its own right, covered in the graphing method and its limits.
When there is no answer, or too many
Look at x + y = 5 together with x + y = 8. No pair of numbers can have a sum that is both 5 and 8, so the solution set is empty. Saying "there is no solution" is a complete and correct answer.
Now look at x + y = 5 together with 3x + 3y = 15. The second equation is the first multiplied by 3. Every pair that satisfies one satisfies the other, such as (0, 5), (1, 4) and (-2, 7). There are infinitely many solutions, but not every pair works: (1, 1) fails both.
These cases have standard names, explained in consistent, inconsistent and dependent systems.
Moves that keep the same solutions
Two systems are equivalent when they have identical solution sets. Solving is a chain of equivalent systems, ending in one so simple that you can read the answer. For linear systems, three moves are safe:
- Swap the order of two equations.
- Multiply both sides of one equation by a nonzero number.
- Add a multiple of one equation to a different equation.
Here is the chain for the opening example.
x + y = 10 x - y = 4
x + y = 10 2x = 14 second plus first
x + y = 10 x = 7 second divided by 2
y = 3 x = 7 first minus second Each move can be undone by a move of the same kind, so no solution is lost and none is invented. Multiplying by zero would break this, since it turns any equation into 0 = 0 and erases its information.
Methods you can choose from
- Graphing shows the whole situation and gives estimates.
- Substitution solves one equation for a variable and puts that expression into the other. See substitution with worked examples.
- Elimination adds or subtracts equations so that one variable disappears. See elimination step by step.
- Determinant formulas give the answer directly when the solution is unique.
All of them find the same set, because the solution set belongs to the system, not to the method.
From a situation to a system
Systems usually come from situations with two unknown quantities and two independent facts. Say three coffees and two muffins cost 16 dollars, while one coffee and two muffins cost 10 dollars. Let c be the price of a coffee and m the price of a muffin.
3c + 2m = 16
c + 2m = 10
2c = 6 subtract the second from the first
c = 3
3 + 2m = 10 put c = 3 into the second
m = 3.5 A coffee costs 3 dollars and a muffin 3.50. Check both facts: 9 + 7 = 16, and 3 + 7 = 10.
Write down what each letter stands for, including units, before you form equations. The two facts must also be independent. If the second receipt had said six coffees and four muffins cost 32 dollars, it would repeat the first and settle nothing.
The solution set depends on the numbers allowed
A system always comes with an understanding about which values the unknowns may take. Over the real numbers, 2x + 2y = 7 with x - y = 0 has the single solution (1.75, 1.75). If x and y must be integers, the same system has no solution at all.
Applied problems carry such conditions silently. Counts of tickets or people must be whole numbers that are zero or more. Lengths must be positive. If your algebra produces 3.5 students or a width of -2 meters, first look for an arithmetic slip. If the algebra is right, then the situation as described is impossible, and saying so is the honest answer.
Equations can also exclude values. In the system 1/x + y = 3 and y = 1, the value x = 0 is not allowed because 1/0 is undefined. Substituting gives 1/x = 2, so x = 0.5, which is permitted. Note the excluded values before you start manipulating, since later steps may hide them.
How to read an unexpected ending
Solving usually ends with something like x = 7. Two other endings are possible, and each tells you something definite.
- A false statement, such as 0 = 5, means the equations demand incompatible things. The solution set is empty.
- A statement that is always true, such as 0 = 0, means one equation carried no new information. With two linear equations in two unknowns, and at least one of them a real line, you then describe all the points on that line.
For the second case, do not write "any values work." The unknowns are still tied together. If the remaining equation is x + y = 5, you may choose x freely, but y must then be 5 - x. The solution set is every pair of the form (x, 5 - x).
An ending of x = 0 is neither of these special cases. Zero is an ordinary value, and you simply continue to find y.
Beyond two straight lines
The definition does not change for larger or curved systems. With three unknowns, a solution is an ordered triple that satisfies every equation. With a line and a parabola, there can be zero, one or two common points. The system y = x² and y = x + 2 has the solutions (-1, 1) and (2, 4), which you can confirm by substituting.
The "none, one or infinitely many" rule is special to linear systems. Curved equations can share two, three or any number of points, so never assume that finding one solution finishes a nonlinear problem.
Checking an answer you did not compute
You can judge any claimed solution without knowing how it was found. Substitute it into each original equation. If every equation balances, it is a solution. If even one fails, it is not, however neat the work looked.
What a check cannot tell you is whether you found all the solutions. For two lines with different slopes, one confirmed pair is the whole answer. For dependent or nonlinear systems, you need the solving steps, or a graph, to know that nothing is missing.
Common questions
Is (7, 3) two solutions or one?
One. It is a single pair that gives a value to each unknown. The system x + y = 10 and x - y = 4 has exactly one solution.
Do I need as many equations as unknowns?
For a unique solution to a linear system, you need at least as many independent equations as unknowns. Having that many equations does not guarantee it, since they might repeat or contradict one another.
How do I report the answer?
Write the ordered pair, such as (7, 3), or state x = 7 and y = 3. In a word problem, finish with a sentence that includes units.