Word problems in two variables: prices, numbers, ages, rectangles and speeds
Two unknowns and two facts come up all the time. Two canteen bills give the price of a samosa and of a cup of tea; two timetables give the speeds of two trains.
Use two letters for the two unknowns, form two equations from the two conditions, solve the pair and check in the words of the problem.
Example 1: prices
3 notebooks and 2 pens cost ₹ 110. 2 notebooks and 3 pens cost ₹ 90. Find the price of each.
- Let a notebook cost ₹ x and a pen ₹ y.
- 3x + 2y = 110 ... (1) and 2x + 3y = 90 ... (2)
- (1) × 3: 9x + 6y = 330. (2) × 2: 4x + 6y = 180.
- Subtract: 5x = 150, so x = 30.
- From (1): 90 + 2y = 110, so y = 10.
- Check (2): 60 + 30 = 90.
Notebook ₹ 30, pen ₹ 10
Example 2: ages
Five years ago a father was 7 times as old as his son. Five years from now he will be 3 times as old. Find their present ages.
- Let the father be x years and the son y years old now.
- Five years ago: x − 5 = 7(y − 5), so x − 7y = −30 ... (1)
- Five years on: x + 5 = 3(y + 5), so x − 3y = 10 ... (2)
- (2) − (1): 4y = 40, so y = 10.
- x = 10 + 3 × 10 = 40
- Check: 5 years ago 35 and 5 (35 = 7 × 5); in 5 years 45 and 15 (45 = 3 × 15).
Father 40 years, son 10 years
Example 3: speeds
Two towns are 180 km apart. A bus leaves each town at the same time. Driving towards each other, they meet in 2 hours. Driving in the same direction, the faster one catches the slower in 9 hours. Find their speeds.
- Let the speeds be x km/h (faster) and y km/h.
- Towards each other they close the gap at (x + y) km/h: 2(x + y) = 180, so x + y = 90.
- Same direction, the gap closes at (x − y) km/h: 9(x − y) = 180, so x − y = 20.
- Add: 2x = 110, so x = 55. Then y = 35.
55 km/h and 35 km/h
Example 4: a rectangle
If the length of a rectangle is reduced by 3 m and its breadth increased by 2 m, the area is unchanged. If the length is reduced by 2 m and breadth increased by 1 m, the area is again unchanged. Find the length and breadth.
- Let the length be l m and breadth b m.
- (l − 3)(b + 2) = lb gives 2l − 3b = 6 ... (1)
- (l − 2)(b + 1) = lb gives l − 2b = 2 ... (2)
- From (2), l = 2b + 2. Put in (1): 4b + 4 − 3b = 6, so b = 2. Then l = 6.
- Check: area 12; (3)(4) = 12 and (4)(3) = 12.
Length 6 m, breadth 2 m
Two unknowns, two facts, two equations. Solve, then check against the story.