Sub topic 9
Pipes and Cisterns: Inlets and Outlets as Rates
Prerequisites and the basic model
Assume you can work with fractions, reciprocals, ratios, and simple linear equations. You also need the relation:
\[ \text{work}=\text{rate}\times\text{time} \]
For a tank, the total work is the tank's capacity. A pipe's rate is the fraction of the tank that it fills or empties in one unit of time.
If an inlet fills a tank in 6 hours, its rate is:
\[ \frac{1}{6}\text{ tank per hour} \]
If an outlet empties the tank in 10 hours, its rate is:
\[ -\frac{1}{10}\text{ tank per hour} \]
The negative sign shows that the outlet reduces the amount of water.
Inlets and outlets as signed rates
Use these conventions:
| Device | Effect on tank | Rate |
|---|---|---|
| Inlet pipe | Adds water | Positive |
| Outlet pipe | Removes water | Negative |
| Leak | Removes water | Negative |
When pipes operate at the same time, add their signed rates. The resulting rate is called the net rate. It is the actual increase or decrease in the tank per unit of time.
For example, suppose an inlet fills a tank in 6 hours and an outlet empties it in 10 hours. The net rate is:
\[ \frac{1}{6}-\frac{1}{10} =\frac{5-3}{30} =\frac{1}{15} \]
Therefore, the tank fills at \(1/15\) of its capacity per hour.
Reading the direction of change
The sign of the net rate tells you what happens:
- Net rate greater than zero: the tank fills.
- Net rate less than zero: the tank empties.
- Net rate equal to zero: the water level stays unchanged.
If the tank is partly full, the remaining fraction matters. If a tank is \(2/5\) full, then \(3/5\) of its capacity remains. The time to fill it is:
\[ \frac{\text{remaining work}}{\text{net rate}} \]
Similarly, if a tank is \(3/4\) full and the net rate is negative, the time to empty it is:
\[ \frac{3/4}{|\text{net rate}|} \]
Do not use the full tank capacity when only part of the tank must be filled or emptied.
from fractions import Fraction
inlet = Fraction(1, 6) # fills the tank in 6 hours
outlet = Fraction(-1, 10) # empties the tank in 10 hours
net_rate = inlet + outlet
time_to_fill = Fraction(1, 1) / net_rate
print(f"Net rate: {net_rate} tank per hour")
print(f"Time to fill: {time_to_fill} hours")The program prints a net rate of \(1/15\) tank per hour and a filling time of 15 hours.
A reliable solution method
For any basic pipes-and-cisterns problem:
- Choose the tank capacity as 1 tank, unless whole units are more convenient.
- Convert each pipe's time into a signed rate.
- Add the rates of all open pipes.
- Identify the required amount of work.
- Divide work by the net rate.
- Check whether the direction and size of the answer make sense.
Visualizing the rate calculation
Common errors
A frequent mistake is adding filling times instead of rates. Two pipes that fill a tank in 6 and 10 hours do not take 16 hours together. Their rates must be added.
Another mistake is treating an outlet as positive. This produces a falsely fast filling time. Always attach a negative sign to an outlet or leak.
A final check is useful: the inlet alone fills the tank in 6 hours, while the outlet slows the process. Thus, a combined filling time of 15 hours is reasonable.
Exercise
An inlet fills a tank in 12 hours. An outlet empties it in 18 hours. If both are open, how long will the empty tank take to fill?
Show answer
Net rate = 1/12 - 1/18 = 1/36 tank per hour. Therefore, the tank fills in 36 hours.