Sub topic 7
Why you can scale and add equations
This chapter explains why the moves used in elimination are safe. It assumes you can solve one-variable linear equations, substitute values into expressions, and work with negative numbers and fractions. You should also know what a system of two linear equations is and what its solution means. Earlier chapters showed how to solve systems. This one shows why the solution survives each step.
The question behind elimination
When you solve by elimination, you multiply an equation by a number and add two equations together. The result is a new equation, and you then solve that one instead. This raises a fair question: why does the new equation have anything to do with the original problem?
The answer is the idea of equivalence. Two systems are equivalent if they have exactly the same solutions. The two moves described below turn a system into an equivalent one. Each step therefore gives you a simpler system with the same answer.
What "equivalent" means
A solution of a system is an ordered pair (x, y) that makes every equation in the system true. Two systems are equivalent when every pair that solves the first also solves the second, and every pair that solves the second also solves the first.
You need both directions. A move that only works in one direction can add false solutions or lose real ones. Elimination is reliable because each move can be undone, which shows that both systems have the same solution set.
Move 1: scale an equation by a nonzero number
Take the equation 2x + 3y = 13. Multiply both sides by 2:
4x + 6y = 26
Any pair that makes the first equation true makes the second one true. If 2x + 3y and 13 are the same number, then twice each of them is also the same number. This is the rule that doubling two equal quantities gives two equal quantities.
The move also works backward. Multiply 4x + 6y = 26 by 1/2 and you get 2x + 3y = 13 again. Because you can get back to the original, no solution was lost or added.
The number you multiply by must not be zero. Multiplying by 0 gives 0x + 0y = 0. Every pair satisfies that equation, so it carries no information, and you cannot recover the original from it. Dividing by a nonzero number is also allowed, because it is multiplying by a fraction such as 1/2.
Scale every term
Scaling must apply to the whole equation, meaning both sides and every term. This is the most common arithmetic mistake in elimination.
| Starting equation | Correct (times 3) | Common error |
|---|---|---|
| 5x - 2y = 4 | 15x - 6y = 12 | 15x - 6y = 4 (constant not scaled) |
| x + 4y = -1 | 3x + 12y = -3 | 3x + 4y = -3 (one term skipped) |
| -x + y = 2 | -3x + 3y = 6 | -3x + 3y = 2 (constant not scaled) |
Each error produces an equation with a different solution set. The new line is no longer the same line.
Move 2: add one equation to another
Suppose you have two true equations about the same pair (x, y):
- A: 2x + y = 7
- B: x - y = 2
For the solution (3, 1), A says 2(3) + 1 = 7 and B says 3 - 1 = 2. Adding left sides and right sides gives:
(2x + y) + (x - y) = 7 + 2, which is 3x = 9
Check with the solution: 3(3) = 9. This works because adding equal quantities to equal quantities gives equal results. If the left side of A equals its right side, and the left side of B equals its right side, then the sum of the left sides equals the sum of the right sides.
So any pair that solves both A and B also solves A + B. The sum is a consequence of the original equations.
The catch: keep one original equation
Adding shows that every solution of the system also solves the sum. It does not show that every solution of the sum solves the system. The sum alone is weaker than the system it came from.
Here is an example. Take the system from the Cramer's rule example:
- 2x + 3y = 13
- 5x - 2y = 4
After scaling by 2 and 3 and adding, you get 19x = 38, which means x = 2. The point (2, 0) satisfies 19x = 38, but it does not satisfy 2x + 3y = 13, because 4 is not 13. So the combined equation alone has many solutions that are not solutions of the system. It describes the vertical line x = 2, and every point on that line has x = 2.
The fix is to keep one of the original equations alongside the new one. The pair
- 19x = 38
- 2x + 3y = 13
has exactly one solution, and it is the solution of the original system. This pairing is why you substitute x = 2 back into an original equation after eliminating.
Why the pair is equivalent to the original
Here is the reasoning for the replacement move. Start with a system {A, B}. Replace B with A + B, keeping A. The new system is {A, A + B}.
- Suppose (x0, y0) solves {A, B}. Then it solves A, and by the adding rule it solves A + B. So it solves {A, A + B}.
- Suppose (x0, y0) solves {A, A + B}. It solves A. Subtract the equation A from the equation A + B, which is the same move as adding -1 times A, and you recover B. So it solves B too. Hence it solves {A, B}.
Both directions hold, so the systems are equivalent. The same argument works when you add a multiple of A to B:
B becomes B + kA, for any number k
Here kA means every term of A multiplied by k. You can use any k, including zero or negative numbers. The restriction is on the equation you replace: the original B must still be recoverable. Using B + kA to replace B always works because you can recover B by subtracting kA. This differs from scaling B itself, where the multiplier must be nonzero.
Elimination uses a combination of these. In the earlier example, you scale A by 2 and B by 3 (both nonzero), then add. The scaling steps are reversible, and the addition step replaces one equation while a scaled copy of the other stays available.
The geometric picture
Each equation in two variables is a line. A solution of the system is the point where the two lines cross. Now look at what the moves do to lines.
Scaling an equation by a nonzero number gives the same line. The equation 4x + 6y = 26 and the equation 2x + 3y = 13 have the same set of solutions, so they graph as one line. Only the way you wrote the equation changed.
Adding equations gives a new line, but it is special. Every point that is on both original lines is on the new line, so the new line passes through the intersection point. The new line is not unique: choosing different multipliers gives different lines through the same point.
Elimination chooses the multipliers so that the new line is vertical or horizontal. In the example, 19x = 38 is the vertical line x = 2, which passes through (2, 3). You then find where that line crosses one of the original lines, and that crossing is the intersection point.
This also explains the parallel and identical cases. If the two lines have no intersection, no combination can pass through a common point, and elimination gives a false statement such as 0 = 5. If the two lines are the same, combining them gives 0 = 0. These results follow directly from the equivalence: a false statement means the system has no solutions, and a true statement means the added equation carried no new information.
Checking the rules with code
You can confirm these claims on a concrete system. The program below scales and adds equations, each stored as a tuple (a, b, c) meaning ax + by = c. It then tests the known solution against each derived equation. It also tests the point (2, 0), which fails the original system but satisfies the combined equation.
def satisfies(point, eq):
a, b, c = eq
x, y = point
return a * x + b * y == c
def scale(eq, k):
return tuple(k * term for term in eq)
def add(eq1, eq2):
return tuple(p + q for p, q in zip(eq1, eq2))
eq1 = (2, 3, 13)
eq2 = (5, -2, 4)
solution = (2, 3)
scaled1 = scale(eq1, 2) # (4, 6, 26)
scaled2 = scale(eq2, 3) # (15, -6, 12)
combined = add(scaled1, scaled2)
print(combined)
print(all(satisfies(solution, e) for e in (scaled1, scaled2, combined)))
extra = (2, 0)
print(satisfies(extra, combined))
print(satisfies(extra, eq1) and satisfies(extra, eq2))The output is:
(19, 0, 38)
True
True
FalseThe first line shows the combined equation 19x + 0y = 38. The second line shows that the real solution satisfies every derived equation. The last two lines show that (2, 0) satisfies the combined equation but fails the original system. That is why you must keep an original equation.
Common errors and what they mean
- Scaling by zero. The result 0 = 0 hides the equation. You can no longer recover the original line.
- Scaling only one side. The equation changes to a different line. Always multiply both sides.
- Skipping a term. This has the same effect as scaling only one side. Check each term, especially the constant.
- Adding left sides but not right sides. The sum is then not a consequence of the original equations. Add both sides.
- Subtracting incorrectly. Subtracting an equation means adding -1 times it. Change the sign of every term in that equation, including the constant, before adding.
- Discarding both original equations. The combined equation alone describes a whole line, so you must still use an original equation to find the other variable.
- Trusting the result without a check. Arithmetic slips are easy to make, so substitute the final pair into both original equations.
Summary of the rules
| Move | Allowed? | Reason |
|---|---|---|
| Multiply an equation by a nonzero number | Yes | Reversible by multiplying by the reciprocal |
| Multiply an equation by 0 | No | The equation becomes 0 = 0 and cannot be recovered |
| Add one equation to another and replace one of them | Yes | Reversible by subtracting the kept equation |
| Add a multiple of one equation to another | Yes | Reversible by subtracting the same multiple |
| Replace both equations with their sum | No | The sum alone has extra solutions |
| Scale only part of an equation | No | It changes the line |
Exercise
The system is x + 2y = 5 and 3x - y = 8. Multiply the second equation by 2 and add it to the first. What equation do you get, and what is the solution of the system?
Show answer
Multiplying 3x - y = 8 by 2 gives 6x - 2y = 16. Adding it to x + 2y = 5 gives 7x = 21, so x = 3. Substituting into x + 2y = 5 gives 3 + 2y = 5, so y = 1. The solution is (3, 1). Check: 3(3) - 1 = 8.
Exercise
A student solves 2x + y = 4 and 4x + 2y = 9 by multiplying the first equation by -2 and adding. The result is 0 = 1. What does this tell you about the system, and why does the equivalence argument support that conclusion?
Show answer
The system has no solution. Scaling by -2 and adding are moves that keep every solution of the original system, so any solution would also satisfy 0 = 1. That statement is false for every pair, so no pair can solve the system. Geometrically, the lines are parallel (the second equation's left side is twice the first's, but its right side is not twice 4).
Exercise
Show that (2, 0) is not a solution of 2x + 3y = 13 and 5x - 2y = 4, even though it satisfies the combined equation 19x = 38. What lesson does this teach?
Show answer
For 2x + 3y = 13, we get 2(2) + 3(0) = 4, which is not 13. For 5x - 2y = 4, we get 10, which is not 4. So (2, 0) fails both original equations. The lesson is that a combined equation alone has more solutions than the system, so you must keep an original equation and use it to find the other variable.