Variables on both sides

Some questions put the unknown on both sides at once. "When does plan A cost the same as plan B?" puts x in both prices. You already know almost all the moves for this. There's just one new first step: get all the x's onto one side. After that, it's the same kind of equation you've already solved.
Picture the balance scale again, but now both pans hold boxes and coins. Take 5x + 2 = 3x + 10: the left pan has five boxes and 2 coins, the right has three boxes and 10 coins. Your goal is to get all the boxes onto one pan. Do it by taking the same thing off both pans. Take 3x off each side. Now the right side has no boxes left. You're left with 2x + 2 = 10, a two-step equation you already know how to solve: $$\begin{aligned} &5x+2=3x+10 \\ &\xrightarrow{\,-3x\,}\; 2x+2=10 \\ &\xrightarrow{\,-2\,}\; 2x=8 \\ &\xrightarrow{\,\div 2\,}\; x=4 \end{aligned}$$ $$\text{Check: } 5(4)+2=22 \;\text{ and }\; 3(4)+10=22$$ A tip: move the smaller x-term first (here the 3x, not the 5x). That keeps the number in front of x positive, which is easier to work with. Moving the other one also works. You get the same answer either way.

New words
- 2.4.d1 Conditional equation: an equation that's true for only one value of x. This is the usual case. It has one solution (e.g. 5x+2=3x+10, true only at x=4).
- 2.4.d2 Identity: an equation that's true for every value. Both sides are really the same thing. Every number works. We say the answer is all real numbers (or infinitely many solutions) (e.g. 2x+4=2(x+2)).
- 2.4.d3 Contradiction: an equation that's true for no value. When you solve it, the x disappears and what's left is just false, like 3 = 5. So no number works. It has no solution (e.g. 2x+3=2x+5).
Worked example
2.4.w1 Standard: $$\begin{aligned} &5x+2=3x+10 \\ &\xrightarrow{-3x} 2x+2=10 \\ &\xrightarrow{-2} 2x=8 \\ &\xrightarrow{\div 2} x=4 \\ &\text{Check: }22=22 \end{aligned}$$
2.4.w2 Constants and variables both to move: $$\begin{aligned} &7x-3=2x+12 \\ &\xrightarrow{-2x} 5x-3=12 \\ &\xrightarrow{+3} 5x=15 \\ &\xrightarrow{\div 5} x=3 \\ &\text{Check: }18=18 \end{aligned}$$
2.4.w3 Negative answer (move the larger variable term, land below zero): $$\begin{aligned} &4x+1=6x+9 \\ &\xrightarrow{-4x} 1=2x+9 \\ &\xrightarrow{-9} -8=2x \\ &\xrightarrow{\div 2} x=-4 \end{aligned}$$ $$\text{Check: } 4(-4)+1=-15 \;\text{ and }\; 6(-4)+9=-15$$
2.4.w4 Distribute first, then gather: $$\begin{aligned} &2(x-1)=x+5 \\ &\xrightarrow{\text{distribute}} 2x-2=x+5 \\ &\xrightarrow{-x} x-2=5 \\ &\xrightarrow{+2} x=7 \end{aligned}$$ $$\text{Check: } 2(7-1)=12 \;\text{ and }\; 7+5=12$$
In the third example the answer is negative: x = −4. A negative answer is fine. The check shows both sides equal −15, so it's correct. The fourth example has parentheses on the left. Clear them first. The 2 times (x − 1) becomes 2x − 2. Now gather the x's. Always clean up each side first. After that, it's just the two-step move you already know.
The substitution check, when it doesn't match. This lesson has more steps than before. More steps means more chances to drop a minus sign. So check your answer every time. If your check doesn't match, that's good news. It means the check caught a mistake. The most common cause is a dropped minus sign when you took the x-term off both sides. Go back and redo that step first.
The three outcomes
So far every equation has had exactly one solution. That's the common case, but it isn't the only one. Now that x is on both sides, the same steps can lead to three different results. You can tell which one it is by watching what happens to x as you gather terms:
- Conditional: exactly one solution. The x's don't cancel out. You get x by itself and one value for it. This is what you've been doing all along.
- Identity: infinitely many solutions (all real numbers). The x's cancel out on both sides, and what's left is true (like 4=4). That means the two sides were equal the whole time. So every number works.
- Contradiction: no solution. The x's cancel out, and what's left is false (like 3=5). Nothing you plug in can make 3 equal 5, so there's no answer.
You don't need to guess the answer type ahead of time. Just solve as usual. If the x's disappear, stop. Then ask: is what's left true or false? Think of the scale. If both pans hold the exact same thing, it stays balanced for any value of x. That's an identity. If the pans can never match, nothing balances them. That's a contradiction.
Here's one worked example of each outcome. Keep the substitution habit even when the variable disappears.
Worked example
2.4.w5 Conditional, the usual one solution: $$\begin{aligned} &3(x-2)+4=2(x+1)-x \\ &\xrightarrow{\text{distribute}} 3x-2=x+2 \\ &\xrightarrow{-x} 2x-2=2 \\ &\xrightarrow{+2,\,\div 2} x=2 \end{aligned}$$ $$\text{Check: } 3(2-2)+4=4 \;\text{ and }\; 2(2+1)-2=4$$
2.4.w6 Identity, the x's go to zero, true statement, so all real numbers: $$\begin{aligned} &2x+4=2(x+2) \\ &\xrightarrow{\text{distribute}} 2x+4=2x+4 \\ &\xrightarrow{-2x} 4=4 \;\text{ (always true)} \end{aligned}$$ The x's canceled out and left 4=4. That's always true, so EVERY number works. We say the answer is infinitely many solutions (all real numbers). Want to test it? Try x = 0: both sides equal 4. Try x = 5: both sides equal 14. It works no matter what you pick.
2.4.w7 Contradiction, the x's go to zero, false statement, so no solution: $$2x+3=2x+5 \xrightarrow{-2x} 3=5 \;\text{(false)}$$ The x's canceled out and left 3=5, which is never true, so there's no solution. Want to test it? Try x = 0: the sides are 3 and 5. Try x = 10: they're 23 and 25. The right side is always 2 bigger, so the two sides can never be equal.
If the x's disappear, that's not a mistake, and it does NOT mean x = 0. There's just no x left to solve for. Instead, look at the line you're left with: is it true or false? For an identity, write all real numbers (or "infinitely many solutions"). For a contradiction, write no solution. Don't write "x = 4 = 4" or "x = 3 = 5". Once the x is gone, you only have to say whether what's left is true or false.
Two valid solving orders (which is cleaner, and when)
Often there's more than one good way to start. Both ways give the right answer, so you can't go wrong. Take 3(x+2)=18. Both of these are right:
2.4.w8 $$\begin{aligned} &\textbf{Distribute first:}\quad 3(x+2)=18 \\ &\xrightarrow{\text{distribute}} 3x+6=18 \\ &\xrightarrow{-6} 3x=12 \\ &\xrightarrow{\div 3} x=4 \end{aligned}$$
$$\begin{aligned} &\textbf{Divide first:}\quad 3(x+2)=18 \\ &\xrightarrow{\div 3} x+2=6 \\ &\xrightarrow{-2} x=4 \end{aligned}$$
Same answer (x = 4, and 3(4 + 2) = 18 checks). 3 goes into 18 evenly (18 / 3 = 6). When the number out front divides the other side evenly like that, divide first. It takes fewer steps and keeps the numbers small. But sometimes the number doesn't divide evenly. Take 3(x + 2) = 20. If you divide first, you get x + 2 = 20/3, and that fraction follows you through every step. In that case, distribute first to avoid fractions. With practice you'll start to spot which way is quicker. Until then, either one is fine.
2.4.w9 One spot-the-error to read. Below is a solution to 5 − 2(x − 1) = 9. One line in it is wrong. Watch what happens when you distribute a negative number. Find the line where it goes wrong: $$\begin{aligned} &5-2(x-1)=9 \\ &\to\; 5-2x-2=9 \\ &\to\; 3-2x=9 \\ &\to\; -2x=6 \\ &\to\; x=-3 \end{aligned}$$ The break is in the very first move. The −2 multiplies the −1 inside. −2 × −1 = +2, not −2. So the correct second line is 5 − 2x + 2 = 9. That becomes 7 − 2x = 9. Then −2x = 2. So x = −1. If you didn't spot it, that's fine. The fix is right here. Confirm x = −1 in the original: 5 − 2(−1 − 1) = 5 − 2(−2) = 5 + 4 = 9, which matches.
Two common mistakes to watch for. When you subtract an x-term, take it off both pans. Taking 3x off only the left side is the most common mistake here.
Watch the sign when you multiply into a subtraction. In 2(x − 1), the answer is 2x − 2. It's not 2x − 1 or 2x + 2. The 2 times the −1 gives −2. If you're not sure, check your answer by plugging it back in.
If this lesson feels like a lot, that's okay, it really is a lot. It uses everything from the earlier lessons at once. It's fine to leave a problem and come back to it tomorrow. A break really does help, and you haven't lost anything. When you come back, re-read the balance-scale part at the top first. Remember: every move is still just taking the same thing off both pans.
Check yourself
- 2.4.c1 Solve 6x + 1 = 4x + 9. Which side did you move the variable to, and why that one? (Subtract the smaller term, 4x, from both sides to keep the coefficient positive: 2x + 1 = 9, then 2x = 8, so x = 4. Check: both sides equal 25.)
- 2.4.c2 In 3x + 8 = 7x + 20, if you move 3x right you'll hit a negative. Walk through it and check. (Subtract 3x: 8 = 4x + 20, then subtract 20: −12 = 4x, so x = −3. Check: 3(−3) + 8 = −1 and 7(−3) + 20 = −1.)
- 2.4.c3 Why must you distribute 2(x − 1) before gathering the x's? (Until the parentheses are gone, the left side isn't yet a sum of plain terms you can move; distributing gives 2x − 2, and then you can subtract the x on the right.)
- 2.4.c4 You solve an equation and the x's disappear, leaving 7 = 7. What's the solution, and what would it mean instead if you'd been left with 7 = 2? (7 = 7 is true, so all real numbers; 7 = 2 is false, so no solution.)
- 2.4.c5 Give the fewest-steps first move for 4(x + 5) = 24, and say why dividing by 4 first is cleaner here than distributing. (Divide both sides by 4 first: x + 5 = 6, so x = 1. It's cleaner because 24/4 = 6 is whole, so no fraction appears; check 4(1 + 5) = 24.)
You can now solve an equation with variables on both sides by gathering the boxes onto one pan and the numbers onto the other, recognize when the variable going to zero means all real numbers or no solution, and choose the cleaner of two valid first moves.
Several of these land on a negative, and several are an identity or a contradiction rather than the usual one solution.
Gather variables (positive answers):
Reveal answerHide to problem 1
4Reveal answerHide to problem 2
3Reveal answerHide to problem 3
5Reveal answerHide to problem 4
5Reveal answerHide to problem 5
5Reveal answerHide to problem 6
4Negative answers:
Reveal answerHide to problem 7
-3Reveal answerHide to problem 8
-4Distribute first, then gather:
Reveal answerHide to problem 9
2Reveal answerHide to problem 10
-4Reveal answerHide to problem 11
5Reveal answerHide to problem 12
7Three outcomes. Decide: one solution, all real numbers, or no solution? (Gather, then read the leftover statement.)
Reveal answerHide to problem 13
x=4Reveal answerHide to problem 14
identity — all real numbersReveal answerHide to problem 15
contradiction — no solutionReveal answerHide to problem 16
x=3Reveal answerHide to problem 17
identity — all real numbersReveal answerHide to problem 18
contradiction — no solutionReveal answerHide to problem 19
identity — all real numbersReveal answerHide to problem 20
contradiction — no solutionStrategy choice. Solve, then say which first move (divide-first vs. distribute-first) was cleaner and why:
Reveal answerHide to problem 21
x=5Substitution spot-checks: #7: 3(-3)+8=-1, 7(-3)+20=-1. #10: 2(-4-1)=-10, 4(-4)+6=-10. #11: 5(5)-4=21, 3(5+2)=21. #14: 3(0)+5=5 and 3(0)+5=5; at x=2 both give 11 — true for every x. #15: at x=0 the sides are 3 and 5; the right side stays 2 bigger for every x, so never equal. #21 (divide-first): 5(x+2)=35 → x+2=7 → x=5, cleaner than distributing to 5x+10=35 since 35/5 is whole; check 5(5+2)=35.