School math
Systems of linear equations
A system of two equations in two unknowns is solved with one idea: reduce the two unknowns to one. There are two ways to do it — solve for one variable and substitute, or add the equations so that one variable disappears.
In this article
What "solve the system" means#
A solution of a system is a pair of numbers that makes both equations true at the same time. Both, not one: a pair that fits only the first equation is not a solution. That is why the answer is always written as a pair, for example , and checked by substituting into both lines.
The two standard methods differ only in how they get rid of the second variable. Substitution is handy when one of the equations already has a variable on its own, or it is easy to isolate. Elimination is handy when the coefficients of one variable are opposites, or are easy to make opposites.
Elimination: a simple case#
The system: and .
Step 1. Look at the coefficients of : in the first equation, in the second. They are opposites, so will drop out when you add.
Step 2. Add the left sides and the right sides separately: , that is .
Step 3. Divide by 2: .
Step 4. Go back to either original equation — the first is simpler: , so .
Step 5. Check in the second equation: . Correct. The answer is .
Step 4 is the one people skip most: having found , they think they are done. But the answer to a system is a pair; a single number is not an answer.
The substitution method#
The system: and .
Step 1. Choose what to isolate. from the first equation is easiest: its coefficient is one, so no fractions appear.
Step 2. Isolate it: .
Step 3. Substitute this expression for in the second equation — always in brackets: .
Step 4. Expand: . The 3 multiplies both terms, and this is where a minus sign gets lost.
Step 5. Combine like terms and move the number: , that is .
Step 6. Divide by : .
Step 7. Put it into the expression from step 2: .
Step 8. Check in the second equation: . The answer is .
Elimination: a harder example#
The system: and .
Step 1. The coefficients of are and — opposites, so you can add the equations straight away without multiplying anything.
Step 2. Add: .
Step 3. So .
Step 4. Substitute into the first equation: , so and .
Step 5. Check in the second: . The answer is .
If there were no opposite coefficients — say and — you would first multiply the equations term by term: the first by 3, the second by , which gives and . Multiply the whole line, including the right side.
Where systems come from in word problems#
A typical problem: a rectangle has a perimeter of 20 cm, and one side is 2 cm longer than the other. Call the sides and . The first equation is about the perimeter: , that is . The second is about the difference: . Substitute: , so , and . Check: the perimeter is and the difference is 2 cm — it fits. The formulas behind the first equation are covered in area and perimeter.
In problems like this the mistake is usually not in solving the system but in setting it up: the variables are never described in words. Write the meaning next to them — " is the length in centimetres" — and check that each equation reads as a sentence from the problem.
Special cases and mistakes#
If eliminating a variable leaves you with , there is no solution: the lines are parallel. If you get , there are infinitely many solutions: both equations describe the same line. This is not an arithmetic error but a legitimate answer.
Adding the left sides and forgetting the right sides. You have to add both sides, or the equation breaks.
Substituting the value in the wrong place: after substituting into the second equation, people get an identity and start solving it all over again. Go back to the original equation, or to the expression you got when you isolated the variable.
Skipping the check. Substituting the pair into both lines takes one line and gives full confidence in the answer. The moves inside each line are the same as in how to solve linear equations.
Step-by-step plan
- Step 1 — isolating a variableFrom equations like x + 2y = 11, isolate x and then y; aim for forms without fractions.
- Step 2 — substitutionFive systems by substitution, always putting the substituted expression in brackets.
- Step 3 — eliminationFive systems with ready-made opposite coefficients, no multiplying needed.
- Step 4 — multiplying linesSystems where you must match the coefficients first: multiply the whole line, right side included.
- Step 5 — word problemsSet up systems about perimeters, ages and purchases; describe the variables in words and check the answer against the problem.
Start learning this in your own space
The plan goes into your repository: tick off stages, keep notes — the change history shows how far you have come.
Check yourself
1.System: x + y = 10 and x − y = 4. What is x?
2.System: x + 2y = 11 and 3x − y = 12. What is y?
3.System: 2x + 3y = 16 and 5x − 3y = 19. What is x + y?
Sources
-
Khan Academy — Algebra 1The systems of equations unit, with step-by-step hintsfree
-
OpenStax Elementary Algebra 2eFree textbook; chapter 5 covers graphing, substitution and eliminationfree
Was this helpful?