Sub topic 2
Turning Word Problems into Equations
This chapter assumes you can already solve a linear equation in one variable, and that you are comfortable with percentages, fractions and ratios. The goal here is the step before solving: reading a sentence-based problem and writing the equation that describes it. Most lost marks on CAT algebra questions come from a wrong translation, not from wrong arithmetic.
The working model
A word problem is a set of facts about quantities. An equation is one fact written as "this amount equals that amount". Translation means finding two different expressions for the same quantity and setting them equal.
Follow the same four steps every time.
- Name the unknown. Write down what the letter stands for, including its unit, such as "x = son's age now, in years".
- Express the other quantities in terms of the unknown. Do this one sentence at a time.
- Find the equal pair. Look for two expressions that describe the same total, the same time, the same distance or the same price.
- Solve, then check against the original wording. Substitute back into the story, not only into your equation.
Phrases and their algebra
The wording is compact, and the order of the words matters. This table covers the phrases that appear most often.
| Phrase | Algebra | Note |
|---|---|---|
| 5 more than x | x + 5 | |
| 5 less than x | x − 5 | |
| x less than 5 | 5 − x | The order reverses. |
| A is 3 times B | A = 3B | The multiplier belongs to B. |
| A is 3 more than B | A = B + 3 | |
| A and B are in the ratio 3 : 5 | A = 3k, B = 5k | The ratio gives only proportions, never the actual values. |
| p% of y | (p/100) · y | "Of" means multiply. |
| y increased by p% | y(1 + p/100) | |
| y decreased by p% | y(1 − p/100) | |
| 60 km per hour | 60 km / 1 h | "Per" means divide. |
| Total is 100 | sum of the parts = 100 |
Choosing the unknown
The best unknown is the one that makes the other quantities simple. It is not always the quantity the question asks for.
- If a quantity is split into parts, let the smaller or "base" part be x and write the others from it.
- For ratio problems, use the multiplier k, as in 3k and 5k, rather than two separate letters.
- If the question asks for a quantity that is easy to compute from a simpler one, solve for the simpler one and convert at the end.
You will often need only one letter. Two letters are fine, but then you need two independent equations. That case is the next chapter's subject.
Worked examples
Example 1: ages
A father is 3 times as old as his son. In 12 years he will be twice as old as his son. Find the father's present age.
Let the son's present age be x years. The father is 3x.
In 12 years the father is 3x + 12 and the son is x + 12. The condition "twice as old" gives:
3x + 12 = 2(x + 12)
3x + 12 = 2x + 24, so x = 12.
The father is 3 × 12 = 36. Check: in 12 years they are 48 and 24, and 48 = 2 × 24. The question asked for the father's age, so the answer is 36, not 12.
Example 2: successive percentage changes
A shopkeeper marks up the cost price by 25%, then gives a 10% discount on the marked price. The selling price is 450. Find the cost price.
Let the cost price be C.
Marked price = 1.25C. Selling price = 0.90 × 1.25C = 1.125C.
1.125C = 450, so C = 400.
Each percentage applies to a different base here. The 25% is on the cost price and the 10% is on the marked price. Writing the quantities as multipliers keeps the bases from getting mixed up.
Example 3: distance split across two speeds
A trip of 300 km takes 6 hours. Part of it is driven at 40 km/h and the rest at 60 km/h. How far is driven at 40 km/h?
Let x be the distance at 40 km/h, in km. The rest is 300 − x.
Time is distance divided by speed, and the two times add up to 6 hours:
x/40 + (300 − x)/60 = 6
Multiply by 120, the LCM of 40 and 60:
3x + 2(300 − x) = 720
3x + 600 − 2x = 720, so x = 120.
Check: 120/40 = 3 hours and 180/60 = 3 hours, which total 6.
Example 4: ratios that change
Two numbers are in the ratio 3 : 5. If 10 is added to each, the new ratio is 5 : 7. Find the numbers.
Let the numbers be 3k and 5k.
(3k + 10)/(5k + 10) = 5/7
Cross-multiply: 21k + 70 = 25k + 50, so 4k = 20 and k = 5.
The numbers are 15 and 25. Check: 25/35 = 5/7.
Notice that adding 10 to each number breaks the ratio, so the new ratio cannot be handled with the old multiplier alone. Whenever a problem changes the quantities, write the new expressions explicitly.
Example 5: work rates
A can finish a job in 12 days and B in 18 days. How long do they take together?
Work is the quantity that stays equal. Treat the whole job as 1. A completes 1/12 of it per day and B completes 1/18 per day.
Together, in t days: t(1/12 + 1/18) = 1.
1/12 + 1/18 = 3/36 + 2/36 = 5/36, so t = 36/5 = 7.2 days.
Checking a translation with code
When you are unsure whether an equation matches the story, solve it mechanically and test the result against the story. The function below solves a*x + b = c*x + d with exact fractions. It raises an error when a == c, because the equation then has no single solution.
from fractions import Fraction
def solve_linear(a, b, c, d):
"""Solve a*x + b = c*x + d for x."""
if a == c:
raise ValueError("a == c: no unique solution")
return Fraction(d - b, a - c)
# Example 1: 3x + 12 = 2x + 24, with x the son's age
son = solve_linear(3, 12, 2, 24)
father = 3 * son
print("son =", son, "father =", father)
# Check against the story: in 12 years, father is twice the son
assert father + 12 == 2 * (son + 12)The assert line tests the original sentence, not the algebra you derived from it. That is the habit to copy on paper too.
Common errors
| Error | Example | Fix |
|---|---|---|
| Reversing "less than" | "7 less than twice x" written as 7 − 2x | Write 2x − 7. The thing being reduced comes first. |
| Using the ratio as the value | Writing the numbers as 3 and 5 | Use 3k and 5k. |
| Wrong percentage base | Taking the 10% discount on the cost price | Apply each percentage to the quantity it names. |
| Mixed units | Speed in km/h, time in minutes | Convert to one unit before writing the equation. |
| Adding rates and times | Adding "12 days" and "18 days" | Add rates (work per day), not times. |
| Answering the wrong question | Giving x when the question asks for 3x | Reread the final sentence of the problem. |
| Skipping the check | Accepting x = −4 as a number of people | Test that the value is sensible for the quantity. |
Equations versus unknowns
Count the letters and count the independent facts you have written. One unknown needs one equation. Two unknowns need two independent equations. If you have more unknowns than equations, look for a fact you haven't used. Typical overlooked facts are a total ("together they are 100"), a unit relationship ("1 hour = 60 minutes") and a hidden equality ("they meet at the same time").
If you have fewer unknowns than equations and the equations disagree, you have probably mistranslated one of them.
Exercises
Exercise
The sum of three consecutive even numbers is 78. Find the largest of them.
Show answer
Let the numbers be x, x + 2 and x + 4. Then 3x + 6 = 78, so x = 24. The numbers are 24, 26 and 28, and the largest is 28.
Exercise
A trader sells an article at a 20% loss. If he had sold it for 150 more, he would have gained 10%. Find the cost price.
Show answer
Let the cost price be C. The first selling price is 0.8C and the second is 1.1C. Their difference is 150, so 1.1C − 0.8C = 150, giving 0.3C = 150 and C = 500. Check: 0.8 × 500 = 400 and 1.1 × 500 = 550, which differ by 150.
Exercise
Two numbers are in the ratio 4 : 7. If 6 is subtracted from each, the ratio becomes 2 : 5. Find the numbers.
Show answer
Let the numbers be 4k and 7k. Then (4k − 6)/(7k − 6) = 2/5. Cross-multiplying gives 20k − 30 = 14k − 12, so 6k = 18 and k = 3. The numbers are 12 and 21. Check: 6/15 = 2/5.