Sub topic 10
Opposing Rates: Filling and Draining
Assume you can work with fractions, ratios, and one-variable equations. You should also know the relationship distance = rate × time. In filling and draining problems, replace distance with the amount of work completed.
Finding the Net Rate
A pipe that fills a tank in 6 hours fills:
| Process | Rate |
|---|---|
| Filling pipe | 1/6 tank per hour |
| Draining pipe | 1/12 tank per hour |
The filling pipe adds water, so its rate is positive. The drain removes water, so its rate is negative. With both open, the net rate is:
1/6 - 1/12 = 2/12 - 1/12 = 1/12 tank per hour
Therefore, the tank fills in 12 hours.
The general rule is:
net rate = adding rates - removing rates
Then:
time = amount ÷ net rate
For a full tank, the amount is 1 tank. If only part of the tank must be filled, use that fraction as the amount.
from fractions import Fraction
def time_to_fill(fill_hours, drain_hours, amount=Fraction(1)):
fill_rate = Fraction(1, fill_hours)
drain_rate = Fraction(1, drain_hours)
net_rate = fill_rate - drain_rate
if net_rate <= 0:
raise ValueError("The tank cannot reach the target with this net rate.")
return amount / net_rate
print(time_to_fill(6, 12)) # 12
print(time_to_fill(6, 12, Fraction(1, 2))) # 6When the Drain Is Faster
Suppose a pipe fills a tank in 8 hours, while a drain empties it in 5 hours. The net rate is:
1/8 - 1/5 = 5/40 - 8/40 = -3/40 tank per hour
The negative result means the tank is losing water. It cannot fill while both openings remain active.
A zero net rate also prevents filling. For example, if the fill and drain pipes each move 1/10 of a tank per hour, the water level stays constant.
Staggered Starts and Partial Jobs
Some problems open the drain after the tank has already been filling. Treat the stages separately.
- Find the amount completed during the first stage.
- Find the remaining amount.
- Use the net rate for the second stage.
- Add the stage times.
For example, a pipe fills a tank in 4 hours. It runs alone for 1 hour, filling 1/4 of the tank. Then a drain that empties a full tank in 8 hours opens.
The combined rate is:
1/4 - 1/8 = 1/8 tank per hour
The remaining amount is 3/4 tank. The second stage takes:
(3/4) ÷ (1/8) = 6 hours
The total time is 1 + 6 = 7 hours.
Do not subtract the first hour from the final answer unless you have already calculated the total time from the beginning. Stage-by-stage accounting prevents this error.
GRE Strategy and Common Errors
Use one whole tank as the unit of work. This keeps rates comparable even when the problem gives different capacities or times.
Common errors include:
- Adding a drain rate instead of subtracting it.
- Using completion times directly instead of their reciprocals.
- Forgetting that a partial target requires less than one full tank.
- Ignoring a negative or zero net rate.
- Mixing minutes and hours. Convert all times before finding rates.
Estimate before calculating. If a filling pipe completes a tank in 6 hours and the drain removes water at a slower rate, the combined time must be greater than 6 hours. A result of 3 hours cannot be reasonable.
Exercise
A pipe fills a tank in 10 hours. A drain empties the tank in 15 hours. If both are open, how long does it take to fill 1/2 of the tank?
Show answer
The net rate is 1/10 - 1/15 = 1/30 tank per hour. The time is (1/2) ÷ (1/30) = 15 hours.