Solving Linear Equations
An equation says that two expressions are equal, like . Solving it means finding the value of the variable that makes the equation true. Linear equations show up everywhere: comparing phone plans, finding the side of a garden from its perimeter, or working out how many weeks it takes to save for something. This page builds up from one-step equations to equations with brackets and fractions.
Key ideas
Section titled “Key ideas”Keep the equation balanced
Section titled “Keep the equation balanced”Think of an equation as a balance scale. The two sides are equal, and they stay equal as long as you do the same thing to both sides: add, subtract, multiply or divide by the same number (but never divide by ).
To get the variable by itself, use inverse operations. They undo each other:
| To undo… | …do this to both sides |
|---|---|
| subtract | |
| add | |
| divide by | |
| multiply by |
For a two-step equation like , undo the steps in reverse order. was multiplied by and then was subtracted, so first add , then divide by .
A general plan
Section titled “A general plan”- Expand any brackets (distributive property).
- Clear fractions by multiplying every term on both sides by the lowest common denominator (LCD).
- Collect the variable terms on one side and the constants on the other.
- Isolate the variable by dividing by its coefficient.
- Check by substituting your answer into the original equation.
Variables on both sides
Section titled “Variables on both sides”When the variable appears on both sides, move all the variable terms to one side first. It’s usually easiest to move the smaller one, so the coefficient stays positive. For , subtract from both sides to get .
Equations with fractions
Section titled “Equations with fractions”Fractions make equations messy. Multiply every term on both sides by the LCD of the denominators, and the fractions disappear. Put brackets around numerators with more than one term, so the multiplication reaches all of it.
No solution, or infinitely many
Section titled “No solution, or infinitely many”Sometimes the variable disappears completely:
- becomes , then . That’s false, so there is no solution. No value of works.
- becomes . That’s always true, so there are infinitely many solutions. Every value of works, because the two sides are equivalent expressions.
Writing equations from word problems
Section titled “Writing equations from word problems”- Let a variable stand for the unknown, and say what it means (with units).
- Write the other quantities in terms of that variable.
- Write an equation using the information in the problem.
- Solve it.
- Answer the question in a sentence, and check that the answer makes sense in the story.
Worked examples
Section titled “Worked examples”Example 1: One and two steps
Section titled “Example 1: One and two steps”Solve.
- (a)
- (b)
Solution.
(a) Undo “subtract ” by adding to both sides:
(b) Undo the subtraction first, then the multiplication:
Check: . ✓
Example 2: Brackets and variables on both sides
Section titled “Example 2: Brackets and variables on both sides”Solve .
Solution.
Check: left side ; right side . ✓
Example 3: Fractions
Section titled “Example 3: Fractions”Solve .
Solution. The LCD of and is . Multiply every term by :
Check: . ✓
Notice the brackets around . Without them, you’d only multiply the by and get the wrong answer.
Example 4: Comparing phone plans
Section titled “Example 4: Comparing phone plans”Plan A costs $20 per month plus $5 per GB of data. Plan B costs $35 per month plus $2 per GB. For how many GB do the two plans cost the same? What is that cost?
Solution. Let be the number of GB used in a month. In dollars:
- Plan A costs .
- Plan B costs .
The costs are equal when
At , Plan A costs dollars.
Answer: the plans cost the same, $45, when you use 5 GB.
Check: Plan B costs dollars too. ✓ (For less than 5 GB, Plan A is cheaper; for more, Plan B is. You’ll compare relations like these again in comparing linear relations.)
Common mistakes
Section titled “Common mistakes”Doing something to only one side. If you subtract on the left, you must subtract on the right too. Otherwise the equation is no longer balanced. Writing each step as a new line helps.
Undoing steps in the wrong order. In , dividing by first means you must divide every term: . That works but is messy. Undo addition and subtraction first, then multiplication and division.
Not multiplying every term by the LCD. In , multiplying by gives , not . The and the must be multiplied too.
Sign errors with brackets. is . And when you move a term across the equals sign, you’re really subtracting (or adding) it on both sides, so its sign flips.
Skipping the check. Substitute your answer into the original equation, not a later line, because a mistake in an early step would carry through to the later lines.
Panicking when the variable disappears. If you end up with a false statement like , there is no solution. If you end up with a true statement like , every number is a solution. Both are real answers.
Practice
Section titled “Practice”1. (Warm-up) Solve.
- (a)
- (b)
- (c)
Solution
(a) Subtract from both sides: .
(b) Divide both sides by : .
(c) Multiply both sides by : .
2. (Warm-up) Solve and check your answer.
Solution
Check: . ✓
3. (Core) Solve .
Solution
Check: and . ✓
4. (Core) Solve .
Solution
Check: left side ; right side . ✓
5. (Core) Solve .
Solution
The LCD of and is . Multiply every term by :
Check: left side ; right side . ✓
6. (Core) A rectangular vegetable garden is 4 m longer than it is wide. Its perimeter is 56 m. Find its width and length.
Solution
Let be the width in metres. Then the length is . Perimeter is :
The garden is m wide and m long.
Check: . ✓
7. (Core) Three consecutive even numbers add to 150. What are they?
Solution
Consecutive even numbers go up by 2. Let the smallest be . Then the numbers are , and :
The numbers are , and .
Check: , and all three are even. ✓
8. (Challenge) Solve each equation, or explain why it has no solution or infinitely many solutions.
- (a)
- (b)
Solution
(a) Expand the left side: , so . Subtract : . That’s always true, so there are infinitely many solutions: every value of works. (The two sides are equivalent expressions.)
(b) Expand: . Subtract : . That’s false, so there is no solution.
9. (Challenge) For what value of does the equation have no solution? Can you choose so it has infinitely many solutions?
Solution
Expand the left side: .
If , subtracting from both sides gives , which is false. So gives no solution.
For any other , the terms don’t cancel, and you can solve: , so . That’s exactly one solution.
Infinitely many solutions would need both sides to be identical, which would need as well as . That never happens, so no value of gives infinitely many solutions.