Constant difference & constant total: before-and-after problems
Checked against MOE and SEAB documents. Last updated 6 November 2026.
In Singapore Primary 4 and 5 mathematics, Before-and-After problem sums describe situations where amounts change because people gain, spend, or exchange items.
The master key to solving these problems is finding the invariant — the one quantity that does not change. Singapore primary schools teach three foundational before-and-after cases.
The 3 before-and-after cases
1. Constant Difference
When both quantities increase or decrease by the exact same amount (such as age problems, or two people spending the same amount of money), the difference between the two quantities stays identical.
2. Constant Total (Internal Transfer)
When items are passed from one person to another without any entering or leaving the system, the combined total stays identical.
3. One Quantity Unchanged
When only one person gains or loses items, the other person's quantity remains untouched. Equalize the parts of the unchanged quantity using common multiples.
1. Constant difference (age problems)
Both people grow older at the same rate, so the difference between their ages remains unchanged over time.
Uncle David is 42 years old and his nephew Ryan is 10 years old. In how many years' time will Uncle David be 3 times as old as Ryan?
- Step 1 (Find the constant difference): Uncle David is 42 and Ryan is 10. The difference in their ages is 42 − 10 = 32 years.
- Step 2 (Apply the invariant): The age difference never changes. In 5, 10 or 20 years, Uncle David is still exactly 32 years older than Ryan.
- Step 3 (Compare future units): In the future, Uncle David is 3 times as old as Ryan. David = 3 units, Ryan = 1 unit.
- Step 4 (Find the unit value): The difference between them is 3 − 1 = 2 units. 2 units = 32 years, so 1 unit = 32 ÷ 2 = 16 years.
- Step 5 (Find future age and elapsed time): When David is 3 times as old as Ryan, Ryan will be 16 years old. Since Ryan is currently 10 years old: 16 − 10 = 6 years.
- Step 6 (Check): In 6 years, David is 42 + 6 = 48, and Ryan is 10 + 6 = 16. 48 ÷ 16 = 3 times. Verified!
Answer: 6 years' time
Practise: P4 whole numbers2. Constant total (internal transfer)
Items are transferred between two people. No items enter or leave the system, so the combined total stays the same.
Lucas and Caleb had 120 marbles altogether. Lucas had 3 times as many marbles as Caleb. After Lucas gave Caleb some marbles, Lucas had twice as many marbles as Caleb. How many marbles did Lucas give Caleb?
- Step 1 (Identify the invariant): Marbles were only moved between Lucas and Caleb. The combined total stays unchanged at 120 marbles.
- Step 2 (Analyze the 'Before' state): Lucas had 3 units and Caleb had 1 unit. Total = 3 + 1 = 4 units. 4 units = 120, so 1 unit = 30. Lucas had 3 × 30 = 90 marbles, and Caleb had 30 marbles.
- Step 3 (Analyze the 'After' state): Lucas has 2 parts and Caleb has 1 part. Total = 2 + 1 = 3 parts. 3 parts = 120, so 1 part = 40. Lucas has 2 × 40 = 80 marbles, and Caleb has 40 marbles.
- Step 4 (Find the transferred amount): Compare Lucas before and after: 90 − 80 = 10 marbles given to Caleb (or Caleb: 40 − 30 = 10 marbles received).
- Step 5 (Check): Lucas ends with 90 − 10 = 80 marbles. Caleb ends with 30 + 10 = 40 marbles. 80 is twice 40, and 80 + 40 = 120. Verified!
Answer: 10 marbles
Practise: P5 whole numbers3. One quantity unchanged
One person gains or loses items while the other person's quantity remains untouched.
A baker had some chocolate cookies and butter cookies. 60% of the cookies were chocolate. After he baked another 40 butter cookies, only 40% of the cookies were chocolate cookies. How many chocolate cookies did he have?
- Step 1 (Identify what is unchanged): The baker only baked butter cookies. The number of chocolate cookies remains unchanged.
- Step 2 (Express as before-and-after ratios): Before: Chocolate was 60% and Butter was 40%, so Chocolate : Butter = 3 : 2. After: Chocolate is 40% and Butter is 60%, so Chocolate : Butter = 2 : 3.
- Step 3 (Equalize the unchanged quantity): Make chocolate units equal before and after using common multiples (LCM of 3 and 2 is 6). Before: Multiply by 2 -> Chocolate : Butter = 6 units : 4 units. After: Multiply by 3 -> Chocolate : Butter = 6 units : 9 units.
- Step 4 (Find unit value from the change): Butter increased by 9 − 4 = 5 units. 5 units = 40 butter cookies, so 1 unit = 40 ÷ 5 = 8 cookies.
- Step 5 (Find requested quantity): Chocolate cookies = 6 units = 6 × 8 = 48 chocolate cookies.
- Step 6 (Check): Before: 48 chocolate, 32 butter (total 80; 48/80 = 60%). After adding 40 butter: 32 + 40 = 72 butter. Total = 48 + 72 = 120 (48/120 = 40%). Verified!
Answer: 48 chocolate cookies
Practise: P5 whole numbersQuestions parents ask
How can my child quickly identify what stays the same in a problem?
Read the action in the word problem carefully: (1) If both people gain or lose the same amount (or in age problems), the difference is constant. (2) If items are transferred from one person to another, the total is constant. (3) If only one person buys, spends or gives away items, the other person's quantity is constant.
Why is making units equal taught instead of algebra in primary school?
Primary students do not yet learn secondary school simultaneous equations. Equalizing units using common multiples gives children a clear, visual and intuitive method to solve two-variable changes without abstract algebra.
What should a child do if neither quantity and neither total nor difference is constant?
When both quantities change by different amounts (e.g. A gives away 5 and B gives away 12), the problem is an 'External Change' or 'Units and Parts' problem. Students assign units (1u) to the starting amount and parts (1p) to the final ratio, then solve by substitution.
Are before-and-after questions heavily tested in the PSLE?
Yes. Before-and-after problem sums appear regularly in Paper 2 of the PSLE Maths examination, usually as 3-mark, 4-mark or 5-mark structured problem sums. Clear step-by-step reasoning is essential for method marks.
Learn how the assumption method solves 2-variable problem sums in the assumption method guide.
Practise with worked answers: P3 problem sums, P4 problem sums and P5 problem sums.