Sub topic 2
Keeping an Equation Balanced
This chapter covers the one rule behind every rearrangement: whatever you do to one side of an equation, you do to the other. It assumes you can already do the following:
- Do arithmetic with fractions, negative numbers, and exponents.
- Apply the order of operations.
- Read basic algebraic notation such as
3x + 2. - Solve simple one-variable linear equations.
The chapter explains why the rule works. It also lists which operations keep an equation equivalent to the original and which ones quietly change its meaning.
The balance model
An equation says that two expressions have the same value. In F = (9/5)C + 32, the left side is F and the right side is (9/5)C + 32. For any pair of values that makes the equation true, both sides evaluate to the same number.
A balance scale is the usual picture. Equal weights on both pans keep the scale level. If you add 5 kg to the left pan, you must add 5 kg to the right pan to keep it level. If you halve the left pan, you must halve the right pan.
The picture is useful, but the precise idea is simpler:
- If two quantities are equal, applying the same operation to each gives equal results.
- If
A = B, thenA + k = B + kfor any numberk. - If
A = B, thenA · k = B · kfor any numberk.
You never change the truth of the equation. You only change how it is written. Each step produces a new equation that is true for the same values as the old one. Rearranging a formula is a chain of such steps, ending with the target variable alone on one side.
What "the same operation to both sides" means
Three details of the rule cause most errors.
Apply the operation to the whole side
When you add, subtract, multiply, or divide, the operation applies to the entire side, not to one piece of it. Take 2y + 6 = 20 and divide both sides by 2:
- Correct:
(2y + 6) / 2 = 20 / 2, which simplifies toy + 3 = 10. - Incorrect:
y + 6 = 10. Here only the first term was divided.
If a side has several terms, write them in parentheses before you apply the operation. Then distribute or simplify. Putting the parentheses in explicitly prevents the incorrect version.
Both sides, not "move it across"
Phrases like "move 32 to the other side and change its sign" describe a shortcut. The shortcut is only shorthand for subtracting 32 from both sides. Learners who rely on the shortcut often forget what it stands for. They then change a sign when they should divide, or the reverse. Until the steps are automatic, write the operation next to each line.
The equals sign is symmetric
A = B means the same as B = A. Putting the target variable on the left is a convention. It makes the result read as "target = expression". Swapping the two sides is always safe, and you can do it at any point.
A complete worked example
Solve F = (9/5)C + 32 for C. The target is C.
| Step | Equation | Operation applied to both sides |
|---|---|---|
| 0 | `F = (9/5)C + 32` | Starting formula |
| 1 | `F - 32 = (9/5)C + 32 - 32` | Subtract 32 |
| 2 | `F - 32 = (9/5)C` | Simplify the right side |
| 3 | `(5/9)(F - 32) = (5/9)(9/5)C` | Multiply by 5/9 |
| 4 | `(5/9)(F - 32) = C` | Simplify the right side |
| 5 | `C = (5/9)(F - 32)` | Swap sides |
In step 3, the factor 5/9 multiplies the whole left side F - 32, so the left side keeps its parentheses. The chapter on working backwards through the order of operations covers why the subtraction comes before the multiplication. This chapter only needs you to see that each line follows from the previous one by a single balanced operation.
You can test the balance numerically. Pick a value for C, compute F, and then carry each step out on actual numbers.
# Check that each step keeps both sides equal, using C = 100 (so F = 212)
C = 100
F = 9 / 5 * C + 32
steps = [
("start", F, 9 / 5 * C + 32),
("subtract 32 from both sides", F - 32, 9 / 5 * C + 32 - 32),
("multiply both sides by 5/9", (F - 32) * 5 / 9, (9 / 5 * C) * 5 / 9),
]
for name, left, right in steps:
balanced = abs(left - right) < 1e-9
print(f"{name}: {left} vs {right}, balanced={balanced}")Every line prints balanced=True. The comparison uses a small tolerance because floating-point numbers rarely compare exactly equal after several operations.
Which operations are safe
The diagram ends in a question. Applying an operation to both sides always gives a true equation if the original was true. The reverse direction is the problem. A step is safe for rearranging only if you can also go back, so that the new equation is true exactly when the old one was. Mathematicians call such steps equivalence-preserving.
| Operation on both sides | Safe? | Condition |
|---|---|---|
| Add any number or expression | Yes | The expression must be defined for the values you care about |
| Subtract any number or expression | Yes | Same as above |
| Multiply by a nonzero number | Yes | The number must not be 0 |
| Divide by a nonzero number | Yes | The number must not be 0 |
| Multiply or divide by an expression containing a variable | Conditional | The expression must not equal 0 for the values you care about |
| Square both sides | No | Can add solutions that did not satisfy the original |
| Take a square root of both sides | Conditional | Must keep both the positive and negative root, or know the sign |
| Take the reciprocal of both sides | Conditional | Neither side may be 0 |
The next three sections cover the rows with conditions.
Failure mode 1: multiplying or dividing by zero
Multiplying both sides by 0 always gives 0 = 0. That equation is true no matter what the original was, so the step throws away all information. Dividing by 0 is undefined.
With plain numbers the rule is easy to follow. With variables it is easy to forget. Consider x · y = 5 · y and suppose you want to solve for x. Dividing both sides by y gives x = 5. That conclusion holds only if y ≠ 0. If y = 0, the original equation reads 0 = 0, which is true for every x.
So the correct statement is: x = 5, provided y ≠ 0. Whenever you divide by something containing a variable, note the condition. Later chapters on fractions and on restrictions return to this in more detail.
Failure mode 2: squaring can add solutions
Squaring is not reversible, because two different numbers can have the same square. Start with the true equation x = 3 and square both sides to get x² = 9. The new equation is also true for x = -3, which the original rejects.
x = -3
print(x == 3) # False: -3 does not satisfy x = 3
print(x**2 == 3**2) # True: -3 does satisfy x^2 = 9The squared equation has more solutions than the one you started with. When you square both sides while solving, you must check each candidate answer against the original equation. The reverse operation, taking a square root, has its own rule: x² = 9 means x = 3 or x = -3. Dropping one of them loses a valid solution. The chapter on powers and roots covers when to keep the plus-or-minus.
Failure mode 3: acting on part of a side
A subtler mistake does not break the balance rule directly. It breaks the "whole side" requirement. Take a = b + c and solve for b. Suppose someone multiplies both sides by 2 but writes 2a = 2b + c. The right side was not multiplied as a whole. The correct line is 2a = 2(b + c) = 2b + 2c.
A numeric test catches this quickly. Choose values that satisfy the original, such as b = 1, c = 2, a = 3. Then 2a = 6, but the incorrect right side gives 2·1 + 2 = 4. The two sides no longer match, so the step was wrong.
a, b, c = 3, 1, 2
assert a == b + c # the original equation holds
wrong_left, wrong_right = 2 * a, 2 * b + c
print(wrong_left == wrong_right) # False: the step broke the balance
right_left, right_right = 2 * a, 2 * (b + c)
print(right_left == right_right) # True: the step kept the balanceThis kind of spot check is a habit worth keeping. It costs one substitution and finds the most common algebra errors. The later chapter on checking results develops it fully.
Why the rule holds: a short justification
For intermediate learners, it helps to see the underlying logic rather than only the picture. Equality means two expressions name the same number. If A and B are the same number, then A + k and B + k are also the same number, because you are adding k to one number in both cases. The same argument works for any operation that takes one number in and gives one number out. Mathematicians call such an operation a function. Applying a function to equal inputs must give equal outputs.
This direction, from A = B to f(A) = f(B), is guaranteed for every function. The reverse direction, from f(A) = f(B) back to A = B, holds only when f never gives the same output for two different inputs. Adding k has that property. Squaring does not. This gap explains the whole table of safe and unsafe operations above.
A short checklist for each step
Before writing the next line of a rearrangement:
- Name the operation you intend to apply.
- Check that the operation is reversible for the values you care about. If it is not, note the condition or plan to verify answers later.
- Apply it to the whole of each side, using parentheses where a side has several terms.
- Simplify each side separately.
- If you are unsure, substitute numbers that satisfy the original equation and confirm the new line is still true.
Exercise
A student solves P = 2L + 2W for L. They write P - 2W = 2L + 2W - 2W, then P - 2W = 2L, and then divide only the right side by 2 to get P - 2W = L. Which step broke the balance, and what is the correct final line? Test your corrected answer with L = 5 and W = 3.
Show answer
The division broke the balance, because it was applied to only one side. The correct step divides the whole of each side by 2: (P - 2W) / 2 = 2L / 2, which gives L = (P - 2W) / 2. Test: with L = 5 and W = 3, P = 2·5 + 2·3 = 16. Then (16 - 6) / 2 = 5, which matches L.
Exercise
You start with the equation x = 4 and multiply both sides by y, giving xy = 4y. You then divide both sides by y to return to x = 4. Under what condition on y is the pair of steps valid? What happens to the equation xy = 4y when y = 0?
Show answer
The steps are valid only when y ≠ 0. If y = 0, the equation xy = 4y becomes 0 = 0, which is true for every value of x. It no longer forces x = 4, so the multiplication lost information, and the division back by y is undefined.