When an equation has x in only one spot, like 3x+2=11, we can solve it by working backwards to get x by itself. Now we want to solve equations where x shows up on both sides of the equals sign at the same time:
5x+2=3x+8
We can't just work backwards anymore because both sides depend on x. First let's see what this equation looks like on a balance scale, where each x is an identical mystery box and each plain number is a set of 1-pound weights.
Balancing Mystery Boxes on Both Sides
3x+2=11
x=?
Taking 3 boxes off both pans kept the scale balanced and left boxes on only the left pan. Now we write that exact move in algebra on 5x+2=3x+8 by subtracting 3x from the x term on each side.
Solving by Clearing x from One Side
Text solution
Subtract 3x from both sidesTake 3x away from the x term on each side so x is cleared from the right side.
5x−3x+22x+2=3x−3x+8=8
Subtract 2 from both sidesNow that x is in one spot, remove the +2 from both sides.
2x=6
Divide both sides by 2Divide both sides by 2 to find the weight of one x box.
x=3
Plugging x=3 back into 5x+2=3x+8 gives 5(3)+2=17 on the left and 3(3)+8=17 on the right, so both sides balance at 17.
As matching pairs of x boxes come off both pans of 5x+2=3x+8, both sides lose the exact same weight and stay level until all 3 boxes on the right pan are gone and 2x+2=8 remains.
Taking matching x boxes off both pans keeps the scale balanced at every step, and clearing all 3 from the right pan leaves x in just one spot.
1
Choosing Which Side to Move x To
In the first equation, there were more x's on the left (5x) than on the right (3x). Now we want to solve an equation where the larger x term is on the right side:
2x+12=5x+3
Does it matter whether we clear 2x from the left side or 5x from the right side? Let's compare both choices side by side.
Which Side to Move x To
2x+12=5x+3
x=?
Text solution
Subtract 2x from both sidesClear the smaller x term so the remaining x term stays positive.
12=3x+3
Subtract 3 from both sidesRemove the +3 next to 3x to get the x term by itself on the right.
9=3x
Divide both sides by 3Divide both sides by 3 to get x by itself.
3=x
If you subtract 5x from both sides instead to keep x on the left, you get −3x+12=3 and then −3x=−9, which divides by −3 to give the exact same answer, x=3.
2
Clearing a Negative x Term
What if one of the sides starts with a negative x term? Suppose we want to solve:
4x−5=−2x+13
If you subtract 2x from −2x, you don't get zero, you get −4x. Let's see how to clear −2x off the right side.
Clearing a Negative x Term
4x−5=−2x+13
x=?
Text solution
Add 2x to both sidesAdding 2x cancels −2x to zero on the right side and adds 2x to 4x on the left.
4x+2x−56x−5=−2x+2x+13=13
Add 5 to both sidesClear the −5 on the left by adding 5 to both sides.
6x=18
Divide both sides by 6Divide both sides by 6 to get x alone.
x=3
3
Simplifying Each Side First
Now we want to solve a longer equation that has parentheses and extra x's on the same side:
2(3x−4)+x=5x+6
Trying to move terms across the equals sign right away gets messy because the left side has parentheses and two separate x terms. Instead, we simplify each side on its own before moving anything across the equals sign.
Cleaning Up Each Side First
2(3x−4)+x=5x+6
x=?
Text solution
Distribute 2 on the left sideMultiply both terms inside the parentheses by 2.
6x−8+x=5x+6
Combine like terms on the left sidePut 6x and +x together on the left side before touching the right side.
7x−8=5x+6
Subtract 5x from both sidesClear 5x from the right side now that both sides are simplified.
2x−8=6
Add 8 to both sidesClear the −8 next to 2x.
2x=14
Divide both sides by 2Divide by 2 to find x.
x=7
4
When Two Options Tie
Equations with x on both sides show up whenever we compare two options that start at different amounts and grow at different rates. At a rock-climbing gym, Option A costs $20 up front plus $5 per visit, and Option B costs $5 up front plus $8 per visit. We want to find the number of visits x where both options cost the exact same amount.
When Two Options Tie
Text solution
Set the two cost expressions equalAfter x visits, Option A costs 5x+20 and Option B costs 8x+5, and they tie when those two totals are equal.
5x+20=8x+5
Subtract 5x from both sidesClear the smaller x term from the left side.
20=3x+5
Subtract 5 from both sidesGet the 3x term by itself on the right side.
15=3x
Divide both sides by 3Divide by 3 to find the number of visits x.
5=x
So the two plans tie at 5 visits, where both Option A and Option B cost $45.
Option B starts lower at $5 but adds $8 per visit instead of $5, so its total cost catches up to Option A at 5 visits ($45) and stays higher for every visit after 5.
Option B starts out cheaper than Option A, but adds more cost on every visit, catching up at 5 visits and costing more after that.
5
No Solution and Infinitely Many Solutions
Sometimes both sides of an equation have the exact same number of x's, so clearing x from one side cancels x out of the equation completely. Let's see what happens when we solve these two equations:
3x+43(x+2)=3x+10and=3x+6
No Solution and Infinitely Many Solutions
3x+4=3x+10
x=?
Text solution
For 3x+4=3x+10:
Subtract 3x from both sidesTaking 3x away from both sides removes x from both pans at the same time.
3x−3x+44=3x−3x+10=10
Because 4=10 is never true for any value of x, the scale is always 6 pounds heavier on the right and the equation has no solution.
For 3(x+2)=3x+6:
Distribute 3 on the left sideMultiply out the parentheses first to simplify the left side.
3x+6=3x+6
Subtract 3x from both sidesBoth 3x terms cancel out, leaving only the plain numbers.
6=6
Because 6=6 is always true no matter what number you plug in for x, every number balances the scale and the equation has infinitely many solutions.
Because both pans hold three x boxes, changing the weight inside an x box adds the exact same weight to both sides, leaving 3x+4=3x+10 always tipped by 6 pounds and 3x+6=3x+6 always level.
When both pans hold the same number of x boxes, changing the weight inside x adds the same amount to both sides, so a tipped scale stays tipped and a level scale stays level.
6
Choosing a Missing Number
Now let's flip the question around: instead of solving an equation, we want to pick the missing number in the box so that
2(4x+5)=□x+10has infinitely many solutions
and so that
6x+9=□x+2has no solution.
Rigging Equations with a Missing Number
2(4x+5)=□x+10
Infinitely many solutions
□=?
Text solution
For 2(4x+5)=□x+10 to have infinitely many solutions:
Distribute 2 on the left sideSimplify the left side first so you can compare the two sides directly.
8x+10=□x+10
Match the x termsSince the plain numbers are both +10, matching the number of x's makes both sides completely identical.
□=8
For 6x+9=□x+2 to have no solution:
Match the x terms while the plain numbers differThe plain numbers +9 and +2 are already different, so putting 6 in the box makes the x terms cancel out and leaves the false statement 9=2.
□=6
If the box is on the plain number instead, like 6x+9=6x+□, the 6x terms already match: putting 9 in the box makes both sides identical for infinitely many solutions, while putting any number other than 9 makes the plain numbers different for no solution.
Key concepts
When an equation has x in only one spot (like 3x+2=11), you don't need to move x across the equals sign; just get x by itself directly. Even if there are multiple x terms on the same side, like 2(3x−4)+x=5x+6, do not subtract x from both sides to combine 6x and +x; simplify each side on its own first by distributing and combining like terms on that side (6x−8+x→7x−8).
Once you've distributed and combined like terms on each side, look at the x terms to pick your next move:
Different x terms
Clear x from one side so x is left in a single spot. When both x terms are positive (2x+12=5x+3), subtract the smaller x term (−2x from both sides) to keep the remaining x term positive (12=3x+3). When one side has a negative x term (4x−5=−2x+13), add the opposite of that x term (+2x to both sides) to bring it to zero (6x−5=13).
Matching x terms on both sides
Subtracting that x term clears x from both sides at once. If the plain numbers are different (3x+4=3x+10→4=10), the equation is impossible to balance and has no solution. If the plain numbers also match (3x+6=3x+6→6=6), both sides are identical and the equation has infinitely many solutions.
7
Practice
1
Solve 7x+2=3x+18.
Both sides have x. How many x's can you take away from both sides so x is left on only the left side?
Subtract 3x from both sides: 4x+2=18. (Take 3x away from 7x, not from 2, and don't add 3x to 7x to get 10x+2=18, which would lead to x=1.6.)
Subtract 2 from both sides: 4x=16. (Adding 2 to 18 instead of subtracting gives 4x=20 and the wrong answer x=5.)
Divide both sides by 4:x=4
2
Solve 2x+19=7x+4.
Compare 2x and 7x. Which x term can you subtract from both sides to keep the remaining x term positive?
Subtract 2x from both sides: 19=5x+4. (If you subtract 7x from both sides instead, 2x−7x is −5x; forgetting the negative sign gives 5x+19=4 and the wrong answer x=−3.)
Subtract 4 from both sides: 15=5x.
Divide both sides by 5:x=3
3
Solve 4x−7=−3x+28.
The right side has −3x. What operation brings −3x back to zero?
Add 3x to both sides: 7x−7=28. (Subtracting 3x from 4x instead of adding treats −3x like +3x, giving x−7=28 and the wrong answer x=35.)
Add 7 to both sides: 7x=35. (Subtracting 7 from 28 instead of adding gives 7x=21 and the wrong answer x=3.)
Divide both sides by 7:x=5
4
Solve 3(2x−1)+2x=5x+15.
Look at the left side first. What does the left side simplify to once you multiply out the parentheses and combine the x terms on the left?
Distribute 3 on the left side: 6x−3+2x=5x+15. (Make sure to multiply −1 by 3 as well; leaving it as −1 gives 6x−1+2x=5x+15 and the wrong answer x=316.)
Combine like terms on the left side: 8x−3=5x+15. (Because 6x and +2x are already on the same side, add them; subtracting 2x as if it were crossing the equals sign gives 4x−3=5x+15 and the wrong answer x=−18.)
Subtract 5x from both sides: 3x−3=15.
Add 3 to both sides to get 3x=18, then divide by 3:x=6
5
A kayak rental shop has two payment plans. Plan A costs $18 up front plus $4 per hour. Plan B costs $6 up front plus $7 per hour. For how many hours do the two plans cost the exact same amount?
If x is the number of hours, which dollar amount gets multiplied by x in each plan, and which is paid just once?
Write the cost expression for each plan after x hours and set them equal: 4x+18=7x+6. (Multiply x by the per-hour rate, not the upfront fee; multiplying x by the upfront fees gives 18x+4=6x+7.)
Subtract 4x from both sides: 18=3x+6.
Subtract 6 from both sides: 12=3x. (Adding 6 to 18 instead of subtracting gives 24=3x and the wrong answer 8 hours.)
Divide both sides by 3:4 hours
6
Solve 5x+3=5x+11.
Subtract 5x from both sides. What is left, and can it ever be true?
Subtract 5x from both sides: 3=11. (Remember that 5x−5x is 0, not x; leaving an x behind to write x+3=11 gives the wrong answer x=8.)
Since 3=11 is always false, no value of x works: No solution
7
Solve 4(2x+3)=8x+12.
Distribute the 4 on the left side first and compare the two sides of the equation.
Distribute 4 on the left side: 8x+12=8x+12. (Forgetting to multiply 3 by 4 gives 8x+3=8x+12, which simplifies to 3=12 and leads to the wrong answer No solution.)
Subtract 8x from both sides: 12=12. (Don't confuse all the x's canceling out with x=0;12=12 is true for every number x.)
Because both sides are identical, every number works: Infinitely many solutions
8
What number goes in the box so that 3(4x+2)=□x+6 has infinitely many solutions?
Distribute the 3 on the left side first. How many x's are on the left once you multiply out the parentheses?
Distribute 3 on the left side: 12x+6=□x+6. (Picking 4 from inside the parentheses before multiplying by 3 gives 12x+6=4x+6, which only has the single solution x=0 instead of infinitely many solutions.)
Since +6 already matches on both sides, match the number in front of x so both sides are identical: 12
9
What number goes in the box so that 8x+5=□x+1 has no solution?
The plain numbers +5 and +1 are already different. How many x's do you need on the right so that all the x's cancel out?
Look at the plain numbers +5 and +1: they are already different, so we need the x terms on both sides to cancel out completely when we subtract them. (Putting −8 in the box does not cancel 8x; it gives 8x+5=−8x+1, which adds to 16x+5=1 and has a solution x=−41.)
Match the number of x's on the left so subtracting 8x from both sides leaves 5=1:8