What Is It?
What Is a Linear Equation?
An equation is a statement that two things are equal. It always has an equals sign, with an expression on each side, such as 3x + 5 = 20. The letter x stands for an unknown number, and the equation is a clue about what that number must be.
Solving an equation means finding the value of the unknown that makes the statement true. That value is called the solution (or root). For 3x + 5 = 20, the solution is x = 5, because 3 × 5 + 5 = 20. Any other value of x makes the two sides different.
A linear equation is one where the unknown appears only to the power 1: there is no x², no x³, and x is never multiplied by itself or found on the bottom of a fraction. The word "linear" comes from "line": if you draw the graph of y = 3x + 5, you get a straight line. Equations such as 2x − 7 = 11, 4(x + 3) = 2x and x/5 + 1 = 3 are all linear.
The best picture for an equation is a balance scale. The equals sign is the pivot in the middle, and the two sides weigh exactly the same. You can do anything you like to the equation, as long as you do the same thing to both sides, because then the scale stays balanced. Every method in this chapter is built on that one idea.
Why Does It Matter?
Why Does It Matter?
Linear equations are the most common type of equation in everyday life. Whenever you know a total and need to work backwards to an unknown amount, you are solving one.
Shopping and Budgets
If 4 identical notebooks and a £3 pen cost £11 altogether, the equation 4n + 3 = 11 tells you each notebook costs £2. Working out unit prices, splitting bills and planning a budget all come down to equations like this.
Comparing Deals
One gym charges a joining fee plus a monthly fee; another has a smaller joining fee but a higher monthly fee. Setting the two total costs equal and solving tells you exactly when one becomes the better deal. Phone plans, taxi fares and car hire work the same way.
Sport
A basketball player who needs 30 points and has already scored 12 from free throws can work out how many 2-point baskets she needs: 2b + 12 = 30, so b = 9. Coaches and fans use equations like this to work out what results a team needs to reach a target.
Cooking and Travel
If a turkey needs 20 minutes per kilogram plus an extra 70 minutes, and you have 3 hours (180 minutes), the equation 20k + 70 = 180 tells you the largest turkey you can cook in time is 5.5 kg. Journey planning uses the same thinking: distance = speed × time can be solved for any one of the three.
Science, Engineering and Coding
Physics formulas such as v = u + at (final speed equals starting speed plus acceleration times time) are linear equations. Engineers solve them to find a missing measurement, and computer programs and games solve thousands of linear equations every second to decide where objects should move.
Detailed Explanation
Solving Linear Equations Explained Step by Step
1. The Balance Method
Imagine a set of old-fashioned scales. On the left pan is a closed bag holding x sweets plus 3 loose sweets. On the right pan are 10 loose sweets. The scales balance, so x + 3 = 10.
To find out what is in the bag, take 3 loose sweets off both pans. The scales still balance, and now the bag sits alone on the left with 7 sweets on the right. So x = 7.
That is the whole method in one picture: whatever you do to one side, do exactly the same to the other side. Your aim is to end up with the letter on its own on one side, which is called making x the subject or isolating x.
Each new line of working is a new, simpler equation that has the same solution as the one before. Write the lines underneath each other with the equals signs lined up; it makes your working easy to follow and easy to check.
2. Inverse Operations
To get rid of something attached to x, you do the opposite operation, called the inverse. Each operation has one inverse that undoes it:
| If the equation has... | Undo it by... | Example |
|---|---|---|
| + a number | subtracting it from both sides | x + 7 = 12 → x = 12 − 7 = 5 |
| − a number | adding it to both sides | x − 4 = 9 → x = 9 + 4 = 13 |
| × a number | dividing both sides by it | 5x = 35 → x = 35 ÷ 5 = 7 |
| ÷ a number | multiplying both sides by it | x/3 = 6 → x = 6 × 3 = 18 |
These four are called one-step equations, because one inverse operation solves each of them. Notice that 5x means 5 × x, so the inverse is ÷ 5, and x/3 means x ÷ 3, so the inverse is × 3.
3. Two-Step Equations
In 3x + 5 = 20, two things have happened to x: it was multiplied by 3, and then 5 was added. To unwrap it, undo those operations in reverse order.
Think of getting dressed: you put on socks, then shoes. To undress, you take off shoes first, then socks. In the same way, the last thing done to x (adding 5) is the first thing you undo.
- 3x + 5 = 20
- Subtract 5 from both sides: 3x = 15
- Divide both sides by 3: x = 5
The same idea works with division. For x/4 − 2 = 3, the last operation was subtracting 2, so add 2 first: x/4 = 5. Then multiply by 4: x = 20.
A useful rule of thumb for linear equations: deal with the adding and subtracting first, then the multiplying and dividing. This is BIDMAS run backwards.
4. Always Check Your Answer
The great thing about equations is that you can always find out whether you are right. Substitute your solution back into the original equation and see whether both sides are equal.
For 3x + 5 = 20 with x = 5: the left side is 3 × 5 + 5 = 15 + 5 = 20, and the right side is 20. Both sides match, so x = 5 is correct.
Always check using the original equation, not a later line of your working. If you made a slip early on, the later lines will contain the same slip and the check would not catch it. In a test, a check takes seconds and can save a whole question's marks.
5. Equations with Negative and Fraction Answers
Solutions do not have to be positive whole numbers. Use exactly the same steps and let the answer be whatever it is.
- 2x + 9 = 4 → 2x = 4 − 9 = −5 → x = −5 ÷ 2 = −2.5.
- 3x = 7 → x = 7/3, which is 2⅓. Leave it as a fraction unless asked for a decimal; 2.33 is only an approximation.
- −x = 6 → multiply (or divide) both sides by −1 → x = −6.
When the x term is subtracted, as in 10 − 2x = 4, you have two good choices. Either subtract 10 from both sides to get −2x = −6 and then divide by −2 to get x = 3. Or add 2x to both sides first to get 10 = 4 + 2x, then 6 = 2x, so x = 3. The second way avoids dividing by a negative, and it is perfectly fine to have x on the right-hand side.
6. Unknowns on Both Sides
Sometimes x appears on both sides, as in 5x + 3 = 2x + 18. Picture the balance again: there are bags of x sweets on both pans. If you take 2 bags off each side, the scales still balance and now the bags are on one side only.
- 5x + 3 = 2x + 18
- Subtract 2x from both sides: 3x + 3 = 18
- Subtract 3 from both sides: 3x = 15
- Divide both sides by 3: x = 5
Check: 5(5) + 3 = 28 and 2(5) + 18 = 28. Both sides match.
A tip: remove the smaller x term (here 2x). That leaves a positive number of x on the other side and avoids negative coefficients.
Two special cases are worth knowing. If the x terms cancel and you are left with something false, such as 3 = 7, the equation has no solution: for example 2x + 3 = 2x + 7. If they cancel and you are left with something always true, such as 6 = 6, the statement is an identity and every value of x works: for example 2(x + 3) = 2x + 6.
7. Equations with Brackets
When an equation contains brackets, the usual first step is to expand them, using the skill from the Introduction to Algebra chapter. Then solve as normal.
- 4(x − 3) = 20
- Expand: 4x − 12 = 20
- Add 12 to both sides: 4x = 32
- Divide by 4: x = 8
There is often a shortcut. Since the whole left side is 4 times a bracket, divide both sides by 4 first: x − 3 = 5, so x = 8. This works neatly when the number outside the bracket divides exactly into the other side.
With brackets on both sides, expand both, then collect x terms on one side as in the previous section. Be especially careful with a negative number in front of a bracket: −3(x − 2) expands to −3x + 6.
8. Equations with Fractions
Fractions make equations look harder than they are. The trick is to clear the fractions by multiplying every term on both sides by the denominator, so that everything becomes whole numbers.
For (x + 4)/3 = 5, imagine the whole of x + 4 being shared between 3 people, with each getting 5. Before the sharing there must have been 15. So multiply both sides by 3: x + 4 = 15, and x = 11.
When there are different denominators, multiply by their lowest common multiple (LCM). For x/2 + x/3 = 10, the LCM of 2 and 3 is 6:
- Multiply every term by 6: 6 × x/2 + 6 × x/3 = 6 × 10
- Simplify: 3x + 2x = 60
- Collect: 5x = 60
- Divide by 5: x = 12
Check: 12/2 + 12/3 = 6 + 4 = 10. Remember that every term must be multiplied, including terms that are not fractions. Forgetting the right-hand side is a very common slip.
When there is exactly one fraction on each side, such as (2x + 1)/3 = (x + 4)/2, multiplying both sides by 6 (or "cross-multiplying") gives 2(2x + 1) = 3(x + 4), which you can then solve as a bracket equation.
9. Turning Word Problems into Equations
Real problems arrive in words, not symbols. A four-step method works for almost all of them:
- Choose a letter for the unknown and say exactly what it stands for, with units: "Let p be the price of one pen in pounds."
- Write an equation by translating the words into algebra. Look for the two things that are said to be equal.
- Solve the equation using the methods above.
- Answer the question in words, with units, and check that the answer makes sense in the story.
Example: Jo is 3 years older than her brother. The sum of their ages is 27. How old is Jo?
- Let b be the brother's age in years. Then Jo is b + 3.
- Equation: b + (b + 3) = 27, so 2b + 3 = 27.
- Solve: 2b = 24, so b = 12.
- Answer: the question asks for Jo's age, so Jo is 12 + 3 = 15 years old. Check: 12 + 15 = 27.
Common phrases help with translating: "is", "equals", "gives" and "costs" usually become =; "total" and "altogether" mean add; "each" and "per" usually mean multiply. Many students solve the equation correctly but then give the wrong final answer, such as the brother's age instead of Jo's. Re-read the question before writing your last line.
10. A Checklist for Any Linear Equation
Whatever the equation looks like, the same order of jobs will always get you there:
| Step | Job | Example: 2(x + 5) = x/2 + 13 |
|---|---|---|
| 1 | Clear any fractions by multiplying every term by the LCM | × 2: 4(x + 5) = x + 26 |
| 2 | Expand any brackets | 4x + 20 = x + 26 |
| 3 | Collect x terms on one side (remove the smaller one) | 3x + 20 = 26 |
| 4 | Collect numbers on the other side | 3x = 6 |
| 5 | Divide by the coefficient of x | x = 2 |
| 6 | Check in the original equation | 2(7) = 14 and 1 + 13 = 14 |
Not every equation needs every step, so skip any that do not apply. With this checklist and the balance picture in your head, you can solve any linear equation you will meet in school.
Worked Examples
Solve (a) x − 9 = 14 and (b) 4y = 52.
(a) 9 has been subtracted from x. The inverse is adding 9 to both sides: x = 14 + 9 = 23.
(b) y has been multiplied by 4. The inverse is dividing both sides by 4: y = 52 ÷ 4 = 13.
(a) x = 23; (b) y = 13
Check: 23 − 9 = 14 and 4 × 13 = 52. Both are correct.
Solve 4x + 7 = 31.
The last thing done to x was adding 7, so undo that first. Subtract 7 from both sides: 4x = 24.
Divide both sides by 4: x = 6.
x = 6
Check: 4 × 6 + 7 = 24 + 7 = 31. Correct.
Solve x/5 − 3 = 4.
Undo the subtraction first. Add 3 to both sides: x/5 = 7.
x has been divided by 5, so multiply both sides by 5: x = 35.
x = 35
Check: 35 ÷ 5 = 7 and 7 − 3 = 4. Correct.
Solve 7x − 4 = 3x + 22.
The smaller x term is 3x. Subtract 3x from both sides: 4x − 4 = 22.
Add 4 to both sides: 4x = 26.
Divide both sides by 4: x = 26 ÷ 4 = 6.5.
x = 6.5 (or 13/2)
Check: 7 × 6.5 − 4 = 45.5 − 4 = 41.5, and 3 × 6.5 + 22 = 19.5 + 22 = 41.5. Both sides match, so a decimal answer is perfectly fine.
Solve 3(2x − 5) = 27.
Method 1: expand the bracket: 6x − 15 = 27.
Add 15 to both sides: 6x = 42. Divide by 6: x = 7.
Method 2: divide both sides by 3 first: 2x − 5 = 9. Add 5: 2x = 14. Divide by 2: x = 7.
x = 7
Both methods give the same answer. Check: 2 × 7 − 5 = 9 and 3 × 9 = 27.
Solve 5(x + 2) = 2(x − 4) + 3.
Expand both sides: 5x + 10 = 2x − 8 + 3.
Simplify the right side: 5x + 10 = 2x − 5.
Subtract 2x from both sides: 3x + 10 = −5.
Subtract 10 from both sides: 3x = −15.
Divide by 3: x = −5.
x = −5
Check in the original: 5(−5 + 2) = 5 × (−3) = −15, and 2(−5 − 4) + 3 = 2 × (−9) + 3 = −18 + 3 = −15. Both sides match.
Solve (2x + 1)/3 = (x + 4)/2.
The LCM of 3 and 2 is 6. Multiply both sides by 6: 2(2x + 1) = 3(x + 4).
Expand: 4x + 2 = 3x + 12.
Subtract 3x from both sides: x + 2 = 12.
Subtract 2: x = 10.
x = 10
Check: (2 × 10 + 1)/3 = 21/3 = 7, and (10 + 4)/2 = 14/2 = 7. Both sides match.
Gym A charges a £20 joining fee plus £15 a month. Gym B charges a £5 joining fee plus £18 a month. After how many months will the total cost be the same, and what is that cost?
Let m be the number of months.
Gym A total: 20 + 15m. Gym B total: 5 + 18m.
Set them equal: 20 + 15m = 5 + 18m.
Subtract 15m from both sides: 20 = 5 + 3m. Subtract 5: 15 = 3m. Divide by 3: m = 5.
Cost after 5 months: 20 + 15 × 5 = 20 + 75 = £95.
After 5 months, when both cost £95.
Check Gym B: 5 + 18 × 5 = 5 + 90 = £95. Before 5 months Gym B is cheaper (for 1 month: A £35, B £23); after 5 months Gym A is cheaper, because its monthly fee is lower.
Common Mistakes
Doing the wrong inverse operation
Students copy the operation they see instead of undoing it. To remove + 5 you must subtract 5 from both sides. A quick check catches it: 17 + 5 = 22, not 12.
Changing a sign incorrectly when moving a number
The shortcut "move it to the other side" is easy to misremember. Think balance instead: to remove − 4, add 4 to both sides, so 11 + 4 = 15. Writing the operation you are doing beside each line (for example "+ 4") keeps you honest.
Dividing only one term
If you divide, you must divide every term on both sides: x + 3 = 5 would be correct. It is usually easier to deal with the + 6 first and divide afterwards, so only one term is left to divide.
Multiplying only the first term of a bracket
The 3 multiplies everything inside the bracket. Alternatively, divide both sides by 3 first: x + 2 = 6, so x = 4. Either way, check: 3(4 + 2) = 18.
Dividing when you should multiply
x/4 means x has been divided by 4, so the inverse is multiplying by 4. Ask yourself: what number divided by 4 gives 3? Twelve, not three quarters.
Losing the negative in −x
−x means −1 × x, so divide both sides by −1. Students often drop the minus sign because they think the equation is already solved. It is only solved when the left side is x, not −x. Check: −(−7) = 7.
Summary
- An equation says two expressions are equal, and solving it means finding the value of the unknown that makes it true.
- A linear equation has the unknown only to the power 1, and its graph is a straight line.
- Think of an equation as a balance: whatever you do to one side you must do to the other.
- Use inverse operations to undo what has been done to x: subtract to undo adding, divide to undo multiplying, and so on.
- In two-step equations, undo the operations in reverse order, usually adding or subtracting first and then dividing.
- With unknowns on both sides, remove the smaller x term from both sides first.
- Expand brackets before solving, or divide both sides by the number outside when it divides exactly.
- Clear fractions by multiplying every term on both sides by the lowest common multiple of the denominators.
- Solutions can be negative numbers, decimals or fractions, and you should always check by substituting into the original equation.
- For word problems, define a letter, write an equation, solve it, then answer the actual question in words with units.