Algebra · Variables and Equations · Lesson 1
Writing Equations from Word Problems (and Back Again)
Many everyday puzzles — sharing money among friends, working out someone's age, finding the price of one item — can be written as a short mathematical sentence called an equation. In this lesson you will learn to turn words into equations, use a flag diagram to undo the steps of a puzzle, and turn an equation back into a story.
By the end you will be able to
- ✔Translate key words such as 'more than', 'less than', 'twice' and 'the result is' into algebraic symbols.
- ✔Write a linear equation in one variable for a given word problem.
- ✔Use a flag diagram and inverse operations to find the unknown number.
- ✔Write a word problem that matches a given linear equation.
Key words
- Variable
- A letter, such as x or n, that stands for a number we do not yet know.
- Expression
- Numbers and letters joined by operations, with no equals sign, e.g. .
- Equation
- A mathematical sentence saying two things are equal, e.g. .
- Linear equation
- An equation in which the variable has power 1 only (no ), such as .
- Inverse operation
- The operation that undoes another: + undoes −, × undoes ÷, and the other way round.
- Flag diagram
- A chain of boxes and arrows showing the operations done to a number, which we can run backwards to find the number.
Curriculum reference
Content standard: B7.2.3.1 Demonstrate an understanding of linear equations of the form x + a = b (where a and b are integers) by modelling problems as a linear equation and solving the problems concretely, pictorially, and symbolically.
Indicator: Translate word problems to linear equations in one variable and vice versa.
Starter
Ama's number trick
At break time in a school in Cape Coast, Ama says to Kofi: "Think of a number, double it and subtract 7. Tell me your answer." Kofi says "41." In two seconds Ama shouts, "Your number was 24!" Is Ama a magician? No — she simply wrote the puzzle as an equation in her head and worked backwards. By the end of this lesson you can do the same trick.
1. From words to symbols
In algebra we use a letter to stand for a number we do not know yet. The letter is called a variable or an unknown. Any letter will do — , , — but always say clearly what it stands for, for example *"let be the number Kofi thought of"*.
Word problems use certain words again and again. Each one tells you which operation to use. Learn this table well; it is the dictionary for translating English into algebra.
| Words | Operation | In symbols (number = x) |
|---|---|---|
| 5 more than a number / a number increased by 5 | add | |
| 5 less than a number / a number decreased by 5 | subtract | |
| a number subtracted from 20 | subtract | |
| twice / double a number | multiply by 2 | |
| three times a number | multiply by 3 | |
| half of a number / a number divided by 2 | divide by 2 | |
| two-thirds of a number | multiply by | |
| the result is / gives / equals / is | equals sign |
Notice the difference between an expression and an equation. "Twice a number, decreased by 7" is the expression : it has no equals sign and we cannot solve it. "Twice a number, decreased by 7, is 41" is the equation : now we have a fact we can use to find .
2. Flag diagrams: doing and undoing
A flag diagram shows what happens to the unknown number step by step, like a trotro moving from stop to stop. To find the starting number, we travel back along the same road, doing the inverse (opposite) of each operation, in reverse order.
▶ Watch the top row build the equation 2x − 7 = 41. Then follow the bottom row backwards: every operation is undone by its inverse, in reverse order.
- 1Let the unknown number be and draw a box for it.
- 2Draw an arrow for each operation in the order the problem gives them, and write the result at the end.
- 3Read off the equation, e.g. .
- 4Start from the result and go backwards, using the inverse of each operation.
- 5Check your answer by putting it back into the original words.
3. Writing equations for real-life problems
Real problems are not always "think of a number". They talk about ages, money, oranges or marks. The secret is the same every time: choose one quantity to be , write **every other quantity in terms of , then find the sentence that tells you something is equal**.
Ages: The sum of the ages of two friends is 25, and the older one is 4 times as old as the younger one. Let the younger one's age be years. Then the older one is years. Their ages add up to 25, so , which is .
Sharing: Adaako and Afrakoma shared 40 oranges. Afrakoma had 6 more than Adaako. Let Adaako's share be . Afrakoma's share is . Together they have 40, so , which simplifies to .
| Problem | Let x be… | Other quantity | Equation |
|---|---|---|---|
| Ages add to 25; older is 4 times younger | younger's age | older = | |
| 40 oranges; Afrakoma has 6 more than Adaako | Adaako's share | Afrakoma = | |
| 3 pens and a GH₵2 eraser cost GH₵20 | price of 1 pen (GH₵) | 3 pens = |
4. From an equation back to a story
The indicator also asks you to go the other way: given an equation, write a word problem for it. Read the equation from left to right and say in words what happens to the unknown number. There are many correct stories — any story whose sentence gives exactly the same equation is right.
| Equation | A matching word problem |
|---|---|
| The sum of two equal numbers is 15. | |
| When 4 is taken away from two times a certain number, the result is 12. | |
| Two-thirds of a certain number is 4. | |
| Kwame bought 3 pens of the same price and an eraser for GH₵2. He paid GH₵20 altogether. |
Worked examples
Try each one yourself first, then open the solution and compare every step.
Example 1
Translating a simple sentence
Show the solution
- Step 1Let the number be .
- Step 2"9 is added to a number" gives ; "the result is 23" gives .
- Step 3Equation: .
- Step 4Undo + 9 by subtracting 9: .
- Step 5Check: 14 + 9 = 23 ✓
Answer: ; the number is 14
Example 2
Ama's number trick with a flag diagram
Show the solution
- Step 1Flag diagram: , so the equation is .
- Step 2Go backwards. Undo − 7 by adding 7: 41 + 7 = 48, so .
- Step 3Undo × 2 by dividing by 2: 48 ÷ 2 = 24, so .
- Step 4Check: 2 × 24 − 7 = 48 − 7 = 41 ✓
Answer: 24
Example 3
An age problem
Show the solution
- Step 1Let the younger friend's age be years. The older friend is years.
- Step 2Their ages add to 25: , so .
- Step 3Divide by 5: .
- Step 4Older friend: 4 × 5 = 20 years. Check: 5 + 20 = 25 ✓ and 20 = 4 × 5 ✓
Answer: ; the friends are 5 and 20 years old
Example 4
Sharing oranges
Show the solution
- Step 1Let Adaako's share be . Afrakoma's share is .
- Step 2Together: , so .
- Step 3Subtract 6: . Divide by 2: .
- Step 4Afrakoma: 17 + 6 = 23. Check: 17 + 23 = 40 ✓
Answer: Adaako 17 oranges, Afrakoma 23 oranges
Example 5
Writing a story for an equation
Show the solution
- Step 1 means three equal amounts; + 2 is an extra 2; = 20 is the total.
- Step 2Story: Kwame bought 3 pens of the same price and an eraser for GH₵2. He paid GH₵20. Find the price of one pen.
- Step 3Solve: subtract 2 to get , then divide by 3: .
- Step 4Check: 3 × 6 + 2 = 18 + 2 = 20 ✓
Answer: One possible story is above; each pen costs GH₵6
Summary
- A variable is a letter that stands for an unknown number; always say what it stands for.
- Key words become symbols: more than → +, less than → −, twice → × 2, the result is → =.
- "5 less than x" is , not .
- A flag diagram shows the operations in order; undo them with inverse operations in reverse order.
- For real problems, let x be one quantity (usually the smaller), write the others in terms of x, then find what is equal.
- Many different stories can match one equation; check that your story gives exactly that equation.
Practice: 15 questions
5 easy, 5 medium, 5 hard. Each one is marked straight away, with a full worked solution.
You can practise without an account, but sign up free or sign in to save your progress.