A bottle holds 30 litres of water. A jug holds 9 litres and a mug holds 2 litres. Find the minimum number of containers (jugs and mugs) required to fill the bottle exactly.
Answer
8 containers: 2 jugs and 6 mugs
The correct answer is 8 containers: 2 jugs and 6 mugs — The smallest total is 8, achieved with 2 jugs and 6 mugs.
Step-by-step solution
- Form the equation with non‑negative integers.
- Check : gives 15 containers.
- Check : is not an integer, so discard.
- Check : gives 8 containers.
- Check : not integer.
- would give a negative remainder, so stop.
- The smallest total is 8, achieved with 2 jugs and 6 mugs.
Common mistake: Forgetting that must be an integer
Concept tested: Solving linear Diophantine equations
Published · How this solution was prepared and checked
← All Jugs and Mugs questions