Aptitude · Pipes and Cisterns · Model 1
Twenty and thirty: twelve minutes, or sixty
The same two numbers give wildly different answers depending on which way the second pipe points. This model is the drill that makes that sign automatic, in both the unit method and the two shortcuts worth memorising.
Flip B between filling and draining →01 The idea
One pair of numbers, two completely different answers
Pipe A clears a tank in 20 minutes and pipe B clears it in 30. If both are filling, they finish together in 12 minutes. If B is an outlet instead, the tank still fills — but it takes 60 minutes. One word in the question, and the answer moves by a factor of five.
Both answers come out of the same three lines. Take the tank as LCM(20, 30) = 60 units, so A is 3 units a minute and B is 2. If both fill, the net is 3 + 2 = 5 and the time is 60/5 = 12. If B drains, the net is 3 − 2 = 1 and the time is 60/1 = 60.
Two things are worth noticing about the second answer. It is much longer than A’s own 20 minutes, which is the sanity check — a drain can only ever slow the fill down, never speed it up. And it is not the average of anything: nothing in the question is 60 except the answer, so there is no shortcut that skips the rates.
For exactly two pipes there is a product shortcut. Two inlets: ab/(a+b) = 20×30/50 = 12. Inlet against drain: ab/(b−a) = 20×30/10 = 60. Both are just the unit method with the algebra done in advance, and both stop working the moment a third pipe appears.
02 Worked example
20 and 30, read both ways
One pair of numbers, two questions. (i) Pipes A and B fill a tank in 20 and 30 minutes. Both are opened — how long? (ii) Now B empties the tank in 30 minutes instead. Both are opened on an empty tank — how long?
The drain is only two thirds of A’s speed, yet it tripled the filling time. That is because what matters is not the ratio of the two rates but their difference: 3 − 2 leaves 1, so the tank creeps up at a third of the rate A manages alone. Push the drain a little faster — to 20 minutes, matching A — and the net becomes zero and the tank never fills at all.
03 The method
The signed sum, and the two products
The general method first, then the two-pipe shortcuts and the exact conditions under which they hold.
| Question shape | What to do | On 20 and 30 |
|---|---|---|
| Both fill | ab/(a+b) | 600/50 = 12 min |
| A fills, B drains, b > a | ab/(b−a) | 600/10 = 60 min |
| A fills, B drains, b < a | never fills | drain wins outright |
| Three or more pipes | signed unit sum | no product rule exists |
| Joint time given, one pipe unknown | net − known rates | reverse the sum |
| Adding the times | never | 20 + 30 = 50 is not an answer |
| Averaging the times | never | 25 is not an answer either |
05 Cheat sheet
Model 1 on one page
Everything here is checked against the 20-and-30 pair, so you can verify each row in your head as you read it.
| Case | Formula | 20 and 30 |
|---|---|---|
| Two inlets, units | tank / (rA + rB) | 60/5 = 12 min |
| Two inlets, product | ab/(a+b) | 600/50 = 12 min |
| Inlet vs slower drain | ab/(b−a) | 600/10 = 60 min |
| Inlet vs equal drain | net 0 | 20 vs 20 holds level |
| Inlet vs faster drain | no answer | 30 in vs 20 out drains |
| Fractions route | 1/a ± 1/b | 1/20 + 1/30 = 1/12 |
| Three pipes | units only | 8, 12, drain 6 → 24 min |
06 Where & why
Where this shows up
This is the most-set shape in the chapter, and the version with a hidden third pipe is the standard way of making it harder without making it longer.
Times chosen so ab/(a+b) is clean. Memorising the product rule genuinely saves ten seconds here, which matters in a timed section.
“A and B fill in 24 and 30 minutes; with C open all three take 20. Find C.” The inlets total 9 units, the joint time forces a net of 6, so C is 3 and takes 40 minutes.
Three pipes with a net that could go either way, as in 25, 40 and a drain at 30. Compute the net sign first; the answer is 600/19 minutes and it fills.
A queue with arrivals and departures, or a bank balance with income and spending, is this arithmetic. The interesting cases are all near a net rate of zero.
07 Interview questions
What gets asked
Ten, ordered the way an interviewer escalates: the direct sum, then the shortcuts, then the reverse question, then the case with no answer.
Two pipes fill a tank in 20 and 30 minutes. How long together?
Same two numbers, but the second pipe empties the tank. Now how long?
When can you use ab/(a+b)?
Why does ab/(b−a) need b to be bigger than a?
Pipes A and B fill in 24 and 30 minutes, and with outlet C all three fill it in 20. Find C.
Taps fill in 25 and 40 minutes and a third empties in 30. All three open — does it fill or empty?
Why can you not add or average the times?
Is 12 minutes for the two-inlet case reasonable, without checking the arithmetic?
Two inlets and a drain that exactly cancels them — what is the answer?
Which method would you actually use under exam time pressure?
08 Practice problems
Six on the sign
Two of these are the same numbers with one word changed. Work them in units first, then confirm with the product rule wherever it applies.